Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

feat(ui): shadcn migration foundation: Tailwind v4, shadcn init, antd cascade fix (#31995)

ryan-crabbe-berri27069bd74f38
diff --git a/.gitignore b/.gitignore
index 59fa5803abe..62db5fe6182 100644
--- a/.gitignore
+++ b/.gitignore
@@ -130,3 +130,5 @@ crash.*.log
# pytest coverage data
.coverage
+
+ui/litellm-dashboard/out/
diff --git a/basedpyright-code-budget.json b/basedpyright-code-budget.json
index 79e6af05978..b65cd01e1eb 100644
--- a/basedpyright-code-budget.json
+++ b/basedpyright-code-budget.json
@@ -141,6 +141,6 @@
"limit": 1005
},
"reportUnusedVariable": {
- "limit": 1298
+ "limit": 1297
}
}
diff --git a/docker/build_admin_ui.sh b/docker/build_admin_ui.sh
index efb2bac3535..68acdd78e3e 100755
--- a/docker/build_admin_ui.sh
+++ b/docker/build_admin_ui.sh
@@ -57,8 +57,6 @@ source ~/.nvm/nvm.sh
nvm install v18.17.0
nvm use v18.17.0
-# copy _enterprise.json from this directory to /ui/litellm-dashboard, and rename it to ui_colors.json
-cp enterprise/enterprise_ui/enterprise_colors.json ui/litellm-dashboard/ui_colors.json
# cd in to /ui/litellm-dashboard
cd ui/litellm-dashboard
diff --git a/litellm/llms/vertex_ai/image_generation/vertex_gemini_transformation.py b/litellm/llms/vertex_ai/image_generation/vertex_gemini_transformation.py
index 4bca3e8f71d..572725ac789 100644
--- a/litellm/llms/vertex_ai/image_generation/vertex_gemini_transformation.py
+++ b/litellm/llms/vertex_ai/image_generation/vertex_gemini_transformation.py
@@ -1,5 +1,5 @@
import os
-from typing import TYPE_CHECKING, Any, Dict, List, Optional
+from typing import TYPE_CHECKING, Any, Optional
from litellm._logging import verbose_logger
@@ -175,7 +175,7 @@ class VertexAIGeminiImageGenerationConfig(BaseImageGenerationConfig, VertexLLM):
self,
headers: dict,
model: str,
- messages: List[AllMessageValues],
+ messages: list[AllMessageValues],
optional_params: dict,
litellm_params: dict,
api_key: Optional[str] = None,
@@ -217,10 +217,10 @@ class VertexAIGeminiImageGenerationConfig(BaseImageGenerationConfig, VertexLLM):
contents = [{"role": "user", "parts": [{"text": prompt}]}]
# Prepare generation config
- generation_config: Dict[str, Any] = {"responseModalities": ["IMAGE"]}
+ generation_config: dict[str, Any] = {"responseModalities": ["IMAGE"]}
# Seed from user-supplied imageConfig dict; flat params are overlaid for backward compat.
- image_config: Dict[str, Any] = dict(optional_params.get("imageConfig") or {})
+ image_config: dict[str, Any] = dict(optional_params.get("imageConfig") or {})
if "aspectRatio" in optional_params:
image_config["aspectRatio"] = optional_params["aspectRatio"]
@@ -241,7 +241,7 @@ class VertexAIGeminiImageGenerationConfig(BaseImageGenerationConfig, VertexLLM):
elif "n" in optional_params:
generation_config["candidateCount"] = optional_params["n"]
- request_body: Dict[str, Any] = {
+ request_body: dict[str, Any] = {
"contents": contents,
"generationConfig": generation_config,
}
diff --git a/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py b/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py
index ffd5b1e17f7..baa4a5a9e0c 100644
--- a/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py
+++ b/litellm/proxy/_experimental/mcp_server/mcp_server_manager.py
@@ -14,7 +14,7 @@ import os
import re
import time
from contextlib import asynccontextmanager
-from typing import Any, AsyncIterator, Callable, Dict, List, Literal, Optional, Set, Tuple, Union, cast
+from typing import Any, AsyncIterator, Callable, Literal, Optional, Union, cast
from urllib.parse import urlparse
import anyio
@@ -156,7 +156,7 @@ _AZURE_ENTRA_HOSTS = {
# BYOK credential cache. Keyed by (user_id, server_id); value is
# (values_dict, monotonic_timestamp). Keeps the tool-call and tool-listing
# paths off the DB on every request within the TTL window.
-_user_env_vars_cache: Dict[Tuple[str, str], Tuple[Dict[str, str], float]] = {}
+_user_env_vars_cache: dict[tuple[str, str], tuple[dict[str, str], float]] = {}
_USER_ENV_VARS_CACHE_TTL = 60 # seconds
_USER_ENV_VARS_CACHE_MAX_SIZE = 4096 # cap to prevent unbounded growth
@@ -167,7 +167,7 @@ def invalidate_user_env_vars_cache(user_id: str, server_id: str) -> None:
_user_env_vars_cache.pop((user_id, server_id), None)
-def _write_user_env_vars_cache(user_id: str, server_id: str, values: Dict[str, str]) -> None:
+def _write_user_env_vars_cache(user_id: str, server_id: str, values: dict[str, str]) -> None:
cache_key = (user_id, server_id)
# Re-insert at the tail so eviction drops the oldest-written entry, not a
# freshly refreshed one, and only sheds a single entry instead of wiping the
@@ -180,7 +180,7 @@ def _write_user_env_vars_cache(user_id: str, server_id: str, values: Dict[str, s
def _should_strip_caller_authorization(
mcp_server: MCPServer,
- raw_headers: Optional[Dict[str, str]],
+ raw_headers: Optional[dict[str, str]],
user_api_key_auth: Optional[UserAPIKeyAuth],
) -> bool:
"""Decide whether the caller's ``Authorization`` header must NOT be
@@ -244,7 +244,7 @@ def _without_authorization(
def _extract_upstream_auth_failure(
exc: BaseException,
-) -> Optional[Tuple[int, Optional[str]]]:
+) -> Optional[tuple[int, Optional[str]]]:
"""Walk the exception tree looking for an HTTP 401/403 response from the
upstream MCP server.
@@ -256,8 +256,8 @@ def _extract_upstream_auth_failure(
Returns ``(status_code, www_authenticate)`` on match, else ``None``.
"""
- seen: Set[int] = set()
- stack: List[BaseException] = [exc]
+ seen: set[int] = set()
+ stack: list[BaseException] = [exc]
while stack:
current = stack.pop()
if id(current) in seen:
@@ -338,7 +338,7 @@ def _warn_internal_delegate_pkce_if_applicable(server: MCPServer, *, source: str
)
-def _deserialize_json_dict(data: Any) -> Optional[Dict[str, str]]:
+def _deserialize_json_dict(data: Any) -> Optional[dict[str, str]]:
"""
Deserialize optional JSON mappings stored in the database.
@@ -359,7 +359,7 @@ def _deserialize_json_dict(data: Any) -> Optional[Dict[str, str]]:
return data
-def _deserialize_json_list(data: Any) -> Optional[List[Dict[str, Any]]]:
+def _deserialize_json_list(data: Any) -> Optional[list[dict[str, Any]]]:
"""Deserialize a JSON array stored in the DB (``env_vars`` and friends).
Returns ``None`` for empty / null / unparseable input. Accepts strings
@@ -533,8 +533,8 @@ class MCPServerManager:
self._cred_provider = cred_provider or UpstreamCredentialProvider(
oauth_token_store=LazyPerUserOAuthTokenStore(self.get_mcp_server_by_id)
)
- self.registry: Dict[str, MCPServer] = {}
- self.config_mcp_servers: Dict[str, MCPServer] = {}
+ self.registry: dict[str, MCPServer] = {}
+ self.config_mcp_servers: dict[str, MCPServer] = {}
"""
eg.
[
@@ -555,18 +555,18 @@ class MCPServerManager:
# each server's max_concurrent_requests. Keyed by server_id so the cap
# survives the registry atomic-swap on config reload; a missing key means
# the server has no configured limit.
- self._server_call_semaphores: Dict[str, asyncio.Semaphore] = {}
- self.tool_name_to_mcp_server_name_mapping: Dict[str, str] = {}
+ self._server_call_semaphores: dict[str, asyncio.Semaphore] = {}
+ self.tool_name_to_mcp_server_name_mapping: dict[str, str] = {}
"""
{
"gmail_send_email": "zapier_mcp_server",
}
"""
- self._upstream_initialize_instructions_by_server_id: Dict[str, str] = {}
+ self._upstream_initialize_instructions_by_server_id: dict[str, str] = {}
# Per-server monotonic timestamp of last upstream prefetch attempt (success,
# empty result, or failure). Used to throttle re-probes for servers that do
# not return instructions, and to apply a short cooldown after failures.
- self._upstream_initialize_instructions_probed_at: Dict[str, float] = {}
+ self._upstream_initialize_instructions_probed_at: dict[str, float] = {}
def _remember_upstream_initialize_instructions(self, server: MCPServer, client: MCPClient) -> None:
raw = getattr(client, "_last_initialize_instructions", None)
@@ -622,7 +622,7 @@ class MCPServerManager:
user_api_key_auth=None,
raise_on_missing=False,
)
- extra_headers: Optional[Dict[str, str]] = dict(resolved_static_headers) if resolved_static_headers else None
+ extra_headers: Optional[dict[str, str]] = dict(resolved_static_headers) if resolved_static_headers else None
client = await self._create_mcp_client(
server=server,
mcp_auth_header=None,
@@ -642,7 +642,7 @@ class MCPServerManager:
e,
)
- def get_registry(self) -> Dict[str, MCPServer]:
+ def get_registry(self) -> dict[str, MCPServer]:
"""
Get the registered MCP Servers from the registry and union with the config MCP Servers
"""
@@ -650,8 +650,8 @@ class MCPServerManager:
async def load_servers_from_config(
self,
- mcp_servers_config: Dict[str, Any],
- mcp_aliases: Optional[Dict[str, str]] = None,
+ mcp_servers_config: dict[str, Any],
+ mcp_aliases: Optional[dict[str, str]] = None,
):
"""
Load the MCP Servers from the config
@@ -669,7 +669,7 @@ class MCPServerManager:
for server_name, server_config in mcp_servers_config.items():
validate_mcp_server_name(server_name)
- _mcp_info: Dict[str, Any] = server_config.get("mcp_info", None) or {}
+ _mcp_info: dict[str, Any] = server_config.get("mcp_info", None) or {}
# Preserve all custom fields from config while setting defaults for core fields
mcp_info: MCPInfo = _mcp_info.copy()
# Set default values for core fields if not present
@@ -858,7 +858,7 @@ class MCPServerManager:
server_prefix = get_server_prefix(server)
# Build headers from server configuration
- headers: Dict[str, str] = {}
+ headers: dict[str, str] = {}
# Add authentication headers if configured
if server.authentication_token:
@@ -968,7 +968,7 @@ class MCPServerManager:
openapi_key_prefix = prefix_root + MCP_TOOL_PREFIX_SEPARATOR
global_mcp_tool_registry.unregister_tools_with_prefix(openapi_key_prefix)
- owned_raw: Set[str] = set()
+ owned_raw: set[str] = set()
for p in iter_known_server_prefixes(server):
if p:
owned_raw.add(p)
@@ -977,7 +977,7 @@ class MCPServerManager:
owned_normalized = {normalize_server_name(x) for x in owned_raw}
- stale_mapping_keys: List[str] = []
+ stale_mapping_keys: list[str] = []
for tool_name, mapped_server in list(self.tool_name_to_mcp_server_name_mapping.items()):
if mapped_server in owned_raw:
stale_mapping_keys.append(tool_name)
@@ -1005,7 +1005,7 @@ class MCPServerManager:
mcp_server: LiteLLM_MCPServerTable,
*,
env_vars_are_encrypted: bool,
- ) -> Optional[List[Dict[str, Any]]]:
+ ) -> Optional[list[dict[str, Any]]]:
env_vars_list = _deserialize_json_list(getattr(mcp_server, "env_vars", None))
if env_vars_are_encrypted:
from litellm.proxy._experimental.mcp_server.db import ( # noqa: PLC0415
@@ -1080,7 +1080,7 @@ class MCPServerManager:
# AWS SigV4 credential fields
aws_creds = self._extract_aws_credentials(credentials_dict, credentials_are_encrypted)
- scopes: Optional[List[str]] = None
+ scopes: Optional[list[str]] = None
if credentials_dict:
scopes_value = credentials_dict.get("scopes")
if scopes_value is not None:
@@ -1243,14 +1243,14 @@ class MCPServerManager:
verbose_logger.debug(f"Failed to udpate MCP server: {str(e)}")
raise e
- def get_all_mcp_server_ids(self) -> Set[str]:
+ def get_all_mcp_server_ids(self) -> set[str]:
"""
Get all MCP server IDs
"""
all_servers = list(self.get_registry().values())
return {server.server_id for server in all_servers}
- def get_allow_all_keys_server_ids(self) -> List[str]:
+ def get_allow_all_keys_server_ids(self) -> list[str]:
"""Return server IDs that bypass per-key restrictions."""
return [server.server_id for server in self.get_registry().values() if server.allow_all_keys is True]
@@ -1315,7 +1315,7 @@ class MCPServerManager:
return [server_id for server_id in submitted_server_ids if self.get_mcp_server_by_id(server_id) is not None]
- async def get_allowed_mcp_servers(self, user_api_key_auth: Optional[UserAPIKeyAuth] = None) -> List[str]:
+ async def get_allowed_mcp_servers(self, user_api_key_auth: Optional[UserAPIKeyAuth] = None) -> list[str]:
"""
Get the allowed MCP Servers for the user.
@@ -1412,8 +1412,8 @@ class MCPServerManager:
async def resolve_toolset_tool_permissions(
self,
- toolset_ids: List[str],
- ) -> Dict[str, List[str]]:
+ toolset_ids: list[str],
+ ) -> dict[str, list[str]]:
"""
Resolve a list of toolset IDs into a mcp_tool_permissions dict.
@@ -1435,7 +1435,7 @@ class MCPServerManager:
try:
toolsets = await list_mcp_toolsets(prisma_client, toolset_ids=toolset_ids)
- tool_permissions: Dict[str, List[str]] = {}
+ tool_permissions: dict[str, list[str]] = {}
for toolset in toolsets:
for tool in toolset.tools:
raw_name = tool["tool_name"]
@@ -1528,7 +1528,7 @@ class MCPServerManager:
)
return toolset
- def filter_server_ids_by_ip(self, server_ids: List[str], client_ip: Optional[str]) -> List[str]:
+ def filter_server_ids_by_ip(self, server_ids: list[str], client_ip: Optional[str]) -> list[str]:
"""
Filter server IDs by client IP — external callers only see public servers.
@@ -1538,8 +1538,8 @@ class MCPServerManager:
return filtered
def filter_server_ids_by_ip_with_info(
- self, server_ids: List[str], client_ip: Optional[str]
- ) -> Tuple[List[str], int]:
+ self, server_ids: list[str], client_ip: Optional[str]
+ ) -> tuple[list[str], int]:
"""
Filter server IDs by client IP — external callers only see public servers.
@@ -1559,7 +1559,7 @@ class MCPServerManager:
blocked += 1
return allowed, blocked
- async def get_tools_for_server(self, server_id: str) -> List[MCPTool]:
+ async def get_tools_for_server(self, server_id: str) -> list[MCPTool]:
"""
Get the tools for a given server
"""
@@ -1577,8 +1577,8 @@ class MCPServerManager:
self,
user_api_key_auth: Optional[UserAPIKeyAuth] = None,
mcp_auth_header: Optional[str] = None,
- mcp_server_auth_headers: Optional[Dict[str, Union[str, Dict[str, str]]]] = None,
- ) -> List[MCPTool]:
+ mcp_server_auth_headers: Optional[dict[str, Union[str, dict[str, str]]]] = None,
+ ) -> list[MCPTool]:
"""
List all tools available across all MCP Servers.
@@ -1595,7 +1595,7 @@ class MCPServerManager:
verbose_logger.debug("SERVER MANAGER LISTING TOOLS")
- async def _fetch_server_tools(server_id: str) -> List[MCPTool]:
+ async def _fetch_server_tools(server_id: str) -> list[MCPTool]:
"""Fetch tools from a single server with error handling."""
server = self.get_mcp_server_by_id(server_id)
if server is None:
@@ -1603,7 +1603,7 @@ class MCPServerManager:
return []
# Get server-specific auth header if available
- server_auth_header: Optional[Union[str, Dict[str, str]]] = None
+ server_auth_header: Optional[Union[str, dict[str, str]]] = None
if mcp_server_auth_headers:
from litellm.proxy._experimental.mcp_server.utils import (
lookup_mcp_server_auth_in_headers,
@@ -1637,7 +1637,7 @@ class MCPServerManager:
results = await asyncio.gather(*tasks)
# Flatten results into single list
- list_tools_result: List[MCPTool] = [tool for tools in results for tool in tools]
+ list_tools_result: list[MCPTool] = [tool for tools in results for tool in tools]
verbose_logger.info(f"Successfully fetched {len(list_tools_result)} tools total from all servers")
return list_tools_result
@@ -1647,8 +1647,8 @@ class MCPServerManager:
#########################################################
@staticmethod
def _extract_bearer_token(
- oauth2_headers: Optional[Dict[str, str]],
- raw_headers: Optional[Dict[str, str]],
+ oauth2_headers: Optional[dict[str, str]],
+ raw_headers: Optional[dict[str, str]],
) -> Optional[str]:
"""Extract the bare Bearer token from oauth2_headers or raw_headers.
@@ -1671,14 +1671,14 @@ class MCPServerManager:
def _build_stdio_env(
self,
server: MCPServer,
- raw_headers: Optional[Dict[str, str]] = None,
- ) -> Optional[Dict[str, str]]:
+ raw_headers: Optional[dict[str, str]] = None,
+ ) -> Optional[dict[str, str]]:
"""Resolve stdio env values, supporting header-driven placeholders."""
if server.transport != MCPTransport.stdio or not server.env:
return None
- resolved_env: Dict[str, str] = {}
+ resolved_env: dict[str, str] = {}
normalized_headers = {k.lower(): v for k, v in (raw_headers or {}).items()}
for env_key, env_value in server.env.items():
@@ -1720,7 +1720,7 @@ class MCPServerManager:
user_api_key_auth: Optional[UserAPIKeyAuth],
*,
raise_on_missing: bool = True,
- ) -> Optional[Dict[str, str]]:
+ ) -> Optional[dict[str, str]]:
"""Return server.static_headers with ``${NAME}`` interpolated.
Globals come from ``server.env_vars`` entries with ``scope=="global"``.
@@ -1763,7 +1763,7 @@ class MCPServerManager:
referenced_user_vars = referenced & user_var_names
required_user_vars = {name for name in referenced_user_vars if name not in global_values}
- user_values: Dict[str, str] = {}
+ user_values: dict[str, str] = {}
if required_user_vars:
try:
user_values = await self._load_user_env_vars(server, user_api_key_auth)
@@ -1802,7 +1802,7 @@ class MCPServerManager:
# admin globals win, so a stale row from when a var was user-scoped can
# never override the global value the admin set after switching it.
scoped_user_values = {name: value for name, value in user_values.items() if name in user_var_names}
- merged_vars: Dict[str, str] = {**scoped_user_values, **global_values}
+ merged_vars: dict[str, str] = {**scoped_user_values, **global_values}
if not static_headers:
return static_headers
return interpolate_headers(static_headers, merged_vars)
@@ -1813,7 +1813,7 @@ class MCPServerManager:
user_api_key_auth: Optional[UserAPIKeyAuth],
*,
force_refresh: bool = False,
- ) -> Dict[str, str]:
+ ) -> dict[str, str]:
"""Look up the calling user's env var values for ``server``.
Returns an empty dict when no user is available. Results are cached in a
@@ -1861,9 +1861,9 @@ class MCPServerManager:
async def _create_mcp_client(
self,
server: MCPServer,
- mcp_auth_header: Optional[Union[str, Dict[str, str]]] = None,
- extra_headers: Optional[Dict[str, str]] = None,
- stdio_env: Optional[Dict[str, str]] = None,
+ mcp_auth_header: Optional[Union[str, dict[str, str]]] = None,
+ extra_headers: Optional[dict[str, str]] = None,
+ stdio_env: Optional[dict[str, str]] = None,
subject_token: Optional[str] = None,
user_api_key_auth: Optional[UserAPIKeyAuth] = None,
cred_provider: Optional[UpstreamCredentialProvider] = None,
@@ -2021,12 +2021,12 @@ class MCPServerManager:
async def _get_tools_from_server(
self,
server: MCPServer,
- mcp_auth_header: Optional[Union[str, Dict[str, str]]] = None,
- extra_headers: Optional[Dict[str, str]] = None,
+ mcp_auth_header: Optional[Union[str, dict[str, str]]] = None,
+ extra_headers: Optional[dict[str, str]] = None,
add_prefix: bool = True,
- raw_headers: Optional[Dict[str, str]] = None,
+ raw_headers: Optional[dict[str, str]] = None,
user_api_key_auth: Optional[UserAPIKeyAuth] = None,
- ) -> List[MCPTool]:
+ ) -> list[MCPTool]:
"""
Helper method to get tools from a single MCP server with prefixed names.
@@ -2160,11 +2160,11 @@ class MCPServerManager:
async def get_prompts_from_server(
self,
server: MCPServer,
- mcp_auth_header: Optional[Union[str, Dict[str, str]]] = None,
- extra_headers: Optional[Dict[str, str]] = None,
+ mcp_auth_header: Optional[Union[str, dict[str, str]]] = None,
+ extra_headers: Optional[dict[str, str]] = None,
add_prefix: bool = True,
- raw_headers: Optional[Dict[str, str]] = None,
- ) -> List[Prompt]:
+ raw_headers: Optional[dict[str, str]] = None,
+ ) -> list[Prompt]:
"""
Helper method to get prompts from a single MCP server with prefixed names.
@@ -2209,11 +2209,11 @@ class MCPServerManager:
async def get_resources_from_server(
self,
server: MCPServer,
- mcp_auth_header: Optional[Union[str, Dict[str, str]]] = None,
- extra_headers: Optional[Dict[str, str]] = None,
+ mcp_auth_header: Optional[Union[str, dict[str, str]]] = None,
+ extra_headers: Optional[dict[str, str]] = None,
add_prefix: bool = True,
- raw_headers: Optional[Dict[str, str]] = None,
- ) -> List[Resource]:
+ raw_headers: Optional[dict[str, str]] = None,
+ ) -> list[Resource]:
"""Fetch available resources from a single MCP server."""
verbose_logger.debug(f"Connecting to url: {server.url}")
@@ -2249,11 +2249,11 @@ class MCPServerManager:
async def get_resource_templates_from_server(
self,
server: MCPServer,
- mcp_auth_header: Optional[Union[str, Dict[str, str]]] = None,
- extra_headers: Optional[Dict[str, str]] = None,
+ mcp_auth_header: Optional[Union[str, dict[str, str]]] = None,
+ extra_headers: Optional[dict[str, str]] = None,
add_prefix: bool = True,
- raw_headers: Optional[Dict[str, str]] = None,
- ) -> List[ResourceTemplate]:
+ raw_headers: Optional[dict[str, str]] = None,
+ ) -> list[ResourceTemplate]:
"""Fetch available resource templates from a single MCP server."""
verbose_logger.debug(f"Connecting to url: {server.url}")
@@ -2292,9 +2292,9 @@ class MCPServerManager:
self,
server: MCPServer,
url: AnyUrl,
- mcp_auth_header: Optional[Union[str, Dict[str, str]]] = None,
- extra_headers: Optional[Dict[str, str]] = None,
- raw_headers: Optional[Dict[str, str]] = None,
+ mcp_auth_header: Optional[Union[str, dict[str, str]]] = None,
+ extra_headers: Optional[dict[str, str]] = None,
+ raw_headers: Optional[dict[str, str]] = None,
) -> ReadResourceResult:
"""Read resource contents from a specific MCP server."""
@@ -2321,10 +2321,10 @@ class MCPServerManager:
self,
server: MCPServer,
prompt_name: str,
- arguments: Optional[Dict[str, Any]] = None,
- mcp_auth_header: Optional[Union[str, Dict[str, str]]] = None,
- extra_headers: Optional[Dict[str, str]] = None,
- raw_headers: Optional[Dict[str, str]] = None,
+ arguments: Optional[dict[str, Any]] = None,
+ mcp_auth_header: Optional[Union[str, dict[str, str]]] = None,
+ extra_headers: Optional[dict[str, str]] = None,
+ raw_headers: Optional[dict[str, str]] = None,
) -> GetPromptResult:
"""Fetch a specific prompt definition from a single MCP server."""
@@ -2468,7 +2468,7 @@ class MCPServerManager:
verbose_logger.debug("MCP OAuth discovery failed for %s: %s", server_url, exc)
return None
- def _parse_www_authenticate_header(self, header_value: Optional[str]) -> Tuple[Optional[str], Optional[List[str]]]:
+ def _parse_www_authenticate_header(self, header_value: Optional[str]) -> tuple[Optional[str], Optional[list[str]]]:
if not header_value:
return None, None
@@ -2476,7 +2476,7 @@ class MCPServerManager:
params_section = params_section or header_value
param_pattern = re.compile(r"([a-zA-Z0-9_]+)\s*=\s*\"?([^\",]+)\"?")
- params: Dict[str, str] = {
+ params: dict[str, str] = {
match.group(1).lower(): match.group(2).strip() for match in param_pattern.finditer(params_section)
}
@@ -2490,7 +2490,7 @@ class MCPServerManager:
async def _fetch_oauth_metadata_from_resource(
self, resource_metadata_url: str, server_url: str
- ) -> Tuple[List[str], Optional[List[str]]]:
+ ) -> tuple[list[str], Optional[list[str]]]:
if not resource_metadata_url:
return [], None
@@ -2525,7 +2525,7 @@ class MCPServerManager:
return authorization_servers, scopes
- async def _attempt_well_known_discovery(self, server_url: str) -> Tuple[List[str], Optional[List[str]]]:
+ async def _attempt_well_known_discovery(self, server_url: str) -> tuple[list[str], Optional[list[str]]]:
try:
parsed = urlparse(server_url)
except Exception:
@@ -2538,7 +2538,7 @@ class MCPServerManager:
path = parsed.path or ""
path = path.strip("/")
- candidate_urls: List[str] = []
+ candidate_urls: list[str] = []
if path:
candidate_urls.append(f"{base}/.well-known/oauth-protected-resource/{path}")
candidate_urls.append(f"{base}/.well-known/oauth-protected-resource")
@@ -2554,7 +2554,7 @@ class MCPServerManager:
return [], None
async def _fetch_authorization_server_metadata(
- self, authorization_servers: List[str], server_url: str
+ self, authorization_servers: list[str], server_url: str
) -> Optional[MCPOAuthMetadata]:
for issuer in authorization_servers:
metadata = await self._fetch_single_authorization_server_metadata(issuer, server_url)
@@ -2576,7 +2576,7 @@ class MCPServerManager:
base = f"{parsed.scheme}://{parsed.netloc}"
path = (parsed.path or "").strip("/")
- candidate_urls: List[str] = []
+ candidate_urls: list[str] = []
if path:
candidate_urls.append(f"{base}/.well-known/oauth-authorization-server/{path}")
candidate_urls.append(f"{base}/.well-known/openid-configuration/{path}")
@@ -2662,9 +2662,9 @@ class MCPServerManager:
def _extract_aws_credentials(
self,
- credentials_dict: Optional[Dict[str, str]],
+ credentials_dict: Optional[dict[str, str]],
credentials_are_encrypted: bool,
- ) -> Dict[str, Optional[str]]:
+ ) -> dict[str, Optional[str]]:
"""Extract and decrypt AWS SigV4 credential fields from credentials dict."""
if not credentials_dict:
return {}
@@ -2690,7 +2690,7 @@ class MCPServerManager:
"aws_session_name": credentials_dict.get("aws_session_name"),
}
- def _extract_scopes(self, scopes_value: Any) -> Optional[List[str]]:
+ def _extract_scopes(self, scopes_value: Any) -> Optional[list[str]]:
if isinstance(scopes_value, str):
scopes = [s.strip() for s in scopes_value.split() if s.strip()]
return scopes or None
@@ -2703,7 +2703,7 @@ class MCPServerManager:
self,
client: MCPClient,
server_name: str,
- ) -> List[MCPTool]:
+ ) -> list[MCPTool]:
"""
Fetch tools from MCP client with timeout and error handling.
@@ -2760,7 +2760,7 @@ class MCPServerManager:
def _assign_unique_short_prefix(
self,
server: MCPServer,
- registry: Optional[Dict[str, MCPServer]] = None,
+ registry: Optional[dict[str, MCPServer]] = None,
) -> None:
"""Resolve and cache a collision-free short tool prefix on ``server``.
@@ -2784,7 +2784,7 @@ class MCPServerManager:
if not server.server_id:
return
- used: Dict[str, str] = {}
+ used: dict[str, str] = {}
registry_for_collision_check = registry or self.get_registry()
for other in registry_for_collision_check.values():
if other.server_id == server.server_id:
@@ -2817,7 +2817,7 @@ class MCPServerManager:
"attempts; the 3-character prefix space is too crowded."
)
- def _create_prefixed_tools(self, tools: List[MCPTool], server: MCPServer, add_prefix: bool = True) -> List[MCPTool]:
+ def _create_prefixed_tools(self, tools: list[MCPTool], server: MCPServer, add_prefix: bool = True) -> list[MCPTool]:
"""
Create prefixed tools and update tool mapping.
@@ -2855,8 +2855,8 @@ class MCPServerManager:
return prefixed_tools
def _create_prefixed_prompts(
- self, prompts: List[Prompt], server: MCPServer, add_prefix: bool = True
- ) -> List[Prompt]:
+ self, prompts: list[Prompt], server: MCPServer, add_prefix: bool = True
+ ) -> list[Prompt]:
"""
Create prefixed prompts and update prompt mapping.
@@ -2882,11 +2882,11 @@ class MCPServerManager:
return prefixed_prompts
def _create_prefixed_resources(
- self, resources: List[Resource], server: MCPServer, add_prefix: bool = True
- ) -> List[Resource]:
+ self, resources: list[Resource], server: MCPServer, add_prefix: bool = True
+ ) -> list[Resource]:
"""Prefix resource names and track origin server for read requests."""
- prefixed_resources: List[Resource] = []
+ prefixed_resources: list[Resource] = []
prefix = get_server_prefix(server)
for resource in resources:
@@ -2899,13 +2899,13 @@ class MCPServerManager:
def _create_prefixed_resource_templates(
self,
- resource_templates: List[ResourceTemplate],
+ resource_templates: list[ResourceTemplate],
server: MCPServer,
add_prefix: bool = True,
- ) -> List[ResourceTemplate]:
+ ) -> list[ResourceTemplate]:
"""Prefix resource template names for multi-server scenarios."""
- prefixed_templates: List[ResourceTemplate] = []
+ prefixed_templates: list[ResourceTemplate] = []
prefix = get_server_prefix(server)
for resource_template in resource_templates:
@@ -2938,7 +2938,7 @@ class MCPServerManager:
)
return True
- def validate_allowed_params(self, tool_name: str, arguments: Dict[str, Any], server: MCPServer) -> None:
+ def validate_allowed_params(self, tool_name: str, arguments: dict[str, Any], server: MCPServer) -> None:
"""
Filter arguments to only include allowed parameters for the given tool.
@@ -3029,7 +3029,7 @@ class MCPServerManager:
self,
server: MCPServer,
tool_name: str,
- arguments: Dict[str, Any],
+ arguments: dict[str, Any],
) -> CallToolResult:
"""
Call an OpenAPI tool handler directly.
@@ -3086,13 +3086,13 @@ class MCPServerManager:
async def pre_call_tool_check(
self,
name: str,
- arguments: Dict[str, Any],
+ arguments: dict[str, Any],
server_name: str,
user_api_key_auth: Optional[UserAPIKeyAuth],
proxy_logging_obj: ProxyLogging,
server: MCPServer,
- raw_headers: Optional[Dict[str, str]] = None,
- ) -> Dict[str, Any]:
+ raw_headers: Optional[dict[str, str]] = None,
+ ) -> dict[str, Any]:
"""
Run pre-call checks and guardrail hooks for an MCP tool call.
@@ -3152,7 +3152,7 @@ class MCPServerManager:
# Convert to LLM format for existing guardrail compatibility
synthetic_llm_data = proxy_logging_obj._convert_mcp_to_llm_format(mcp_request_obj, pre_hook_kwargs)
- hook_result: Dict[str, Any] = {}
+ hook_result: dict[str, Any] = {}
try:
# Use standard pre_call_hook
modified_data = await proxy_logging_obj.pre_call_hook(
@@ -3182,7 +3182,7 @@ class MCPServerManager:
def _create_during_hook_task(
self,
name: str,
- arguments: Dict[str, Any],
+ arguments: dict[str, Any],
server_name_from_prefix: Optional[str],
user_api_key_auth: Optional[UserAPIKeyAuth],
proxy_logging_obj: ProxyLogging,
@@ -3240,15 +3240,15 @@ class MCPServerManager:
self,
mcp_server: MCPServer,
original_tool_name: str,
- arguments: Dict[str, Any],
- tasks: List,
+ arguments: dict[str, Any],
+ tasks: list,
mcp_auth_header: Optional[str],
- mcp_server_auth_headers: Optional[Dict[str, Dict[str, str]]],
- oauth2_headers: Optional[Dict[str, str]],
- raw_headers: Optional[Dict[str, str]],
+ mcp_server_auth_headers: Optional[dict[str, dict[str, str]]],
+ oauth2_headers: Optional[dict[str, str]],
+ raw_headers: Optional[dict[str, str]],
proxy_logging_obj: Optional[ProxyLogging],
host_progress_callback: Optional[Callable] = None,
- hook_extra_headers: Optional[Dict[str, str]] = None,
+ hook_extra_headers: Optional[dict[str, str]] = None,
user_api_key_auth: Optional[UserAPIKeyAuth] = None,
) -> CallToolResult:
"""
@@ -3279,7 +3279,7 @@ class MCPServerManager:
# Get server-specific auth header if available (case-insensitive)
# FIX: Added case-insensitive matching to handle auth header keys that may not match
# the exact case of server alias/name (e.g., '1litellmagcgateway' vs '1LiteLLMAGCGateway')
- server_auth_header: Optional[Union[Dict[str, str], str]] = None
+ server_auth_header: Optional[Union[dict[str, str], str]] = None
if mcp_server_auth_headers:
# Normalize keys for case-insensitive lookup
from litellm.proxy._experimental.mcp_server.utils import (
@@ -3298,7 +3298,7 @@ class MCPServerManager:
# Extract subject token for OAuth2 Token Exchange (OBO) flow
subject_token: Optional[str] = None
- extra_headers: Optional[Dict[str, str]] = None
+ extra_headers: Optional[dict[str, str]] = None
if mcp_server.auth_type == MCPAuth.oauth2_token_exchange:
subject_token = self._extract_bearer_token(oauth2_headers, raw_headers)
elif mcp_server.auth_type == MCPAuth.oauth2:
@@ -3486,9 +3486,9 @@ class MCPServerManager:
async def _resolve_oauth2_headers_for_tool_call(
self,
mcp_server: MCPServer,
- oauth2_headers: Optional[Dict[str, str]],
+ oauth2_headers: Optional[dict[str, str]],
user_api_key_auth: Optional[UserAPIKeyAuth],
- ) -> Optional[Dict[str, str]]:
+ ) -> Optional[dict[str, str]]:
"""Look up per-user OAuth headers when the client did not supply a token."""
if not mcp_server.needs_user_oauth_token or oauth2_headers or user_api_key_auth is None:
return oauth2_headers
@@ -3525,7 +3525,7 @@ class MCPServerManager:
async def _gather_openapi_tool_tasks(
self,
- tasks: List[Any],
+ tasks: list[Any],
proxy_logging_obj: Optional[ProxyLogging],
) -> CallToolResult:
"""Await OpenAPI tool tasks and return the tool call result."""
@@ -3545,13 +3545,13 @@ class MCPServerManager:
self,
server_name: str,
name: str,
- arguments: Dict[str, Any],
+ arguments: dict[str, Any],
user_api_key_auth: Optional[UserAPIKeyAuth] = None,
mcp_auth_header: Optional[str] = None,
- mcp_server_auth_headers: Optional[Dict[str, Dict[str, str]]] = None,
+ mcp_server_auth_headers: Optional[dict[str, dict[str, str]]] = None,
proxy_logging_obj: Optional[ProxyLogging] = None,
- oauth2_headers: Optional[Dict[str, str]] = None,
- raw_headers: Optional[Dict[str, str]] = None,
+ oauth2_headers: Optional[dict[str, str]] = None,
+ raw_headers: Optional[dict[str, str]] = None,
host_progress_callback: Optional[Callable] = None,
) -> CallToolResult:
"""
@@ -3578,7 +3578,7 @@ class MCPServerManager:
# Allow validation and modification of tool calls before execution
# Using standard pre_call_hook
#########################################################
- hook_result: Dict[str, Any] = {}
+ hook_result: dict[str, Any] = {}
if proxy_logging_obj:
hook_result = await self.pre_call_tool_check(
name=name,
@@ -3704,7 +3704,7 @@ class MCPServerManager:
# Build prefix → server lookup covering every known form a tool name
# may take (alias / server_name / server_id / short ID). This is what
# makes the short-prefix mode work without breaking historical names.
- prefix_to_server: Dict[str, MCPServer] = {}
+ prefix_to_server: dict[str, MCPServer] = {}
for server in registry_servers:
for known_prefix in iter_known_server_prefixes(server):
normalised = normalize_server_name(known_prefix)
@@ -3765,7 +3765,7 @@ class MCPServerManager:
verbose_logger.info(f"Found {len(db_mcp_servers)} MCP servers in database")
previous_registry = self.registry
- new_registry: Dict[str, MCPServer] = {}
+ new_registry: dict[str, MCPServer] = {}
# Stage one: build every server. Stage two assigns short prefixes
# against the *full* set so dedup is deterministic regardless of
@@ -3811,7 +3811,7 @@ class MCPServerManager:
# Assign short prefixes against the full candidate set without
# publishing the staged registry to concurrent callers.
- registered_registry: Dict[str, MCPServer] = {}
+ registered_registry: dict[str, MCPServer] = {}
registered_openapi_tools = False
for server_id, new_server in new_registry.items():
try:
@@ -3837,7 +3837,7 @@ class MCPServerManager:
verbose_logger.debug("MCP registry refreshed (%s servers in registry)", len(registered_registry))
- def get_mcp_servers_from_ids(self, server_ids: List[str]) -> List[MCPServer]:
+ def get_mcp_servers_from_ids(self, server_ids: list[str]) -> list[MCPServer]:
servers = []
registry = self.get_registry()
for server in registry.values():
@@ -3845,7 +3845,7 @@ class MCPServerManager:
servers.append(server)
return servers
- def _get_general_settings(self) -> Dict[str, Any]:
+ def _get_general_settings(self) -> dict[str, Any]:
"""Get general_settings, importing lazily to avoid circular imports."""
try:
from litellm.proxy.proxy_server import (
@@ -3888,7 +3888,7 @@ class MCPServerManager:
return server
return None
- def get_public_mcp_servers(self) -> List[MCPServer]:
+ def get_public_mcp_servers(self) -> list[MCPServer]:
"""
Return the MCP servers published to the AI Hub via /v1/mcp/make_public.
@@ -3918,7 +3918,7 @@ class MCPServerManager:
if server.available_on_public_internet or server.server_id in public_ids
]
- def expand_permission_list(self, identifiers: List[str]) -> List[str]:
+ def expand_permission_list(self, identifiers: list[str]) -> list[str]:
"""
Expand a permission list of server_ids/names/aliases into concrete
server_ids against the current region's config + DB registry union.
@@ -3934,12 +3934,12 @@ class MCPServerManager:
if not identifiers:
return []
registry = self.get_registry()
- expanded: Set[str] = set()
+ expanded: set[str] = set()
for identifier in identifiers:
if identifier in registry:
expanded.add(identifier)
continue
- matches: List[str] = [
+ matches: list[str] = [
server_id
for server_id, server in registry.items()
if server.alias == identifier or server.server_name == identifier or server.name == identifier
@@ -3960,8 +3960,8 @@ class MCPServerManager:
def expand_tool_permissions(
self,
- tool_permissions: Optional[Dict[str, List[str]]],
- ) -> Dict[str, List[str]]:
+ tool_permissions: Optional[dict[str, list[str]]],
+ ) -> dict[str, list[str]]:
"""
Rewrite an ``mcp_tool_permissions`` dict keyed by id/name/alias so
every key is a concrete server_id where possible. Tool lists from
@@ -3976,7 +3976,7 @@ class MCPServerManager:
"""
if not tool_permissions:
return {}
- result: Dict[str, List[str]] = {}
+ result: dict[str, list[str]] = {}
for key, tools in tool_permissions.items():
for server_id in self.expand_permission_list([key]):
result.setdefault(server_id, []).extend(tools or [])
@@ -4017,7 +4017,7 @@ class MCPServerManager:
return server
return None
- def get_filtered_registry(self, client_ip: Optional[str] = None) -> Dict[str, MCPServer]:
+ def get_filtered_registry(self, client_ip: Optional[str] = None) -> dict[str, MCPServer]:
"""
Get registry filtered by client IP access control.
@@ -4186,8 +4186,8 @@ class MCPServerManager:
async def get_all_mcp_servers_with_health_and_teams(
self,
user_api_key_auth: Optional[UserAPIKeyAuth] = None,
- server_ids: Optional[List[str]] = None,
- ) -> List[LiteLLM_MCPServerTable]:
+ server_ids: Optional[list[str]] = None,
+ ) -> list[LiteLLM_MCPServerTable]:
"""
Get all MCP servers that the user has access to, with health status and team information.
@@ -4216,7 +4216,7 @@ class MCPServerManager:
async def get_all_allowed_mcp_servers(
self,
user_api_key_auth: Optional[UserAPIKeyAuth] = None,
- ) -> List[LiteLLM_MCPServerTable]:
+ ) -> list[LiteLLM_MCPServerTable]:
"""
Get all MCP servers that the user has access to.
@@ -4229,7 +4229,7 @@ class MCPServerManager:
# Get allowed server IDs
allowed_server_ids = await self.get_allowed_mcp_servers(user_api_key_auth)
- list_mcp_servers: List[LiteLLM_MCPServerTable] = []
+ list_mcp_servers: list[LiteLLM_MCPServerTable] = []
for server_id in allowed_server_ids:
server = self.get_mcp_server_by_id(server_id)
@@ -4244,8 +4244,8 @@ class MCPServerManager:
@staticmethod
def _env_vars_to_models(
- env_vars: Optional[List[Dict[str, Any]]],
- ) -> Optional[List[MCPEnvVar]]:
+ env_vars: Optional[list[dict[str, Any]]],
+ ) -> Optional[list[MCPEnvVar]]:
if env_vars is None:
return None
return [MCPEnvVar.model_validate(env_var) for env_var in env_vars]
@@ -4291,21 +4291,21 @@ class MCPServerManager:
max_concurrent_requests=server.max_concurrent_requests,
)
- async def get_all_mcp_servers_unfiltered(self) -> List[LiteLLM_MCPServerTable]:
+ async def get_all_mcp_servers_unfiltered(self) -> list[LiteLLM_MCPServerTable]:
"""Return all MCP servers from registry without applying access controls."""
registry = self.get_registry()
if not registry:
return []
- servers: List[LiteLLM_MCPServerTable] = []
+ servers: list[LiteLLM_MCPServerTable] = []
for server in registry.values():
servers.append(self._build_mcp_server_table(server))
return servers
async def get_all_mcp_servers_with_health_unfiltered(
- self, server_ids: Optional[List[str]] = None
- ) -> List[LiteLLM_MCPServerTable]:
+ self, server_ids: Optional[list[str]] = None
+ ) -> list[LiteLLM_MCPServerTable]:
"""Return health info for all servers in registry regardless of user access."""
registry = self.get_registry()
@@ -4322,7 +4322,7 @@ class MCPServerManager:
return await self._run_health_checks(target_server_ids)
- async def _run_health_checks(self, target_server_ids: List[str]) -> List[LiteLLM_MCPServerTable]:
+ async def _run_health_checks(self, target_server_ids: list[str]) -> list[LiteLLM_MCPServerTable]:
if not target_server_ids:
return []
diff --git a/ruff-strict-budget.json b/ruff-strict-budget.json
index 9c2db6ee9cf..dcf6e9868b7 100644
--- a/ruff-strict-budget.json
+++ b/ruff-strict-budget.json
@@ -222,7 +222,7 @@
"limit": 38
},
"RET504": {
- "limit": 722
+ "limit": 721
},
"RUF010": {
"limit": 874
@@ -249,7 +249,7 @@
"limit": 6
},
"RUF059": {
- "limit": 74
+ "limit": 73
},
"RUF100": {
"limit": 480
@@ -306,7 +306,7 @@
"limit": 9
},
"TID251": {
- "limit": 2714
+ "limit": 2710
},
"TRY002": {
"limit": 548
@@ -324,7 +324,7 @@
"limit": 883
},
"UP006": {
- "limit": 13041
+ "limit": 12870
},
"UP007": {
"limit": 2570
@@ -354,7 +354,7 @@
"limit": 4
},
"UP035": {
- "limit": 2300
+ "limit": 2295
},
"UP036": {
"limit": 4
diff --git a/ui/litellm-dashboard/build_ui.sh b/ui/litellm-dashboard/build_ui.sh
index aa346c12edc..a3ab475dc58 100755
--- a/ui/litellm-dashboard/build_ui.sh
+++ b/ui/litellm-dashboard/build_ui.sh
@@ -31,9 +31,6 @@ if [ $? -ne 0 ]; then
exit 1
fi
-# print contents of ui_colors.json
-echo "Contents of ui_colors.json:"
-cat ui_colors.json
# Run npm build
npm run build
diff --git a/ui/litellm-dashboard/components.json b/ui/litellm-dashboard/components.json
new file mode 100644
index 00000000000..c4d45aa0989
--- /dev/null
+++ b/ui/litellm-dashboard/components.json
@@ -0,0 +1,21 @@
+{
+ "$schema": "https://ui.shadcn.com/schema.json",
+ "style": "new-york",
+ "rsc": true,
+ "tsx": true,
+ "tailwind": {
+ "config": "",
+ "css": "src/app/globals.css",
+ "baseColor": "gray",
+ "cssVariables": true,
+ "prefix": ""
+ },
+ "iconLibrary": "lucide",
+ "aliases": {
+ "components": "@/components",
+ "ui": "@/components/ui",
+ "lib": "@/lib",
+ "hooks": "@/hooks",
+ "utils": "@/lib/cva.config"
+ }
+}
diff --git a/ui/litellm-dashboard/eslint-suppressions.json b/ui/litellm-dashboard/eslint-suppressions.json
index 44c0d8f55ef..1c8f92b720f 100644
--- a/ui/litellm-dashboard/eslint-suppressions.json
+++ b/ui/litellm-dashboard/eslint-suppressions.json
@@ -4,6 +4,150 @@
"count": 1
}
},
+ "src/app/(dashboard)/budgets/components/budget_modal.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/budgets/components/budget_panel.test.tsx": {
+ "unused-imports/no-unused-imports": {
+ "count": 2
+ }
+ },
+ "src/app/(dashboard)/budgets/components/budget_panel.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/budgets/components/edit_budget_modal.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/caching/components/cache_dashboard.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ },
+ "react-hooks/purity": {
+ "count": 1
+ },
+ "react-hooks/set-state-in-effect": {
+ "count": 2
+ }
+ },
+ "src/app/(dashboard)/caching/components/cache_health.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/caching/components/cache_settings/RedisTypeSelector.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/caching/components/cache_settings/index.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ },
+ "react-hooks/set-state-in-effect": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/add_margin_form.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/add_provider_form.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/cost_tracking_settings.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/how_it_works.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_cost_results.test.tsx": {
+ "unused-imports/no-unused-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_cost_results.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_export_dropdown.test.tsx": {
+ "unused-imports/no-unused-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_export_dropdown.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/pricing_calculator/use_multi_cost_estimate.ts": {
+ "no-restricted-syntax": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/provider_discount_table.test.tsx": {
+ "unused-imports/no-unused-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/provider_discount_table.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/provider_display_helpers.test.ts": {
+ "unused-imports/no-unused-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/provider_margin_table.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/use_discount_config.ts": {
+ "no-restricted-syntax": {
+ "count": 2
+ }
+ },
+ "src/app/(dashboard)/cost-tracking/components/use_margin_config.ts": {
+ "no-restricted-syntax": {
+ "count": 2
+ }
+ },
+ "src/app/(dashboard)/guardrails-monitor/components/EvaluationSettingsModal.tsx": {
+ "react-hooks/set-state-in-effect": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/guardrails-monitor/components/GuardrailsMonitorView.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/guardrails-monitor/components/ScoreChart.test.tsx": {
+ "react/display-name": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/guardrails-monitor/components/ScoreChart.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
"src/app/(dashboard)/hooks/accessGroups/useAccessGroupDetails.ts": {
"no-restricted-syntax": {
"count": 1
@@ -164,6 +308,11 @@
"count": 2
}
},
+ "src/app/(dashboard)/memory/components/MemoryView.tsx": {
+ "react-hooks/set-state-in-effect": {
+ "count": 1
+ }
+ },
"src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx": {
"no-restricted-imports": {
"count": 1
@@ -203,81 +352,153 @@
"count": 1
}
},
- "src/app/(dashboard)/playground/page.tsx": {
+ "src/app/(dashboard)/playground/components/chat_ui/AdditionalModelSettings.tsx": {
"no-restricted-imports": {
"count": 1
- }
- },
- "src/app/login/LoginPage.tsx": {
+ },
"react-hooks/set-state-in-effect": {
"count": 2
}
},
- "src/app/model_hub/page.tsx": {
+ "src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx": {
"react-hooks/set-state-in-effect": {
+ "count": 5
+ }
+ },
+ "src/app/(dashboard)/playground/components/chat_ui/ChatImageUtils.test.tsx": {
+ "max-nested-callbacks": {
"count": 1
}
},
- "src/app/model_hub_table/page.tsx": {
+ "src/app/(dashboard)/playground/components/chat_ui/ChatUI.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ },
"react-hooks/set-state-in-effect": {
+ "count": 4
+ },
+ "unused-imports/no-unused-imports": {
+ "count": 13
+ }
+ },
+ "src/app/(dashboard)/playground/components/chat_ui/CodeInterpreterOutput.tsx": {
+ "no-restricted-syntax": {
+ "count": 2
+ }
+ },
+ "src/app/(dashboard)/playground/components/chat_ui/CodeInterpreterTool.tsx": {
+ "no-restricted-imports": {
"count": 1
}
},
- "src/components/AIHub/AgentHubTableColumns.test.tsx": {
- "unused-imports/no-unused-imports": {
+ "src/app/(dashboard)/playground/components/chat_ui/RealtimePlayground.tsx": {
+ "react-hooks/immutability": {
+ "count": 2
+ },
+ "react-hooks/preserve-manual-memoization": {
"count": 1
}
},
- "src/components/AIHub/AgentHubTableColumns.tsx": {
+ "src/app/(dashboard)/playground/components/compareUI/CompareUI.tsx": {
+ "react-hooks/set-state-in-effect": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/playground/components/compareUI/components/ModelSelector.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/components/AIHub/ModelHubTable.test.tsx": {
+ "src/app/(dashboard)/playground/components/complianceUI/ComplianceUI.tsx": {
+ "react-hooks/preserve-manual-memoization": {
+ "count": 3
+ }
+ },
+ "src/app/(dashboard)/playground/llm_calls/a2a_send_message.tsx": {
+ "max-params": {
+ "count": 2
+ },
+ "no-restricted-syntax": {
+ "count": 2
+ }
+ },
+ "src/app/(dashboard)/playground/llm_calls/anthropic_messages.tsx": {
"max-params": {
"count": 1
}
},
- "src/components/AIHub/ModelHubTable.tsx": {
- "no-restricted-imports": {
+ "src/app/(dashboard)/playground/llm_calls/audio_speech.tsx": {
+ "max-params": {
"count": 1
}
},
- "src/components/AIHub/SkillHubDashboard.tsx": {
- "no-restricted-imports": {
+ "src/app/(dashboard)/playground/llm_calls/audio_transcriptions.tsx": {
+ "max-params": {
"count": 1
}
},
- "src/components/AIHub/UsefulLinksManagement.tsx": {
- "no-restricted-imports": {
+ "src/app/(dashboard)/playground/llm_calls/embeddings_api.tsx": {
+ "max-params": {
"count": 1
},
- "react-hooks/set-state-in-effect": {
+ "no-restricted-syntax": {
"count": 1
}
},
- "src/components/AIHub/forms/MakeAgentPublicForm.tsx": {
- "no-restricted-imports": {
+ "src/app/(dashboard)/playground/llm_calls/fetch_agents.tsx": {
+ "no-restricted-syntax": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/playground/llm_calls/image_edits.tsx": {
+ "max-params": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/playground/llm_calls/image_generation.tsx": {
+ "max-params": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/playground/llm_calls/interactions_api.tsx": {
+ "max-params": {
"count": 1
},
- "react-hooks/set-state-in-effect": {
+ "no-restricted-syntax": {
"count": 1
}
},
- "src/components/AIHub/forms/MakeMCPPublicForm.test.tsx": {
- "react/display-name": {
+ "src/app/(dashboard)/playground/page.tsx": {
+ "no-restricted-imports": {
"count": 1
}
},
- "src/components/AIHub/forms/MakeMCPPublicForm.tsx": {
+ "src/app/(dashboard)/projects/components/ProjectDetailsPage.tsx": {
"no-restricted-imports": {
"count": 1
- },
+ }
+ },
+ "src/app/(dashboard)/projects/components/ProjectKeysSection.tsx": {
"react-hooks/set-state-in-effect": {
"count": 1
}
},
- "src/components/AIHub/forms/MakeModelPublicForm.tsx": {
+ "src/app/(dashboard)/projects/components/ProjectModals/ProjectBaseForm.tsx": {
+ "react-hooks/set-state-in-effect": {
+ "count": 2
+ }
+ },
+ "src/app/(dashboard)/projects/components/ProjectsPage.tsx": {
+ "react-hooks/set-state-in-effect": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/prompts/components/add_prompt_form.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/prompts/components/index.tsx": {
"no-restricted-imports": {
"count": 1
},
@@ -285,7 +506,17 @@
"count": 1
}
},
- "src/components/AdminPanel.tsx": {
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/DeveloperMessageCard.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/ModelConfigCard.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/PromptCodeSnippets.tsx": {
"no-restricted-imports": {
"count": 1
},
@@ -293,86 +524,103 @@
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/add_margin_form.tsx": {
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/PromptEditorHeader.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/add_provider_form.tsx": {
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/PromptMessagesCard.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/cost_tracking_settings.tsx": {
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/PublishModal.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/how_it_works.tsx": {
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/ToolsCard.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_cost_results.test.tsx": {
- "unused-imports/no-unused-imports": {
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/VersionHistorySidePanel.test.tsx": {
+ "max-nested-callbacks": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_cost_results.tsx": {
- "no-restricted-imports": {
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/VersionHistorySidePanel.tsx": {
+ "react-hooks/immutability": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_export_dropdown.test.tsx": {
- "unused-imports/no-unused-imports": {
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/MessageInput.tsx": {
+ "no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_export_dropdown.tsx": {
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/index.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/pricing_calculator/use_multi_cost_estimate.ts": {
+ "src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/useConversation.ts": {
"no-restricted-syntax": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/provider_discount_table.test.tsx": {
- "unused-imports/no-unused-imports": {
+ "src/app/(dashboard)/prompts/components/prompt_info.tsx": {
+ "no-restricted-imports": {
"count": 1
+ },
+ "react-hooks/set-state-in-effect": {
+ "count": 2
}
},
- "src/app/(dashboard)/cost-tracking/components/provider_discount_table.tsx": {
+ "src/app/(dashboard)/prompts/components/prompt_table.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/provider_display_helpers.test.ts": {
- "unused-imports/no-unused-imports": {
+ "src/app/(dashboard)/search-tools/_components/CreateSearchTools.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ },
+ "react-hooks/set-state-in-effect": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/provider_margin_table.tsx": {
+ "src/app/(dashboard)/search-tools/_components/SearchToolTester.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/use_discount_config.ts": {
- "no-restricted-syntax": {
- "count": 2
+ "src/app/(dashboard)/search-tools/_components/SearchToolView.tsx": {
+ "no-restricted-imports": {
+ "count": 1
}
},
- "src/app/(dashboard)/cost-tracking/components/use_margin_config.ts": {
- "no-restricted-syntax": {
- "count": 2
+ "src/app/(dashboard)/search-tools/_components/SearchTools.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ },
+ "react-hooks/static-components": {
+ "count": 1
}
},
- "src/components/CreateUserButton.tsx": {
+ "src/app/(dashboard)/transform-request/TransformRequestPanel.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/ui-theme/UIThemeSettings.tsx": {
"no-restricted-imports": {
"count": 1
},
- "react-hooks/set-state-in-effect": {
+ "no-restricted-syntax": {
+ "count": 3
+ },
+ "react-hooks/immutability": {
"count": 1
}
},
@@ -381,154 +629,231 @@
"count": 1
}
},
- "src/components/DeletedKeysPage/DeletedKeysTable/DeletedKeysTable.tsx": {
+ "src/app/(dashboard)/users/_components/edit_user.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/components/DeletedTeamsPage/DeletedTeamsTable/DeletedTeamsTable.tsx": {
+ "src/app/(dashboard)/users/_components/user_edit_view.test.tsx": {
+ "react/display-name": {
+ "count": 1
+ }
+ },
+ "src/app/(dashboard)/users/_components/user_edit_view.tsx": {
"no-restricted-imports": {
"count": 1
+ },
+ "react-hooks/set-state-in-effect": {
+ "count": 1
}
},
- "src/components/EntityUsageExport/ExportSummary.tsx": {
+ "src/app/(dashboard)/users/_components/view_users.tsx": {
"no-restricted-imports": {
"count": 1
+ },
+ "react-hooks/set-state-in-effect": {
+ "count": 1
}
},
- "src/components/EntityUsageExport/UsageExportHeader.tsx": {
+ "src/app/(dashboard)/users/_components/view_users/columns.tsx": {
+ "max-params": {
+ "count": 1
+ },
"no-restricted-imports": {
- "count": 2
+ "count": 1
}
},
- "src/components/EntityUsageExport/types.ts": {
+ "src/app/(dashboard)/users/_components/view_users/table.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/components/EntityUsageExport/utils.test.ts": {
+ "src/app/(dashboard)/users/_components/view_users/user_info_view.tsx": {
"no-restricted-imports": {
"count": 1
+ },
+ "react-hooks/set-state-in-effect": {
+ "count": 1
}
},
- "src/components/EntityUsageExport/utils.ts": {
- "max-params": {
+ "src/app/(dashboard)/workflows/WorkflowRuns.tsx": {
+ "no-restricted-syntax": {
"count": 3
},
- "no-restricted-imports": {
+ "react-hooks/set-state-in-effect": {
"count": 1
}
},
- "src/app/(dashboard)/guardrails-monitor/components/EvaluationSettingsModal.tsx": {
+ "src/app/login/LoginPage.tsx": {
+ "react-hooks/set-state-in-effect": {
+ "count": 2
+ }
+ },
+ "src/app/model_hub/page.tsx": {
"react-hooks/set-state-in-effect": {
"count": 1
}
},
- "src/app/(dashboard)/guardrails-monitor/components/GuardrailsMonitorView.tsx": {
+ "src/app/model_hub_table/page.tsx": {
+ "react-hooks/set-state-in-effect": {
+ "count": 1
+ }
+ },
+ "src/components/AIHub/AgentHubTableColumns.test.tsx": {
+ "unused-imports/no-unused-imports": {
+ "count": 1
+ }
+ },
+ "src/components/AIHub/AgentHubTableColumns.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/guardrails-monitor/components/ScoreChart.test.tsx": {
- "react/display-name": {
+ "src/components/AIHub/ModelHubTable.test.tsx": {
+ "max-params": {
"count": 1
}
},
- "src/app/(dashboard)/guardrails-monitor/components/ScoreChart.tsx": {
+ "src/components/AIHub/ModelHubTable.tsx": {
"no-restricted-imports": {
"count": 1
}
},
- "src/components/HelpLink.test.tsx": {
- "unused-imports/no-unused-imports": {
+ "src/components/AIHub/SkillHubDashboard.tsx": {
+ "no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/memory/components/MemoryView.tsx": {
+ "src/components/AIHub/UsefulLinksManagement.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ },
"react-hooks/set-state-in-effect": {
"count": 1
}
},
- "src/components/Navbar/BlogDropdown/BlogDropdown.test.tsx": {
- "max-nested-callbacks": {
- "count": 12
+ "src/components/AIHub/forms/MakeAgentPublicForm.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ },
+ "react-hooks/set-state-in-effect": {
+ "count": 1
}
},
- "src/components/Navbar/UserDropdown/UserDropdown.tsx": {
- "react-hooks/set-state-in-effect": {
+ "src/components/AIHub/forms/MakeMCPPublicForm.test.tsx": {
+ "react/display-name": {
"count": 1
}
},
- "src/components/OldTeams.test.tsx": {
- "max-nested-callbacks": {
- "count": 4
+ "src/components/AIHub/forms/MakeMCPPublicForm.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ },
+ "react-hooks/set-state-in-effect": {
+ "count": 1
}
},
- "src/components/OldTeams.tsx": {
+ "src/components/AIHub/forms/MakeModelPublicForm.tsx": {
"no-restricted-imports": {
"count": 1
},
"react-hooks/set-state-in-effect": {
- "count": 4
+ "count": 1
}
},
- "src/app/(dashboard)/projects/components/ProjectDetailsPage.tsx": {
+ "src/components/AdminPanel.tsx": {
"no-restricted-imports": {
"count": 1
+ },
+ "react-hooks/set-state-in-effect": {
+ "count": 1
}
},
- "src/app/(dashboard)/projects/components/ProjectKeysSection.tsx": {
+ "src/components/CreateUserButton.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ },
"react-hooks/set-state-in-effect": {
"count": 1
}
},
- "src/app/(dashboard)/projects/components/ProjectModals/ProjectBaseForm.tsx": {
- "react-hooks/set-state-in-effect": {
- "count": 2
+ "src/components/DeletedKeysPage/DeletedKeysTable/DeletedKeysTable.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/components/DeletedTeamsPage/DeletedTeamsTable/DeletedTeamsTable.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/components/EntityUsageExport/ExportSummary.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/components/EntityUsageExport/UsageExportHeader.tsx": {
+ "no-restricted-imports": {
+ "count": 2
+ }
+ },
+ "src/components/EntityUsageExport/types.ts": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/components/EntityUsageExport/utils.test.ts": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/components/EntityUsageExport/utils.ts": {
+ "max-params": {
+ "count": 3
+ },
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/components/HelpLink.test.tsx": {
+ "unused-imports/no-unused-imports": {
+ "count": 1
}
},
- "src/app/(dashboard)/projects/components/ProjectsPage.tsx": {
- "react-hooks/set-state-in-effect": {
- "count": 1
+ "src/components/Navbar/BlogDropdown/BlogDropdown.test.tsx": {
+ "max-nested-callbacks": {
+ "count": 12
}
},
- "src/components/SCIM.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
+ "src/components/Navbar/UserDropdown/UserDropdown.tsx": {
"react-hooks/set-state-in-effect": {
"count": 1
}
},
- "src/components/SSOModals.tsx": {
- "no-restricted-imports": {
- "count": 1
+ "src/components/OldTeams.test.tsx": {
+ "max-nested-callbacks": {
+ "count": 4
}
},
- "src/app/(dashboard)/search-tools/_components/CreateSearchTools.tsx": {
+ "src/components/OldTeams.tsx": {
"no-restricted-imports": {
"count": 1
},
"react-hooks/set-state-in-effect": {
- "count": 1
+ "count": 4
}
},
- "src/app/(dashboard)/search-tools/_components/SearchToolTester.tsx": {
+ "src/components/SCIM.tsx": {
"no-restricted-imports": {
"count": 1
- }
- },
- "src/app/(dashboard)/search-tools/_components/SearchToolView.tsx": {
- "no-restricted-imports": {
+ },
+ "react-hooks/set-state-in-effect": {
"count": 1
}
},
- "src/app/(dashboard)/search-tools/_components/SearchTools.tsx": {
+ "src/components/SSOModals.tsx": {
"no-restricted-imports": {
"count": 1
- },
- "react-hooks/static-components": {
- "count": 1
}
},
"src/components/Settings/AdminSettings/MCPSemanticFilterSettings/MCPSemanticFilterSettings.tsx": {
@@ -750,7 +1075,7 @@
"count": 1
},
"react-hooks/set-state-in-effect": {
- "count": 2
+ "count": 1
}
},
"src/components/agents/add_agent_form.tsx": {
@@ -790,26 +1115,6 @@
"count": 1
}
},
- "src/app/(dashboard)/budgets/components/budget_modal.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/budgets/components/budget_panel.test.tsx": {
- "unused-imports/no-unused-imports": {
- "count": 2
- }
- },
- "src/app/(dashboard)/budgets/components/budget_panel.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/budgets/components/edit_budget_modal.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
"src/components/bulk_create_users_button.tsx": {
"no-restricted-imports": {
"count": 1
@@ -818,35 +1123,6 @@
"count": 1
}
},
- "src/app/(dashboard)/caching/components/cache_dashboard.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/purity": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 2
- }
- },
- "src/app/(dashboard)/caching/components/cache_health.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/caching/components/cache_settings/RedisTypeSelector.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/caching/components/cache_settings/index.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 1
- }
- },
"src/components/claude_code_plugins.tsx": {
"no-restricted-imports": {
"count": 1
@@ -996,11 +1272,6 @@
"count": 1
}
},
- "src/app/(dashboard)/users/_components/edit_user.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
"src/components/email_events/email_event_settings.tsx": {
"no-restricted-imports": {
"count": 1
@@ -1133,6 +1404,16 @@
"count": 1
}
},
+ "src/components/llm_calls/chat_completion.tsx": {
+ "max-params": {
+ "count": 1
+ }
+ },
+ "src/components/llm_calls/responses_api.tsx": {
+ "max-params": {
+ "count": 1
+ }
+ },
"src/components/mcp_hub_table_columns.tsx": {
"no-restricted-imports": {
"count": 1
@@ -1352,236 +1633,110 @@
},
"src/components/molecules/models/columns.test.tsx": {
"no-restricted-imports": {
- "count": 1
- },
- "react/display-name": {
- "count": 1
- }
- },
- "src/components/molecules/models/columns.tsx": {
- "max-params": {
- "count": 1
- },
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/components/navbar.test.tsx": {
- "unused-imports/no-unused-imports": {
- "count": 1
- }
- },
- "src/components/networking.tsx": {
- "max-params": {
- "count": 23
- },
- "no-restricted-syntax": {
- "count": 154
- }
- },
- "src/components/object_permissions_view.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/components/onboarding_link.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/components/organisms/create_key_button.test.tsx": {
- "@typescript-eslint/no-require-imports": {
- "count": 2
- },
- "react/display-name": {
- "count": 8
- }
- },
- "src/components/organisms/create_key_button.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 4
- },
- "react-hooks/use-memo": {
- "count": 1
- }
- },
- "src/components/organization/organization_view.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "unused-imports/no-unused-imports": {
- "count": 1
- }
- },
- "src/components/organizations.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/components/page_utils.test.ts": {
- "max-nested-callbacks": {
- "count": 3
- }
- },
- "src/components/pass_through_info.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/components/pass_through_settings.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/components/per_user_usage.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 1
- }
- },
- "src/components/permissions/AgentPermissions.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/components/permissions/MCPServerPermissions.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/components/permissions/VectorStorePermissions.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/playground/components/chat_ui/AdditionalModelSettings.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 2
- }
- },
- "src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx": {
- "react-hooks/set-state-in-effect": {
- "count": 5
- }
- },
- "src/app/(dashboard)/playground/components/chat_ui/ChatImageUtils.test.tsx": {
- "max-nested-callbacks": {
- "count": 1
- }
- },
- "src/app/(dashboard)/playground/components/chat_ui/ChatUI.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 4
- },
- "unused-imports/no-unused-imports": {
- "count": 13
- }
- },
- "src/app/(dashboard)/playground/components/chat_ui/CodeInterpreterOutput.tsx": {
- "no-restricted-syntax": {
- "count": 2
- }
- },
- "src/app/(dashboard)/playground/components/chat_ui/CodeInterpreterTool.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/playground/components/chat_ui/RealtimePlayground.tsx": {
- "react-hooks/immutability": {
- "count": 2
+ "count": 1
},
- "react-hooks/preserve-manual-memoization": {
+ "react/display-name": {
"count": 1
}
},
- "src/app/(dashboard)/playground/components/compareUI/CompareUI.tsx": {
- "react-hooks/set-state-in-effect": {
+ "src/components/molecules/models/columns.tsx": {
+ "max-params": {
"count": 1
- }
- },
- "src/app/(dashboard)/playground/components/compareUI/components/ModelSelector.tsx": {
+ },
"no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/playground/components/complianceUI/ComplianceUI.tsx": {
- "react-hooks/preserve-manual-memoization": {
- "count": 3
+ "src/components/navbar.test.tsx": {
+ "unused-imports/no-unused-imports": {
+ "count": 1
}
},
- "src/app/(dashboard)/playground/llm_calls/a2a_send_message.tsx": {
+ "src/components/networking.tsx": {
"max-params": {
- "count": 2
+ "count": 23
},
"no-restricted-syntax": {
- "count": 2
+ "count": 154
}
},
- "src/app/(dashboard)/playground/llm_calls/anthropic_messages.tsx": {
- "max-params": {
+ "src/components/object_permissions_view.tsx": {
+ "no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/playground/llm_calls/audio_speech.tsx": {
- "max-params": {
+ "src/components/onboarding_link.tsx": {
+ "no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/playground/llm_calls/audio_transcriptions.tsx": {
- "max-params": {
- "count": 1
+ "src/components/organisms/create_key_button.test.tsx": {
+ "@typescript-eslint/no-require-imports": {
+ "count": 2
+ },
+ "react/display-name": {
+ "count": 8
}
},
- "src/components/llm_calls/chat_completion.tsx": {
- "max-params": {
+ "src/components/organisms/create_key_button.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ },
+ "react-hooks/set-state-in-effect": {
+ "count": 4
+ },
+ "react-hooks/use-memo": {
"count": 1
}
},
- "src/app/(dashboard)/playground/llm_calls/embeddings_api.tsx": {
- "max-params": {
+ "src/components/organization/organization_view.tsx": {
+ "no-restricted-imports": {
"count": 1
},
- "no-restricted-syntax": {
+ "unused-imports/no-unused-imports": {
"count": 1
}
},
- "src/app/(dashboard)/playground/llm_calls/fetch_agents.tsx": {
- "no-restricted-syntax": {
+ "src/components/organizations.tsx": {
+ "no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/playground/llm_calls/image_edits.tsx": {
- "max-params": {
+ "src/components/page_utils.test.ts": {
+ "max-nested-callbacks": {
+ "count": 3
+ }
+ },
+ "src/components/pass_through_info.tsx": {
+ "no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/playground/llm_calls/image_generation.tsx": {
- "max-params": {
+ "src/components/pass_through_settings.tsx": {
+ "no-restricted-imports": {
"count": 1
}
},
- "src/app/(dashboard)/playground/llm_calls/interactions_api.tsx": {
- "max-params": {
+ "src/components/per_user_usage.tsx": {
+ "no-restricted-imports": {
"count": 1
},
- "no-restricted-syntax": {
+ "react-hooks/set-state-in-effect": {
"count": 1
}
},
- "src/components/llm_calls/responses_api.tsx": {
- "max-params": {
+ "src/components/permissions/AgentPermissions.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/components/permissions/MCPServerPermissions.tsx": {
+ "no-restricted-imports": {
+ "count": 1
+ }
+ },
+ "src/components/permissions/VectorStorePermissions.tsx": {
+ "no-restricted-imports": {
"count": 1
}
},
@@ -1700,87 +1855,6 @@
"count": 2
}
},
- "src/app/(dashboard)/prompts/components/add_prompt_form.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/DeveloperMessageCard.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/ModelConfigCard.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/PromptCodeSnippets.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/PromptEditorHeader.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/PromptMessagesCard.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/PublishModal.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/ToolsCard.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/VersionHistorySidePanel.test.tsx": {
- "max-nested-callbacks": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/VersionHistorySidePanel.tsx": {
- "react-hooks/immutability": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/MessageInput.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/index.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/useConversation.ts": {
- "no-restricted-syntax": {
- "count": 1
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_info.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 2
- }
- },
- "src/app/(dashboard)/prompts/components/prompt_table.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
"src/components/public_model_hub.tsx": {
"no-restricted-imports": {
"count": 1
@@ -1909,22 +1983,6 @@
"count": 1
}
},
- "src/app/(dashboard)/transform-request/TransformRequestPanel.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/ui-theme/UIThemeSettings.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "no-restricted-syntax": {
- "count": 3
- },
- "react-hooks/immutability": {
- "count": 1
- }
- },
"src/components/usage.tsx": {
"no-restricted-imports": {
"count": 2
@@ -1952,19 +2010,6 @@
"count": 2
}
},
- "src/app/(dashboard)/users/_components/user_edit_view.test.tsx": {
- "react/display-name": {
- "count": 1
- }
- },
- "src/app/(dashboard)/users/_components/user_edit_view.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 1
- }
- },
"src/components/vector_store_management/CreateVectorStore.tsx": {
"no-restricted-imports": {
"count": 1
@@ -2042,43 +2087,6 @@
"count": 2
}
},
- "src/app/(dashboard)/users/_components/view_users.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 1
- }
- },
- "src/app/(dashboard)/users/_components/view_users/columns.tsx": {
- "max-params": {
- "count": 1
- },
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/users/_components/view_users/table.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
- "src/app/(dashboard)/users/_components/view_users/user_info_view.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 1
- }
- },
- "src/app/(dashboard)/workflows/WorkflowRuns.tsx": {
- "no-restricted-syntax": {
- "count": 3
- },
- "react-hooks/set-state-in-effect": {
- "count": 1
- }
- },
"src/contexts/AuthContext.tsx": {
"react-hooks/set-state-in-effect": {
"count": 1
@@ -2132,16 +2140,6 @@
"count": 1
}
},
- "tailwind.config.js": {
- "@typescript-eslint/no-require-imports": {
- "count": 4
- }
- },
- "tailwind.config.ts": {
- "@typescript-eslint/no-require-imports": {
- "count": 3
- }
- },
"tests/CreateKeyPage.expiredToken.test.tsx": {
"@typescript-eslint/no-require-imports": {
"count": 3
@@ -2157,13 +2155,5 @@
"react/display-name": {
"count": 1
}
- },
- "src/app/(dashboard)/prompts/components/index.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/set-state-in-effect": {
- "count": 1
- }
}
-}
+}
\ No newline at end of file
diff --git a/ui/litellm-dashboard/knip.json b/ui/litellm-dashboard/knip.json
index 6f129398981..58fa202a39a 100644
--- a/ui/litellm-dashboard/knip.json
+++ b/ui/litellm-dashboard/knip.json
@@ -3,7 +3,13 @@
"entry": ["scripts/**/*.{ts,mjs}"],
"project": ["src/**/*.{ts,tsx}", "tests/**/*.{ts,tsx}", "scripts/**/*.{ts,mjs}", "e2e_tests/**/*.ts"],
"ignore": ["src/lib/http/schema.d.ts"],
- "ignoreDependencies": ["openapi-typescript"],
+ "ignoreDependencies": [
+ "openapi-typescript",
+ "@headlessui/tailwindcss",
+ "@tailwindcss/forms",
+ "tailwindcss",
+ "tw-animate-css"
+ ],
"playwright": {
"config": "e2e_tests/playwright.config.ts",
"entry": ["e2e_tests/**/*.spec.ts", "e2e_tests/**/*.setup.ts", "e2e_tests/globalSetup.ts"]
diff --git a/ui/litellm-dashboard/package-lock.json b/ui/litellm-dashboard/package-lock.json
index 828edde278b..298c3f9321a 100644
--- a/ui/litellm-dashboard/package-lock.json
+++ b/ui/litellm-dashboard/package-lock.json
@@ -8,6 +8,7 @@
"name": "litellm-dashboard",
"version": "0.1.0",
"dependencies": {
+ "@ant-design/cssinjs": "1.24.0",
"@anthropic-ai/sdk": "0.92.0",
"@headlessui/tailwindcss": "0.2.2",
"@heroicons/react": "1.0.6",
@@ -26,6 +27,7 @@
"next": "16.2.6",
"openai": "4.104.0",
"papaparse": "5.5.3",
+ "radix-ui": "1.6.1",
"react": "18.3.1",
"react-copy-to-clipboard": "5.1.1",
"react-dom": "18.3.1",
@@ -39,6 +41,7 @@
"@eslint/js": "9.39.2",
"@playwright/test": "1.58.1",
"@tailwindcss/forms": "0.5.11",
+ "@tailwindcss/postcss": "4.3.2",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
@@ -51,7 +54,6 @@
"@types/react-syntax-highlighter": "15.5.13",
"@vitest/coverage-v8": "3.2.6",
"@vitest/ui": "3.2.6",
- "autoprefixer": "10.4.24",
"eslint": "9.39.2",
"eslint-config-next": "16.2.6",
"eslint-config-prettier": "10.1.8",
@@ -61,7 +63,8 @@
"openapi-typescript": "7.13.0",
"postcss": "8.5.13",
"prettier": "3.2.5",
- "tailwindcss": "3.4.19",
+ "tailwindcss": "4.3.2",
+ "tw-animate-css": "1.4.0",
"typescript": "5.9.3",
"typescript-eslint": "8.60.1",
"vitest": "3.2.6"
@@ -89,6 +92,7 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
"integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -2048,6 +2052,7 @@
"version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
"integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.5.0",
@@ -2069,6 +2074,7 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
"integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=6.0.0"
@@ -2078,12 +2084,14 @@
"version": "1.5.5",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
"integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "dev": true,
"license": "MIT"
},
"node_modules/@jridgewell/trace-mapping": {
"version": "0.3.31",
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
"integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/resolve-uri": "^3.1.0",
@@ -2257,6 +2265,7 @@
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
@@ -2270,6 +2279,7 @@
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">= 8"
@@ -2279,6 +2289,7 @@
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
@@ -2604,193 +2615,1699 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@rc-component/async-validator": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/@rc-component/async-validator/-/async-validator-5.1.0.tgz",
- "integrity": "sha512-n4HcR5siNUXRX23nDizbZBQPO0ZM/5oTtmKZ6/eqL0L2bo747cklFdZGRN2f+c9qWGICwDzrhW0H7tE9PptdcA==",
+ "node_modules/@radix-ui/number": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.2.tgz",
+ "integrity": "sha512-ceTwaxc4I5IOi97DgCotl3pqiyRGvffcc0oOsE2dQYaJOFIDsDt4VWG6xEbg1QePv9QWausCEIppud/tJ1wNig==",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/primitive": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.4.tgz",
+ "integrity": "sha512-7AdCK9PQyiljKoBDbN8OuctCbd/esdwZPQ8RtOE3SsyQtUpiPb+ND75q0jEhC1m1ecBI0MFNeLJvwIh9iKHRcQ==",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/react-accessible-icon": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-accessible-icon/-/react-accessible-icon-1.1.11.tgz",
+ "integrity": "sha512-HQDOFTKwSnmUij6l54wYJJtxTAnxI71+YJLOrjm2ladFB8HAV5Jt7hwaZPhWTGBkYoW4+ZAOfNZrLDh/qvxSYA==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.24.4"
+ "@radix-ui/react-visually-hidden": "1.2.7"
},
- "engines": {
- "node": ">=14.x"
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@rc-component/color-picker": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/@rc-component/color-picker/-/color-picker-2.0.1.tgz",
- "integrity": "sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q==",
+ "node_modules/@radix-ui/react-accordion": {
+ "version": "1.2.15",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.15.tgz",
+ "integrity": "sha512-24Zz/0SYx8F2bSVThBnQrdJs2VbKelyuJordcFRRdA0fRAhrq/wSegGCqaQz34VQoiWqSMGYCYXEhynLSlyQlg==",
"license": "MIT",
"dependencies": {
- "@ant-design/fast-color": "^2.0.6",
- "@babel/runtime": "^7.23.6",
- "classnames": "^2.2.6",
- "rc-util": "^5.38.1"
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-collapsible": "1.1.15",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
},
"peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@rc-component/context": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/@rc-component/context/-/context-1.4.0.tgz",
- "integrity": "sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w==",
+ "node_modules/@radix-ui/react-alert-dialog": {
+ "version": "1.1.18",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-alert-dialog/-/react-alert-dialog-1.1.18.tgz",
+ "integrity": "sha512-6c2cXpNlAgHDhKguK24XcWHHayMpK+lk7/WwBXBco+ZJ4Dv7xP++GBM280KgTD/HCRu3jSdfe8WQiZssonYaIA==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.10.1",
- "rc-util": "^5.27.0"
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-dialog": "1.1.18",
+ "@radix-ui/react-primitive": "2.1.7"
},
"peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@rc-component/mini-decimal": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/@rc-component/mini-decimal/-/mini-decimal-1.1.3.tgz",
- "integrity": "sha512-bk/FJ09fLf+NLODMAFll6CfYrHPBioTedhW6lxDBuuWucJEqFUd4l/D/5JgIi3dina6sYahB8iuPAZTNz2pMxw==",
+ "node_modules/@radix-ui/react-arrow": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.11.tgz",
+ "integrity": "sha512-Kdil9BB1rIFC/khmf4hC35bn8701AJcizTU7G7cUbEbk5XqqbjDuHW60uUfKqO5WojjZcbAW51Q7P0hRmMLw8A==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.18.0"
+ "@radix-ui/react-primitive": "2.1.7"
},
- "engines": {
- "node": ">=8.x"
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@rc-component/mutate-observer": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-1.1.0.tgz",
- "integrity": "sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==",
+ "node_modules/@radix-ui/react-aspect-ratio": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-aspect-ratio/-/react-aspect-ratio-1.1.11.tgz",
+ "integrity": "sha512-IUAhIVpBUvP5NNICjlaB1OFmtRLGqQqTF3ZOSGPoq3XeLXRFtHiWTRxSVEULgOd9GQR2c7tsYqDnhUennapZnw==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.18.0",
- "classnames": "^2.3.2",
- "rc-util": "^5.24.4"
- },
- "engines": {
- "node": ">=8.x"
+ "@radix-ui/react-primitive": "2.1.7"
},
"peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@rc-component/portal": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@rc-component/portal/-/portal-1.1.2.tgz",
- "integrity": "sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==",
+ "node_modules/@radix-ui/react-avatar": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.2.1.tgz",
+ "integrity": "sha512-+8PWoLLZv3AVb5m0pvoiOca/bQGzc9vPVb+982HB2x3Un0DpYEPM3zLMl4oqRpBsocJuNqLkiv/HXTnTrlwr4g==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.18.0",
- "classnames": "^2.3.2",
- "rc-util": "^5.24.4"
- },
- "engines": {
- "node": ">=8.x"
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-is-hydrated": "0.1.1",
+ "@radix-ui/react-use-layout-effect": "1.1.2"
},
"peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@rc-component/qrcode": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@rc-component/qrcode/-/qrcode-1.1.1.tgz",
- "integrity": "sha512-LfLGNymzKdUPjXUbRP+xOhIWY4jQ+YMj5MmWAcgcAq1Ij8XP7tRmAXqyuv96XvLUBE/5cA8hLFl9eO1JQMujrA==",
+ "node_modules/@radix-ui/react-checkbox": {
+ "version": "1.3.6",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-checkbox/-/react-checkbox-1.3.6.tgz",
+ "integrity": "sha512-eUEUoGMDpfkgHWSE97ZZaUJtzR1M7EKnNIpD1Q16+8JR9NWghcaqMulx9PuCQ720w0UclfYn6FEbCdd5Hx087g==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.24.7"
- },
- "engines": {
- "node": ">=8.x"
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-previous": "1.1.2",
+ "@radix-ui/react-use-size": "1.1.2"
},
"peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@rc-component/tour": {
- "version": "1.15.1",
- "resolved": "https://registry.npmjs.org/@rc-component/tour/-/tour-1.15.1.tgz",
- "integrity": "sha512-Tr2t7J1DKZUpfJuDZWHxyxWpfmj8EZrqSgyMZ+BCdvKZ6r1UDsfU46M/iWAAFBy961Ssfom2kv5f3UcjIL2CmQ==",
+ "node_modules/@radix-ui/react-collapsible": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.15.tgz",
+ "integrity": "sha512-8A1zibu5skAQ+UVbaeNH5hVMibiFCRJzgMuM14LTWGttnTZKQL9jwYnhAbHRuxrtCqPXa4JvvnVUq1pTNgyZYw==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.18.0",
- "@rc-component/portal": "^1.0.0-9",
- "@rc-component/trigger": "^2.0.0",
- "classnames": "^2.3.2",
- "rc-util": "^5.24.4"
- },
- "engines": {
- "node": ">=8.x"
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-layout-effect": "1.1.2"
},
"peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@rc-component/trigger": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/@rc-component/trigger/-/trigger-2.3.1.tgz",
- "integrity": "sha512-ORENF39PeXTzM+gQEshuk460Z8N4+6DkjpxlpE7Q3gYy1iBpLrx0FOJz3h62ryrJZ/3zCAUIkT1Pb/8hHWpb3A==",
+ "node_modules/@radix-ui/react-collection": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.11.tgz",
+ "integrity": "sha512-djW9+zeg137KQdlPtmE8xnaD+K2rcXXMWFrSg0hsmYZ6HRbdTA7tDHFgpaW9+huWVEu0RCabL+985T4TA0BE7g==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.23.2",
- "@rc-component/portal": "^1.1.0",
- "classnames": "^2.3.2",
- "rc-motion": "^2.0.0",
- "rc-resize-observer": "^1.3.1",
- "rc-util": "^5.44.0"
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-slot": "1.3.0"
},
- "engines": {
- "node": ">=8.x"
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.3.tgz",
+ "integrity": "sha512-rYOP8OMnuuPMQF1uhPVlGNcCDlkokKqGFE3JcxFViIkAXP7EvFWUliJAstrapypaBLJNHbZL6jGhbVDGTwmVhA==",
+ "license": "MIT",
"peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
- "node_modules/@react-aria/focus": {
- "version": "3.22.0",
- "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.22.0.tgz",
- "integrity": "sha512-ZfDOVuVhqDsM9mkNji3QUZ/d40JhlVgXrDkrfXylM1035QCrcTHN7m2DpbE95sU2A8EQb4wikvt5jM6K/73BPg==",
- "license": "Apache-2.0",
+ "node_modules/@radix-ui/react-context": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.4.tgz",
+ "integrity": "sha512-QwH4PO5urrbO+FaGd5Aglg+YJgWTyyuZ3g/6mKvsqraLkglDdckw9JafgL5McL5VEJ6EPNduPaT3ZE9BttDAqg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-context-menu": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context-menu/-/react-context-menu-2.3.2.tgz",
+ "integrity": "sha512-qzsA/ZPhF6yMxBOTIk1nlCkoy2mswSbwYL+ErBa2iP0s4WWrlxmczArYqMcpVfEjmM7KJj/ADPXky0yZfbSxtQ==",
+ "license": "MIT",
"dependencies": {
- "@swc/helpers": "^0.5.0",
- "react-aria": "3.48.0"
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-menu": "2.1.19",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
},
"peerDependencies": {
- "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
- "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@react-aria/interactions": {
- "version": "3.28.0",
- "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.28.0.tgz",
- "integrity": "sha512-OXwdU1EWFdMxmr/K1CXNGJzmNlCClByb+PuCaqUyzBymHPCGVhawirLIon/CrIN5psh3AiWpHSh4H0WeJdVpng==",
- "license": "Apache-2.0",
+ "node_modules/@radix-ui/react-dialog": {
+ "version": "1.1.18",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.18.tgz",
+ "integrity": "sha512-apa28mldjMgORmE6g/w3sCcA0Y9UAVeeDVoozN4i7kOw12mLl9RBchfzK3Nn6qxOWjrZhK1Lfy7f07kyzxtnBw==",
+ "license": "MIT",
"dependencies": {
- "@react-types/shared": "^3.34.0",
- "@swc/helpers": "^0.5.0",
- "react-aria": "3.48.0"
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-dismissable-layer": "1.1.14",
+ "@radix-ui/react-focus-guards": "1.1.4",
+ "@radix-ui/react-focus-scope": "1.1.11",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-portal": "1.1.13",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-slot": "1.3.0",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
},
"peerDependencies": {
- "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
- "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@react-types/shared": {
- "version": "3.34.0",
- "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.34.0.tgz",
- "integrity": "sha512-gp6xo/s2lX54AlTjOiqwDnxA7UW79BNvI9dB9pr3LZTzRKCd1ZA+ZbgKw/ReIiWuvvVw/8QFJpnqeeFyLocMcQ==",
- "license": "Apache-2.0",
+ "node_modules/@radix-ui/react-direction": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.2.tgz",
+ "integrity": "sha512-C3vFhbyi4SW3PmbAi6Awpu4OzJtd0MxGurvSsYtr7p7nM8RNB3VAF3CUmnp2j50knpkrRcB7+ycVXzgLgF6yNA==",
+ "license": "MIT",
"peerDependencies": {
- "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
- "node_modules/@redocly/ajv": {
- "version": "8.11.2",
+ "node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.14.tgz",
+ "integrity": "sha512-4lUhWTWAjbDIqFrAPWJ3WqBOpO5YchVZ88X3nh6H9Lu5AFi5nCUeTPj3D8FSDmabmFeRe9ME0BDA4MwKTha5GQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-effect-event": "0.0.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dropdown-menu": {
+ "version": "2.1.19",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.1.19.tgz",
+ "integrity": "sha512-HZccBkbK0LOi8nYKIp5jll/zIRW0cCOmG6WWyqsSpmXCU+ZlcBbTqIwlBvPCu886C5RVu6c/kHV7xSP8IgYNHw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-menu": "2.1.19",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-focus-guards": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.4.tgz",
+ "integrity": "sha512-cot/aB/mOm0IYVYTTmQcEEK1M48lZWi8FlYe5nDPQQ8NYZUlXEFgncJ9p2Kzer3RKSrY7cTTpEMLZKNo9QoP5Q==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-focus-scope": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.11.tgz",
+ "integrity": "sha512-Mn88Vg2whaRocGJNOH+DKFqYm6ySFPQaiwHNxZPyjn99B52KAEJWWY9NP83+nWdk2HM3rdov+STu9AG471Rt9w==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-form": {
+ "version": "0.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-form/-/react-form-0.1.11.tgz",
+ "integrity": "sha512-0mTMJHv1gQAuEQoq5VDpTD3MRgmfUFdXAVFhpqR7wBeUr+tyRsof0wv/4XdPHLwQrefhoH2FiGHCggrCJhalIw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-label": "2.1.11",
+ "@radix-ui/react-primitive": "2.1.7"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-hover-card": {
+ "version": "1.1.18",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-hover-card/-/react-hover-card-1.1.18.tgz",
+ "integrity": "sha512-rt+Fx4HoCeEwFL2IdoV2QaPltqDLlzxN77i9nwB3Y70scFlfAHh1QCdE2TXKuFJtA1TNygb0oivnFBZifgtZOw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-dismissable-layer": "1.1.14",
+ "@radix-ui/react-popper": "1.3.2",
+ "@radix-ui/react-portal": "1.1.13",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-id": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.2.tgz",
+ "integrity": "sha512-orBC88futVpqCmhX1p4cvquNHsELQ+w+vBJnuj3ftETI5bJb0bZn3Tqu3SWN2IOcPycTnMGnhwoermvISt72sA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-label": {
+ "version": "2.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.1.11.tgz",
+ "integrity": "sha512-3PKvDDxOn62k0oV1n4QtNtD2vpu+zYjXR7ojLBPaO6SPvhy53yg0vAmgNeBQeJW5rV3dffoRG+HYfLBZuzw0CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.7"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-menu": {
+ "version": "2.1.19",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.1.19.tgz",
+ "integrity": "sha512-Mht9BVd1AIsNFVQr4KG3bIK7XQn5IXF0TL/2ObsrzOdc1loaly/+kBDL5roSCYn8j8XZkvpOD0WYLz2FQtH1Eg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-dismissable-layer": "1.1.14",
+ "@radix-ui/react-focus-guards": "1.1.4",
+ "@radix-ui/react-focus-scope": "1.1.11",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-popper": "1.3.2",
+ "@radix-ui/react-portal": "1.1.13",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-roving-focus": "1.1.14",
+ "@radix-ui/react-slot": "1.3.0",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-menubar": {
+ "version": "1.1.19",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-menubar/-/react-menubar-1.1.19.tgz",
+ "integrity": "sha512-Glt6mebxcgQvLeVkH3HiqV5bgQubE+31ELxLs7q0GlYI5k0XYkOkeuPrhXoylxK8eufvIt9CJjzY1TfFMXK3qw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-menu": "2.1.19",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-roving-focus": "1.1.14",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-navigation-menu": {
+ "version": "1.2.17",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-navigation-menu/-/react-navigation-menu-1.2.17.tgz",
+ "integrity": "sha512-fYeYQvbeNn5AQk2RBbpO7koLm2YbS00UYxC/IL2sgLlninEH5UNIv+X3E0KJ1Vy4WIo+dhN9w8GNqSHhbHWCIg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-dismissable-layer": "1.1.14",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-layout-effect": "1.1.2",
+ "@radix-ui/react-use-previous": "1.1.2",
+ "@radix-ui/react-visually-hidden": "1.2.7"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-one-time-password-field": {
+ "version": "0.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-one-time-password-field/-/react-one-time-password-field-0.1.11.tgz",
+ "integrity": "sha512-Rsgab65u73E5kPVh8OS6PgPwJgPyf08GFfJDGAbMdF4DL7CgDhFOaDnXuk/DiMEVF6kgQwl0oJmFklvipmiOLg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/number": "1.1.2",
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-roving-focus": "1.1.14",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-effect-event": "0.0.3",
+ "@radix-ui/react-use-is-hydrated": "0.1.1",
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-password-toggle-field": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-password-toggle-field/-/react-password-toggle-field-0.1.6.tgz",
+ "integrity": "sha512-pQ3xGp/uemomASPH97Eb3shfXX8QlG11bBJyEvRBV+vwtO4HvQlS06Yj9f31Ao7XepvF98SFrRgVDQ7jv+2xjQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-effect-event": "0.0.3",
+ "@radix-ui/react-use-is-hydrated": "0.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popover": {
+ "version": "1.1.18",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.1.18.tgz",
+ "integrity": "sha512-qdXDes+eHlnMUGlBAAAe5EG7oOQvqsXuq4mq585diMudg80iB+jHbsSeG3+Q4eWNsogNyhqU2p/3i+Y0iEepqg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-dismissable-layer": "1.1.14",
+ "@radix-ui/react-focus-guards": "1.1.4",
+ "@radix-ui/react-focus-scope": "1.1.11",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-popper": "1.3.2",
+ "@radix-ui/react-portal": "1.1.13",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-slot": "1.3.0",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popper": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.3.2.tgz",
+ "integrity": "sha512-3QXNeMkdshed1MR3LNoiCirBywRFPkD8ETJa/HlPuLwSajaQixf2ro+isoDNJlGABg9ug41XuZpINZJIle4XWg==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/react-dom": "^2.0.0",
+ "@radix-ui/react-arrow": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-layout-effect": "1.1.2",
+ "@radix-ui/react-use-rect": "1.1.2",
+ "@radix-ui/react-use-size": "1.1.2",
+ "@radix-ui/rect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popper/node_modules/@floating-ui/react-dom": {
+ "version": "2.1.8",
+ "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.8.tgz",
+ "integrity": "sha512-cC52bHwM/n/CxS87FH0yWdngEZrjdtLW/qVruo68qg+prK7ZQ4YGdut2GyDVpoGeAYe/h899rVeOVm6Oi40k2A==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/dom": "^1.7.6"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@radix-ui/react-portal": {
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.13.tgz",
+ "integrity": "sha512-z3oXfmaHLJTF1wktbjgD6cn9jiEbq3WSondB10LIuIt2m2Ym4iJlrW04/euMwENDdWDdE7z+OuY7Qyp1YpRSwA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-presence": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.6.tgz",
+ "integrity": "sha512-zdTk4PlUO0E18HnZ3wYbW0KkJJxWCdiNYp6g6X1PtONFhxVkg01vliTJAmwIszU6mHiyBOoW9P0rAugl5/hULQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-primitive": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.7.tgz",
+ "integrity": "sha512-bC3NiwsprbxKjuon9l7X6BUTw7FPVzEYaL92MPEY5SCd/9hUTPXVFtVwRix7778wtRsVao+zE062gL79FZleeQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.3.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-progress": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-progress/-/react-progress-1.1.11.tgz",
+ "integrity": "sha512-KqiGJcFaZDc+BvveAgU3ZhACg2MvSUDrCBx4lRR/ZVRNal0bvt8lBpvnSkep9heeOuF8Qfw3fszLDX4OpQ2NVw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-primitive": "2.1.7"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-radio-group/-/react-radio-group-1.4.2.tgz",
+ "integrity": "sha512-W8Uo9riHnlzLLWy+r2mVHUyuEWqD/+be4PZzbEvaGoFSBDHkm+GYWjtcE6u3AmPKNyfanWpnVfpZ2GqPCdzzsw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-roving-focus": "1.1.14",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-previous": "1.1.2",
+ "@radix-ui/react-use-size": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-roving-focus": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.14.tgz",
+ "integrity": "sha512-8Qcnx9447tx/aCBgw6Jenfqg4Skq+vqab9mCBmuGNipIS5YXvL275wbKEu7+ICYHIlAPgCduUMJH1XOYewKF6Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-scroll-area": {
+ "version": "1.2.13",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-scroll-area/-/react-scroll-area-1.2.13.tgz",
+ "integrity": "sha512-7tncSubo2G0UY1e8rk+72qe3XRzrGnOLtZQ1PL1KoBfRUNX0NrJT5akb+0kfwSCc3gVR4wdHqyhAQBDpDNOwDw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/number": "1.1.2",
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-select": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.3.2.tgz",
+ "integrity": "sha512-brXD6C/V0fVK0DDbscLVw6LsXrjQ+ay8jdOBaN+tLb4vsHsAMm6Gt6eT77wHX1Eq8GPtD5rJ+RxFtfDozsb4+Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/number": "1.1.2",
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-dismissable-layer": "1.1.14",
+ "@radix-ui/react-focus-guards": "1.1.4",
+ "@radix-ui/react-focus-scope": "1.1.11",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-popper": "1.3.2",
+ "@radix-ui/react-portal": "1.1.13",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-slot": "1.3.0",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-layout-effect": "1.1.2",
+ "@radix-ui/react-use-previous": "1.1.2",
+ "@radix-ui/react-visually-hidden": "1.2.7",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-separator": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.11.tgz",
+ "integrity": "sha512-jRhe86+8PF7VZ1u14eOWVOuh2BuAhALg/FT1VcMC4OHedMTRUazDnDlKTt+yxo5cRNKHMfmvZ4sSQtWDeMV4CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.7"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slider/-/react-slider-1.4.2.tgz",
+ "integrity": "sha512-qt5C1ppJz66aUDrH1VccjPrq7aFchK0wBrn6xsxlCHNUyE57dRRQ7lp1QFpF7OscMexZF8MCGBTVBlENHPkNiA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/number": "1.1.2",
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-layout-effect": "1.1.2",
+ "@radix-ui/react-use-previous": "1.1.2",
+ "@radix-ui/react-use-size": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slot": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.3.0.tgz",
+ "integrity": "sha512-MojKku4U/miO8Av4Dkb+ctMAQx7JmY96LmtDQlAarCRtd7rN52QCSzBF+XAvr5S6coSVj9HEPBgHAHKEJVk/WA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-switch": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-switch/-/react-switch-1.3.2.tgz",
+ "integrity": "sha512-tgRBI3DdNwAJYE4BBZyZcz/HRRCvAsPkRvG1wvKc+41tBGMxPn/a87T/wikXAvyDypNQ9kaZwHbeZe+veHCGpA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-previous": "1.1.2",
+ "@radix-ui/react-use-size": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tabs": {
+ "version": "1.1.16",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.1.16.tgz",
+ "integrity": "sha512-v3Ab2l7z6U7tRB4xA0IyKdq0OsqaO1o9ZjsIEoKKnSZ/l96mZz8aCTX0NCXw+YVHJXr8Km4d+Mn6/Q8YjXa+gw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-roving-focus": "1.1.14",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-toast": {
+ "version": "1.2.18",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-toast/-/react-toast-1.2.18.tgz",
+ "integrity": "sha512-YNEnTHV47hPep+U0QvVM02OJNka9uygREc+k4Nh5VSZBg4MmE+myI442x3hCGfRpX7N2WSSYSJKws4gE+Z8lgg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-dismissable-layer": "1.1.14",
+ "@radix-ui/react-portal": "1.1.13",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-layout-effect": "1.1.2",
+ "@radix-ui/react-visually-hidden": "1.2.7"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-toggle": {
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle/-/react-toggle-1.1.13.tgz",
+ "integrity": "sha512-bI2ILJrzwgmAsH05TsJ9pVrzqQwAip7OM2/krqAdYn0R16bl86UPWbe5VPHsALat0EnqpV01cGtkleaUKPNdNg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-toggle-group": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-toggle-group/-/react-toggle-group-1.1.14.tgz",
+ "integrity": "sha512-TK1vusNKb8IRhF23FTbRgUNZ9zfs5rGIyI7LfR3h26p9LrQ060i0uW9QWeD8baZMddaaP0DBGlIa6pbZG+mitg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-roving-focus": "1.1.14",
+ "@radix-ui/react-toggle": "1.1.13",
+ "@radix-ui/react-use-controllable-state": "1.2.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-toolbar": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-toolbar/-/react-toolbar-1.1.14.tgz",
+ "integrity": "sha512-L/EkWVqlnj3lL2toHh4C7PwH2jxfa7OCq6lGfXSCii99ve2S4Ux5rc9HnOa7LN9exHa/Nl9kmCAmP9BuDPy5UA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-roving-focus": "1.1.14",
+ "@radix-ui/react-separator": "1.1.11",
+ "@radix-ui/react-toggle-group": "1.1.14"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip": {
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.2.11.tgz",
+ "integrity": "sha512-8XZ6Py3y3W2nEzAUGCN5cfVKaUi+CVApcz1d6lrNVVf2hvYEixMRkq8k9ggPKnQUpRRuOV5avt8uvxViH2jLwA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-dismissable-layer": "1.1.14",
+ "@radix-ui/react-id": "1.1.2",
+ "@radix-ui/react-popper": "1.3.2",
+ "@radix-ui/react-portal": "1.1.13",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-slot": "1.3.0",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-visually-hidden": "1.2.7"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.2.tgz",
+ "integrity": "sha512-xCso9j1/u8sEgP1RNHjFrXJLApL8LiqOkI1R4ywuN00rxWdYg4oQXuwKLS3i0j5NWLromUD27/4nlxj2UFVvIw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.3.tgz",
+ "integrity": "sha512-PLzC90MS+ReootmjC597dvopoelpZ8Q61HJkDXZSExitIq7PL55vHNnesAHwguHK0aPfBnpdNzQtv1uliaqQrA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-effect-event": "0.0.3",
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-effect-event": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.3.tgz",
+ "integrity": "sha512-6c8ZqvPTWILEKnyVkP53EGRCcpnJiKTC21sS/6R1GF5xKyHJJWQEPfkqlcgUkdRQivd6tb23abUwe4ngWmY0JA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-escape-keydown": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.3.tgz",
+ "integrity": "sha512-3wEkMiPHXha/2VadZ68rYBcmYnPINVGl4Y3gtcM7fKRjANk0OscK+cdqBgUWdozb7YJxsh0vefM7vgAMHXOjqg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-callback-ref": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-is-hydrated": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-is-hydrated/-/react-use-is-hydrated-0.1.1.tgz",
+ "integrity": "sha512-qwOiz4Tjo8CNnrOLAYUMXeZwDzXgXpvK4TKQPmWLECM9XoWvA6+0Z2/7Ag3A4ivjS4ovbLJPbskkxioFyBhr8A==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.2.tgz",
+ "integrity": "sha512-jrBWOxZITuGcnjRCM2t2U5ZPkCLxD+Ym6DjfssS5haTj2iiak/DOb64JeN6OdLfLgptb6/e2kKR+ZuTrGoZTPA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-previous": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.2.tgz",
+ "integrity": "sha512-IGBQPtRFdhN6MQ8dbegVmBq1LVZluya3F1jWY+puIcQC3MHctRwTDSBWCkL/3ZcnMJLTMJ++Z+ktmvg0F89iCw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-rect": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.2.tgz",
+ "integrity": "sha512-d8a+bBY/FxikNPlgJJoaBHZX+zKVbWHYJGTLnLvveQgFSTntkGdEKv3JDtHrMS0DNYpllz2nRsTLGLKYttbpmw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/rect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-size": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.2.tgz",
+ "integrity": "sha512-giWQp+4mxjBPt4KZ0MmyuykFNWfbDxKt4x+fPkRYmgRFJSbCZFzUglvMb/Kjn38tm10YP4ufiQZDx3zna4LU6w==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-visually-hidden": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.7.tgz",
+ "integrity": "sha512-1wNZBggTDK3GRuuQ6nP4k2yi7a6l7I5qbMPbZcRsrGsGVead/f/d5FhEzUvqFs0bcrDLx7n1zKQ3JvLR6whaaw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.1.7"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/rect": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.2.tgz",
+ "integrity": "sha512-xnXE7wG13PI+cxieVssYXlQJuYVRhH9NBoxt3KNwzghDIA69GMm7d4wXRouHIYjE+KvS6U/MsMO73NdS2MH9ZA==",
+ "license": "MIT"
+ },
+ "node_modules/@rc-component/async-validator": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@rc-component/async-validator/-/async-validator-5.1.0.tgz",
+ "integrity": "sha512-n4HcR5siNUXRX23nDizbZBQPO0ZM/5oTtmKZ6/eqL0L2bo747cklFdZGRN2f+c9qWGICwDzrhW0H7tE9PptdcA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.24.4"
+ },
+ "engines": {
+ "node": ">=14.x"
+ }
+ },
+ "node_modules/@rc-component/color-picker": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@rc-component/color-picker/-/color-picker-2.0.1.tgz",
+ "integrity": "sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@ant-design/fast-color": "^2.0.6",
+ "@babel/runtime": "^7.23.6",
+ "classnames": "^2.2.6",
+ "rc-util": "^5.38.1"
+ },
+ "peerDependencies": {
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
+ }
+ },
+ "node_modules/@rc-component/context": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/@rc-component/context/-/context-1.4.0.tgz",
+ "integrity": "sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.10.1",
+ "rc-util": "^5.27.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
+ }
+ },
+ "node_modules/@rc-component/mini-decimal": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@rc-component/mini-decimal/-/mini-decimal-1.1.3.tgz",
+ "integrity": "sha512-bk/FJ09fLf+NLODMAFll6CfYrHPBioTedhW6lxDBuuWucJEqFUd4l/D/5JgIi3dina6sYahB8iuPAZTNz2pMxw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.18.0"
+ },
+ "engines": {
+ "node": ">=8.x"
+ }
+ },
+ "node_modules/@rc-component/mutate-observer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@rc-component/mutate-observer/-/mutate-observer-1.1.0.tgz",
+ "integrity": "sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.18.0",
+ "classnames": "^2.3.2",
+ "rc-util": "^5.24.4"
+ },
+ "engines": {
+ "node": ">=8.x"
+ },
+ "peerDependencies": {
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
+ }
+ },
+ "node_modules/@rc-component/portal": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@rc-component/portal/-/portal-1.1.2.tgz",
+ "integrity": "sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.18.0",
+ "classnames": "^2.3.2",
+ "rc-util": "^5.24.4"
+ },
+ "engines": {
+ "node": ">=8.x"
+ },
+ "peerDependencies": {
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
+ }
+ },
+ "node_modules/@rc-component/qrcode": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@rc-component/qrcode/-/qrcode-1.1.1.tgz",
+ "integrity": "sha512-LfLGNymzKdUPjXUbRP+xOhIWY4jQ+YMj5MmWAcgcAq1Ij8XP7tRmAXqyuv96XvLUBE/5cA8hLFl9eO1JQMujrA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=8.x"
+ },
+ "peerDependencies": {
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
+ }
+ },
+ "node_modules/@rc-component/tour": {
+ "version": "1.15.1",
+ "resolved": "https://registry.npmjs.org/@rc-component/tour/-/tour-1.15.1.tgz",
+ "integrity": "sha512-Tr2t7J1DKZUpfJuDZWHxyxWpfmj8EZrqSgyMZ+BCdvKZ6r1UDsfU46M/iWAAFBy961Ssfom2kv5f3UcjIL2CmQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.18.0",
+ "@rc-component/portal": "^1.0.0-9",
+ "@rc-component/trigger": "^2.0.0",
+ "classnames": "^2.3.2",
+ "rc-util": "^5.24.4"
+ },
+ "engines": {
+ "node": ">=8.x"
+ },
+ "peerDependencies": {
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
+ }
+ },
+ "node_modules/@rc-component/trigger": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/@rc-component/trigger/-/trigger-2.3.1.tgz",
+ "integrity": "sha512-ORENF39PeXTzM+gQEshuk460Z8N4+6DkjpxlpE7Q3gYy1iBpLrx0FOJz3h62ryrJZ/3zCAUIkT1Pb/8hHWpb3A==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.23.2",
+ "@rc-component/portal": "^1.1.0",
+ "classnames": "^2.3.2",
+ "rc-motion": "^2.0.0",
+ "rc-resize-observer": "^1.3.1",
+ "rc-util": "^5.44.0"
+ },
+ "engines": {
+ "node": ">=8.x"
+ },
+ "peerDependencies": {
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
+ }
+ },
+ "node_modules/@react-aria/focus": {
+ "version": "3.22.0",
+ "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.22.0.tgz",
+ "integrity": "sha512-ZfDOVuVhqDsM9mkNji3QUZ/d40JhlVgXrDkrfXylM1035QCrcTHN7m2DpbE95sU2A8EQb4wikvt5jM6K/73BPg==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@swc/helpers": "^0.5.0",
+ "react-aria": "3.48.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
+ "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ }
+ },
+ "node_modules/@react-aria/interactions": {
+ "version": "3.28.0",
+ "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.28.0.tgz",
+ "integrity": "sha512-OXwdU1EWFdMxmr/K1CXNGJzmNlCClByb+PuCaqUyzBymHPCGVhawirLIon/CrIN5psh3AiWpHSh4H0WeJdVpng==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@react-types/shared": "^3.34.0",
+ "@swc/helpers": "^0.5.0",
+ "react-aria": "3.48.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
+ "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ }
+ },
+ "node_modules/@react-types/shared": {
+ "version": "3.34.0",
+ "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.34.0.tgz",
+ "integrity": "sha512-gp6xo/s2lX54AlTjOiqwDnxA7UW79BNvI9dB9pr3LZTzRKCd1ZA+ZbgKw/ReIiWuvvVw/8QFJpnqeeFyLocMcQ==",
+ "license": "Apache-2.0",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ }
+ },
+ "node_modules/@redocly/ajv": {
+ "version": "8.11.2",
"resolved": "https://registry.npmjs.org/@redocly/ajv/-/ajv-8.11.2.tgz",
"integrity": "sha512-io1JpnwtIcvojV7QKDUSIuMN/ikdOUd1ReEnUnMKGfDVridQZ31J0MmIuqwuRjWDZfmvr+Q0MqCcfHM2gTivOg==",
"dev": true,
@@ -3221,6 +4738,277 @@
"tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1 || >= 4.0.0-alpha.20 || >= 4.0.0-beta.1"
}
},
+ "node_modules/@tailwindcss/node": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.2.tgz",
+ "integrity": "sha512-yWP/sqEcBLaD8JuA6zNwxoYKr75qxTioYwlRwekj5Jr/I5GXnoJfjetH/psLUIv74cYTH2lBUEzBkinthoYcBg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/remapping": "^2.3.5",
+ "enhanced-resolve": "5.21.6",
+ "jiti": "^2.7.0",
+ "lightningcss": "1.32.0",
+ "magic-string": "^0.30.21",
+ "source-map-js": "^1.2.1",
+ "tailwindcss": "4.3.2"
+ }
+ },
+ "node_modules/@tailwindcss/oxide": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.2.tgz",
+ "integrity": "sha512-z8ZgnzX8gdNoWLBLqBPoh/sjnxkwvf9ZuWjnO0l0yIzbLa5/9S+eC5QxGZKRobVHIC3/1BoMWjHblqWjcgFgag==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20"
+ },
+ "optionalDependencies": {
+ "@tailwindcss/oxide-android-arm64": "4.3.2",
+ "@tailwindcss/oxide-darwin-arm64": "4.3.2",
+ "@tailwindcss/oxide-darwin-x64": "4.3.2",
+ "@tailwindcss/oxide-freebsd-x64": "4.3.2",
+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.2",
+ "@tailwindcss/oxide-linux-arm64-gnu": "4.3.2",
+ "@tailwindcss/oxide-linux-arm64-musl": "4.3.2",
+ "@tailwindcss/oxide-linux-x64-gnu": "4.3.2",
+ "@tailwindcss/oxide-linux-x64-musl": "4.3.2",
+ "@tailwindcss/oxide-wasm32-wasi": "4.3.2",
+ "@tailwindcss/oxide-win32-arm64-msvc": "4.3.2",
+ "@tailwindcss/oxide-win32-x64-msvc": "4.3.2"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-android-arm64": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.2.tgz",
+ "integrity": "sha512-WHxqIuHpvZ5VtdX6GTl1Ik/Vp2YuN42Et+0CdeaVd/frQ9jAvGmvR8vLT+jk3e8/Q3x8kECB9+R17pgpp2BulA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-arm64": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.2.tgz",
+ "integrity": "sha512-GZypeUY/IDJW3877KeM+O67vbXr3MBnbtEL4aYhNErv/JWZhye2vGSWWG9tB6iiqR2MqRNkY8IOUy4NdSZV26w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-x64": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.2.tgz",
+ "integrity": "sha512-UIIzmefR6KO1sDU7MzRqAxC8iBpft/VhkGjTjnhoS6k7Z3rQ9wEgA1ODSiyH/tcSYssulNm4Ci3hOeK1jH7ccQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-freebsd-x64": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.2.tgz",
+ "integrity": "sha512-GN+uAmcI6DNspnCDwtOAZrTz6oukJnp337qZvxqCGLd3BHBzJpO0ZbTLRvJNdztOeAmTzewewGIMPb0tk2R4WA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.2.tgz",
+ "integrity": "sha512-4ABn7qSbdHRwTiDiuWNegCyb5+2FJ4vKIKc3DmKrvAFw7MU1Lm11dIkTPwUaFdTzc7IsOpDbqBrlh0x6y36U/w==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.2.tgz",
+ "integrity": "sha512-wDgEIGwoM8w8pufh9LVt1PahDgNdKXrLC2qfAnV3vAmococ9RWbxeAw4pxPttd/TsJfwjyLf90Dg1y9y8I6Emw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-musl": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.2.tgz",
+ "integrity": "sha512-J5Nuk0uZQIiMTJj3LEx4sAA9tMFUoXQZFv1J6An+QGYe53HKRJuFDi0rpq/tuouCZeAbOBY3kQ6g8qeD4TUjtA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-gnu": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.2.tgz",
+ "integrity": "sha512-kqCZpSKOBEJO4mz7OqWoofBZeXTAwaVGPj0ErAj7CojmhKpWVWVOnrt9dE8odoIraZq4oj3ausM37kXi+Tow8w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-musl": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.2.tgz",
+ "integrity": "sha512-cixpqbh2toJDmkuCRI68nXA8ZxNmdK9Y+9v5h3MC3ZQKy/0BO8AWzlkWyRM7JAFSGBlfig4YVTPsK6MVgqz1uw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.2.tgz",
+ "integrity": "sha512-4ec2Z/LOmRsAgU23CS4xeJfcJlmRg94A/XrbGRCF1gyU/zdDfRLYDVsS+ynSZCmGNxQ1jQriQOKMQeQxBA3Isw==",
+ "bundleDependencies": [
+ "@napi-rs/wasm-runtime",
+ "@emnapi/core",
+ "@emnapi/runtime",
+ "@tybys/wasm-util",
+ "@emnapi/wasi-threads",
+ "tslib"
+ ],
+ "cpu": [
+ "wasm32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.11.1",
+ "@emnapi/runtime": "^1.11.1",
+ "@emnapi/wasi-threads": "^1.2.2",
+ "@napi-rs/wasm-runtime": "^1.1.4",
+ "@tybys/wasm-util": "^0.10.2",
+ "tslib": "^2.8.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.2.tgz",
+ "integrity": "sha512-Zyr/M0+XcYZu3bZrUytc7TXvrk0ftWfl8gN2MwekNDzhqhKRUucMPSeOzM0o0wH5AWOU49BsKRrfKxI2atCPMQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-x64-msvc": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.2.tgz",
+ "integrity": "sha512-QI9BO7KlNZsp2GuO0jwAAj5jCDABOKXRkCk2XuKTSaNEFSdfzqswYVTtCHBNKHLsqyjFyFkqlDiwkNbTYSssMQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/postcss": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.3.2.tgz",
+ "integrity": "sha512-rjVWYCa7Ngbi5AarT6k8TkxUG3Wl1QKzHdIZVsjZSzf36Jmo2IKZt/NHRAwly8oDkbBOH0YTu+CHuf9jPxMc+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@alloc/quick-lru": "^5.2.0",
+ "@tailwindcss/node": "4.3.2",
+ "@tailwindcss/oxide": "4.3.2",
+ "postcss": "^8.5.15",
+ "tailwindcss": "4.3.2"
+ }
+ },
"node_modules/@tanstack/pacer": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@tanstack/pacer/-/pacer-0.2.0.tgz",
@@ -3685,7 +5473,7 @@
"version": "18.3.7",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz",
"integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"peerDependencies": {
"@types/react": "^18.0.0"
@@ -4590,43 +6378,6 @@
"react-dom": ">=16.9.0"
}
},
- "node_modules/any-promise": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
- "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
- "license": "MIT"
- },
- "node_modules/anymatch": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
- "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
- "license": "ISC",
- "dependencies": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/anymatch/node_modules/picomatch": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
- "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
- "license": "MIT",
- "engines": {
- "node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/arg": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
- "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
- "license": "MIT"
- },
"node_modules/argparse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
@@ -4868,43 +6619,6 @@
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
"license": "MIT"
},
- "node_modules/autoprefixer": {
- "version": "10.4.24",
- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.24.tgz",
- "integrity": "sha512-uHZg7N9ULTVbutaIsDRoUkoS8/h3bdsmVJYZ5l3wv8Cp/6UIIoRDm90hZ+BwxUj/hGBEzLxdHNSKuFpn8WOyZw==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/autoprefixer"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "browserslist": "^4.28.1",
- "caniuse-lite": "^1.0.30001766",
- "fraction.js": "^5.3.4",
- "picocolors": "^1.1.1",
- "postcss-value-parser": "^4.2.0"
- },
- "bin": {
- "autoprefixer": "bin/autoprefixer"
- },
- "engines": {
- "node": "^10 || ^12 || >=14"
- },
- "peerDependencies": {
- "postcss": "^8.1.0"
- }
- },
"node_modules/available-typed-arrays": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
@@ -4983,18 +6697,6 @@
"require-from-string": "^2.0.2"
}
},
- "node_modules/binary-extensions": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
- "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
- "license": "MIT",
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/brace-expansion": {
"version": "5.0.6",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
@@ -5012,6 +6714,7 @@
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"fill-range": "^7.1.1"
@@ -5115,21 +6818,12 @@
},
"node_modules/callsites": {
"version": "3.1.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/camelcase-css": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
- "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true,
"license": "MIT",
"engines": {
- "node": ">= 6"
+ "node": ">=6"
}
},
"node_modules/caniuse-lite": {
@@ -5253,42 +6947,6 @@
"node": ">= 16"
}
},
- "node_modules/chokidar": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
- "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
- "license": "MIT",
- "dependencies": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
- },
- "engines": {
- "node": ">= 8.10.0"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
- }
- },
- "node_modules/chokidar/node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "license": "ISC",
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/classnames": {
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz",
@@ -5359,15 +7017,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/commander": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
- "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/compute-scroll-into-view": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-3.1.1.tgz",
@@ -5426,18 +7075,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/cssesc": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
- "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
- "license": "MIT",
- "bin": {
- "cssesc": "bin/cssesc"
- },
- "engines": {
- "node": ">=4"
- }
- },
"node_modules/cssstyle": {
"version": "5.3.7",
"resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-5.3.7.tgz",
@@ -5820,12 +7457,18 @@
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+ "devOptional": true,
"license": "Apache-2.0",
- "optional": true,
"engines": {
"node": ">=8"
}
},
+ "node_modules/detect-node-es": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
+ "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==",
+ "license": "MIT"
+ },
"node_modules/devlop": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",
@@ -5839,18 +7482,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/didyoumean": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
- "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
- "license": "Apache-2.0"
- },
- "node_modules/dlv": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
- "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
- "license": "MIT"
- },
"node_modules/doctrine": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
@@ -5909,6 +7540,20 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/enhanced-resolve": {
+ "version": "5.21.6",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.21.6.tgz",
+ "integrity": "sha512-aNnGCvbJ/RIyWo1IuhNdVjnNF+EjH9wpzpNHt+ci/m9He9LJvUN8wrCcXjp9cWsGNAuvSpVFTx/vraAFQ8qGjQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.3.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
"node_modules/entities": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-8.0.0.tgz",
@@ -6750,6 +8395,7 @@
"version": "1.20.1",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz",
"integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==",
+ "dev": true,
"license": "ISC",
"dependencies": {
"reusify": "^1.0.4"
@@ -6782,6 +8428,7 @@
"version": "6.5.0",
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
"integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=12.0.0"
@@ -6819,6 +8466,7 @@
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"to-regex-range": "^5.0.1"
@@ -6940,24 +8588,11 @@
"node": ">= 12.20"
}
},
- "node_modules/fraction.js": {
- "version": "5.3.4",
- "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz",
- "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": "*"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/rawify"
- }
- },
"node_modules/fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
+ "dev": true,
"hasInstallScript": true,
"license": "MIT",
"optional": true,
@@ -7052,6 +8687,15 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/get-nonce": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",
+ "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/get-proto": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
@@ -7118,6 +8762,7 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
"license": "ISC",
"dependencies": {
"is-glob": "^4.0.3"
@@ -7168,6 +8813,13 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
+ "dev": true,
+ "license": "ISC"
+ },
"node_modules/has-bigints": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz",
@@ -7641,18 +9293,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
- "license": "MIT",
- "dependencies": {
- "binary-extensions": "^2.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/is-boolean-object": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz",
@@ -7697,6 +9337,7 @@
"version": "2.16.2",
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.2.tgz",
"integrity": "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"hasown": "^2.0.3"
@@ -7757,6 +9398,7 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -7802,6 +9444,7 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"is-extglob": "^2.1.1"
@@ -7850,6 +9493,7 @@
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.12.0"
@@ -8123,10 +9767,10 @@
}
},
"node_modules/jiti": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz",
- "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==",
- "devOptional": true,
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz",
+ "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==",
+ "dev": true,
"license": "MIT",
"bin": {
"jiti": "lib/jiti-cli.mjs"
@@ -8371,97 +10015,340 @@
"micromatch": "^4.0.8"
},
"engines": {
- "node": ">=8.6.0"
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/knip/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/knip/node_modules/strip-json-comments": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.3.tgz",
+ "integrity": "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/knip/node_modules/zod": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
+ "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "node_modules/language-subtag-registry": {
+ "version": "0.3.23",
+ "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz",
+ "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==",
+ "dev": true,
+ "license": "CC0-1.0"
+ },
+ "node_modules/language-tags": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz",
+ "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "language-subtag-registry": "^0.3.20"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/lightningcss": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
+ "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
+ "dev": true,
+ "license": "MPL-2.0",
+ "dependencies": {
+ "detect-libc": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "lightningcss-android-arm64": "1.32.0",
+ "lightningcss-darwin-arm64": "1.32.0",
+ "lightningcss-darwin-x64": "1.32.0",
+ "lightningcss-freebsd-x64": "1.32.0",
+ "lightningcss-linux-arm-gnueabihf": "1.32.0",
+ "lightningcss-linux-arm64-gnu": "1.32.0",
+ "lightningcss-linux-arm64-musl": "1.32.0",
+ "lightningcss-linux-x64-gnu": "1.32.0",
+ "lightningcss-linux-x64-musl": "1.32.0",
+ "lightningcss-win32-arm64-msvc": "1.32.0",
+ "lightningcss-win32-x64-msvc": "1.32.0"
+ }
+ },
+ "node_modules/lightningcss-android-arm64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",
+ "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-darwin-arm64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",
+ "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-darwin-x64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",
+ "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-freebsd-x64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",
+ "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-arm-gnueabihf": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",
+ "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/knip/node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "node_modules/lightningcss-linux-arm64-gnu": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",
+ "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "ISC",
- "dependencies": {
- "is-glob": "^4.0.1"
- },
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">= 6"
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/knip/node_modules/strip-json-comments": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.3.tgz",
- "integrity": "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==",
+ "node_modules/lightningcss-linux-arm64-musl": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",
+ "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT",
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=14.16"
+ "node": ">= 12.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/knip/node_modules/zod": {
- "version": "4.4.3",
- "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
- "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
+ "node_modules/lightningcss-linux-x64-gnu": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",
+ "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT",
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
"funding": {
- "url": "https://github.com/sponsors/colinhacks"
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/language-subtag-registry": {
- "version": "0.3.23",
- "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz",
- "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==",
- "dev": true,
- "license": "CC0-1.0"
- },
- "node_modules/language-tags": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz",
- "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==",
+ "node_modules/lightningcss-linux-x64-musl": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",
+ "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",
+ "cpu": [
+ "x64"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "language-subtag-registry": "^0.3.20"
- },
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=0.10"
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/levn": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
- "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "node_modules/lightningcss-win32-arm64-msvc": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",
+ "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",
+ "cpu": [
+ "arm64"
+ ],
"dev": true,
- "license": "MIT",
- "dependencies": {
- "prelude-ls": "^1.2.1",
- "type-check": "~0.4.0"
- },
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
"engines": {
- "node": ">= 0.8.0"
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/lilconfig": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
- "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
- "license": "MIT",
+ "node_modules/lightningcss-win32-x64-msvc": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",
+ "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
"engines": {
- "node": ">=14"
+ "node": ">= 12.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/antonk52"
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
}
},
- "node_modules/lines-and-columns": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
- "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
- "license": "MIT"
- },
"node_modules/locate-path": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
@@ -8774,6 +10661,7 @@
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">= 8"
@@ -9225,6 +11113,7 @@
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
"integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"braces": "^3.0.3",
@@ -9238,6 +11127,7 @@
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=8.6"
@@ -9348,17 +11238,6 @@
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
"license": "MIT"
},
- "node_modules/mz": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
- "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
- "license": "MIT",
- "dependencies": {
- "any-promise": "^1.0.0",
- "object-assign": "^4.0.1",
- "thenify-all": "^1.0.0"
- }
- },
"node_modules/nanoid": {
"version": "3.3.12",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz",
@@ -9560,15 +11439,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/object-assign": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
@@ -9578,15 +11448,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/object-hash": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",
- "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/object-inspect": {
"version": "1.13.4",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
@@ -9978,6 +11839,7 @@
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
+ "dev": true,
"license": "MIT"
},
"node_modules/path-scurry": {
@@ -10024,6 +11886,7 @@
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">=12"
@@ -10032,24 +11895,6 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
- "node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pirates": {
- "version": "4.0.7",
- "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
- "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/playwright": {
"version": "1.58.1",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.58.1.tgz",
@@ -10095,155 +11940,26 @@
"node_modules/possible-typed-array-names": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",
- "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/postcss": {
- "version": "8.5.13",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.13.tgz",
- "integrity": "sha512-qif0+jGGZoLWdHey3UFHHWP0H7Gbmsk8T5VEqyYFbWqPr1XqvLGBbk/sl8V5exGmcYJklJOhOQq1pV9IcsiFag==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/postcss"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "nanoid": "^3.3.11",
- "picocolors": "^1.1.1",
- "source-map-js": "^1.2.1"
- },
- "engines": {
- "node": "^10 || ^12 || >=14"
- }
- },
- "node_modules/postcss-import": {
- "version": "15.1.0",
- "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",
- "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",
- "license": "MIT",
- "dependencies": {
- "postcss-value-parser": "^4.0.0",
- "read-cache": "^1.0.0",
- "resolve": "^1.1.7"
- },
- "engines": {
- "node": ">=14.0.0"
- },
- "peerDependencies": {
- "postcss": "^8.0.0"
- }
- },
- "node_modules/postcss-import/node_modules/resolve": {
- "version": "1.22.12",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz",
- "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==",
- "license": "MIT",
- "dependencies": {
- "es-errors": "^1.3.0",
- "is-core-module": "^2.16.1",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
- },
- "bin": {
- "resolve": "bin/resolve"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/postcss-js": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz",
- "integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "camelcase-css": "^2.0.1"
- },
- "engines": {
- "node": "^12 || ^14 || >= 16"
- },
- "peerDependencies": {
- "postcss": "^8.4.21"
- }
- },
- "node_modules/postcss-load-config": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
- "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
+ "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==",
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "lilconfig": "^3.1.1"
- },
"engines": {
- "node": ">= 18"
- },
- "peerDependencies": {
- "jiti": ">=1.21.0",
- "postcss": ">=8.0.9",
- "tsx": "^4.8.1",
- "yaml": "^2.4.2"
- },
- "peerDependenciesMeta": {
- "jiti": {
- "optional": true
- },
- "postcss": {
- "optional": true
- },
- "tsx": {
- "optional": true
- },
- "yaml": {
- "optional": true
- }
+ "node": ">= 0.4"
}
},
- "node_modules/postcss-nested": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz",
- "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==",
+ "node_modules/postcss": {
+ "version": "8.5.13",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.13.tgz",
+ "integrity": "sha512-qif0+jGGZoLWdHey3UFHHWP0H7Gbmsk8T5VEqyYFbWqPr1XqvLGBbk/sl8V5exGmcYJklJOhOQq1pV9IcsiFag==",
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/postcss/"
},
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
{
"type": "github",
"url": "https://github.com/sponsors/ai"
@@ -10251,34 +11967,14 @@
],
"license": "MIT",
"dependencies": {
- "postcss-selector-parser": "^6.1.1"
- },
- "engines": {
- "node": ">=12.0"
- },
- "peerDependencies": {
- "postcss": "^8.2.14"
- }
- },
- "node_modules/postcss-selector-parser": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
- "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
- "license": "MIT",
- "dependencies": {
- "cssesc": "^3.0.0",
- "util-deprecate": "^1.0.2"
+ "nanoid": "^3.3.11",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
},
"engines": {
- "node": ">=4"
+ "node": "^10 || ^12 || >=14"
}
},
- "node_modules/postcss-value-parser": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
- "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
- "license": "MIT"
- },
"node_modules/prelude-ls": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
@@ -10383,6 +12079,7 @@
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "dev": true,
"funding": [
{
"type": "github",
@@ -10399,6 +12096,83 @@
],
"license": "MIT"
},
+ "node_modules/radix-ui": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/radix-ui/-/radix-ui-1.6.1.tgz",
+ "integrity": "sha512-QXDXJtB6sK83mLASONYUZCauatcWb+knFviFpN1EhtdbbmlsRmzCLrbZSKztnNiem2KOHIBbiDbauVB7SORXMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.4",
+ "@radix-ui/react-accessible-icon": "1.1.11",
+ "@radix-ui/react-accordion": "1.2.15",
+ "@radix-ui/react-alert-dialog": "1.1.18",
+ "@radix-ui/react-arrow": "1.1.11",
+ "@radix-ui/react-aspect-ratio": "1.1.11",
+ "@radix-ui/react-avatar": "1.2.1",
+ "@radix-ui/react-checkbox": "1.3.6",
+ "@radix-ui/react-collapsible": "1.1.15",
+ "@radix-ui/react-collection": "1.1.11",
+ "@radix-ui/react-compose-refs": "1.1.3",
+ "@radix-ui/react-context": "1.1.4",
+ "@radix-ui/react-context-menu": "2.3.2",
+ "@radix-ui/react-dialog": "1.1.18",
+ "@radix-ui/react-direction": "1.1.2",
+ "@radix-ui/react-dismissable-layer": "1.1.14",
+ "@radix-ui/react-dropdown-menu": "2.1.19",
+ "@radix-ui/react-focus-guards": "1.1.4",
+ "@radix-ui/react-focus-scope": "1.1.11",
+ "@radix-ui/react-form": "0.1.11",
+ "@radix-ui/react-hover-card": "1.1.18",
+ "@radix-ui/react-label": "2.1.11",
+ "@radix-ui/react-menu": "2.1.19",
+ "@radix-ui/react-menubar": "1.1.19",
+ "@radix-ui/react-navigation-menu": "1.2.17",
+ "@radix-ui/react-one-time-password-field": "0.1.11",
+ "@radix-ui/react-password-toggle-field": "0.1.6",
+ "@radix-ui/react-popover": "1.1.18",
+ "@radix-ui/react-popper": "1.3.2",
+ "@radix-ui/react-portal": "1.1.13",
+ "@radix-ui/react-presence": "1.1.6",
+ "@radix-ui/react-primitive": "2.1.7",
+ "@radix-ui/react-progress": "1.1.11",
+ "@radix-ui/react-radio-group": "1.4.2",
+ "@radix-ui/react-roving-focus": "1.1.14",
+ "@radix-ui/react-scroll-area": "1.2.13",
+ "@radix-ui/react-select": "2.3.2",
+ "@radix-ui/react-separator": "1.1.11",
+ "@radix-ui/react-slider": "1.4.2",
+ "@radix-ui/react-slot": "1.3.0",
+ "@radix-ui/react-switch": "1.3.2",
+ "@radix-ui/react-tabs": "1.1.16",
+ "@radix-ui/react-toast": "1.2.18",
+ "@radix-ui/react-toggle": "1.1.13",
+ "@radix-ui/react-toggle-group": "1.1.14",
+ "@radix-ui/react-toolbar": "1.1.14",
+ "@radix-ui/react-tooltip": "1.2.11",
+ "@radix-ui/react-use-callback-ref": "1.1.2",
+ "@radix-ui/react-use-controllable-state": "1.2.3",
+ "@radix-ui/react-use-effect-event": "0.0.3",
+ "@radix-ui/react-use-escape-keydown": "1.1.3",
+ "@radix-ui/react-use-is-hydrated": "0.1.1",
+ "@radix-ui/react-use-layout-effect": "1.1.2",
+ "@radix-ui/react-use-size": "1.1.2",
+ "@radix-ui/react-visually-hidden": "1.2.7"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
"node_modules/rc-cascader": {
"version": "3.34.0",
"resolved": "https://registry.npmjs.org/rc-cascader/-/rc-cascader-3.34.0.tgz",
@@ -11130,6 +12904,53 @@
"react": ">=18"
}
},
+ "node_modules/react-remove-scroll": {
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz",
+ "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==",
+ "license": "MIT",
+ "dependencies": {
+ "react-remove-scroll-bar": "^2.3.7",
+ "react-style-singleton": "^2.2.3",
+ "tslib": "^2.1.0",
+ "use-callback-ref": "^1.3.3",
+ "use-sidecar": "^1.1.3"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-remove-scroll-bar": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz",
+ "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==",
+ "license": "MIT",
+ "dependencies": {
+ "react-style-singleton": "^2.2.2",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/react-smooth": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-4.0.4.tgz",
@@ -11162,6 +12983,28 @@
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
}
},
+ "node_modules/react-style-singleton": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz",
+ "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==",
+ "license": "MIT",
+ "dependencies": {
+ "get-nonce": "^1.0.0",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/react-syntax-highlighter": {
"version": "15.6.6",
"resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-15.6.6.tgz",
@@ -11205,39 +13048,6 @@
"react-dom": ">=16.8.0"
}
},
- "node_modules/read-cache": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
- "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
- "license": "MIT",
- "dependencies": {
- "pify": "^2.3.0"
- }
- },
- "node_modules/readdirp": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
- "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
- "license": "MIT",
- "dependencies": {
- "picomatch": "^2.2.1"
- },
- "engines": {
- "node": ">=8.10.0"
- }
- },
- "node_modules/readdirp/node_modules/picomatch": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
- "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
- "license": "MIT",
- "engines": {
- "node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
"node_modules/recharts": {
"version": "2.15.4",
"resolved": "https://registry.npmjs.org/recharts/-/recharts-2.15.4.tgz",
@@ -11538,6 +13348,7 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
"integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
+ "dev": true,
"license": "MIT",
"engines": {
"iojs": ">=1.0.0",
@@ -11593,6 +13404,7 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "dev": true,
"funding": [
{
"type": "github",
@@ -12229,28 +14041,6 @@
"integrity": "sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==",
"license": "MIT"
},
- "node_modules/sucrase": {
- "version": "3.35.1",
- "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
- "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
- "license": "MIT",
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.3.2",
- "commander": "^4.0.0",
- "lines-and-columns": "^1.1.6",
- "mz": "^2.7.0",
- "pirates": "^4.0.1",
- "tinyglobby": "^0.2.11",
- "ts-interface-checker": "^0.1.9"
- },
- "bin": {
- "sucrase": "bin/sucrase",
- "sucrase-node": "bin/sucrase-node"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- }
- },
"node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
@@ -12268,6 +14058,7 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">= 0.4"
@@ -12300,98 +14091,23 @@
}
},
"node_modules/tailwindcss": {
- "version": "3.4.19",
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.19.tgz",
- "integrity": "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==",
- "license": "MIT",
- "dependencies": {
- "@alloc/quick-lru": "^5.2.0",
- "arg": "^5.0.2",
- "chokidar": "^3.6.0",
- "didyoumean": "^1.2.2",
- "dlv": "^1.1.3",
- "fast-glob": "^3.3.2",
- "glob-parent": "^6.0.2",
- "is-glob": "^4.0.3",
- "jiti": "^1.21.7",
- "lilconfig": "^3.1.3",
- "micromatch": "^4.0.8",
- "normalize-path": "^3.0.0",
- "object-hash": "^3.0.0",
- "picocolors": "^1.1.1",
- "postcss": "^8.4.47",
- "postcss-import": "^15.1.0",
- "postcss-js": "^4.0.1",
- "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0",
- "postcss-nested": "^6.2.0",
- "postcss-selector-parser": "^6.1.2",
- "resolve": "^1.22.8",
- "sucrase": "^3.35.0"
- },
- "bin": {
- "tailwind": "lib/cli.js",
- "tailwindcss": "lib/cli.js"
- },
- "engines": {
- "node": ">=14.0.0"
- }
- },
- "node_modules/tailwindcss/node_modules/fast-glob": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
- "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.stat": "^2.0.2",
- "@nodelib/fs.walk": "^1.2.3",
- "glob-parent": "^5.1.2",
- "merge2": "^1.3.0",
- "micromatch": "^4.0.8"
- },
- "engines": {
- "node": ">=8.6.0"
- }
- },
- "node_modules/tailwindcss/node_modules/fast-glob/node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "license": "ISC",
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/tailwindcss/node_modules/jiti": {
- "version": "1.21.7",
- "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz",
- "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",
- "license": "MIT",
- "bin": {
- "jiti": "bin/jiti.js"
- }
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.2.tgz",
+ "integrity": "sha512-WtctNNSH8A9jlMIqxzuYumOHU5uGZyRv0Q5svQl+oEPy5w84YpBxdb7MdqyiSPQge5jTJ6zFQLq0PFygdccSBA==",
+ "license": "MIT"
},
- "node_modules/tailwindcss/node_modules/resolve": {
- "version": "1.22.12",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz",
- "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==",
+ "node_modules/tapable": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz",
+ "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==",
+ "dev": true,
"license": "MIT",
- "dependencies": {
- "es-errors": "^1.3.0",
- "is-core-module": "^2.16.1",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
- },
- "bin": {
- "resolve": "bin/resolve"
- },
"engines": {
- "node": ">= 0.4"
+ "node": ">=6"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
}
},
"node_modules/test-exclude": {
@@ -12409,27 +14125,6 @@
"node": ">=18"
}
},
- "node_modules/thenify": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
- "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
- "license": "MIT",
- "dependencies": {
- "any-promise": "^1.0.0"
- }
- },
- "node_modules/thenify-all": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
- "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
- "license": "MIT",
- "dependencies": {
- "thenify": ">= 3.1.0 < 4"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
"node_modules/throttle-debounce": {
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-5.0.2.tgz",
@@ -12463,6 +14158,7 @@
"version": "0.2.16",
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz",
"integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"fdir": "^6.5.0",
@@ -12529,6 +14225,7 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
"license": "MIT",
"dependencies": {
"is-number": "^7.0.0"
@@ -12618,12 +14315,6 @@
"typescript": ">=4.8.4"
}
},
- "node_modules/ts-interface-checker": {
- "version": "0.1.13",
- "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
- "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
- "license": "Apache-2.0"
- },
"node_modules/tsconfig-paths": {
"version": "3.15.0",
"resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz",
@@ -12643,6 +14334,16 @@
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
"license": "0BSD"
},
+ "node_modules/tw-animate-css": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/tw-animate-css/-/tw-animate-css-1.4.0.tgz",
+ "integrity": "sha512-7bziOlRqH0hJx80h/3mbicLW7o8qLsH5+RaLR2t+OHM3D0JlWGODQKQ4cxbK7WlvmUxpcj6Kgu6EKqjrGFe3QQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/Wombosvideo"
+ }
+ },
"node_modules/type-check": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
@@ -12980,6 +14681,49 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/use-callback-ref": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz",
+ "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/use-sidecar": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz",
+ "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==",
+ "license": "MIT",
+ "dependencies": {
+ "detect-node-es": "^1.1.0",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/use-sync-external-store": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",
@@ -12989,12 +14733,6 @@
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
- "node_modules/util-deprecate": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
- "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
- "license": "MIT"
- },
"node_modules/uuid": {
"version": "14.0.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.0.tgz",
diff --git a/ui/litellm-dashboard/package.json b/ui/litellm-dashboard/package.json
index 0097e8c6559..d4ca1805fb7 100644
--- a/ui/litellm-dashboard/package.json
+++ b/ui/litellm-dashboard/package.json
@@ -24,6 +24,7 @@
"gen:api": "node scripts/gen-api-types.mjs"
},
"dependencies": {
+ "@ant-design/cssinjs": "1.24.0",
"@anthropic-ai/sdk": "0.92.0",
"@headlessui/tailwindcss": "0.2.2",
"@heroicons/react": "1.0.6",
@@ -42,6 +43,7 @@
"next": "16.2.6",
"openai": "4.104.0",
"papaparse": "5.5.3",
+ "radix-ui": "1.6.1",
"react": "18.3.1",
"react-copy-to-clipboard": "5.1.1",
"react-dom": "18.3.1",
@@ -55,6 +57,7 @@
"@eslint/js": "9.39.2",
"@playwright/test": "1.58.1",
"@tailwindcss/forms": "0.5.11",
+ "@tailwindcss/postcss": "4.3.2",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
@@ -67,7 +70,6 @@
"@types/react-syntax-highlighter": "15.5.13",
"@vitest/coverage-v8": "3.2.6",
"@vitest/ui": "3.2.6",
- "autoprefixer": "10.4.24",
"eslint": "9.39.2",
"eslint-config-next": "16.2.6",
"eslint-config-prettier": "10.1.8",
@@ -77,7 +79,8 @@
"openapi-typescript": "7.13.0",
"postcss": "8.5.13",
"prettier": "3.2.5",
- "tailwindcss": "3.4.19",
+ "tailwindcss": "4.3.2",
+ "tw-animate-css": "1.4.0",
"typescript": "5.9.3",
"typescript-eslint": "8.60.1",
"vitest": "3.2.6"
diff --git a/ui/litellm-dashboard/postcss.config.js b/ui/litellm-dashboard/postcss.config.js
index 12a703d900d..483f378543c 100644
--- a/ui/litellm-dashboard/postcss.config.js
+++ b/ui/litellm-dashboard/postcss.config.js
@@ -1,6 +1,5 @@
module.exports = {
plugins: {
- tailwindcss: {},
- autoprefixer: {},
+ "@tailwindcss/postcss": {},
},
};
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/api-reference/components/DocLink.tsx b/ui/litellm-dashboard/src/app/(dashboard)/api-reference/components/DocLink.tsx
index a3d0416053e..a3b34360246 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/api-reference/components/DocLink.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/api-reference/components/DocLink.tsx
@@ -1,9 +1,7 @@
import React from "react";
import { ExternalLink } from "lucide-react";
-function cn(...parts: Array<string | undefined>) {
- return parts.filter(Boolean).join(" ");
-}
+import { cn } from "@/lib/cva.config";
export type DocLinkProps = {
href?: string;
@@ -18,8 +16,8 @@ const DocLink = ({ href, className }: DocLinkProps) => {
rel="noopener noreferrer"
title="Open documentation in a new tab"
className={cn(
- "inline-flex items-center gap-2 rounded-xl border border-zinc-200 bg-white/80 px-3.5 py-2 text-sm font-medium text-zinc-700 shadow-sm",
- "hover:bg-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 active:translate-y-[0.5px]",
+ "inline-flex items-center gap-2 rounded-xl border border-zinc-200 bg-white/80 px-3.5 py-2 text-sm font-medium text-zinc-700 shadow-xs",
+ "hover:bg-white focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-blue-500 active:translate-y-[0.5px]",
className,
)}
>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/caching/components/cache_health.tsx b/ui/litellm-dashboard/src/app/(dashboard)/caching/components/cache_health.tsx
index 92bbc14846f..887c12a4f3d 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/caching/components/cache_health.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/caching/components/cache_health.tsx
@@ -151,7 +151,7 @@ const HealthCheckDetails: React.FC<{ response: any }> = ({ response }) => {
};
return (
- <div className="bg-white rounded-lg shadow">
+ <div className="bg-white rounded-lg shadow-sm">
<TabGroup>
<TabList className="border-b border-gray-200 px-4">
<Tab className="px-4 py-2 text-sm font-medium text-gray-600 hover:text-gray-800">Summary</Tab>
@@ -225,7 +225,7 @@ const HealthCheckDetails: React.FC<{ response: any }> = ({ response }) => {
<TabPanel className="p-4">
<div className="bg-gray-50 rounded-md p-4 font-mono text-sm">
- <pre className="whitespace-pre-wrap break-words overflow-auto max-h-[500px]">
+ <pre className="whitespace-pre-wrap wrap-break-word overflow-auto max-h-[500px]">
{(() => {
try {
const data = {
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/cost_tracking_settings.tsx b/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/cost_tracking_settings.tsx
index 22ea8d8d517..b32e7afd756 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/cost_tracking_settings.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/cost_tracking_settings.tsx
@@ -175,7 +175,7 @@ const CostTrackingSettings: React.FC<CostTrackingSettingsProps> = ({ userID, use
</div>
{/* Main Content Card with Accordions */}
- <div className="bg-white rounded-lg shadow w-full max-w-full space-y-4">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full space-y-4">
{/* Accordion 1: Provider Discounts - Only for proxy admins */}
{isProxyAdmin && (
<Accordion>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/how_it_works.tsx b/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/how_it_works.tsx
index baaf44222ae..79abf6baa31 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/how_it_works.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/how_it_works.tsx
@@ -31,7 +31,7 @@ const HowItWorks: React.FC = () => {
<Text className="font-medium text-gray-900 text-sm mb-1">Cost Calculation</Text>
<Text className="text-xs text-gray-600">
Discounts are applied to provider costs:{" "}
- <code className="bg-gray-100 px-1.5 py-0.5 rounded text-xs">
+ <code className="bg-gray-100 px-1.5 py-0.5 rounded-sm text-xs">
final_cost = base_cost × (1 - discount%/100)
</code>
</Text>
@@ -65,19 +65,19 @@ const HowItWorks: React.FC = () => {
<Text className="text-xs text-gray-600 mt-3 mb-2">Look for these headers in the response:</Text>
<div className="space-y-1.5">
<div className="flex items-start gap-3">
- <code className="bg-gray-100 px-2 py-1 rounded text-xs font-mono text-gray-800 whitespace-nowrap">
+ <code className="bg-gray-100 px-2 py-1 rounded-sm text-xs font-mono text-gray-800 whitespace-nowrap">
x-litellm-response-cost
</code>
<Text className="text-xs text-gray-600">Final cost after discount</Text>
</div>
<div className="flex items-start gap-3">
- <code className="bg-gray-100 px-2 py-1 rounded text-xs font-mono text-gray-800 whitespace-nowrap">
+ <code className="bg-gray-100 px-2 py-1 rounded-sm text-xs font-mono text-gray-800 whitespace-nowrap">
x-litellm-response-cost-original
</code>
<Text className="text-xs text-gray-600">Original cost before discount</Text>
</div>
<div className="flex items-start gap-3">
- <code className="bg-gray-100 px-2 py-1 rounded text-xs font-mono text-gray-800 whitespace-nowrap">
+ <code className="bg-gray-100 px-2 py-1 rounded-sm text-xs font-mono text-gray-800 whitespace-nowrap">
x-litellm-response-cost-discount-amount
</code>
<Text className="text-xs text-gray-600">Amount discounted</Text>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_cost_results.tsx b/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_cost_results.tsx
index 26d77d3be0f..3ea7ea58127 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_cost_results.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/components/pricing_calculator/multi_cost_results.tsx
@@ -201,9 +201,9 @@ const MultiCostResults: React.FC<MultiCostResultsProps> = ({ multiResult, timePe
)}
{record.loading && <Spin indicator={<LoadingOutlined spin />} size="small" />}
</div>
- {record.error && <div className="text-xs text-red-600 bg-red-50 px-2 py-1 rounded">⚠️ {record.error}</div>}
+ {record.error && <div className="text-xs text-red-600 bg-red-50 px-2 py-1 rounded-sm">⚠️ {record.error}</div>}
{record.hasZeroCost && !record.error && (
- <div className="text-xs text-amber-600 bg-amber-50 px-2 py-1 rounded">
+ <div className="text-xs text-amber-600 bg-amber-50 px-2 py-1 rounded-sm">
⚠️ No pricing data found for this model. Set base_model in config.
</div>
)}
@@ -295,7 +295,7 @@ const MultiCostResults: React.FC<MultiCostResultsProps> = ({ multiResult, timePe
</div>
{/* Combined Totals - Always show when there are results */}
- <Card size="small" className="bg-gradient-to-r from-slate-50 to-blue-50 border-slate-200">
+ <Card size="small" className="bg-linear-to-r from-slate-50 to-blue-50 border-slate-200">
<Row gutter={[16, 8]}>
<Col xs={24} sm={12}>
<Statistic
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/guardrails-monitor/components/GuardrailsOverview.tsx b/ui/litellm-dashboard/src/app/(dashboard)/guardrails-monitor/components/GuardrailsOverview.tsx
index 519c5e1789d..9d57f36f93f 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/guardrails-monitor/components/GuardrailsOverview.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/guardrails-monitor/components/GuardrailsOverview.tsx
@@ -242,7 +242,7 @@ export function GuardrailsOverview({
)}
<div className="px-6 py-4 border-b border-gray-200 flex items-start justify-between gap-4">
<div>
- <Typography.Title level={5} className="!mb-0 text-gray-900">
+ <Typography.Title level={5} className="mb-0! text-gray-900">
Guardrail Performance
</Typography.Title>
<p className="text-xs text-gray-500 mt-0.5">Click a guardrail to view details, logs, and configuration</p>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx
index 85793ab7d15..b24c376c9e0 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx
@@ -331,7 +331,7 @@ const ModelsAndEndpointsView: React.FC<ModelDashboardProps> = ({ premiumUser, te
{/* Missing Provider Banner */}
{showMissingProviderBanner && (
<div className="mb-4 px-4 py-3 bg-blue-50 rounded-lg border border-blue-100 flex items-center gap-4">
- <div className="flex-shrink-0 w-10 h-10 bg-white rounded-full flex items-center justify-center border border-blue-200">
+ <div className="shrink-0 w-10 h-10 bg-white rounded-full flex items-center justify-center border border-blue-200">
<PlusCircleOutlined style={{ fontSize: "18px", color: "#6366f1" }} />
</div>
<div className="flex-1 min-w-0">
@@ -345,7 +345,7 @@ const ModelsAndEndpointsView: React.FC<ModelDashboardProps> = ({ premiumUser, te
href="https://models.litellm.ai/?request=true"
target="_blank"
rel="noopener noreferrer"
- className="flex-shrink-0 inline-flex items-center gap-2 px-4 py-2 bg-[#6366f1] hover:bg-[#5558e3] text-white text-sm font-medium rounded-lg transition-colors"
+ className="shrink-0 inline-flex items-center gap-2 px-4 py-2 bg-[#6366f1] hover:bg-[#5558e3] text-white text-sm font-medium rounded-lg transition-colors"
>
Request Provider
<svg
@@ -368,7 +368,7 @@ const ModelsAndEndpointsView: React.FC<ModelDashboardProps> = ({ premiumUser, te
setShowMissingProviderBanner(false);
localStorage.setItem("hideMissingProviderBanner", "true");
}}
- className="flex-shrink-0 p-1 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors"
+ className="shrink-0 p-1 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors"
aria-label="Dismiss banner"
>
<svg
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/components/AllModelsTab.tsx b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/components/AllModelsTab.tsx
index 2aa1eb4c808..576729d18d3 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/components/AllModelsTab.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/models-and-endpoints/components/AllModelsTab.tsx
@@ -239,7 +239,7 @@ const AllModelsTab = ({
<TabPanel>
<Grid>
<div className="flex flex-col space-y-4">
- <div className="bg-white rounded-lg shadow">
+ <div className="bg-white rounded-lg shadow-sm">
{/* Current Team and View Mode Selector - Prominent Section */}
<div className="border-b px-6 py-4 bg-gray-50">
<div className="flex items-center justify-between">
@@ -339,7 +339,7 @@ const AllModelsTab = ({
{modelViewMode === "current_team" && (
<div className="flex items-start gap-2 mt-3">
- <InfoCircleOutlined className="text-gray-400 mt-0.5 flex-shrink-0 text-xs" />
+ <InfoCircleOutlined className="text-gray-400 mt-0.5 shrink-0 text-xs" />
<div className="text-xs text-gray-500">
{currentTeam === "personal" ? (
<span>
@@ -381,7 +381,7 @@ const AllModelsTab = ({
type="text"
placeholder="Search model names..."
data-testid="model-search-input"
- className="w-full px-3 py-2 pl-8 border rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
+ className="w-full px-3 py-2 pl-8 border rounded-md text-sm focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
value={modelNameSearch}
onChange={(e) => setModelNameSearch(e.target.value)}
/>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/A2AMetrics.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/A2AMetrics.tsx
index 2e0e5068297..004a513f061 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/A2AMetrics.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/A2AMetrics.tsx
@@ -194,7 +194,9 @@ const A2AMetrics: React.FC<A2AMetricsProps> = ({ a2aMetadata, timeToFirstToken,
{taskId && (
<div className="mb-1.5 flex items-center">
<span className="font-medium text-gray-700 w-24">Task ID:</span>
- <code className="ml-2 px-2 py-1 bg-white border border-gray-200 rounded text-xs font-mono">{taskId}</code>
+ <code className="ml-2 px-2 py-1 bg-white border border-gray-200 rounded-sm text-xs font-mono">
+ {taskId}
+ </code>
<CopyOutlined
className="ml-2 cursor-pointer text-gray-400 hover:text-blue-500"
onClick={() => copyToClipboard(taskId)}
@@ -205,7 +207,7 @@ const A2AMetrics: React.FC<A2AMetricsProps> = ({ a2aMetadata, timeToFirstToken,
{contextId && (
<div className="mb-1.5 flex items-center">
<span className="font-medium text-gray-700 w-24">Session ID:</span>
- <code className="ml-2 px-2 py-1 bg-white border border-gray-200 rounded text-xs font-mono">
+ <code className="ml-2 px-2 py-1 bg-white border border-gray-200 rounded-sm text-xs font-mono">
{contextId}
</code>
<CopyOutlined
@@ -219,7 +221,7 @@ const A2AMetrics: React.FC<A2AMetricsProps> = ({ a2aMetadata, timeToFirstToken,
{metadata && Object.keys(metadata).length > 0 && (
<div className="mt-3">
<span className="font-medium text-gray-700">Custom Metadata:</span>
- <pre className="mt-1.5 p-2 bg-white border border-gray-200 rounded text-xs font-mono overflow-x-auto whitespace-pre-wrap">
+ <pre className="mt-1.5 p-2 bg-white border border-gray-200 rounded-sm text-xs font-mono overflow-x-auto whitespace-pre-wrap">
{JSON.stringify(metadata, null, 2)}
</pre>
</div>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx
index 133a4938e19..35f5dcf06c0 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/AgentBuilderView.tsx
@@ -102,7 +102,7 @@ function ConnectTabContent({
<div className="mx-auto max-w-3xl space-y-6">
<div>
<h3 className="text-sm font-semibold text-gray-900 mb-1">Proxy base URL</h3>
- <p className="text-sm text-gray-600 font-mono bg-gray-50 px-2 py-1.5 rounded border border-gray-200 break-all">
+ <p className="text-sm text-gray-600 font-mono bg-gray-50 px-2 py-1.5 rounded-sm border border-gray-200 break-all">
{baseUrl}
</p>
</div>
@@ -442,7 +442,7 @@ export default function AgentBuilderView({
return (
<div className="flex h-full flex-col bg-white text-gray-900">
- <div className="flex flex-shrink-0 flex-col border-b border-gray-200">
+ <div className="flex shrink-0 flex-col border-b border-gray-200">
<div className="flex h-12 items-center justify-between px-4">
<span className="text-sm font-medium text-gray-900">Agent Builder</span>
{isNewAgent ? (
@@ -460,7 +460,7 @@ export default function AgentBuilderView({
)}
</div>
<div className="flex items-center gap-2 border-t border-amber-200 bg-amber-50 px-4 py-2 text-xs text-amber-800">
- <ExperimentOutlined className="flex-shrink-0 text-amber-600" />
+ <ExperimentOutlined className="shrink-0 text-amber-600" />
<span>
Agent Builder is experimental and may change or be removed without notice. We’d love your feedback—email us
at{" "}
@@ -474,7 +474,7 @@ export default function AgentBuilderView({
<div className="flex flex-1 overflow-hidden">
{/* Roster */}
- <div className="w-60 flex-shrink-0 border-r border-gray-200 bg-white flex flex-col">
+ <div className="w-60 shrink-0 border-r border-gray-200 bg-white flex flex-col">
<div className="flex items-center justify-between border-b border-gray-200 p-3">
<span className="text-xs font-semibold uppercase tracking-wide text-gray-500">Agents</span>
<Button type="text" size="small" icon={<PlusOutlined />} onClick={handleAddAgent} aria-label="Add agent" />
@@ -542,7 +542,7 @@ export default function AgentBuilderView({
{isNewAgent || selectedAgent ? (
<div className="mx-auto max-w-xl space-y-4">
{!selectedAgentModelId && selectedAgent && (
- <div className="rounded border border-amber-200 bg-amber-50 px-3 py-2 text-xs text-amber-800">
+ <div className="rounded-sm border border-amber-200 bg-amber-50 px-3 py-2 text-xs text-amber-800">
This agent cannot be updated or deleted here (missing model id). Manage it from Models
&amp; Endpoints.
</div>
@@ -616,8 +616,8 @@ export default function AgentBuilderView({
{selectedAgent && draftTools.length > 0 && (
<p className="mt-1 text-xs text-gray-500">
{draftTools.length} MCP server{draftTools.length !== 1 ? "s" : ""} saved. Use the same{" "}
- <code className="rounded bg-gray-100 px-1">tools</code> array in chat completions when
- calling this agent.
+ <code className="rounded-sm bg-gray-100 px-1">tools</code> array in chat completions
+ when calling this agent.
</p>
)}
</div>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatImageRenderer.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatImageRenderer.tsx
index f4449bee803..0bd0a94a52c 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatImageRenderer.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatImageRenderer.tsx
@@ -27,7 +27,7 @@ const ChatImageRenderer: React.FC<ChatImageRendererProps> = ({ message }) => {
alt="User uploaded image"
width={256}
height={200}
- className="max-w-64 rounded-md border border-gray-200 shadow-sm"
+ className="max-w-64 rounded-md border border-gray-200 shadow-xs"
style={{ maxHeight: "200px", width: "auto", height: "auto" }}
/>
)}
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatMessageBubble.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatMessageBubble.tsx
index 27226757c91..8e71017a7b5 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatMessageBubble.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatMessageBubble.tsx
@@ -43,7 +43,7 @@ function ChatMessageBubble({
return (
<div className={`mb-4 ${isUser ? "text-right" : "text-left"}`}>
<div
- className="inline-block max-w-[80%] rounded-lg shadow-sm p-3.5 px-4"
+ className="inline-block max-w-[80%] rounded-lg shadow-xs p-3.5 px-4"
style={{
backgroundColor: isUser ? "#f0f8ff" : "#ffffff",
border: isUser ? "1px solid #e6f0fa" : "1px solid #f0f0f0",
@@ -66,7 +66,9 @@ function ChatMessageBubble({
</div>
<strong className="text-sm capitalize">{message.role}</strong>
{message.role === "assistant" && message.model && (
- <span className="text-xs px-2 py-0.5 rounded bg-gray-100 text-gray-600 font-normal">{message.model}</span>
+ <span className="text-xs px-2 py-0.5 rounded-sm bg-gray-100 text-gray-600 font-normal">
+ {message.model}
+ </span>
)}
</div>
@@ -103,7 +105,7 @@ function ChatMessageBubble({
{/* Message body */}
<div
- className="whitespace-pre-wrap break-words max-w-full message-content"
+ className="whitespace-pre-wrap wrap-break-word max-w-full message-content"
style={{
wordWrap: "break-word",
overflowWrap: "break-word",
@@ -115,7 +117,7 @@ function ChatMessageBubble({
<img
src={typeof message.content === "string" ? message.content : ""}
alt="Generated image"
- className="max-w-full rounded-md border border-gray-200 shadow-sm"
+ className="max-w-full rounded-md border border-gray-200 shadow-xs"
style={{ maxHeight: "500px" }}
/>
) : message.isAudio ? (
@@ -153,7 +155,7 @@ function ChatMessageBubble({
</SyntaxHighlighter>
) : (
<code
- className={`${className} px-1.5 py-0.5 rounded bg-gray-100 text-sm font-mono`}
+ className={`${className} px-1.5 py-0.5 rounded-sm bg-gray-100 text-sm font-mono`}
style={{ wordBreak: "break-word" }}
{...props}
>
@@ -173,7 +175,7 @@ function ChatMessageBubble({
<img
src={message.image.url}
alt="Generated image"
- className="max-w-full rounded-md border border-gray-200 shadow-sm"
+ className="max-w-full rounded-md border border-gray-200 shadow-xs"
style={{ maxHeight: "500px" }}
/>
</div>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatUI.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatUI.tsx
index db46eb30cb8..e84c43d2c1e 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatUI.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ChatUI.tsx
@@ -1447,7 +1447,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
<div className="flex items-center gap-1">
<span className="font-medium">{toolset.toolset_name}</span>
<span
- className="text-xs px-1 rounded"
+ className="text-xs px-1 rounded-sm"
style={{ background: "#ede9fe", color: "#7c3aed" }}
>
Toolset
@@ -1540,7 +1540,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
if (tools.length === 0) return null;
return (
- <div key={serverId} className="border rounded p-2">
+ <div key={serverId} className="border rounded-sm p-2">
<Text className="text-xs text-gray-600 mb-1">
Limit tools for {server?.alias || server?.server_name || serverId}:
</Text>
@@ -1583,7 +1583,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
return (
<div
key={serverId}
- className="border border-blue-100 rounded p-2 bg-blue-50 flex items-center justify-between"
+ className="border border-blue-100 rounded-sm p-2 bg-blue-50 flex items-center justify-between"
>
<Text className="text-xs text-blue-700">{serverName} requires your API key</Text>
{server.has_user_credential ? (
@@ -1770,7 +1770,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
chatHistory[chatHistory.length - 1].role === "user" && (
<div className="text-left mb-4">
<div
- className="inline-block max-w-[80%] rounded-lg shadow-sm p-3.5 px-4"
+ className="inline-block max-w-[80%] rounded-lg shadow-xs p-3.5 px-4"
style={{
backgroundColor: "#ffffff",
border: "1px solid #f0f0f0",
@@ -1834,7 +1834,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
className="max-w-32 max-h-32 rounded-md border border-gray-200 object-cover"
/>
<button
- className="absolute top-1 right-1 bg-white shadow-sm border border-gray-200 rounded px-1 py-1 text-red-500 hover:bg-red-50 text-xs"
+ className="absolute top-1 right-1 bg-white shadow-xs border border-gray-200 rounded-sm px-1 py-1 text-red-500 hover:bg-red-50 text-xs"
onClick={() => handleRemoveImage(index)}
>
<DeleteOutlined />
@@ -1894,7 +1894,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
</span>
</div>
<button
- className="bg-white shadow-sm border border-gray-200 rounded px-2 py-1 text-red-500 hover:bg-red-50 text-xs"
+ className="bg-white shadow-xs border border-gray-200 rounded-sm px-2 py-1 text-red-500 hover:bg-red-50 text-xs"
onClick={handleRemoveAudio}
>
<DeleteOutlined /> Remove
@@ -1924,7 +1924,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
{/* Code Interpreter indicator and sample prompts when enabled */}
{endpointType === EndpointType.RESPONSES && codeInterpreter.enabled && (
<div className="mb-2 space-y-2">
- <div className="px-3 py-2 bg-gradient-to-r from-blue-50 to-purple-50 rounded-lg border border-blue-200 flex items-center justify-between">
+ <div className="px-3 py-2 bg-linear-to-r from-blue-50 to-purple-50 rounded-lg border border-blue-200 flex items-center justify-between">
<div className="flex items-center gap-2">
{isLoading ? (
<>
@@ -1988,7 +1988,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
<div className="flex items-center gap-2">
<div className="flex items-center flex-1 bg-white border border-gray-300 rounded-xl px-3 py-1 min-h-[44px]">
{/* Left: attachment and code interpreter icons */}
- <div className="flex-shrink-0 mr-2 flex items-center gap-1">
+ <div className="shrink-0 mr-2 flex items-center gap-1">
{endpointType === EndpointType.RESPONSES && !responsesUploadedImage && (
<ResponsesImageUpload
responsesUploadedImage={responsesUploadedImage}
@@ -2116,7 +2116,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
? !uploadedAudio
: !inputMessage.trim())
}
- className="flex-shrink-0 ml-2 !w-8 !h-8 !min-w-8 !p-0 !rounded-full !bg-blue-600 hover:!bg-blue-700 disabled:!bg-gray-300 !border-none !text-white disabled:!text-gray-500 !flex !items-center !justify-center"
+ className="shrink-0 ml-2 w-8! h-8! min-w-8! p-0! rounded-full! bg-blue-600! hover:bg-blue-700! disabled:bg-gray-300! border-none! text-white! disabled:text-gray-500! flex! items-center! justify-center!"
>
<ArrowUpOutlined style={{ fontSize: "14px" }} />
</TremorButton>
@@ -2225,7 +2225,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
<li>The tool call is routed to the correct underlying MCP server automatically.</li>
</ol>
</div>
- <div className="bg-purple-50 border border-purple-200 rounded p-3">
+ <div className="bg-purple-50 border border-purple-200 rounded-sm p-3">
<p className="text-sm text-purple-800">
<strong>Example:</strong> A &quot;GitHub Read-only&quot; toolset might include only{" "}
<code>list_repos</code> and <code>get_file</code> from a GitHub MCP server — preventing agents from making
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/CodeInterpreterTool.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/CodeInterpreterTool.tsx
index abc21ab5f65..d2682e3a7a8 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/CodeInterpreterTool.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/CodeInterpreterTool.tsx
@@ -46,7 +46,7 @@ const CodeInterpreterTool: React.FC<CodeInterpreterToolProps> = ({
};
return (
- <div className="border border-gray-200 rounded-lg p-3 bg-gradient-to-r from-blue-50 to-purple-50">
+ <div className="border border-gray-200 rounded-lg p-3 bg-linear-to-r from-blue-50 to-purple-50">
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
<CodeOutlined className="text-blue-500" />
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ResponsesImageRenderer.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ResponsesImageRenderer.tsx
index d459d638c0a..185b2210e89 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ResponsesImageRenderer.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/ResponsesImageRenderer.tsx
@@ -24,7 +24,7 @@ const ResponsesImageRenderer: React.FC<ResponsesImageRendererProps> = ({ message
<img
src={message.imagePreviewUrl}
alt="User uploaded image"
- className="max-w-64 rounded-md border border-gray-200 shadow-sm"
+ className="max-w-64 rounded-md border border-gray-200 shadow-xs"
style={{ maxHeight: "200px" }}
/>
)}
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/SearchResultsDisplay.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/SearchResultsDisplay.tsx
index ba84fe95f80..9b32d196ea6 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/SearchResultsDisplay.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/SearchResultsDisplay.tsx
@@ -63,18 +63,18 @@ export function SearchResultsDisplay({ searchResults }: SearchResultsDisplayProp
>
<div className="flex items-center gap-2 flex-1 min-w-0">
<svg
- className={`w-4 h-4 text-gray-400 transition-transform flex-shrink-0 ${isResultExpanded ? "transform rotate-90" : ""}`}
+ className={`w-4 h-4 text-gray-400 transition-transform shrink-0 ${isResultExpanded ? "transform rotate-90" : ""}`}
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 5l7 7-7 7" />
</svg>
- <FileTextOutlined className="text-gray-400 flex-shrink-0" style={{ fontSize: "12px" }} />
+ <FileTextOutlined className="text-gray-400 shrink-0" style={{ fontSize: "12px" }} />
<span className="text-xs font-medium text-gray-700 truncate">
{result.filename || result.file_id || `Result ${resultIndex + 1}`}
</span>
- <span className="text-xs px-2 py-0.5 rounded bg-blue-100 text-blue-700 font-mono flex-shrink-0">
+ <span className="text-xs px-2 py-0.5 rounded-sm bg-blue-100 text-blue-700 font-mono shrink-0">
{result.score.toFixed(3)}
</span>
</div>
@@ -85,7 +85,7 @@ export function SearchResultsDisplay({ searchResults }: SearchResultsDisplayProp
<div className="p-3 space-y-2">
{result.content.map((content, contentIndex) => (
<div key={contentIndex}>
- <div className="text-xs font-mono bg-gray-50 p-2 rounded text-gray-800 whitespace-pre-wrap break-words">
+ <div className="text-xs font-mono bg-gray-50 p-2 rounded-sm text-gray-800 whitespace-pre-wrap wrap-break-word">
{content.text}
</div>
</div>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/SessionManagement.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/SessionManagement.tsx
index 87f9d797643..34f7d7b8407 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/SessionManagement.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat_ui/SessionManagement.tsx
@@ -87,7 +87,7 @@ const SessionManagement: React.FC<SessionManagementProps> = ({
title={
<div className="text-xs">
<div className="mb-1">Copy response ID to continue session:</div>
- <div className="bg-gray-800 text-gray-100 p-2 rounded font-mono text-xs whitespace-pre-wrap">
+ <div className="bg-gray-800 text-gray-100 p-2 rounded-sm font-mono text-xs whitespace-pre-wrap">
{`curl -X POST "your-proxy-url/v1/responses" \\
-H "Authorization: Bearer your-api-key" \\
-H "Content-Type: application/json" \\
@@ -102,7 +102,10 @@ const SessionManagement: React.FC<SessionManagementProps> = ({
}
overlayStyle={{ maxWidth: "500px" }}
>
- <button onClick={handleCopySessionId} className="ml-2 p-1 hover:bg-green-100 rounded transition-colors">
+ <button
+ onClick={handleCopySessionId}
+ className="ml-2 p-1 hover:bg-green-100 rounded-sm transition-colors"
+ >
<CopyOutlined style={{ fontSize: "12px" }} />
</button>
</Tooltip>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/CompareUI.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/CompareUI.tsx
index e41ee3ba8fa..65157206f21 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/CompareUI.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/CompareUI.tsx
@@ -689,7 +689,7 @@ export default function CompareUI({ accessToken, disabledPersonalKeyCreation }:
const showSuggestedPrompts = !hasMessages && !isAnyComparisonLoading && !hasAttachment;
return (
<div className="w-full h-full p-4 bg-white">
- <div className="rounded-2xl border border-gray-200 bg-white shadow-sm min-h-[calc(100vh-160px)] flex flex-col">
+ <div className="rounded-2xl border border-gray-200 bg-white shadow-xs min-h-[calc(100vh-160px)] flex flex-col">
<div className="border-b px-4 py-2">
<div className="flex flex-wrap items-center justify-between gap-3">
<div className="flex items-center gap-2">
@@ -746,7 +746,7 @@ export default function CompareUI({ accessToken, disabledPersonalKeyCreation }:
</div>
<div
- className="grid flex-1 min-h-0 auto-rows-[minmax(0,1fr)]"
+ className="grid flex-1 min-h-0 auto-rows-fr"
style={{
gridTemplateColumns: `repeat(${comparisons.length}, minmax(0, 1fr))`,
}}
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/ComparisonPanel.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/ComparisonPanel.tsx
index 6ddb5e27947..3f853f42dc7 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/ComparisonPanel.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/ComparisonPanel.tsx
@@ -95,7 +95,7 @@ export function ComparisonPanel({
{/* Close button in top right */}
<button
onClick={handleClosePopover}
- className="absolute top-0 right-0 p-1 hover:bg-gray-100 rounded transition-colors text-gray-500 hover:text-gray-700 z-10"
+ className="absolute top-0 right-0 p-1 hover:bg-gray-100 rounded-sm transition-colors text-gray-500 hover:text-gray-700 z-10"
>
<X size={14} />
</button>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/MessageDisplay.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/MessageDisplay.tsx
index 2e4868d3527..2f621bf29fb 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/MessageDisplay.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/MessageDisplay.tsx
@@ -49,7 +49,7 @@ export function MessageDisplay({ messages, isLoading }: MessageDisplayProps) {
const renderMessageBody = (message: MessageType) => (
<div
- className="whitespace-pre-wrap break-words"
+ className="whitespace-pre-wrap wrap-break-word"
style={{
wordWrap: "break-word",
overflowWrap: "break-word",
@@ -84,7 +84,7 @@ export function MessageDisplay({ messages, isLoading }: MessageDisplayProps) {
{String(children).replace(/\n$/, "")}
</SyntaxHighlighter>
) : (
- <code className={`${className} px-1.5 py-0.5 rounded bg-gray-100 text-sm font-mono`} {...props}>
+ <code className={`${className} px-1.5 py-0.5 rounded-sm bg-gray-100 text-sm font-mono`} {...props}>
{children}
</code>
);
@@ -127,7 +127,7 @@ export function MessageDisplay({ messages, isLoading }: MessageDisplayProps) {
<div className="flex items-center gap-2">
<span className="text-sm font-semibold text-gray-700">{displayModel}</span>
{assistantMessage.toolName && (
- <span className="rounded bg-gray-100 px-2 py-0.5 text-xs text-gray-600">
+ <span className="rounded-sm bg-gray-100 px-2 py-0.5 text-xs text-gray-600">
{assistantMessage.toolName}
</span>
)}
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/MessageInput.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/MessageInput.tsx
index 67036282b38..fae964b372a 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/MessageInput.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/compareUI/components/MessageInput.tsx
@@ -28,7 +28,7 @@ export function MessageInput({ value, onChange, onSend, disabled, hasAttachment,
return (
<div className="flex items-center gap-2">
<div className="flex items-center flex-1 bg-white border border-gray-300 rounded-xl px-3 py-1 min-h-[44px]">
- {uploadComponent && <div className="flex-shrink-0 mr-2">{uploadComponent}</div>}
+ {uploadComponent && <div className="shrink-0 mr-2">{uploadComponent}</div>}
<TextArea
value={value}
onChange={(e) => onChange(e.target.value)}
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/complianceUI/ComplianceUI.tsx b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/complianceUI/ComplianceUI.tsx
index cf619057c38..39346105f2a 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/playground/components/complianceUI/ComplianceUI.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/playground/components/complianceUI/ComplianceUI.tsx
@@ -696,9 +696,9 @@ export default function ComplianceUI({
return (
<div className="w-full h-full p-4 bg-white">
- <div className="rounded-2xl border border-gray-200 bg-white shadow-sm min-h-[calc(100vh-160px)] flex flex-col overflow-hidden">
+ <div className="rounded-2xl border border-gray-200 bg-white shadow-xs min-h-[calc(100vh-160px)] flex flex-col overflow-hidden">
{/* Top config */}
- <div className="flex-shrink-0 border-b border-gray-200 px-6 py-4">
+ <div className="shrink-0 border-b border-gray-200 px-6 py-4">
<div className="mb-3">
<h3 className="text-sm font-semibold text-gray-900">Test Configuration</h3>
<p className="text-xs text-gray-500 mt-0.5">Select policies, guardrails, or both to test against.</p>
@@ -719,7 +719,7 @@ export default function ComplianceUI({
)}
</div>
- <div className="flex flex-col items-center pt-6 flex-shrink-0">
+ <div className="flex flex-col items-center pt-6 shrink-0">
<div className="w-px h-4 bg-gray-200" />
<span className="text-[10px] font-medium text-gray-400 my-1">or</span>
<div className="w-px h-4 bg-gray-200" />
@@ -755,7 +755,7 @@ export default function ComplianceUI({
className="w-full flex items-center gap-2.5 px-3 py-2 text-sm text-left hover:bg-gray-50"
>
<div
- className={`w-4 h-4 rounded border flex items-center justify-center flex-shrink-0 ${selectedGuardrails.includes(g.id) ? "bg-blue-500 border-blue-500" : "border-gray-300"}`}
+ className={`w-4 h-4 rounded-sm border flex items-center justify-center shrink-0 ${selectedGuardrails.includes(g.id) ? "bg-blue-500 border-blue-500" : "border-gray-300"}`}
>
{selectedGuardrails.includes(g.id) && <Check className="w-3 h-3 text-white" />}
</div>
@@ -776,7 +776,7 @@ export default function ComplianceUI({
return (
<span
key={id}
- className="inline-flex items-center gap-1 text-[11px] bg-indigo-50 text-indigo-700 px-1.5 py-0.5 rounded font-medium"
+ className="inline-flex items-center gap-1 text-[11px] bg-indigo-50 text-indigo-700 px-1.5 py-0.5 rounded-sm font-medium"
>
{g?.name}
<button
@@ -794,7 +794,7 @@ export default function ComplianceUI({
)}
</div>
- <div className="flex flex-col gap-1.5 pt-6 flex-shrink-0">
+ <div className="flex flex-col gap-1.5 pt-6 shrink-0">
{isRunning ? (
<button
type="button"
@@ -837,7 +837,7 @@ export default function ComplianceUI({
{/* Panels */}
<div className="flex flex-1 min-h-0 overflow-hidden">
{/* Left: Prompt library */}
- <div className="w-[400px] flex-shrink-0 border-r border-gray-200 flex flex-col bg-white overflow-hidden">
+ <div className="w-[400px] shrink-0 border-r border-gray-200 flex flex-col bg-white overflow-hidden">
<div className="flex-1 overflow-y-auto min-h-0">
<div className="px-4 pt-4 pb-2">
<div className="flex items-center justify-between mb-2.5">
@@ -854,7 +854,7 @@ export default function ComplianceUI({
value={searchPrompt}
onChange={(e) => setSearchPrompt(e.target.value)}
placeholder="Search prompts..."
- className="w-full border border-gray-200 rounded-lg pl-8 pr-3 py-1.5 text-xs placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500/20 focus:border-blue-400"
+ className="w-full border border-gray-200 rounded-lg pl-8 pr-3 py-1.5 text-xs placeholder:text-gray-400 focus:outline-hidden focus:ring-2 focus:ring-blue-500/20 focus:border-blue-400"
/>
</div>
@@ -883,7 +883,7 @@ export default function ComplianceUI({
setShowAddPrompt(!showAddPrompt);
setShowCsvUpload(false);
}}
- className={`flex items-center gap-1 text-[11px] font-medium px-2 py-0.5 rounded transition-colors ${showAddPrompt ? "bg-blue-50 text-blue-600" : "text-gray-500 hover:bg-gray-100"}`}
+ className={`flex items-center gap-1 text-[11px] font-medium px-2 py-0.5 rounded-sm transition-colors ${showAddPrompt ? "bg-blue-50 text-blue-600" : "text-gray-500 hover:bg-gray-100"}`}
>
<Plus className="w-3 h-3" /> Add
</button>
@@ -893,7 +893,7 @@ export default function ComplianceUI({
setShowCsvUpload(!showCsvUpload);
setShowAddPrompt(false);
}}
- className={`flex items-center gap-1 text-[11px] font-medium px-2 py-0.5 rounded transition-colors ${showCsvUpload ? "bg-blue-50 text-blue-600" : "text-gray-500 hover:bg-gray-100"}`}
+ className={`flex items-center gap-1 text-[11px] font-medium px-2 py-0.5 rounded-sm transition-colors ${showCsvUpload ? "bg-blue-50 text-blue-600" : "text-gray-500 hover:bg-gray-100"}`}
>
<Upload className="w-3 h-3" /> CSV
</button>
@@ -908,21 +908,21 @@ export default function ComplianceUI({
onChange={(e) => setNewPromptText(e.target.value)}
placeholder="Enter your test prompt..."
rows={2}
- className="w-full border border-gray-200 rounded px-2.5 py-1.5 text-xs text-gray-700 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500/20 focus:border-blue-400 resize-none bg-white"
+ className="w-full border border-gray-200 rounded-sm px-2.5 py-1.5 text-xs text-gray-700 placeholder:text-gray-400 focus:outline-hidden focus:ring-2 focus:ring-blue-500/20 focus:border-blue-400 resize-none bg-white"
/>
<div className="flex items-center justify-between mt-2">
<div className="flex items-center gap-2">
<button
type="button"
onClick={() => setNewPromptExpected("fail")}
- className={`text-[10px] font-semibold px-2 py-0.5 rounded ${newPromptExpected === "fail" ? "bg-red-100 text-red-700" : "bg-gray-100 text-gray-500"}`}
+ className={`text-[10px] font-semibold px-2 py-0.5 rounded-sm ${newPromptExpected === "fail" ? "bg-red-100 text-red-700" : "bg-gray-100 text-gray-500"}`}
>
Should Fail
</button>
<button
type="button"
onClick={() => setNewPromptExpected("pass")}
- className={`text-[10px] font-semibold px-2 py-0.5 rounded ${newPromptExpected === "pass" ? "bg-green-100 text-green-700" : "bg-gray-100 text-gray-500"}`}
+ className={`text-[10px] font-semibold px-2 py-0.5 rounded-sm ${newPromptExpected === "pass" ? "bg-green-100 text-green-700" : "bg-gray-100 text-gray-500"}`}
>
Should Pass
</button>
@@ -942,7 +942,7 @@ export default function ComplianceUI({
type="button"
onClick={addCustomPrompt}
disabled={!newPromptText.trim()}
- className={`text-[11px] font-medium px-2.5 py-1 rounded ${newPromptText.trim() ? "bg-blue-600 text-white" : "bg-gray-100 text-gray-400"}`}
+ className={`text-[11px] font-medium px-2.5 py-1 rounded-sm ${newPromptText.trim() ? "bg-blue-600 text-white" : "bg-gray-100 text-gray-400"}`}
>
Add
</button>
@@ -964,17 +964,17 @@ export default function ComplianceUI({
</button>
</div>
- <div className="mb-2 p-2 bg-white rounded border border-gray-200">
+ <div className="mb-2 p-2 bg-white rounded-sm border border-gray-200">
<p className="text-[10px] text-gray-500 leading-relaxed">
<span className="font-semibold text-gray-600">Required columns:</span>{" "}
- <code className="bg-gray-100 px-1 rounded text-[10px]">prompt</code>,{" "}
- <code className="bg-gray-100 px-1 rounded text-[10px]">expected_result</code>{" "}
+ <code className="bg-gray-100 px-1 rounded-sm text-[10px]">prompt</code>,{" "}
+ <code className="bg-gray-100 px-1 rounded-sm text-[10px]">expected_result</code>{" "}
<span className="text-gray-400">(fail or pass)</span>
</p>
<p className="text-[10px] text-gray-500 leading-relaxed mt-0.5">
<span className="font-semibold text-gray-600">Optional columns:</span>{" "}
- <code className="bg-gray-100 px-1 rounded text-[10px]">framework</code>,{" "}
- <code className="bg-gray-100 px-1 rounded text-[10px]">category</code>
+ <code className="bg-gray-100 px-1 rounded-sm text-[10px]">framework</code>,{" "}
+ <code className="bg-gray-100 px-1 rounded-sm text-[10px]">category</code>
</p>
</div>
@@ -997,7 +997,7 @@ export default function ComplianceUI({
</button>
{csvError && (
- <div className="mt-2 p-2 bg-red-50 border border-red-200 rounded text-[10px] text-red-600 whitespace-pre-line">
+ <div className="mt-2 p-2 bg-red-50 border border-red-200 rounded-sm text-[10px] text-red-600 whitespace-pre-line">
{csvError}
</div>
)}
@@ -1033,11 +1033,11 @@ export default function ComplianceUI({
className="w-full flex items-center gap-2 px-3 py-2.5 text-left bg-gray-50 hover:bg-gray-100 transition-colors rounded-lg border border-gray-200"
>
{isExpanded ? (
- <ChevronDown className="w-4 h-4 text-gray-400 flex-shrink-0" />
+ <ChevronDown className="w-4 h-4 text-gray-400 shrink-0" />
) : (
- <ChevronRight className="w-4 h-4 text-gray-400 flex-shrink-0" />
+ <ChevronRight className="w-4 h-4 text-gray-400 shrink-0" />
)}
- <CategoryIcon iconKey={fw.icon} className="w-4 h-4 text-gray-500 flex-shrink-0" />
+ <CategoryIcon iconKey={fw.icon} className="w-4 h-4 text-gray-500 shrink-0" />
<div className="flex-1 min-w-0">
<span className="text-xs font-semibold text-gray-900">{fw.name}</span>
<span className="text-[10px] text-gray-400 ml-1.5">{fwPromptCount} prompts</span>
@@ -1053,7 +1053,7 @@ export default function ComplianceUI({
e.stopPropagation();
toggleFrameworkPrompts(fw);
}}
- className="text-[10px] font-medium text-blue-600 hover:text-blue-700 px-1.5 py-0.5 rounded hover:bg-blue-50 flex-shrink-0"
+ className="text-[10px] font-medium text-blue-600 hover:text-blue-700 px-1.5 py-0.5 rounded-sm hover:bg-blue-50 shrink-0"
>
{fwSelectedCount === fwPromptCount ? "Clear" : "All"}
</button>
@@ -1076,21 +1076,19 @@ export default function ComplianceUI({
className="w-full flex items-center gap-1.5 px-2.5 py-2 text-left hover:bg-gray-50 transition-colors"
>
{isCatExpanded ? (
- <ChevronDown className="w-3.5 h-3.5 text-gray-400 flex-shrink-0" />
+ <ChevronDown className="w-3.5 h-3.5 text-gray-400 shrink-0" />
) : (
- <ChevronRight className="w-3.5 h-3.5 text-gray-400 flex-shrink-0" />
+ <ChevronRight className="w-3.5 h-3.5 text-gray-400 shrink-0" />
)}
- <span className="text-sm flex-shrink-0">
+ <span className="text-sm shrink-0">
<CategoryIcon iconKey={category.icon} className="w-3.5 h-3.5 text-gray-500" />
</span>
<span className="text-[11px] font-medium text-gray-700 flex-1 min-w-0 truncate">
{category.name}
</span>
- <span className="text-[10px] text-gray-400 flex-shrink-0">
- {category.prompts.length}
- </span>
+ <span className="text-[10px] text-gray-400 shrink-0">{category.prompts.length}</span>
{selectedInCat > 0 && (
- <span className="text-[9px] font-medium bg-blue-100 text-blue-700 px-1 py-0.5 rounded-full flex-shrink-0">
+ <span className="text-[9px] font-medium bg-blue-100 text-blue-700 px-1 py-0.5 rounded-full shrink-0">
{selectedInCat}
</span>
)}
@@ -1105,7 +1103,7 @@ export default function ComplianceUI({
<button
type="button"
onClick={() => toggleCategoryPrompts(category)}
- className="text-[10px] font-medium text-blue-600 hover:text-blue-700 flex-shrink-0 whitespace-nowrap"
+ className="text-[10px] font-medium text-blue-600 hover:text-blue-700 shrink-0 whitespace-nowrap"
>
{allCatSelected ? "Clear" : "Select all"}
</button>
@@ -1119,12 +1117,12 @@ export default function ComplianceUI({
type="checkbox"
checked={selectedPromptIds.has(prompt.id)}
onChange={() => togglePrompt(prompt.id)}
- className="mt-0.5 w-3.5 h-3.5 rounded border-gray-300 text-blue-600 focus:ring-blue-500/20 flex-shrink-0"
+ className="mt-0.5 w-3.5 h-3.5 rounded-sm border-gray-300 text-blue-600 focus:ring-blue-500/20 shrink-0"
/>
<div className="flex-1 min-w-0">
<p className="text-[11px] text-gray-700 leading-relaxed">{prompt.prompt}</p>
<span
- className={`inline-block mt-0.5 text-[9px] font-semibold px-1 py-0.5 rounded ${prompt.expectedResult === "fail" ? "bg-red-50 text-red-600" : "bg-green-50 text-green-600"}`}
+ className={`inline-block mt-0.5 text-[9px] font-semibold px-1 py-0.5 rounded-sm ${prompt.expectedResult === "fail" ? "bg-red-50 text-red-600" : "bg-green-50 text-green-600"}`}
>
{prompt.expectedResult === "fail" ? "Should Fail" : "Should Pass"}
</span>
@@ -1137,7 +1135,7 @@ export default function ComplianceUI({
e.stopPropagation();
deleteCustomPrompt(prompt.id);
}}
- className="opacity-0 group-hover:opacity-100 p-0.5 text-gray-400 hover:text-red-500 transition-all flex-shrink-0"
+ className="opacity-0 group-hover:opacity-100 p-0.5 text-gray-400 hover:text-red-500 transition-all shrink-0"
aria-label="Delete"
>
<Trash2 className="w-3 h-3" />
@@ -1161,7 +1159,7 @@ export default function ComplianceUI({
{/* Right panel */}
<div className="flex-1 flex flex-col bg-gray-50 overflow-hidden min-w-0">
- <div className="flex-shrink-0 bg-white border-b border-gray-200 px-4">
+ <div className="shrink-0 bg-white border-b border-gray-200 px-4">
<div className="flex items-center gap-0">
<button
type="button"
@@ -1193,12 +1191,15 @@ export default function ComplianceUI({
{rightTab === "quick-test" && (
<div className="flex-1 flex flex-col overflow-hidden min-h-0">
- <div className="px-5 pt-4 pb-2 flex-shrink-0">
+ <div className="px-5 pt-4 pb-2 shrink-0">
{hasAnyConfig ? (
<div className="flex items-center gap-2 flex-wrap">
<span className="text-[11px] font-medium text-gray-500">Testing against:</span>
{selectedPolicies.map((id) => (
- <span key={id} className="text-[11px] bg-blue-50 text-blue-700 px-2 py-0.5 rounded font-medium">
+ <span
+ key={id}
+ className="text-[11px] bg-blue-50 text-blue-700 px-2 py-0.5 rounded-sm font-medium"
+ >
{policyValueToLabel.get(id) ?? id}
</span>
))}
@@ -1207,7 +1208,7 @@ export default function ComplianceUI({
return (
<span
key={id}
- className="text-[11px] bg-indigo-50 text-indigo-700 px-2 py-0.5 rounded font-medium"
+ className="text-[11px] bg-indigo-50 text-indigo-700 px-2 py-0.5 rounded-sm font-medium"
>
{g?.name}
</span>
@@ -1272,7 +1273,7 @@ export default function ComplianceUI({
<div ref={messagesEndRef} />
</div>
- <div className="flex-shrink-0 px-5 pb-4">
+ <div className="shrink-0 px-5 pb-4">
<div className="border border-gray-200 rounded-lg bg-white overflow-hidden focus-within:ring-2 focus-within:ring-blue-500/20 focus-within:border-blue-400">
<textarea
ref={textareaRef}
@@ -1281,14 +1282,14 @@ export default function ComplianceUI({
onKeyDown={handleQuickTestKeyDown}
placeholder="Enter text to test..."
rows={3}
- className="w-full px-3 pt-3 pb-1 text-sm text-gray-700 placeholder:text-gray-400 focus:outline-none resize-none"
+ className="w-full px-3 pt-3 pb-1 text-sm text-gray-700 placeholder:text-gray-400 focus:outline-hidden resize-none"
/>
<div className="flex items-center justify-between px-3 pb-2">
<span className="text-[10px] text-gray-400">
- Press <kbd className="px-1 py-0.5 bg-gray-100 rounded text-[10px] font-mono">Enter</kbd> to
+ Press <kbd className="px-1 py-0.5 bg-gray-100 rounded-sm text-[10px] font-mono">Enter</kbd> to
submit ·{" "}
- <kbd className="px-1 py-0.5 bg-gray-100 rounded text-[10px] font-mono">Shift+Enter</kbd> for new
- line
+ <kbd className="px-1 py-0.5 bg-gray-100 rounded-sm text-[10px] font-mono">Shift+Enter</kbd> for
+ new line
</span>
<span className="text-[10px] text-gray-400 tabular-nums">{quickTestInput.length}</span>
</div>
@@ -1308,7 +1309,7 @@ export default function ComplianceUI({
{rightTab === "batch-results" && (
<div className="flex-1 flex flex-col overflow-hidden bg-white min-h-0">
- <div className="px-5 py-3 border-b border-gray-200 flex-shrink-0">
+ <div className="px-5 py-3 border-b border-gray-200 shrink-0">
<div className="flex items-center justify-between mb-2">
<h2 className="text-sm font-semibold text-gray-900">Results</h2>
{testResults.length > 0 && (
@@ -1317,7 +1318,7 @@ export default function ComplianceUI({
type="button"
onClick={exportBatchResults}
disabled={filteredResults.length === 0}
- className="flex items-center gap-1 text-[11px] font-medium text-gray-600 hover:text-gray-900 hover:bg-gray-100 px-2 py-1 rounded transition-colors disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:bg-transparent"
+ className="flex items-center gap-1 text-[11px] font-medium text-gray-600 hover:text-gray-900 hover:bg-gray-100 px-2 py-1 rounded-sm transition-colors disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:bg-transparent"
>
<Download className="w-3 h-3" /> Export CSV
</button>
@@ -1437,7 +1438,7 @@ export default function ComplianceUI({
>
<div className="p-2.5">
<div className="flex items-start gap-2">
- <div className="flex-shrink-0 mt-0.5">
+ <div className="shrink-0 mt-0.5">
{result.status !== "complete" ? (
<Loader2 className="w-3.5 h-3.5 text-gray-400 animate-spin" />
) : result.isMatch ? (
@@ -1454,13 +1455,13 @@ export default function ComplianceUI({
{result.category}
</span>
<span
- className={`text-[9px] font-semibold px-1 py-0.5 rounded ${result.expectedResult === "fail" ? "bg-red-50 text-red-600" : "bg-green-50 text-green-600"}`}
+ className={`text-[9px] font-semibold px-1 py-0.5 rounded-sm ${result.expectedResult === "fail" ? "bg-red-50 text-red-600" : "bg-green-50 text-green-600"}`}
>
{result.expectedResult === "fail" ? "Expect Block" : "Expect Allow"}
</span>
{result.status === "complete" && (
<span
- className={`text-[9px] font-bold px-1 py-0.5 rounded ${result.isMatch ? "bg-green-100 text-green-700" : "bg-red-100 text-red-700"}`}
+ className={`text-[9px] font-bold px-1 py-0.5 rounded-sm ${result.isMatch ? "bg-green-100 text-green-700" : "bg-red-100 text-red-700"}`}
>
{result.isMatch ? "✓ Match" : "✗ Gap"}
</span>
@@ -1478,7 +1479,7 @@ export default function ComplianceUI({
return next;
});
}}
- className="flex-shrink-0 p-0.5 text-gray-400 hover:text-gray-600"
+ className="shrink-0 p-0.5 text-gray-400 hover:text-gray-600"
aria-label={isExpanded ? "Collapse" : "Expand"}
>
{isExpanded ? (
@@ -1494,7 +1495,7 @@ export default function ComplianceUI({
{result.triggeredBy && (
<div>
<span className="text-gray-400">Triggered by:</span>{" "}
- <span className="font-medium text-gray-700 bg-gray-100 px-1.5 py-0.5 rounded">
+ <span className="font-medium text-gray-700 bg-gray-100 px-1.5 py-0.5 rounded-sm">
{result.triggeredBy}
</span>
</div>
@@ -1512,7 +1513,7 @@ export default function ComplianceUI({
{result.returnedText != null && result.returnedText !== "" && (
<div className="mt-1.5">
<span className="text-gray-400 block mb-0.5">LLM response:</span>
- <div className="text-gray-700 bg-gray-50 rounded px-2 py-1.5 border border-gray-100 max-h-32 overflow-y-auto whitespace-pre-wrap break-words">
+ <div className="text-gray-700 bg-gray-50 rounded-sm px-2 py-1.5 border border-gray-100 max-h-32 overflow-y-auto whitespace-pre-wrap wrap-break-word">
{result.returnedText}
</div>
</div>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/ModelConfigCard.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/ModelConfigCard.tsx
index 66ddb90bea3..81ce17a3299 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/ModelConfigCard.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/ModelConfigCard.tsx
@@ -40,7 +40,7 @@ const ModelConfigCard: React.FC<ModelConfigCardProps> = ({
</button>
{showConfig && (
- <div className="fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-30">
+ <div className="fixed inset-0 z-50 flex items-center justify-center bg-black/30">
<div className="bg-white rounded-lg shadow-xl p-6 w-96">
<div className="flex items-center justify-between mb-4">
<h3 className="text-lg font-semibold">Model Parameters</h3>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/PromptEditorHeader.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/PromptEditorHeader.tsx
index 01d19ab1b1f..e6c5361edef 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/PromptEditorHeader.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/PromptEditorHeader.tsx
@@ -53,7 +53,7 @@ const PromptEditorHeader: React.FC<PromptEditorHeaderProps> = ({
style={{ width: "200px" }}
/>
{version && (
- <span className="px-2 py-0.5 text-xs bg-blue-100 text-blue-700 rounded font-medium">{version}</span>
+ <span className="px-2 py-0.5 text-xs bg-blue-100 text-blue-700 rounded-sm font-medium">{version}</span>
)}
<Select
value={environment}
@@ -66,7 +66,7 @@ const PromptEditorHeader: React.FC<PromptEditorHeaderProps> = ({
{ label: "Production", value: "production" },
]}
/>
- <span className="px-2 py-0.5 text-xs bg-gray-100 text-gray-600 rounded">Draft</span>
+ <span className="px-2 py-0.5 text-xs bg-gray-100 text-gray-600 rounded-sm">Draft</span>
<span className="text-xs text-gray-400">Unsaved changes</span>
</div>
<div className="flex items-center space-x-2">
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/PromptMessagesCard.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/PromptMessagesCard.tsx
index ea9a0df0e50..98595ca36ea 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/PromptMessagesCard.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/PromptMessagesCard.tsx
@@ -53,7 +53,8 @@ const PromptMessagesCard: React.FC<PromptMessagesCardProps> = ({
<div className="mb-2">
<Text className="text-sm font-medium">Prompt messages</Text>
<Text className="text-gray-500 text-xs mt-1">
- Use <code className="bg-gray-100 px-1 rounded text-xs">{"{{variable}}"}</code> syntax for template variables
+ Use <code className="bg-gray-100 px-1 rounded-sm text-xs">{"{{variable}}"}</code> syntax for template
+ variables
</Text>
</div>
<div className="space-y-2">
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/ToolsCard.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/ToolsCard.tsx
index 969c9c84821..dc50496830f 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/ToolsCard.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/ToolsCard.tsx
@@ -27,7 +27,7 @@ const ToolsCard: React.FC<ToolsCardProps> = ({ tools, onAddTool, onEditTool, onR
{tools.map((tool, index) => (
<div
key={index}
- className="flex items-center justify-between p-2 bg-gray-50 border border-gray-200 rounded"
+ className="flex items-center justify-between p-2 bg-gray-50 border border-gray-200 rounded-sm"
>
<div className="flex-1 min-w-0">
<div className="font-medium text-xs truncate">{tool.name}</div>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/MessageBubble.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/MessageBubble.tsx
index 7d58465751e..4f9b6b7653e 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/MessageBubble.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/MessageBubble.tsx
@@ -14,7 +14,7 @@ const MessageBubble: React.FC<MessageBubbleProps> = ({ message }) => {
return (
<div className={`mb-4 flex ${message.role === "user" ? "justify-end" : "justify-start"}`}>
<div
- className="max-w-[85%] rounded-lg shadow-sm p-3.5 px-4"
+ className="max-w-[85%] rounded-lg shadow-xs p-3.5 px-4"
style={{
backgroundColor: message.role === "user" ? "#f0f8ff" : "#ffffff",
border: message.role === "user" ? "1px solid #e6f0fa" : "1px solid #f0f0f0",
@@ -35,12 +35,14 @@ const MessageBubble: React.FC<MessageBubbleProps> = ({ message }) => {
</div>
<strong className="text-sm capitalize">{message.role}</strong>
{message.role === "assistant" && message.model && (
- <span className="text-xs px-2 py-0.5 rounded bg-gray-100 text-gray-600 font-normal">{message.model}</span>
+ <span className="text-xs px-2 py-0.5 rounded-sm bg-gray-100 text-gray-600 font-normal">
+ {message.model}
+ </span>
)}
</div>
<div
- className="whitespace-pre-wrap break-words max-w-full message-content"
+ className="whitespace-pre-wrap wrap-break-word max-w-full message-content"
style={{
wordWrap: "break-word",
overflowWrap: "break-word",
@@ -76,7 +78,7 @@ const MessageBubble: React.FC<MessageBubbleProps> = ({ message }) => {
</SyntaxHighlighter>
) : (
<code
- className={`${className} px-1.5 py-0.5 rounded bg-gray-100 text-sm font-mono`}
+ className={`${className} px-1.5 py-0.5 rounded-sm bg-gray-100 text-sm font-mono`}
style={{ wordBreak: "break-word" }}
{...props}
>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/MessageInput.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/MessageInput.tsx
index 24024e136a2..2268c96dbfe 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/MessageInput.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/conversation_panel/MessageInput.tsx
@@ -49,7 +49,7 @@ const MessageInput: React.FC<MessageInputProps> = ({
<TremorButton
onClick={onSend}
disabled={isDisabled}
- className="flex-shrink-0 ml-2 !w-8 !h-8 !min-w-8 !p-0 !rounded-full !bg-blue-600 hover:!bg-blue-700 disabled:!bg-gray-300 !border-none !text-white disabled:!text-gray-500 !flex !items-center !justify-center"
+ className="shrink-0 ml-2 w-8! h-8! min-w-8! p-0! rounded-full! bg-blue-600! hover:bg-blue-700! disabled:bg-gray-300! border-none! text-white! disabled:text-gray-500! flex! items-center! justify-center!"
>
<ArrowUpOutlined style={{ fontSize: "14px" }} />
</TremorButton>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/index.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/index.tsx
index 046805c15b8..fa69a520145 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/index.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_editor_view/index.tsx
@@ -292,7 +292,7 @@ const PromptEditorView: React.FC<PromptEditorViewProps> = ({ onClose, onSuccess,
/>
<div className="flex-1 flex overflow-hidden">
- <div className="w-1/2 overflow-y-auto bg-white border-r border-gray-200 flex-shrink-0">
+ <div className="w-1/2 overflow-y-auto bg-white border-r border-gray-200 shrink-0">
<div className="border-b border-gray-200 bg-white px-6 py-4 flex items-center gap-3">
<ModelConfigCard
model={prompt.model}
@@ -317,7 +317,7 @@ const PromptEditorView: React.FC<PromptEditorViewProps> = ({ onClose, onSuccess,
<div className="ml-auto inline-flex items-center bg-gray-200 rounded-full p-0.5">
<button
className={`px-3 py-1 text-xs font-medium rounded-full transition-colors ${
- viewMode === "pretty" ? "bg-white text-gray-900 shadow-sm" : "text-gray-600"
+ viewMode === "pretty" ? "bg-white text-gray-900 shadow-xs" : "text-gray-600"
}`}
onClick={() => setViewMode("pretty")}
>
@@ -325,7 +325,7 @@ const PromptEditorView: React.FC<PromptEditorViewProps> = ({ onClose, onSuccess,
</button>
<button
className={`px-3 py-1 text-xs font-medium rounded-full transition-colors ${
- viewMode === "dotprompt" ? "bg-white text-gray-900 shadow-sm" : "text-gray-600"
+ viewMode === "dotprompt" ? "bg-white text-gray-900 shadow-xs" : "text-gray-600"
}`}
onClick={() => setViewMode("dotprompt")}
>
@@ -361,7 +361,7 @@ const PromptEditorView: React.FC<PromptEditorViewProps> = ({ onClose, onSuccess,
)}
</div>
- <div className="w-1/2 flex-shrink-0">
+ <div className="w-1/2 shrink-0">
<ConversationPanel prompt={prompt} accessToken={accessToken} />
</div>
</div>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_info.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_info.tsx
index f96445c1a20..a3ea5a54cda 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_info.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_info.tsx
@@ -444,7 +444,9 @@ const PromptInfoView: React.FC<PromptInfoProps> = ({ promptId, onClose, accessTo
<div className="space-y-4">
<div>
<Text className="font-medium">Template ID</Text>
- <div className="font-mono text-sm bg-gray-50 p-2 rounded">{promptTemplate.litellm_prompt_id}</div>
+ <div className="font-mono text-sm bg-gray-50 p-2 rounded-sm">
+ {promptTemplate.litellm_prompt_id}
+ </div>
</div>
<div>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_table.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_table.tsx
index dbdeaff5daf..94b242ca4ea 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_table.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/prompt_table.tsx
@@ -123,7 +123,7 @@ const PromptTable: React.FC<PromptTableProps> = ({
<Tooltip title={model}>
<div className="flex items-center space-x-2">
{/* Provider Icon */}
- <div className="flex-shrink-0">
+ <div className="shrink-0">
{provider && logo ? (
<img
src={logo}
@@ -195,7 +195,7 @@ const PromptTable: React.FC<PromptTableProps> = ({
development: "text-green-600 bg-green-50",
};
return (
- <span className={`text-xs px-2 py-0.5 rounded ${colorMap[env] || "text-gray-600 bg-gray-50"}`}>{env}</span>
+ <span className={`text-xs px-2 py-0.5 rounded-sm ${colorMap[env] || "text-gray-600 bg-gray-50"}`}>{env}</span>
);
},
},
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/tool_modal.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/tool_modal.tsx
index 1e1b1638998..e1c6b5db364 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/tool_modal.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/tool_modal.tsx
@@ -69,11 +69,11 @@ const ToolModal: React.FC<ToolModalProps> = ({ visible, initialJson, onSave, onC
]}
>
<div className="space-y-3">
- {error && <div className="p-3 bg-red-50 border border-red-200 rounded text-red-600 text-sm">{error}</div>}
+ {error && <div className="p-3 bg-red-50 border border-red-200 rounded-sm text-red-600 text-sm">{error}</div>}
<textarea
value={json}
onChange={(e) => setJson(e.target.value)}
- className="w-full min-h-[400px] px-4 py-3 border border-gray-300 rounded-lg text-sm font-mono focus:outline-none focus:ring-2 focus:ring-blue-500 resize-none"
+ className="w-full min-h-[400px] px-4 py-3 border border-gray-300 rounded-lg text-sm font-mono focus:outline-hidden focus:ring-2 focus:ring-blue-500 resize-none"
placeholder="Paste your tool JSON here..."
/>
</div>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/variable_textarea.tsx b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/variable_textarea.tsx
index e952ee71dbd..6035e543df1 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/variable_textarea.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/prompts/components/variable_textarea.tsx
@@ -104,7 +104,7 @@ const VariableTextArea: React.FC<VariableTextAreaProps> = ({ value, onChange, pl
<div className="flex gap-2 mt-2">
<button
onClick={handleVariableEdit}
- className="text-xs px-2 py-1 bg-blue-500 text-white rounded hover:bg-blue-600"
+ className="text-xs px-2 py-1 bg-blue-500 text-white rounded-sm hover:bg-blue-600"
>
Save
</button>
@@ -113,7 +113,7 @@ const VariableTextArea: React.FC<VariableTextAreaProps> = ({ value, onChange, pl
setEditingVariable(null);
setNewVariableName("");
}}
- className="text-xs px-2 py-1 bg-gray-200 text-gray-700 rounded hover:bg-gray-300"
+ className="text-xs px-2 py-1 bg-gray-200 text-gray-700 rounded-sm hover:bg-gray-300"
>
Cancel
</button>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/search-tools/_components/SearchToolTester.tsx b/ui/litellm-dashboard/src/app/(dashboard)/search-tools/_components/SearchToolTester.tsx
index 3c0582bdfab..2fe9f3b5b8c 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/search-tools/_components/SearchToolTester.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/search-tools/_components/SearchToolTester.tsx
@@ -241,7 +241,7 @@ export const SearchToolTester: React.FC<SearchToolTesterProps> = ({ searchToolNa
<Button
type="text"
size="small"
- className="flex-shrink-0"
+ className="shrink-0"
icon={
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/ui-theme/UIThemeSettings.tsx b/ui/litellm-dashboard/src/app/(dashboard)/ui-theme/UIThemeSettings.tsx
index 2b70a0e8c96..15a3de0f78b 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/ui-theme/UIThemeSettings.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/ui-theme/UIThemeSettings.tsx
@@ -116,7 +116,7 @@ const UIThemeSettings: React.FC<UIThemeSettingsProps> = ({ userID, userRole, acc
<Title className="text-2xl font-bold mb-2">UI Theme Customization</Title>
<Text className="text-gray-600">Customize your LiteLLM admin dashboard with a custom logo and favicon.</Text>
</div>
- <Card className="shadow-sm p-6">
+ <Card className="shadow-xs p-6">
<div className="space-y-6">
<div>
<Text className="text-sm font-medium text-gray-700 mb-2 block">Custom Logo URL</Text>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/users/_components/DefaultUserSettings.tsx b/ui/litellm-dashboard/src/app/(dashboard)/users/_components/DefaultUserSettings.tsx
index 8d36417f813..7fee2e14b27 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/users/_components/DefaultUserSettings.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/users/_components/DefaultUserSettings.tsx
@@ -375,7 +375,7 @@ const DefaultUserSettings: React.FC<DefaultUserSettingsProps> = ({
return (
<div className="flex flex-wrap gap-2 mt-1">
{value.map((model, index) => (
- <span key={index} className="px-2 py-1 bg-blue-100 rounded text-xs">
+ <span key={index} className="px-2 py-1 bg-blue-100 rounded-sm text-xs">
{getModelDisplayName(model)}
</span>
))}
@@ -390,7 +390,7 @@ const DefaultUserSettings: React.FC<DefaultUserSettingsProps> = ({
return (
<div className="flex flex-wrap gap-2 mt-1">
{value.map((item, index) => (
- <span key={index} className="px-2 py-1 bg-blue-100 rounded text-xs">
+ <span key={index} className="px-2 py-1 bg-blue-100 rounded-sm text-xs">
{typeof item === "object" ? JSON.stringify(item) : String(item)}
</span>
))}
@@ -398,7 +398,9 @@ const DefaultUserSettings: React.FC<DefaultUserSettingsProps> = ({
);
}
- return <pre className="bg-gray-100 p-2 rounded text-xs overflow-auto mt-1">{JSON.stringify(value, null, 2)}</pre>;
+ return (
+ <pre className="bg-gray-100 p-2 rounded-sm text-xs overflow-auto mt-1">{JSON.stringify(value, null, 2)}</pre>
+ );
}
return <span>{String(value)}</span>;
@@ -442,7 +444,7 @@ const DefaultUserSettings: React.FC<DefaultUserSettingsProps> = ({
{isEditing ? (
<div className="mt-2">{renderEditableField(key, property, value)}</div>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">{renderValue(key, value)}</div>
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">{renderValue(key, value)}</div>
)}
</div>
);
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/users/_components/view_users/table.tsx b/ui/litellm-dashboard/src/app/(dashboard)/users/_components/view_users/table.tsx
index 9391ca413f5..1ba09243a08 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/users/_components/view_users/table.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/users/_components/view_users/table.tsx
@@ -212,7 +212,7 @@ export function UserDataTable({
}
return (
- <div className="bg-white rounded-lg shadow">
+ <div className="bg-white rounded-lg shadow-sm">
{/* Filter Section */}
<div className="border-b px-6 py-4">
<div className="flex flex-col space-y-4">
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/users/_components/view_users/user_info_view.tsx b/ui/litellm-dashboard/src/app/(dashboard)/users/_components/view_users/user_info_view.tsx
index 29e3474dd0a..4692b71c24a 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/users/_components/view_users/user_info_view.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/users/_components/view_users/user_info_view.tsx
@@ -583,7 +583,7 @@ export default function UserInfoView({
<div className="flex flex-wrap gap-2 mt-1">
{userData.models?.length && userData.models?.length > 0 ? (
userData.models?.map((model, index) => (
- <span key={index} className="px-2 py-1 bg-blue-100 rounded text-xs">
+ <span key={index} className="px-2 py-1 bg-blue-100 rounded-sm text-xs">
{model}
</span>
))
@@ -609,7 +609,7 @@ export default function UserInfoView({
<div>
<Text className="font-medium">Metadata</Text>
- <pre className="bg-gray-100 p-2 rounded text-xs overflow-auto mt-1">
+ <pre className="bg-gray-100 p-2 rounded-sm text-xs overflow-auto mt-1">
{JSON.stringify(userData.metadata || {}, null, 2)}
</pre>
</div>
diff --git a/ui/litellm-dashboard/src/app/globals.css b/ui/litellm-dashboard/src/app/globals.css
index 0d453e284ef..3f38b6b0831 100644
--- a/ui/litellm-dashboard/src/app/globals.css
+++ b/ui/litellm-dashboard/src/app/globals.css
@@ -1,36 +1,215 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@layer theme, base, antd, components, utilities;
+
+@import "tailwindcss";
+@import "tw-animate-css";
+@import "./tremor-v3-compat.css" layer(utilities);
+
+@source '../../node_modules/@tremor/react';
+
+@plugin '@headlessui/tailwindcss';
+@plugin '@tailwindcss/forms';
+
+@custom-variant dark (&:where(.dark, .dark *));
:root {
- --foreground-rgb: 0, 0, 0;
- --background-start-rgb: 255, 255, 255;
- --background-end-rgb: 255, 255, 255;
+ --radius: 0.5rem;
+ --background: oklch(1 0 0);
+ --foreground: oklch(0.13 0.028 261.692);
+ --card: oklch(1 0 0);
+ --card-foreground: oklch(0.13 0.028 261.692);
+ --popover: oklch(1 0 0);
+ --popover-foreground: oklch(0.13 0.028 261.692);
+ --primary: oklch(0.21 0.034 264.665);
+ --primary-foreground: oklch(0.985 0.002 247.839);
+ --secondary: oklch(0.967 0.003 264.542);
+ --secondary-foreground: oklch(0.21 0.034 264.665);
+ --muted: oklch(0.967 0.003 264.542);
+ --muted-foreground: oklch(0.551 0.027 264.364);
+ --accent: oklch(0.967 0.003 264.542);
+ --accent-foreground: oklch(0.21 0.034 264.665);
+ --destructive: oklch(0.577 0.245 27.325);
+ --border: oklch(0.928 0.006 264.531);
+ --input: oklch(0.928 0.006 264.531);
+ --ring: oklch(0.707 0.022 261.325);
+ --chart-1: oklch(0.646 0.222 41.116);
+ --chart-2: oklch(0.6 0.118 184.704);
+ --chart-3: oklch(0.398 0.07 227.392);
+ --chart-4: oklch(0.828 0.189 84.429);
+ --chart-5: oklch(0.769 0.188 70.08);
+ --sidebar: oklch(0.985 0.002 247.839);
+ --sidebar-foreground: oklch(0.13 0.028 261.692);
+ --sidebar-primary: oklch(0.21 0.034 264.665);
+ --sidebar-primary-foreground: oklch(0.985 0.002 247.839);
+ --sidebar-accent: oklch(0.967 0.003 264.542);
+ --sidebar-accent-foreground: oklch(0.21 0.034 264.665);
+ --sidebar-border: oklch(0.928 0.006 264.531);
+ --sidebar-ring: oklch(0.707 0.022 261.325);
--neutral-border: #dcddeb;
}
-/* @media (prefers-color-scheme: dark) {
- :root {
- --foreground-rgb: 255, 255, 255;
- --background-start-rgb: 0, 0, 0;
- --background-end-rgb: 0, 0, 0;
- }
-} */
+.dark {
+ --background: oklch(0.13 0.028 261.692);
+ --foreground: oklch(0.985 0.002 247.839);
+ --card: oklch(0.21 0.034 264.665);
+ --card-foreground: oklch(0.985 0.002 247.839);
+ --popover: oklch(0.21 0.034 264.665);
+ --popover-foreground: oklch(0.985 0.002 247.839);
+ --primary: oklch(0.928 0.006 264.531);
+ --primary-foreground: oklch(0.21 0.034 264.665);
+ --secondary: oklch(0.278 0.033 256.848);
+ --secondary-foreground: oklch(0.985 0.002 247.839);
+ --muted: oklch(0.278 0.033 256.848);
+ --muted-foreground: oklch(0.707 0.022 261.325);
+ --accent: oklch(0.278 0.033 256.848);
+ --accent-foreground: oklch(0.985 0.002 247.839);
+ --destructive: oklch(0.704 0.191 22.216);
+ --border: oklch(1 0 0 / 10%);
+ --input: oklch(1 0 0 / 15%);
+ --ring: oklch(0.551 0.027 264.364);
+ --chart-1: oklch(0.488 0.243 264.376);
+ --chart-2: oklch(0.696 0.17 162.48);
+ --chart-3: oklch(0.769 0.188 70.08);
+ --chart-4: oklch(0.627 0.265 303.9);
+ --chart-5: oklch(0.645 0.246 16.439);
+ --sidebar: oklch(0.21 0.034 264.665);
+ --sidebar-foreground: oklch(0.985 0.002 247.839);
+ --sidebar-primary: oklch(0.488 0.243 264.376);
+ --sidebar-primary-foreground: oklch(0.985 0.002 247.839);
+ --sidebar-accent: oklch(0.278 0.033 256.848);
+ --sidebar-accent-foreground: oklch(0.985 0.002 247.839);
+ --sidebar-border: oklch(1 0 0 / 10%);
+ --sidebar-ring: oklch(0.551 0.027 264.364);
+}
-body {
- color: rgb(var(--foreground-rgb));
- background: linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb));
+@theme inline {
+ --radius-sm: calc(var(--radius) - 4px);
+ --radius-md: calc(var(--radius) - 2px);
+ --radius-lg: var(--radius);
+ --radius-xl: calc(var(--radius) + 4px);
+ --color-background: var(--background);
+ --color-foreground: var(--foreground);
+ --color-card: var(--card);
+ --color-card-foreground: var(--card-foreground);
+ --color-popover: var(--popover);
+ --color-popover-foreground: var(--popover-foreground);
+ --color-primary: var(--primary);
+ --color-primary-foreground: var(--primary-foreground);
+ --color-secondary: var(--secondary);
+ --color-secondary-foreground: var(--secondary-foreground);
+ --color-muted: var(--muted);
+ --color-muted-foreground: var(--muted-foreground);
+ --color-accent: var(--accent);
+ --color-accent-foreground: var(--accent-foreground);
+ --color-destructive: var(--destructive);
+ --color-border: var(--border);
+ --color-input: var(--input);
+ --color-ring: var(--ring);
+ --color-chart-1: var(--chart-1);
+ --color-chart-2: var(--chart-2);
+ --color-chart-3: var(--chart-3);
+ --color-chart-4: var(--chart-4);
+ --color-chart-5: var(--chart-5);
+ --color-sidebar: var(--sidebar);
+ --color-sidebar-foreground: var(--sidebar-foreground);
+ --color-sidebar-primary: var(--sidebar-primary);
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
+ --color-sidebar-accent: var(--sidebar-accent);
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
+ --color-sidebar-border: var(--sidebar-border);
+ --color-sidebar-ring: var(--sidebar-ring);
}
-@layer utilities {
- .text-balance {
- text-wrap: balance;
+@theme {
+ --color-tremor-brand-muted: #8688ef;
+ --color-tremor-brand-subtle: #8e91eb;
+ --color-tremor-brand: #6366f1;
+ --color-tremor-brand-emphasis: #4338ca;
+ --color-tremor-brand-inverted: #ffffff;
+ --color-tremor-background-muted: #f9fafb;
+ --color-tremor-background-subtle: #f3f4f6;
+ --color-tremor-background: #ffffff;
+ --color-tremor-background-emphasis: #374151;
+ --color-tremor-border: #e5e7eb;
+ --color-tremor-ring: #e5e7eb;
+ --color-tremor-content-subtle: #9ca3af;
+ --color-tremor-content: #6b7280;
+ --color-tremor-content-emphasis: #374151;
+ --color-tremor-content-strong: #111827;
+ --color-tremor-content-inverted: #ffffff;
+
+ --color-dark-tremor-brand-faint: #0b1229;
+ --color-dark-tremor-brand-muted: #1e1b4b;
+ --color-dark-tremor-brand-subtle: #3730a3;
+ --color-dark-tremor-brand: #6366f1;
+ --color-dark-tremor-brand-emphasis: #818cf8;
+ --color-dark-tremor-brand-inverted: #1e1b4b;
+ --color-dark-tremor-background-muted: #131a2b;
+ --color-dark-tremor-background-subtle: #1f2937;
+ --color-dark-tremor-background: #111827;
+ --color-dark-tremor-background-emphasis: #d1d5db;
+ --color-dark-tremor-border: #374151;
+ --color-dark-tremor-ring: #1f2937;
+ --color-dark-tremor-content-subtle: #4b5563;
+ --color-dark-tremor-content: #6b7280;
+ --color-dark-tremor-content-emphasis: #e5e7eb;
+ --color-dark-tremor-content-strong: #f9fafb;
+ --color-dark-tremor-content-inverted: #030712;
+
+ --shadow-tremor-input: 0 1px 2px 0 rgb(0 0 0 / 0.05);
+ --shadow-tremor-card: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
+ --shadow-tremor-dropdown: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
+ --shadow-dark-tremor-input: 0 1px 2px 0 rgb(0 0 0 / 0.05);
+ --shadow-dark-tremor-card: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
+ --shadow-dark-tremor-dropdown: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
+
+ --radius-tremor-small: 0.375rem;
+ --radius-tremor-default: 0.5rem;
+ --radius-tremor-full: 9999px;
+
+ --text-tremor-label: 0.75rem;
+ --text-tremor-label--line-height: 0.3rem;
+ --text-tremor-default: 0.775rem;
+ --text-tremor-default--line-height: 1.15rem;
+ --text-tremor-title: 1.025rem;
+ --text-tremor-title--line-height: 1.65rem;
+ --text-tremor-metric: 1.675rem;
+ --text-tremor-metric--line-height: 2.15rem;
+}
+
+@source inline("{,hover:,ui-selected:}{bg,text,border}-{slate,gray,zinc,neutral,stone,red,orange,amber,yellow,lime,green,emerald,teal,cyan,sky,blue,indigo,violet,purple,fuchsia,pink,rose}-{50,{100..900..100},950}");
+@source inline("{ring,stroke,fill}-{slate,gray,zinc,neutral,stone,red,orange,amber,yellow,lime,green,emerald,teal,cyan,sky,blue,indigo,violet,purple,fuchsia,pink,rose}-{50,{100..900..100},950}");
+
+@layer base {
+ *,
+ ::after,
+ ::before,
+ ::backdrop,
+ ::file-selector-button {
+ border-color: var(--color-border);
+ }
+
+ * {
+ outline-color: color-mix(in oklab, var(--color-ring) 50%, transparent);
+ }
+
+ button:not(:disabled),
+ [role="button"]:not(:disabled) {
+ cursor: pointer;
+ }
+
+ input::placeholder,
+ textarea::placeholder {
+ color: var(--color-gray-400);
+ }
+
+ body {
+ background-color: var(--color-background);
+ color: var(--color-foreground);
}
}
.table-wrapper {
overflow-x: scroll;
- /* max-width: 80%; */
margin: 0px 24px;
}
diff --git a/ui/litellm-dashboard/src/app/login/LoginPage.tsx b/ui/litellm-dashboard/src/app/login/LoginPage.tsx
index 6cf86dc0c5a..1d08e647196 100644
--- a/ui/litellm-dashboard/src/app/login/LoginPage.tsx
+++ b/ui/litellm-dashboard/src/app/login/LoginPage.tsx
@@ -162,7 +162,7 @@ function LoginPageContent() {
environment variable:
</Paragraph>
<Paragraph className="text-sm">
- <code className="bg-gray-100 px-1 py-0.5 rounded text-xs">DISABLE_ADMIN_UI=False</code>
+ <code className="bg-gray-100 px-1 py-0.5 rounded-sm text-xs">DISABLE_ADMIN_UI=False</code>
</Paragraph>
</>
}
@@ -194,9 +194,9 @@ function LoginPageContent() {
description={
<>
<Paragraph className="text-sm">
- By default, Username is <code className="bg-gray-100 px-1 py-0.5 rounded text-xs">admin</code> and
- Password is your set LiteLLM Proxy
- <code className="bg-gray-100 px-1 py-0.5 rounded text-xs">MASTER_KEY</code>.
+ By default, Username is <code className="bg-gray-100 px-1 py-0.5 rounded-sm text-xs">admin</code>{" "}
+ and Password is your set LiteLLM Proxy
+ <code className="bg-gray-100 px-1 py-0.5 rounded-sm text-xs">MASTER_KEY</code>.
</Paragraph>
<Paragraph className="text-sm">
Need to set UI credentials or SSO?{" "}
diff --git a/ui/litellm-dashboard/src/app/tremor-v3-compat.css b/ui/litellm-dashboard/src/app/tremor-v3-compat.css
new file mode 100644
index 00000000000..0ade5e4dd88
--- /dev/null
+++ b/ui/litellm-dashboard/src/app/tremor-v3-compat.css
@@ -0,0 +1,615 @@
+.bg-slate-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-slate-500) 10%, transparent);
+}
+
+.bg-slate-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-slate-500) 20%, transparent);
+}
+
+.bg-slate-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-slate-500) 40%, transparent);
+}
+
+.hover\:bg-slate-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-slate-500) 20%, transparent);
+}
+
+.group:hover .bg-slate-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-slate-500) 30%, transparent);
+}
+
+.ring-slate-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-slate-500) 20%, transparent);
+}
+
+.ring-slate-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-slate-300) 40%, transparent);
+}
+
+.bg-gray-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-gray-500) 10%, transparent);
+}
+
+.bg-gray-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-gray-500) 20%, transparent);
+}
+
+.bg-gray-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-gray-500) 40%, transparent);
+}
+
+.hover\:bg-gray-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-gray-500) 20%, transparent);
+}
+
+.group:hover .bg-gray-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-gray-500) 30%, transparent);
+}
+
+.ring-gray-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-gray-500) 20%, transparent);
+}
+
+.ring-gray-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-gray-300) 40%, transparent);
+}
+
+.bg-zinc-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-zinc-500) 10%, transparent);
+}
+
+.bg-zinc-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-zinc-500) 20%, transparent);
+}
+
+.bg-zinc-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-zinc-500) 40%, transparent);
+}
+
+.hover\:bg-zinc-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-zinc-500) 20%, transparent);
+}
+
+.group:hover .bg-zinc-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-zinc-500) 30%, transparent);
+}
+
+.ring-zinc-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-zinc-500) 20%, transparent);
+}
+
+.ring-zinc-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-zinc-300) 40%, transparent);
+}
+
+.bg-neutral-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-neutral-500) 10%, transparent);
+}
+
+.bg-neutral-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-neutral-500) 20%, transparent);
+}
+
+.bg-neutral-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-neutral-500) 40%, transparent);
+}
+
+.hover\:bg-neutral-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-neutral-500) 20%, transparent);
+}
+
+.group:hover .bg-neutral-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-neutral-500) 30%, transparent);
+}
+
+.ring-neutral-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-neutral-500) 20%, transparent);
+}
+
+.ring-neutral-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-neutral-300) 40%, transparent);
+}
+
+.bg-stone-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-stone-500) 10%, transparent);
+}
+
+.bg-stone-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-stone-500) 20%, transparent);
+}
+
+.bg-stone-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-stone-500) 40%, transparent);
+}
+
+.hover\:bg-stone-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-stone-500) 20%, transparent);
+}
+
+.group:hover .bg-stone-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-stone-500) 30%, transparent);
+}
+
+.ring-stone-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-stone-500) 20%, transparent);
+}
+
+.ring-stone-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-stone-300) 40%, transparent);
+}
+
+.bg-red-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-red-500) 10%, transparent);
+}
+
+.bg-red-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);
+}
+
+.bg-red-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-red-500) 40%, transparent);
+}
+
+.hover\:bg-red-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);
+}
+
+.group:hover .bg-red-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-red-500) 30%, transparent);
+}
+
+.ring-red-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);
+}
+
+.ring-red-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-red-300) 40%, transparent);
+}
+
+.bg-orange-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-orange-500) 10%, transparent);
+}
+
+.bg-orange-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-orange-500) 20%, transparent);
+}
+
+.bg-orange-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-orange-500) 40%, transparent);
+}
+
+.hover\:bg-orange-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-orange-500) 20%, transparent);
+}
+
+.group:hover .bg-orange-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-orange-500) 30%, transparent);
+}
+
+.ring-orange-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-orange-500) 20%, transparent);
+}
+
+.ring-orange-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-orange-300) 40%, transparent);
+}
+
+.bg-amber-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-amber-500) 10%, transparent);
+}
+
+.bg-amber-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-amber-500) 20%, transparent);
+}
+
+.bg-amber-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-amber-500) 40%, transparent);
+}
+
+.hover\:bg-amber-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-amber-500) 20%, transparent);
+}
+
+.group:hover .bg-amber-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-amber-500) 30%, transparent);
+}
+
+.ring-amber-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-amber-500) 20%, transparent);
+}
+
+.ring-amber-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-amber-300) 40%, transparent);
+}
+
+.bg-yellow-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-yellow-500) 10%, transparent);
+}
+
+.bg-yellow-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-yellow-500) 20%, transparent);
+}
+
+.bg-yellow-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-yellow-500) 40%, transparent);
+}
+
+.hover\:bg-yellow-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-yellow-500) 20%, transparent);
+}
+
+.group:hover .bg-yellow-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-yellow-500) 30%, transparent);
+}
+
+.ring-yellow-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-yellow-500) 20%, transparent);
+}
+
+.ring-yellow-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-yellow-300) 40%, transparent);
+}
+
+.bg-lime-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-lime-500) 10%, transparent);
+}
+
+.bg-lime-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-lime-500) 20%, transparent);
+}
+
+.bg-lime-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-lime-500) 40%, transparent);
+}
+
+.hover\:bg-lime-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-lime-500) 20%, transparent);
+}
+
+.group:hover .bg-lime-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-lime-500) 30%, transparent);
+}
+
+.ring-lime-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-lime-500) 20%, transparent);
+}
+
+.ring-lime-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-lime-300) 40%, transparent);
+}
+
+.bg-green-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-green-500) 10%, transparent);
+}
+
+.bg-green-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-green-500) 20%, transparent);
+}
+
+.bg-green-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-green-500) 40%, transparent);
+}
+
+.hover\:bg-green-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-green-500) 20%, transparent);
+}
+
+.group:hover .bg-green-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-green-500) 30%, transparent);
+}
+
+.ring-green-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-green-500) 20%, transparent);
+}
+
+.ring-green-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-green-300) 40%, transparent);
+}
+
+.bg-emerald-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-emerald-500) 10%, transparent);
+}
+
+.bg-emerald-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);
+}
+
+.bg-emerald-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-emerald-500) 40%, transparent);
+}
+
+.hover\:bg-emerald-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);
+}
+
+.group:hover .bg-emerald-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-emerald-500) 30%, transparent);
+}
+
+.ring-emerald-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-emerald-500) 20%, transparent);
+}
+
+.ring-emerald-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-emerald-300) 40%, transparent);
+}
+
+.bg-teal-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-teal-500) 10%, transparent);
+}
+
+.bg-teal-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
+}
+
+.bg-teal-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-teal-500) 40%, transparent);
+}
+
+.hover\:bg-teal-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
+}
+
+.group:hover .bg-teal-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-teal-500) 30%, transparent);
+}
+
+.ring-teal-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-teal-500) 20%, transparent);
+}
+
+.ring-teal-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-teal-300) 40%, transparent);
+}
+
+.bg-cyan-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-cyan-500) 10%, transparent);
+}
+
+.bg-cyan-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-cyan-500) 20%, transparent);
+}
+
+.bg-cyan-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-cyan-500) 40%, transparent);
+}
+
+.hover\:bg-cyan-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-cyan-500) 20%, transparent);
+}
+
+.group:hover .bg-cyan-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-cyan-500) 30%, transparent);
+}
+
+.ring-cyan-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-cyan-500) 20%, transparent);
+}
+
+.ring-cyan-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-cyan-300) 40%, transparent);
+}
+
+.bg-sky-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-sky-500) 10%, transparent);
+}
+
+.bg-sky-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-sky-500) 20%, transparent);
+}
+
+.bg-sky-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-sky-500) 40%, transparent);
+}
+
+.hover\:bg-sky-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-sky-500) 20%, transparent);
+}
+
+.group:hover .bg-sky-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-sky-500) 30%, transparent);
+}
+
+.ring-sky-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-sky-500) 20%, transparent);
+}
+
+.ring-sky-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-sky-300) 40%, transparent);
+}
+
+.bg-blue-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-blue-500) 10%, transparent);
+}
+
+.bg-blue-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-blue-500) 20%, transparent);
+}
+
+.bg-blue-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-blue-500) 40%, transparent);
+}
+
+.hover\:bg-blue-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-blue-500) 20%, transparent);
+}
+
+.group:hover .bg-blue-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-blue-500) 30%, transparent);
+}
+
+.ring-blue-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-blue-500) 20%, transparent);
+}
+
+.ring-blue-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-blue-300) 40%, transparent);
+}
+
+.bg-indigo-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-indigo-500) 10%, transparent);
+}
+
+.bg-indigo-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);
+}
+
+.bg-indigo-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-indigo-500) 40%, transparent);
+}
+
+.hover\:bg-indigo-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);
+}
+
+.group:hover .bg-indigo-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-indigo-500) 30%, transparent);
+}
+
+.ring-indigo-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-indigo-500) 20%, transparent);
+}
+
+.ring-indigo-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-indigo-300) 40%, transparent);
+}
+
+.bg-violet-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-violet-500) 10%, transparent);
+}
+
+.bg-violet-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-violet-500) 20%, transparent);
+}
+
+.bg-violet-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-violet-500) 40%, transparent);
+}
+
+.hover\:bg-violet-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-violet-500) 20%, transparent);
+}
+
+.group:hover .bg-violet-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-violet-500) 30%, transparent);
+}
+
+.ring-violet-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-violet-500) 20%, transparent);
+}
+
+.ring-violet-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-violet-300) 40%, transparent);
+}
+
+.bg-purple-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-purple-500) 10%, transparent);
+}
+
+.bg-purple-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-purple-500) 20%, transparent);
+}
+
+.bg-purple-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-purple-500) 40%, transparent);
+}
+
+.hover\:bg-purple-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-purple-500) 20%, transparent);
+}
+
+.group:hover .bg-purple-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-purple-500) 30%, transparent);
+}
+
+.ring-purple-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-purple-500) 20%, transparent);
+}
+
+.ring-purple-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-purple-300) 40%, transparent);
+}
+
+.bg-fuchsia-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-fuchsia-500) 10%, transparent);
+}
+
+.bg-fuchsia-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-fuchsia-500) 20%, transparent);
+}
+
+.bg-fuchsia-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-fuchsia-500) 40%, transparent);
+}
+
+.hover\:bg-fuchsia-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-fuchsia-500) 20%, transparent);
+}
+
+.group:hover .bg-fuchsia-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-fuchsia-500) 30%, transparent);
+}
+
+.ring-fuchsia-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-fuchsia-500) 20%, transparent);
+}
+
+.ring-fuchsia-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-fuchsia-300) 40%, transparent);
+}
+
+.bg-pink-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-pink-500) 10%, transparent);
+}
+
+.bg-pink-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-pink-500) 20%, transparent);
+}
+
+.bg-pink-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-pink-500) 40%, transparent);
+}
+
+.hover\:bg-pink-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-pink-500) 20%, transparent);
+}
+
+.group:hover .bg-pink-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-pink-500) 30%, transparent);
+}
+
+.ring-pink-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-pink-500) 20%, transparent);
+}
+
+.ring-pink-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-pink-300) 40%, transparent);
+}
+
+.bg-rose-500.bg-opacity-10 {
+ background-color: color-mix(in oklab, var(--color-rose-500) 10%, transparent);
+}
+
+.bg-rose-500.bg-opacity-20 {
+ background-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);
+}
+
+.bg-rose-500.bg-opacity-40 {
+ background-color: color-mix(in oklab, var(--color-rose-500) 40%, transparent);
+}
+
+.hover\:bg-rose-500.hover\:bg-opacity-20:hover {
+ background-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);
+}
+
+.group:hover .bg-rose-500.group-hover\:bg-opacity-30 {
+ background-color: color-mix(in oklab, var(--color-rose-500) 30%, transparent);
+}
+
+.ring-rose-500.ring-opacity-20 {
+ --tw-ring-color: color-mix(in oklab, var(--color-rose-500) 20%, transparent);
+}
+
+.ring-rose-300.ring-opacity-40 {
+ --tw-ring-color: color-mix(in oklab, var(--color-rose-300) 40%, transparent);
+}
diff --git a/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.tsx b/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.tsx
index 56999cd1a83..9f77786635f 100644
--- a/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.tsx
+++ b/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.tsx
@@ -410,11 +410,11 @@ const ModelHubTable: React.FC<ModelHubTableProps> = ({ accessToken, publicPage,
</div>
<div className="flex items-center space-x-4">
<Text>Model Hub URL:</Text>
- <div className="flex items-center bg-gray-200 px-2 py-1 rounded">
+ <div className="flex items-center bg-gray-200 px-2 py-1 rounded-sm">
<Text className="mr-2">{`${getProxyBaseUrl()}/ui/model_hub_table`}</Text>
<button
onClick={() => copyToClipboard(`${getProxyBaseUrl()}/ui/model_hub_table`)}
- className="p-1 hover:bg-gray-300 rounded transition-colors"
+ className="p-1 hover:bg-gray-300 rounded-sm transition-colors"
title="Copy URL"
>
<Copy size={16} className="text-gray-600" />
@@ -563,7 +563,7 @@ const ModelHubTable: React.FC<ModelHubTableProps> = ({ accessToken, publicPage,
<div className="pt-5 pb-5">
<div className="flex justify-between mb-4">
<Text className="text-base mr-2">Shareable Link:</Text>
- <Text className="max-w-sm ml-2 bg-gray-200 pr-2 pl-2 pt-1 pb-1 text-center rounded">
+ <Text className="max-w-sm ml-2 bg-gray-200 pr-2 pl-2 pt-1 pb-1 text-center rounded-sm">
{`${getProxyBaseUrl()}/ui/model_hub_table`}
</Text>
</div>
@@ -817,7 +817,7 @@ print(response.choices[0].message.content)`}
<Text className="text-lg font-semibold mb-4">Skills</Text>
<div className="space-y-4">
{selectedAgent.skills.map((skill) => (
- <div key={skill.id} className="border border-gray-200 rounded p-4">
+ <div key={skill.id} className="border border-gray-200 rounded-sm p-4">
<div className="flex justify-between items-start mb-2">
<div>
<Text className="font-medium text-base">{skill.name}</Text>
@@ -938,7 +938,9 @@ print(response.choices[0].message.content)`}
{selectedMcpServer.command && (
<div>
<Text className="font-medium">Command:</Text>
- <Text className="text-sm bg-gray-100 p-2 rounded mt-1 font-mono">{selectedMcpServer.command}</Text>
+ <Text className="text-sm bg-gray-100 p-2 rounded-sm mt-1 font-mono">
+ {selectedMcpServer.command}
+ </Text>
</div>
)}
</div>
@@ -1014,7 +1016,7 @@ print(response.choices[0].message.content)`}
)}
</div>
{selectedMcpServer.health_check_error && (
- <div className="mt-2 p-2 bg-red-50 rounded">
+ <div className="mt-2 p-2 bg-red-50 rounded-sm">
<Text className="font-medium text-red-700">Health Check Error:</Text>
<Text className="text-sm text-red-600 mt-1">{selectedMcpServer.health_check_error}</Text>
</div>
diff --git a/ui/litellm-dashboard/src/components/AIHub/UsefulLinksManagement.tsx b/ui/litellm-dashboard/src/components/AIHub/UsefulLinksManagement.tsx
index c73eaf52384..42acfd94185 100644
--- a/ui/litellm-dashboard/src/components/AIHub/UsefulLinksManagement.tsx
+++ b/ui/litellm-dashboard/src/components/AIHub/UsefulLinksManagement.tsx
@@ -298,7 +298,7 @@ const UsefulLinksManagement: React.FC<UsefulLinksManagementProps> = ({ accessTok
href={`${getProxyBaseUrl()}/ui/model_hub_table`}
target="_blank"
rel="noopener noreferrer"
- className="text-xs bg-blue-50 text-blue-600 px-3 py-1.5 rounded hover:bg-blue-100 flex items-center"
+ className="text-xs bg-blue-50 text-blue-600 px-3 py-1.5 rounded-sm hover:bg-blue-100 flex items-center"
title="Open Public Model Hub"
>
Public Model Hub
@@ -307,7 +307,7 @@ const UsefulLinksManagement: React.FC<UsefulLinksManagementProps> = ({ accessTok
{!isRearranging ? (
<button
onClick={handleStartRearranging}
- className="text-xs bg-purple-50 text-purple-600 px-3 py-1.5 rounded hover:bg-purple-100 flex items-center"
+ className="text-xs bg-purple-50 text-purple-600 px-3 py-1.5 rounded-sm hover:bg-purple-100 flex items-center"
>
Rearrange Order
</button>
@@ -315,13 +315,13 @@ const UsefulLinksManagement: React.FC<UsefulLinksManagementProps> = ({ accessTok
<div className="flex space-x-2">
<button
onClick={handleSaveRearranging}
- className="text-xs bg-green-600 text-white px-3 py-1.5 rounded hover:bg-green-700"
+ className="text-xs bg-green-600 text-white px-3 py-1.5 rounded-sm hover:bg-green-700"
>
Save Order
</button>
<button
onClick={handleCancelRearranging}
- className="text-xs bg-gray-50 text-gray-600 px-3 py-1.5 rounded hover:bg-gray-100"
+ className="text-xs bg-gray-50 text-gray-600 px-3 py-1.5 rounded-sm hover:bg-gray-100"
>
Cancel
</button>
@@ -374,13 +374,13 @@ const UsefulLinksManagement: React.FC<UsefulLinksManagementProps> = ({ accessTok
<div className="flex space-x-2">
<button
onClick={handleUpdateLink}
- className="text-xs bg-blue-50 text-blue-600 px-2 py-1 rounded hover:bg-blue-100"
+ className="text-xs bg-blue-50 text-blue-600 px-2 py-1 rounded-sm hover:bg-blue-100"
>
Save
</button>
<button
onClick={handleCancelEdit}
- className="text-xs bg-gray-50 text-gray-600 px-2 py-1 rounded hover:bg-gray-100"
+ className="text-xs bg-gray-50 text-gray-600 px-2 py-1 rounded-sm hover:bg-gray-100"
>
Cancel
</button>
diff --git a/ui/litellm-dashboard/src/components/AIHub/forms/MakeAgentPublicForm.tsx b/ui/litellm-dashboard/src/components/AIHub/forms/MakeAgentPublicForm.tsx
index a38950b8fb7..0ed73872cee 100644
--- a/ui/litellm-dashboard/src/components/AIHub/forms/MakeAgentPublicForm.tsx
+++ b/ui/litellm-dashboard/src/components/AIHub/forms/MakeAgentPublicForm.tsx
@@ -204,7 +204,7 @@ const MakeAgentPublicForm: React.FC<MakeAgentPublicFormProps> = ({
{Array.from(selectedAgents).map((agentId) => {
const agent = agentHubData.find((a) => (a.agent_id || a.name) === agentId);
return (
- <div key={agentId} className="flex items-center justify-between p-2 bg-gray-50 rounded">
+ <div key={agentId} className="flex items-center justify-between p-2 bg-gray-50 rounded-sm">
<div className="flex-1">
<div className="flex items-center space-x-2">
<Text className="font-medium">{agent?.name || agentId}</Text>
diff --git a/ui/litellm-dashboard/src/components/AIHub/forms/MakeMCPPublicForm.tsx b/ui/litellm-dashboard/src/components/AIHub/forms/MakeMCPPublicForm.tsx
index d7103da9ed7..cc194775faa 100644
--- a/ui/litellm-dashboard/src/components/AIHub/forms/MakeMCPPublicForm.tsx
+++ b/ui/litellm-dashboard/src/components/AIHub/forms/MakeMCPPublicForm.tsx
@@ -225,7 +225,7 @@ const MakeMCPPublicForm: React.FC<MakeMCPPublicFormProps> = ({
{Array.from(selectedServers).map((serverId) => {
const server = mcpHubData.find((s) => s.server_id === serverId);
return (
- <div key={serverId} className="flex items-center justify-between p-2 bg-gray-50 rounded">
+ <div key={serverId} className="flex items-center justify-between p-2 bg-gray-50 rounded-sm">
<div className="flex-1">
<div className="flex items-center space-x-2">
<Text className="font-medium">{server?.server_name || serverId}</Text>
diff --git a/ui/litellm-dashboard/src/components/AIHub/forms/MakeModelPublicForm.tsx b/ui/litellm-dashboard/src/components/AIHub/forms/MakeModelPublicForm.tsx
index 16ed04c1779..2d0ae1a0e2b 100644
--- a/ui/litellm-dashboard/src/components/AIHub/forms/MakeModelPublicForm.tsx
+++ b/ui/litellm-dashboard/src/components/AIHub/forms/MakeModelPublicForm.tsx
@@ -233,7 +233,7 @@ const MakeModelPublicForm: React.FC<MakeModelPublicFormProps> = ({
{Array.from(selectedModels).map((modelGroup) => {
const model = modelHubData.find((m) => m.model_group === modelGroup);
return (
- <div key={modelGroup} className="flex items-center justify-between p-2 bg-gray-50 rounded">
+ <div key={modelGroup} className="flex items-center justify-between p-2 bg-gray-50 rounded-sm">
<div>
<Text className="font-medium">{modelGroup}</Text>
{model && (
diff --git a/ui/litellm-dashboard/src/components/CloudZeroCostTracking/CloudZeroIntegrationSettings.tsx b/ui/litellm-dashboard/src/components/CloudZeroCostTracking/CloudZeroIntegrationSettings.tsx
index 62709dac526..476c68fad96 100644
--- a/ui/litellm-dashboard/src/components/CloudZeroCostTracking/CloudZeroIntegrationSettings.tsx
+++ b/ui/litellm-dashboard/src/components/CloudZeroCostTracking/CloudZeroIntegrationSettings.tsx
@@ -121,7 +121,7 @@ export function CloudZeroIntegrationSettings({ settings, onSettingsUpdated }: Cl
</Button>
</div>
}
- className="shadow-sm"
+ className="shadow-xs"
>
<Descriptions
bordered
diff --git a/ui/litellm-dashboard/src/components/GuardrailsMonitor/LogViewer.tsx b/ui/litellm-dashboard/src/components/GuardrailsMonitor/LogViewer.tsx
index 623a8252067..c3671fc9e2c 100644
--- a/ui/litellm-dashboard/src/components/GuardrailsMonitor/LogViewer.tsx
+++ b/ui/litellm-dashboard/src/components/GuardrailsMonitor/LogViewer.tsx
@@ -172,11 +172,11 @@ export function LogViewer({
onClick={() => handleLogClick(log)}
className="w-full text-left px-4 py-3 hover:bg-gray-50 transition-colors flex items-start gap-3"
>
- <ActionIcon className={`w-4 h-4 mt-0.5 flex-shrink-0 ${config.color}`} />
+ <ActionIcon className={`w-4 h-4 mt-0.5 shrink-0 ${config.color}`} />
<div className="flex-1 min-w-0">
<div className="flex items-center gap-2 mb-1 flex-wrap">
<span
- className={`inline-flex items-center px-2 py-0.5 text-xs font-medium rounded border ${config.bg} ${config.color} ${config.border}`}
+ className={`inline-flex items-center px-2 py-0.5 text-xs font-medium rounded-sm border ${config.bg} ${config.color} ${config.border}`}
>
{config.label}
</span>
@@ -186,7 +186,7 @@ export function LogViewer({
</div>
<p className="text-sm text-gray-800 truncate">{log.input_snippet ?? log.input ?? "—"}</p>
</div>
- <DownOutlined className="w-4 h-4 text-gray-400 flex-shrink-0 mt-1" />
+ <DownOutlined className="w-4 h-4 text-gray-400 shrink-0 mt-1" />
</button>
);
})}
diff --git a/ui/litellm-dashboard/src/components/HelpLink.tsx b/ui/litellm-dashboard/src/components/HelpLink.tsx
index 0058e5ae3d7..a5979e1e12a 100644
--- a/ui/litellm-dashboard/src/components/HelpLink.tsx
+++ b/ui/litellm-dashboard/src/components/HelpLink.tsx
@@ -47,13 +47,13 @@ export const HelpLink: React.FC<HelpLinkProps> = ({
className = "",
}) => {
const baseClasses =
- "inline-flex items-center gap-1.5 transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-1 rounded";
+ "inline-flex items-center gap-1.5 transition-colors focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:ring-offset-1 rounded-sm";
const variantClasses = {
inline: "text-blue-600 hover:text-blue-800 text-sm font-medium hover:underline",
subtle: "text-gray-500 hover:text-gray-700 text-xs",
button:
- "text-blue-600 hover:text-blue-700 border border-gray-200 hover:border-gray-300 px-3 py-1.5 rounded-md bg-white hover:bg-gray-50 text-sm font-medium shadow-sm",
+ "text-blue-600 hover:text-blue-700 border border-gray-200 hover:border-gray-300 px-3 py-1.5 rounded-md bg-white hover:bg-gray-50 text-sm font-medium shadow-xs",
};
return (
@@ -65,7 +65,7 @@ export const HelpLink: React.FC<HelpLinkProps> = ({
title="Open documentation in a new tab"
>
<span>{children}</span>
- <ExternalLink className="h-3.5 w-3.5 flex-shrink-0" aria-hidden="true" />
+ <ExternalLink className="h-3.5 w-3.5 shrink-0" aria-hidden="true" />
<span className="sr-only">(opens in a new tab)</span>
</a>
);
@@ -88,7 +88,7 @@ export const HelpIcon: React.FC<HelpIconProps> = ({ content, learnMoreHref, lear
<div className="relative inline-block ml-1.5">
<button
type="button"
- className="inline-flex items-center justify-center w-4 h-4 text-gray-400 hover:text-gray-600 transition-colors cursor-help focus:outline-none focus:ring-2 focus:ring-blue-500 rounded-full"
+ className="inline-flex items-center justify-center w-4 h-4 text-gray-400 hover:text-gray-600 transition-colors cursor-help focus:outline-hidden focus:ring-2 focus:ring-blue-500 rounded-full"
onMouseEnter={() => setShowTooltip(true)}
onMouseLeave={() => setShowTooltip(false)}
onFocus={() => setShowTooltip(true)}
@@ -169,7 +169,7 @@ export const DocsMenu: React.FC<DocsMenuProps> = ({ items, children = "Docs", cl
<button
type="button"
onClick={() => setIsOpen(!isOpen)}
- className="inline-flex items-center gap-1 text-gray-500 hover:text-gray-700 text-xs transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-1 rounded px-2 py-1"
+ className="inline-flex items-center gap-1 text-gray-500 hover:text-gray-700 text-xs transition-colors focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:ring-offset-1 rounded-sm px-2 py-1"
aria-expanded={isOpen}
aria-haspopup="true"
>
@@ -189,7 +189,7 @@ export const DocsMenu: React.FC<DocsMenuProps> = ({ items, children = "Docs", cl
onClick={() => setIsOpen(false)}
>
<span>{item.label}</span>
- <ExternalLink className="h-3.5 w-3.5 text-gray-400 flex-shrink-0 ml-2" aria-hidden="true" />
+ <ExternalLink className="h-3.5 w-3.5 text-gray-400 shrink-0 ml-2" aria-hidden="true" />
</a>
))}
</div>
diff --git a/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.tsx b/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.tsx
index 657e5a39bab..be659967a0f 100644
--- a/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.tsx
+++ b/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.tsx
@@ -78,7 +78,7 @@ export const BlogDropdown: React.FC = () => {
// Blog opens a post list; Docs is a single outbound link — navbar adds a layout-only chevron there for alignment.
return (
<Dropdown menu={{ items }} trigger={["hover"]} placement="bottomRight">
- <Button type="text" className={`${NAV_PRODUCT_LINK_CLASS} !border-0 !bg-transparent`}>
+ <Button type="text" className={`${NAV_PRODUCT_LINK_CLASS} border-0! bg-transparent!`}>
Blog
<DownOutlined className="text-[10px] text-gray-500" aria-hidden />
</Button>
diff --git a/ui/litellm-dashboard/src/components/Navbar/NotificationsBell/NotificationsBell.tsx b/ui/litellm-dashboard/src/components/Navbar/NotificationsBell/NotificationsBell.tsx
index a3b7678e1e7..f57638a4e54 100644
--- a/ui/litellm-dashboard/src/components/Navbar/NotificationsBell/NotificationsBell.tsx
+++ b/ui/litellm-dashboard/src/components/Navbar/NotificationsBell/NotificationsBell.tsx
@@ -24,10 +24,10 @@ export const NotificationsBell: React.FC = () => {
const content = (
<div className="max-w-[280px]">
- <Typography.Title level={5} className="!mt-0 !mb-2">
+ <Typography.Title level={5} className="mt-0! mb-2!">
LiteLLM Agent Platform
</Typography.Title>
- <Typography.Paragraph type="secondary" className="!mb-3 text-sm leading-snug">
+ <Typography.Paragraph type="secondary" className="mb-3! text-sm leading-snug">
Open-source agent infra — sandboxes, durable sessions, and workers on AWS Fargate.
</Typography.Paragraph>
<div className="flex flex-wrap items-center gap-2">
@@ -35,7 +35,7 @@ export const NotificationsBell: React.FC = () => {
GitHub
</Button>
{hasUnread ? (
- <Button type="link" size="small" className="!px-1" onClick={markDismissed}>
+ <Button type="link" size="small" className="px-1!" onClick={markDismissed}>
Mark as read
</Button>
) : null}
@@ -47,7 +47,7 @@ export const NotificationsBell: React.FC = () => {
<Popover content={content} trigger="click" open={open} onOpenChange={setOpen} placement="bottomRight">
<Button
type="text"
- className="!flex !h-9 !w-9 items-center justify-center !rounded-md text-gray-600 transition-colors hover:!bg-gray-100 hover:!text-gray-900"
+ className="flex! h-9! w-9! items-center justify-center rounded-md! text-gray-600 transition-colors hover:bg-gray-100! hover:text-gray-900!"
aria-label="Notifications"
>
<Badge dot={hasUnread} color="#1677ff" size="small" offset={[8, 2]}>
diff --git a/ui/litellm-dashboard/src/components/Navbar/UserDropdown/UserDropdown.tsx b/ui/litellm-dashboard/src/components/Navbar/UserDropdown/UserDropdown.tsx
index 03312faaa39..bd197f3ec8b 100644
--- a/ui/litellm-dashboard/src/components/Navbar/UserDropdown/UserDropdown.tsx
+++ b/ui/litellm-dashboard/src/components/Navbar/UserDropdown/UserDropdown.tsx
@@ -232,7 +232,7 @@ const UserDropdown: React.FC<UserDropdownProps> = ({ onLogout }) => {
>
<Button
type="text"
- className="!flex max-w-[min(200px,34vw)] items-center gap-2 !rounded-md !py-0.5 !pl-1 !pr-2 transition-colors hover:!bg-gray-100"
+ className="flex! max-w-[min(200px,34vw)] items-center gap-2 rounded-md! py-0.5! pl-1! pr-2! transition-colors hover:bg-gray-100!"
aria-label={`Account menu — ${userRole ?? "Unknown role"} — signed in as ${userEmail || userId || "unknown"}`}
aria-haspopup="menu"
>
diff --git a/ui/litellm-dashboard/src/components/SCIM.tsx b/ui/litellm-dashboard/src/components/SCIM.tsx
index c8da8f2c9c7..a8d91c343e0 100644
--- a/ui/litellm-dashboard/src/components/SCIM.tsx
+++ b/ui/litellm-dashboard/src/components/SCIM.tsx
@@ -96,7 +96,7 @@ const SCIMConfig: React.FC<SCIMConfigProps> = ({ accessToken, userID, proxySetti
Use this URL in your identity provider SCIM integration settings.
</Text>
<div className="flex items-center">
- <TextInput value={scimBaseUrl} disabled={true} className="flex-grow" />
+ <TextInput value={scimBaseUrl} disabled={true} className="grow" />
<CopyToClipboard
text={scimBaseUrl}
onCopy={() => NotificationsManager.success("URL copied to clipboard")}
@@ -159,12 +159,7 @@ const SCIMConfig: React.FC<SCIMConfigProps> = ({ accessToken, userID, proxySetti
Make sure to copy this token now. You will not be able to see it again.
</Text>
<div className="flex items-center">
- <TextInput
- value={tokenData.key}
- className="flex-grow mr-2 bg-white"
- type="password"
- disabled={true}
- />
+ <TextInput value={tokenData.key} className="grow mr-2 bg-white" type="password" disabled={true} />
<CopyToClipboard
text={tokenData.key}
onCopy={() => NotificationsManager.success("Token copied to clipboard")}
diff --git a/ui/litellm-dashboard/src/components/Settings/RouterSettings/Fallbacks/FallbackGroupConfig.tsx b/ui/litellm-dashboard/src/components/Settings/RouterSettings/Fallbacks/FallbackGroupConfig.tsx
index 2372f626a5c..e91c938b87a 100644
--- a/ui/litellm-dashboard/src/components/Settings/RouterSettings/Fallbacks/FallbackGroupConfig.tsx
+++ b/ui/litellm-dashboard/src/components/Settings/RouterSettings/Fallbacks/FallbackGroupConfig.tsx
@@ -76,7 +76,7 @@ export function FallbackGroupConfig({ group, onChange, availableModels, maxFallb
options={availableModels.map((m) => ({ label: m, value: m }))}
/>
{!group.primaryModel && (
- <div className="mt-2 flex items-center gap-2 text-amber-600 text-xs bg-amber-50 p-2 rounded">
+ <div className="mt-2 flex items-center gap-2 text-amber-600 text-xs bg-amber-50 p-2 rounded-sm">
<AlertCircle className="w-4 h-4" />
<span>Select a model to begin configuring fallbacks</span>
</div>
@@ -85,7 +85,7 @@ export function FallbackGroupConfig({ group, onChange, availableModels, maxFallb
{/* Visual Connection */}
<div className="flex items-center justify-center -my-4 z-10">
- <div className="bg-indigo-50 text-indigo-500 px-4 py-1 rounded-full text-xs font-bold border border-indigo-100 flex items-center gap-2 shadow-sm">
+ <div className="bg-indigo-50 text-indigo-500 px-4 py-1 rounded-full text-xs font-bold border border-indigo-100 flex items-center gap-2 shadow-xs">
<ArrowDown className="w-4 h-4" />
IF FAILS, TRY...
</div>
@@ -124,7 +124,7 @@ export function FallbackGroupConfig({ group, onChange, availableModels, maxFallb
return (
<div className="flex items-center gap-2">
{isSelected && orderIndex !== null && (
- <span className="flex items-center justify-center w-5 h-5 rounded bg-indigo-100 text-indigo-600 text-xs font-bold">
+ <span className="flex items-center justify-center w-5 h-5 rounded-sm bg-indigo-100 text-indigo-600 text-xs font-bold">
{orderIndex}
</span>
)}
@@ -163,10 +163,10 @@ export function FallbackGroupConfig({ group, onChange, availableModels, maxFallb
return (
<div
key={`${modelValue}-${index}`}
- className="group flex items-center justify-between p-3 bg-white rounded-lg border border-gray-200 hover:border-indigo-300 hover:shadow-sm transition-all"
+ className="group flex items-center justify-between p-3 bg-white rounded-lg border border-gray-200 hover:border-indigo-300 hover:shadow-xs transition-all"
>
<div className="flex items-center gap-3">
- <div className="flex items-center justify-center w-6 h-6 rounded bg-gray-100 text-gray-400 group-hover:text-indigo-500 group-hover:bg-indigo-50">
+ <div className="flex items-center justify-center w-6 h-6 rounded-sm bg-gray-100 text-gray-400 group-hover:text-indigo-500 group-hover:bg-indigo-50">
<span className="text-xs font-bold">{index + 1}</span>
</div>
<div>
diff --git a/ui/litellm-dashboard/src/components/ToolDetail.tsx b/ui/litellm-dashboard/src/components/ToolDetail.tsx
index b0fa6884dd3..f5ef938fb3a 100644
--- a/ui/litellm-dashboard/src/components/ToolDetail.tsx
+++ b/ui/litellm-dashboard/src/components/ToolDetail.tsx
@@ -291,7 +291,7 @@ export function ToolDetail({ toolName, onBack, accessToken }: ToolDetailProps) {
<div className="space-y-6">
{/* Two-panel policy layout */}
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
- <section className="bg-white rounded-lg border border-gray-200 p-5 shadow-sm">
+ <section className="bg-white rounded-lg border border-gray-200 p-5 shadow-xs">
<h2 className="text-sm font-semibold text-gray-700 mb-1">Input Policy</h2>
<p className="text-xs text-gray-500 mb-3">
{inputDesc ?? "Controls what data this tool is allowed to accept."}
@@ -308,7 +308,7 @@ export function ToolDetail({ toolName, onBack, accessToken }: ToolDetailProps) {
/>
</section>
- <section className="bg-white rounded-lg border border-gray-200 p-5 shadow-sm">
+ <section className="bg-white rounded-lg border border-gray-200 p-5 shadow-xs">
<h2 className="text-sm font-semibold text-gray-700 mb-1">Output Policy</h2>
<p className="text-xs text-gray-500 mb-3">
{outputDesc ?? "Controls how this tool's output is trusted by downstream tools."}
@@ -327,7 +327,7 @@ export function ToolDetail({ toolName, onBack, accessToken }: ToolDetailProps) {
</div>
{overrides.length > 0 && (
- <section className="bg-white rounded-lg border border-gray-200 p-5 shadow-sm">
+ <section className="bg-white rounded-lg border border-gray-200 p-5 shadow-xs">
<h2 className="text-sm font-semibold text-gray-700 mb-3">Blocked for team or key</h2>
<ul className="border rounded-md divide-y divide-gray-100 bg-red-50/30">
{overrides.map((ov) => (
@@ -353,7 +353,7 @@ export function ToolDetail({ toolName, onBack, accessToken }: ToolDetailProps) {
</section>
)}
- <section className="bg-white rounded-lg border border-gray-200 p-5 shadow-sm">
+ <section className="bg-white rounded-lg border border-gray-200 p-5 shadow-xs">
<h2 className="text-sm font-semibold text-gray-700 mb-3">Block for team or key</h2>
<div className="flex flex-col gap-4 max-w-md">
<div>
@@ -417,7 +417,7 @@ export function ToolDetail({ toolName, onBack, accessToken }: ToolDetailProps) {
</div>
</section>
- <section className="bg-white rounded-lg border border-gray-200 p-5 shadow-sm">
+ <section className="bg-white rounded-lg border border-gray-200 p-5 shadow-xs">
<h2 className="text-sm font-semibold text-gray-700 mb-3 flex items-center gap-2">
<HistoryOutlined />
Recent logs
diff --git a/ui/litellm-dashboard/src/components/ToolPolicies.tsx b/ui/litellm-dashboard/src/components/ToolPolicies.tsx
index 9db693c8918..4bd028f0c8f 100644
--- a/ui/litellm-dashboard/src/components/ToolPolicies.tsx
+++ b/ui/litellm-dashboard/src/components/ToolPolicies.tsx
@@ -309,7 +309,7 @@ export const ToolPolicies: React.FC<ToolPoliciesProps> = ({ accessToken, onSelec
</div>
)}
- <div className="bg-white rounded-lg shadow w-full max-w-full box-border">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full box-border">
<div className="border-b px-6 py-4 w-full max-w-full box-border">
<div className="flex flex-col md:flex-row items-start md:items-center justify-between space-y-4 md:space-y-0 w-full max-w-full box-border">
<div className="flex flex-wrap items-center gap-3">
@@ -317,7 +317,7 @@ export const ToolPolicies: React.FC<ToolPoliciesProps> = ({ accessToken, onSelec
<input
type="text"
placeholder="Search by Tool Name"
- className="w-full px-3 py-2 pl-8 border rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
+ className="w-full px-3 py-2 pl-8 border rounded-md text-sm focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
value={searchTerm}
onChange={(e) => {
setSearchTerm(e.target.value);
@@ -413,7 +413,7 @@ export const ToolPolicies: React.FC<ToolPoliciesProps> = ({ accessToken, onSelec
)}
{error && (
- <div className="mx-6 mt-4 p-3 bg-red-50 border border-red-200 rounded text-sm text-red-700">{error}</div>
+ <div className="mx-6 mt-4 p-3 bg-red-50 border border-red-200 rounded-sm text-sm text-red-700">{error}</div>
)}
<Table className="[&_td]:py-0.5 [&_th]:py-1 w-full">
@@ -467,7 +467,7 @@ export const ToolPolicies: React.FC<ToolPoliciesProps> = ({ accessToken, onSelec
<button
type="button"
onClick={() => onSelectTool?.(tool.tool_name)}
- className="text-left w-full font-mono text-xs max-w-[20ch] truncate block font-medium text-blue-600 hover:text-blue-800 hover:underline focus:outline-none focus:ring-0"
+ className="text-left w-full font-mono text-xs max-w-[20ch] truncate block font-medium text-blue-600 hover:text-blue-800 hover:underline focus:outline-hidden focus:ring-0"
>
<Tooltip title={onSelectTool ? "Click to view details and block for team/key" : tool.tool_name}>
<span>{tool.tool_name}</span>
diff --git a/ui/litellm-dashboard/src/components/UsageIndicator.tsx b/ui/litellm-dashboard/src/components/UsageIndicator.tsx
index 3052bf645c6..030df228de0 100644
--- a/ui/litellm-dashboard/src/components/UsageIndicator.tsx
+++ b/ui/litellm-dashboard/src/components/UsageIndicator.tsx
@@ -14,10 +14,7 @@ import {
import { useEffect, useState } from "react";
import { getRemainingUsers, getLicenseInfo, LicenseInfo } from "./networking";
-// Simple utility function to combine class names
-const cn = (...classes: (string | boolean | undefined)[]) => {
- return classes.filter(Boolean).join(" ");
-};
+import { cn } from "@/lib/cva.config";
interface UsageIndicatorProps {
accessToken: string | null;
@@ -173,29 +170,29 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
<button
onClick={() => setIsMinimized(false)}
className={cn(
- "flex items-center gap-2 text-xs text-gray-400 hover:text-gray-600 transition-colors p-1 rounded w-full",
+ "flex items-center gap-2 text-xs text-gray-400 hover:text-gray-600 transition-colors p-1 rounded-sm w-full",
hasError && "text-red-400 hover:text-red-600",
hasWarning && "text-yellow-500 hover:text-yellow-700",
)}
title="Show usage details"
>
- <Users className="h-3 w-3 flex-shrink-0" />
- {hasAnyIssue && <span className="flex-shrink-0">{getStatusIcon()}</span>}
+ <Users className="h-3 w-3 shrink-0" />
+ {hasAnyIssue && <span className="shrink-0">{getStatusIcon()}</span>}
<div className="flex items-center gap-1 truncate">
{data && data.total_users !== null && (
- <span className="flex-shrink-0">
+ <span className="shrink-0">
U:{data.total_users_used}/{data.total_users}
</span>
)}
{data && data.total_teams !== null && (
- <span className="flex-shrink-0">
+ <span className="shrink-0">
T:{data.total_teams_used}/{data.total_teams}
</span>
)}
{licenseInfo?.expiration_date && daysUntilExpiration !== null && (
<span
className={cn(
- "flex-shrink-0",
+ "shrink-0",
isLicenseExpired && "text-red-500",
isLicenseExpiringSoon && "text-yellow-500",
)}
@@ -222,7 +219,7 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
if (isLoading) {
return (
<div className="flex items-center gap-3 px-3 py-2 text-gray-500" style={{ maxWidth: `${width}px` }}>
- <Loader2 className="h-4 w-4 animate-spin flex-shrink-0" />
+ <Loader2 className="h-4 w-4 animate-spin shrink-0" />
<span className="text-sm truncate">Loading...</span>
</div>
);
@@ -235,12 +232,12 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
style={{ maxWidth: `${width}px` }}
>
<div className="flex items-center gap-3 min-w-0 flex-1">
- <Users className="h-4 w-4 flex-shrink-0" />
+ <Users className="h-4 w-4 shrink-0" />
<span className="text-sm truncate">{error || "No data"}</span>
</div>
<button
onClick={() => setIsMinimized(true)}
- className="opacity-0 group-hover:opacity-100 p-0.5 hover:bg-gray-100 rounded transition-all flex-shrink-0"
+ className="opacity-0 group-hover:opacity-100 p-0.5 hover:bg-gray-100 rounded-sm transition-all shrink-0"
title="Minimize"
>
<Minus className="h-3 w-3" />
@@ -261,24 +258,24 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
hasWarning && "text-yellow-600",
)}
>
- <Users className="h-4 w-4 flex-shrink-0" />
+ <Users className="h-4 w-4 shrink-0" />
<span className="text-sm font-medium truncate">Usage Status</span>
{hasAnyIssue && (
- <Badge color={getStatusColor()} className="text-xs px-1.5 py-0.5 flex-shrink-0">
+ <Badge color={getStatusColor()} className="text-xs px-1.5 py-0.5 shrink-0">
{getStatusIcon()}
</Badge>
)}
{isExpanded ? (
- <ChevronUp className="h-3 w-3 text-gray-400 ml-auto flex-shrink-0" />
+ <ChevronUp className="h-3 w-3 text-gray-400 ml-auto shrink-0" />
) : (
- <ChevronDown className="h-3 w-3 text-gray-400 ml-auto flex-shrink-0" />
+ <ChevronDown className="h-3 w-3 text-gray-400 ml-auto shrink-0" />
)}
</button>
{/* Minimize button */}
<button
onClick={() => setIsMinimized(true)}
- className="opacity-0 group-hover:opacity-100 p-0.5 hover:bg-gray-100 rounded transition-all ml-1 flex-shrink-0"
+ className="opacity-0 group-hover:opacity-100 p-0.5 hover:bg-gray-100 rounded-sm transition-all ml-1 shrink-0"
title="Minimize"
>
<Minus className="h-3 w-3 text-gray-400" />
@@ -410,18 +407,18 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
<button
onClick={() => setIsMinimized(false)}
className={cn(
- "bg-white border border-gray-200 rounded-lg shadow-sm p-3 hover:shadow-md transition-all w-full",
+ "bg-white border border-gray-200 rounded-lg shadow-xs p-3 hover:shadow-md transition-all w-full",
)}
title="Show usage details"
>
<div className="flex items-center gap-2">
- <Users className="h-4 w-4 flex-shrink-0" />
- {hasAnyIssue && <span className="flex-shrink-0">{getStatusIcon()}</span>}
+ <Users className="h-4 w-4 shrink-0" />
+ {hasAnyIssue && <span className="shrink-0">{getStatusIcon()}</span>}
<div className="flex items-center gap-2 text-sm font-medium truncate">
{data && data.total_users !== null && (
<span
className={cn(
- "flex-shrink-0 px-1.5 py-0.5 rounded text-xs border",
+ "shrink-0 px-1.5 py-0.5 rounded-sm text-xs border",
userMetrics.isOverLimit && "bg-red-50 text-red-700 border-red-200",
userMetrics.isNearLimit && "bg-yellow-50 text-yellow-700 border-yellow-200",
!userMetrics.isOverLimit && !userMetrics.isNearLimit && "bg-gray-50 text-gray-700 border-gray-200",
@@ -433,7 +430,7 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
{data && data.total_teams !== null && (
<span
className={cn(
- "flex-shrink-0 px-1.5 py-0.5 rounded text-xs border",
+ "shrink-0 px-1.5 py-0.5 rounded-sm text-xs border",
teamMetrics.isOverLimit && "bg-red-50 text-red-700 border-red-200",
teamMetrics.isNearLimit && "bg-yellow-50 text-yellow-700 border-yellow-200",
!teamMetrics.isOverLimit && !teamMetrics.isNearLimit && "bg-gray-50 text-gray-700 border-gray-200",
@@ -445,7 +442,7 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
{licenseInfo?.expiration_date && daysUntilExpiration !== null && (
<span
className={cn(
- "flex-shrink-0 px-1.5 py-0.5 rounded text-xs border",
+ "shrink-0 px-1.5 py-0.5 rounded-sm text-xs border",
isLicenseExpired && "bg-red-50 text-red-700 border-red-200",
isLicenseExpiringSoon && "bg-yellow-50 text-yellow-700 border-yellow-200",
!isLicenseExpired && !isLicenseExpiringSoon && "bg-gray-50 text-gray-700 border-gray-200",
@@ -466,7 +463,7 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
if (isLoading) {
return (
- <div className="bg-white border border-gray-200 rounded-lg shadow-sm p-4 w-full">
+ <div className="bg-white border border-gray-200 rounded-lg shadow-xs p-4 w-full">
<div className="flex items-center justify-center gap-2 py-2">
<Loader2 className="h-4 w-4 animate-spin" />
<span className="text-sm text-gray-500 truncate">Loading...</span>
@@ -477,14 +474,14 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
if (error || !data) {
return (
- <div className="bg-white border border-gray-200 rounded-lg shadow-sm p-4 group w-full">
+ <div className="bg-white border border-gray-200 rounded-lg shadow-xs p-4 group w-full">
<div className="flex items-center justify-between gap-2">
<div className="flex-1 min-w-0">
<span className="text-sm text-gray-500 truncate block">{error || "No data"}</span>
</div>
<button
onClick={() => setIsMinimized(true)}
- className="opacity-0 group-hover:opacity-100 p-1 hover:bg-gray-100 rounded transition-all flex-shrink-0"
+ className="opacity-0 group-hover:opacity-100 p-1 hover:bg-gray-100 rounded-sm transition-all shrink-0"
title="Minimize"
>
<Minus className="h-3 w-3 text-gray-400" />
@@ -495,15 +492,15 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
}
return (
- <div className={cn("bg-white border rounded-lg shadow-sm p-3 transition-all duration-200 group w-full")}>
+ <div className={cn("bg-white border rounded-lg shadow-xs p-3 transition-all duration-200 group w-full")}>
<div className="flex items-center justify-between gap-2 mb-3">
<div className="flex items-center gap-2 min-w-0 flex-1">
- <Users className="h-4 w-4 flex-shrink-0" />
+ <Users className="h-4 w-4 shrink-0" />
<span className="font-medium text-sm truncate">Usage</span>
</div>
<button
onClick={() => setIsMinimized(true)}
- className="opacity-0 group-hover:opacity-100 p-1 hover:bg-gray-100 rounded transition-all flex-shrink-0"
+ className="opacity-0 group-hover:opacity-100 p-1 hover:bg-gray-100 rounded-sm transition-all shrink-0"
title="Minimize"
>
<Minus className="h-3 w-3 text-gray-400" />
@@ -526,7 +523,7 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
<span className="font-medium">License</span>
<span
className={cn(
- "ml-1 px-1.5 py-0.5 rounded border",
+ "ml-1 px-1.5 py-0.5 rounded-sm border",
isLicenseExpired && "bg-red-50 text-red-700 border-red-200",
isLicenseExpiringSoon && "bg-yellow-50 text-yellow-700 border-yellow-200",
!isLicenseExpired && !isLicenseExpiringSoon && "bg-gray-50 text-gray-600 border-gray-200",
@@ -570,7 +567,7 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
<span className="font-medium">Users</span>
<span
className={cn(
- "ml-1 px-1.5 py-0.5 rounded border",
+ "ml-1 px-1.5 py-0.5 rounded-sm border",
userMetrics.isOverLimit && "bg-red-50 text-red-700 border-red-200",
userMetrics.isNearLimit && "bg-yellow-50 text-yellow-700 border-yellow-200",
!userMetrics.isOverLimit && !userMetrics.isNearLimit && "bg-gray-50 text-gray-600 border-gray-200",
@@ -631,7 +628,7 @@ export default function UsageIndicator({ accessToken, width = 220 }: UsageIndica
<span className="font-medium">Teams</span>
<span
className={cn(
- "ml-1 px-1.5 py-0.5 rounded border",
+ "ml-1 px-1.5 py-0.5 rounded-sm border",
teamMetrics.isOverLimit && "bg-red-50 text-red-700 border-red-200",
teamMetrics.isNearLimit && "bg-yellow-50 text-yellow-700 border-yellow-200",
!teamMetrics.isOverLimit && !teamMetrics.isNearLimit && "bg-gray-50 text-gray-600 border-gray-200",
diff --git a/ui/litellm-dashboard/src/components/UsagePage/components/EntityUsage/TopKeyView.tsx b/ui/litellm-dashboard/src/components/UsagePage/components/EntityUsage/TopKeyView.tsx
index 8903f74f232..96f702fd1d4 100644
--- a/ui/litellm-dashboard/src/components/UsagePage/components/EntityUsage/TopKeyView.tsx
+++ b/ui/litellm-dashboard/src/components/UsagePage/components/EntityUsage/TopKeyView.tsx
@@ -262,15 +262,12 @@ const TopKeyView: React.FC<TopKeyViewProps> = ({ topKeys, teams, showTags = fals
keyData &&
(console.log("Rendering modal with:", { isModalOpen, selectedKey, keyData }),
(
- <div
- className="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"
- onClick={handleOutsideClick}
- >
+ <div className="fixed inset-0 bg-black/50 flex items-center justify-center z-50" onClick={handleOutsideClick}>
<div className="bg-white rounded-lg shadow-xl relative w-11/12 max-w-6xl max-h-[90vh] overflow-y-auto min-h-[750px]">
{/* Close button */}
<button
onClick={handleClose}
- className="absolute top-4 right-4 text-gray-500 hover:text-gray-700 focus:outline-none"
+ className="absolute top-4 right-4 text-gray-500 hover:text-gray-700 focus:outline-hidden"
aria-label="Close"
>
<svg className="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
diff --git a/ui/litellm-dashboard/src/components/UsagePage/components/UsageAIChatPanel.tsx b/ui/litellm-dashboard/src/components/UsagePage/components/UsageAIChatPanel.tsx
index 9384d75f020..9841889b928 100644
--- a/ui/litellm-dashboard/src/components/UsagePage/components/UsageAIChatPanel.tsx
+++ b/ui/litellm-dashboard/src/components/UsagePage/components/UsageAIChatPanel.tsx
@@ -39,7 +39,7 @@ const ToolCallDisplay: React.FC<{ step: ToolCallStep }> = ({ step }) => {
return (
<div className="flex items-start gap-2 px-3 py-2 rounded-lg bg-gray-100 border border-gray-200 text-xs">
- <span className="flex-shrink-0 mt-0.5">
+ <span className="shrink-0 mt-0.5">
{step.status === "running" ? (
<Spin size="small" />
) : step.status === "error" ? (
@@ -74,11 +74,11 @@ const MarkdownContent: React.FC<{ content: string }> = ({ content }) => (
code: ({ children, className }) => {
const isBlock = className?.includes("language-");
return isBlock ? (
- <pre className="bg-gray-100 rounded p-2 my-1 overflow-x-auto text-xs">
+ <pre className="bg-gray-100 rounded-sm p-2 my-1 overflow-x-auto text-xs">
<code>{children}</code>
</pre>
) : (
- <code className="px-1 py-0.5 rounded bg-gray-100 text-xs font-mono">{children}</code>
+ <code className="px-1 py-0.5 rounded-sm bg-gray-100 text-xs font-mono">{children}</code>
);
},
table: ({ children }) => (
@@ -237,7 +237,7 @@ const UsageAIChatPanel: React.FC<UsageAIChatPanelProps> = ({ open, onClose, acce
style={{ width: 420 }}
>
{/* Header */}
- <div className="px-5 pt-5 pb-3 border-b border-gray-100 flex-shrink-0">
+ <div className="px-5 pt-5 pb-3 border-b border-gray-100 shrink-0">
<div className="flex items-center justify-between mb-1">
<div className="flex items-center gap-2">
<svg className="w-5 h-5 text-blue-600" viewBox="0 0 16 16" fill="currentColor">
@@ -258,7 +258,7 @@ const UsageAIChatPanel: React.FC<UsageAIChatPanelProps> = ({ open, onClose, acce
</div>
{/* Model selector */}
- <div className="px-5 py-3 border-b border-gray-100 flex-shrink-0">
+ <div className="px-5 py-3 border-b border-gray-100 shrink-0">
<Select
placeholder="Select a model (optional, defaults to gpt-4o-mini)"
value={selectedModel}
@@ -345,7 +345,7 @@ const UsageAIChatPanel: React.FC<UsageAIChatPanelProps> = ({ open, onClose, acce
</div>
{/* Input area */}
- <div className="px-4 py-3 border-t border-gray-200 bg-white flex-shrink-0">
+ <div className="px-4 py-3 border-t border-gray-200 bg-white shrink-0">
<div className="flex gap-2">
<TextArea
value={inputText}
diff --git a/ui/litellm-dashboard/src/components/UsagePage/components/UsagePageView.tsx b/ui/litellm-dashboard/src/components/UsagePage/components/UsagePageView.tsx
index 41dfdb21d1b..432a499a0f6 100644
--- a/ui/litellm-dashboard/src/components/UsagePage/components/UsagePageView.tsx
+++ b/ui/litellm-dashboard/src/components/UsagePage/components/UsagePageView.tsx
@@ -747,7 +747,7 @@ const UsagePage: React.FC<UsagePageProps> = ({ teams, organizations }) => {
<button
className={`px-3 py-1 text-sm rounded-md transition-colors ${
modelViewType === "groups"
- ? "bg-white shadow-sm text-gray-900"
+ ? "bg-white shadow-xs text-gray-900"
: "text-gray-600 hover:text-gray-900"
}`}
onClick={() => setModelViewType("groups")}
@@ -757,7 +757,7 @@ const UsagePage: React.FC<UsagePageProps> = ({ teams, organizations }) => {
<button
className={`px-3 py-1 text-sm rounded-md transition-colors ${
modelViewType === "individual"
- ? "bg-white shadow-sm text-gray-900"
+ ? "bg-white shadow-xs text-gray-900"
: "text-gray-600 hover:text-gray-900"
}`}
onClick={() => setModelViewType("individual")}
diff --git a/ui/litellm-dashboard/src/components/UsagePage/components/UsageViewSelect/UsageViewSelect.tsx b/ui/litellm-dashboard/src/components/UsagePage/components/UsageViewSelect/UsageViewSelect.tsx
index e6ac377a865..94b483cb539 100644
--- a/ui/litellm-dashboard/src/components/UsagePage/components/UsageViewSelect/UsageViewSelect.tsx
+++ b/ui/litellm-dashboard/src/components/UsagePage/components/UsageViewSelect/UsageViewSelect.tsx
@@ -153,7 +153,7 @@ export const UsageViewSelect: React.FC<UsageViewSelectProps> = ({
<div className="w-full" data-id={dataId}>
<div className="flex flex-wrap items-center justify-start gap-4">
<div className="flex items-stretch gap-2 min-w-0">
- <div className="flex-shrink-0 flex items-center">
+ <div className="shrink-0 flex items-center">
<BarChartOutlined style={{ fontSize: "32px" }} />
</div>
<div className="flex-1 min-w-0">
@@ -161,7 +161,7 @@ export const UsageViewSelect: React.FC<UsageViewSelectProps> = ({
<p className="text-xs text-gray-600 leading-tight">{description}</p>
</div>
</div>
- <div className="flex-shrink-0">
+ <div className="shrink-0">
<Select
value={value}
onChange={onChange}
@@ -176,7 +176,7 @@ export const UsageViewSelect: React.FC<UsageViewSelectProps> = ({
if (!opt) return option.label;
return (
<div className="flex items-center gap-2 py-1">
- <div className="flex-shrink-0 mt-0.5">{opt.icon}</div>
+ <div className="shrink-0 mt-0.5">{opt.icon}</div>
<div className="flex-1 min-w-0">
<div className="text-sm font-medium text-gray-900">{opt.label}</div>
<div className="text-xs text-gray-600 mt-0.5">{opt.description}</div>
diff --git a/ui/litellm-dashboard/src/components/add_model/AddModelForm.tsx b/ui/litellm-dashboard/src/components/add_model/AddModelForm.tsx
index 58414a0bab5..300105b8bf6 100644
--- a/ui/litellm-dashboard/src/components/add_model/AddModelForm.tsx
+++ b/ui/litellm-dashboard/src/components/add_model/AddModelForm.tsx
@@ -266,9 +266,9 @@ const AddModelForm: React.FC<AddModelFormProps> = ({
return (
<>
<div className="flex items-center my-4">
- <div className="flex-grow border-t border-gray-200"></div>
+ <div className="grow border-t border-gray-200"></div>
<span className="px-4 text-gray-500 text-sm">OR</span>
- <div className="flex-grow border-t border-gray-200"></div>
+ <div className="grow border-t border-gray-200"></div>
</div>
<ProviderSpecificFields selectedProvider={selectedProvider} uploadProps={uploadProps} />
</>
@@ -278,9 +278,9 @@ const AddModelForm: React.FC<AddModelFormProps> = ({
}}
</Form.Item>
<div className="flex items-center my-4">
- <div className="flex-grow border-t border-gray-200"></div>
+ <div className="grow border-t border-gray-200"></div>
<span className="px-4 text-gray-500 text-sm">Additional Model Info Settings</span>
- <div className="flex-grow border-t border-gray-200"></div>
+ <div className="grow border-t border-gray-200"></div>
</div>
{/* Team-only Model Switch - Only show for proxy admins, not team admins */}
{(isAdmin || !isTeamAdmin) && (
diff --git a/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.tsx b/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.tsx
index 9e9a097e3fe..fdce2c6803d 100644
--- a/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.tsx
+++ b/ui/litellm-dashboard/src/components/add_model/add_auto_router_tab.tsx
@@ -364,9 +364,9 @@ const AddAutoRouterTab: React.FC<AddAutoRouterTabProps> = ({ form, handleOk, acc
)}
<div className="flex items-center my-4">
- <div className="flex-grow border-t border-gray-200"></div>
+ <div className="grow border-t border-gray-200"></div>
<span className="px-4 text-gray-500 text-sm">Additional Settings</span>
- <div className="flex-grow border-t border-gray-200"></div>
+ <div className="grow border-t border-gray-200"></div>
</div>
{/* Model Access Groups - Admin only */}
diff --git a/ui/litellm-dashboard/src/components/add_model/cache_control_settings.tsx b/ui/litellm-dashboard/src/components/add_model/cache_control_settings.tsx
index 13e6dc33057..3691f888a91 100644
--- a/ui/litellm-dashboard/src/components/add_model/cache_control_settings.tsx
+++ b/ui/litellm-dashboard/src/components/add_model/cache_control_settings.tsx
@@ -136,7 +136,7 @@ const CacheControlSettings: React.FC<CacheControlSettingsProps> = ({
<Form.Item>
<button
type="button"
- className="flex items-center justify-center w-full border border-dashed border-gray-300 py-2 px-4 text-gray-600 hover:text-blue-600 hover:border-blue-300 transition-all rounded"
+ className="flex items-center justify-center w-full border border-dashed border-gray-300 py-2 px-4 text-gray-600 hover:text-blue-600 hover:border-blue-300 transition-all rounded-sm"
onClick={() => add()}
>
<PlusOutlined className="mr-2" />
diff --git a/ui/litellm-dashboard/src/components/add_model/conditional_public_model_name.tsx b/ui/litellm-dashboard/src/components/add_model/conditional_public_model_name.tsx
index 0a77c252133..f819ec5977b 100644
--- a/ui/litellm-dashboard/src/components/add_model/conditional_public_model_name.tsx
+++ b/ui/litellm-dashboard/src/components/add_model/conditional_public_model_name.tsx
@@ -98,16 +98,16 @@ const ConditionalPublicModelName: React.FC = () => {
<div className="mb-2 font-normal">The name you specify in your API calls to LiteLLM Proxy</div>
<div className="mb-2 font-normal">
<strong>Example:</strong> If you name your public model{" "}
- <code className="bg-gray-700 px-1 py-0.5 rounded text-xs">example-name</code>, and choose{" "}
- <code className="bg-gray-700 px-1 py-0.5 rounded text-xs">openai/qwen-plus-latest</code> as the LiteLLM model
+ <code className="bg-gray-700 px-1 py-0.5 rounded-sm text-xs">example-name</code>, and choose{" "}
+ <code className="bg-gray-700 px-1 py-0.5 rounded-sm text-xs">openai/qwen-plus-latest</code> as the LiteLLM model
</div>
<div className="mb-2 font-normal">
<strong>Usage:</strong> You make an API call to the LiteLLM proxy with{" "}
- <code className="bg-gray-700 px-1 py-0.5 rounded text-xs">model = &quot;example-name&quot;</code>
+ <code className="bg-gray-700 px-1 py-0.5 rounded-sm text-xs">model = &quot;example-name&quot;</code>
</div>
<div className="font-normal">
<strong>Result:</strong> LiteLLM sends{" "}
- <code className="bg-gray-700 px-1 py-0.5 rounded text-xs">qwen-plus-latest</code> to the provider
+ <code className="bg-gray-700 px-1 py-0.5 rounded-sm text-xs">qwen-plus-latest</code> to the provider
</div>
</>
);
diff --git a/ui/litellm-dashboard/src/components/agents/add_agent_form.tsx b/ui/litellm-dashboard/src/components/agents/add_agent_form.tsx
index 77236c23a24..5b146adeebe 100644
--- a/ui/litellm-dashboard/src/components/agents/add_agent_form.tsx
+++ b/ui/litellm-dashboard/src/components/agents/add_agent_form.tsx
@@ -1010,7 +1010,7 @@ const AddAgentForm: React.FC<AddAgentFormProps> = ({ visible, onClose, accessTok
<button
type="button"
onClick={handleBack}
- className="text-sm text-gray-600 border border-gray-300 rounded px-4 py-2 hover:bg-gray-50"
+ className="text-sm text-gray-600 border border-gray-300 rounded-sm px-4 py-2 hover:bg-gray-50"
>
← Back
</button>
diff --git a/ui/litellm-dashboard/src/components/agents/agent_card_discovery.tsx b/ui/litellm-dashboard/src/components/agents/agent_card_discovery.tsx
index 3fa35419fde..87effb95278 100644
--- a/ui/litellm-dashboard/src/components/agents/agent_card_discovery.tsx
+++ b/ui/litellm-dashboard/src/components/agents/agent_card_discovery.tsx
@@ -249,7 +249,7 @@ const AgentCardDiscovery: React.FC<AgentCardDiscoveryProps> = ({
<Paragraph className="text-xs text-gray-500 mb-2">
Using the connection details you entered above. We&apos;ll fetch:
</Paragraph>
- <div className="bg-white border border-gray-200 rounded px-3 py-2 mb-3 font-mono text-xs text-gray-700 break-all">
+ <div className="bg-white border border-gray-200 rounded-sm px-3 py-2 mb-3 font-mono text-xs text-gray-700 break-all">
{discoveryRequest!.display_url || effectiveUrl || (
<span className="text-gray-400 italic">Fill in the fields above first</span>
)}
@@ -409,7 +409,7 @@ const AgentCardDiscovery: React.FC<AgentCardDiscoveryProps> = ({
return (
<div
key={key}
- className="flex items-center justify-between p-2 border border-gray-200 rounded bg-white"
+ className="flex items-center justify-between p-2 border border-gray-200 rounded-sm bg-white"
>
<div>
<Text strong className="capitalize">
diff --git a/ui/litellm-dashboard/src/components/agents/agent_virtual_keys.tsx b/ui/litellm-dashboard/src/components/agents/agent_virtual_keys.tsx
index afc6344c2ef..b2ddf5efb2a 100644
--- a/ui/litellm-dashboard/src/components/agents/agent_virtual_keys.tsx
+++ b/ui/litellm-dashboard/src/components/agents/agent_virtual_keys.tsx
@@ -22,7 +22,7 @@ const AgentVirtualKeys: React.FC<AgentVirtualKeysProps> = ({ keys, isLoading, on
) : (
<div className="mt-3 flex flex-col gap-2">
{keys.map((key) => (
- <div key={key.token} className="flex items-center gap-3 border border-gray-100 rounded px-3 py-2">
+ <div key={key.token} className="flex items-center gap-3 border border-gray-100 rounded-sm px-3 py-2">
<KeyOutlined className="text-gray-400" />
<span className="font-medium">{key.key_alias || "Unnamed key"}</span>
{key.key_name && <span className="font-mono text-xs text-gray-500">{key.key_name}</span>}
diff --git a/ui/litellm-dashboard/src/components/alerting/dynamic_form.tsx b/ui/litellm-dashboard/src/components/alerting/dynamic_form.tsx
index a0c7586ce4f..8eeadeb3a4a 100644
--- a/ui/litellm-dashboard/src/components/alerting/dynamic_form.tsx
+++ b/ui/litellm-dashboard/src/components/alerting/dynamic_form.tsx
@@ -125,9 +125,9 @@ const DynamicForm: React.FC<DynamicFormProps> = ({
In DB
</Badge>
) : value.stored_in_db == false ? (
- <Badge className="text-gray bg-white outline">In Config</Badge>
+ <Badge className="text-gray bg-white outline-solid">In Config</Badge>
) : (
- <Badge className="text-gray bg-white outline">Not Set</Badge>
+ <Badge className="text-gray bg-white outline-solid">Not Set</Badge>
)}
</TableCell>
<TableCell>
diff --git a/ui/litellm-dashboard/src/components/bulk_create_users_button.tsx b/ui/litellm-dashboard/src/components/bulk_create_users_button.tsx
index 4c182bdfae4..e734ab474a4 100644
--- a/ui/litellm-dashboard/src/components/bulk_create_users_button.tsx
+++ b/ui/litellm-dashboard/src/components/bulk_create_users_button.tsx
@@ -576,14 +576,14 @@ const BulkCreateUsersButton: React.FC<BulkCreateUsersProps> = ({
<h4 className="font-medium mb-2">Template Column Names</h4>
<div className="grid grid-cols-1 md:grid-cols-2 gap-3">
<div className="flex items-start">
- <div className="w-3 h-3 rounded-full bg-red-500 mt-1.5 mr-2 flex-shrink-0"></div>
+ <div className="w-3 h-3 rounded-full bg-red-500 mt-1.5 mr-2 shrink-0"></div>
<div>
<p className="font-medium">user_email</p>
<p className="text-sm text-gray-600">User&apos;s email address (required)</p>
</div>
</div>
<div className="flex items-start">
- <div className="w-3 h-3 rounded-full bg-red-500 mt-1.5 mr-2 flex-shrink-0"></div>
+ <div className="w-3 h-3 rounded-full bg-red-500 mt-1.5 mr-2 shrink-0"></div>
<div>
<p className="font-medium">user_role</p>
<p className="text-sm text-gray-600">
@@ -593,7 +593,7 @@ const BulkCreateUsersButton: React.FC<BulkCreateUsersProps> = ({
</div>
</div>
<div className="flex items-start">
- <div className="w-3 h-3 rounded-full bg-gray-300 mt-1.5 mr-2 flex-shrink-0"></div>
+ <div className="w-3 h-3 rounded-full bg-gray-300 mt-1.5 mr-2 shrink-0"></div>
<div>
<p className="font-medium">teams</p>
<p className="text-sm text-gray-600">
@@ -602,14 +602,14 @@ const BulkCreateUsersButton: React.FC<BulkCreateUsersProps> = ({
</div>
</div>
<div className="flex items-start">
- <div className="w-3 h-3 rounded-full bg-gray-300 mt-1.5 mr-2 flex-shrink-0"></div>
+ <div className="w-3 h-3 rounded-full bg-gray-300 mt-1.5 mr-2 shrink-0"></div>
<div>
<p className="font-medium">max_budget</p>
<p className="text-sm text-gray-600">Maximum budget as a number (e.g., &quot;100&quot;)</p>
</div>
</div>
<div className="flex items-start">
- <div className="w-3 h-3 rounded-full bg-gray-300 mt-1.5 mr-2 flex-shrink-0"></div>
+ <div className="w-3 h-3 rounded-full bg-gray-300 mt-1.5 mr-2 shrink-0"></div>
<div>
<p className="font-medium">budget_duration</p>
<p className="text-sm text-gray-600">
@@ -618,7 +618,7 @@ const BulkCreateUsersButton: React.FC<BulkCreateUsersProps> = ({
</div>
</div>
<div className="flex items-start">
- <div className="w-3 h-3 rounded-full bg-gray-300 mt-1.5 mr-2 flex-shrink-0"></div>
+ <div className="w-3 h-3 rounded-full bg-gray-300 mt-1.5 mr-2 shrink-0"></div>
<div>
<p className="font-medium">models</p>
<p className="text-sm text-gray-600">
@@ -760,11 +760,11 @@ const BulkCreateUsersButton: React.FC<BulkCreateUsersProps> = ({
{parsedData.some((user) => user.status === "success" || user.status === "failed") ? (
<div className="flex items-center">
<Text className="text-lg font-medium mr-3">Creation Summary</Text>
- <Text className="text-sm bg-green-100 text-green-800 px-2 py-1 rounded mr-2">
+ <Text className="text-sm bg-green-100 text-green-800 px-2 py-1 rounded-sm mr-2">
{parsedData.filter((d) => d.status === "success").length} Successful
</Text>
{parsedData.some((d) => d.status === "failed") && (
- <Text className="text-sm bg-red-100 text-red-800 px-2 py-1 rounded">
+ <Text className="text-sm bg-red-100 text-red-800 px-2 py-1 rounded-sm">
{parsedData.filter((d) => d.status === "failed").length} Failed
</Text>
)}
@@ -772,7 +772,7 @@ const BulkCreateUsersButton: React.FC<BulkCreateUsersProps> = ({
) : (
<div className="flex items-center">
<Text className="text-lg font-medium mr-3">User Preview</Text>
- <Text className="text-sm bg-blue-100 text-blue-800 px-2 py-1 rounded">
+ <Text className="text-sm bg-blue-100 text-blue-800 px-2 py-1 rounded-sm">
{parsedData.filter((d) => d.isValid).length} of {parsedData.length} users valid
</Text>
</div>
diff --git a/ui/litellm-dashboard/src/components/chat_ui/ReasoningContent.tsx b/ui/litellm-dashboard/src/components/chat_ui/ReasoningContent.tsx
index 133569cc2ed..e537c6de79f 100644
--- a/ui/litellm-dashboard/src/components/chat_ui/ReasoningContent.tsx
+++ b/ui/litellm-dashboard/src/components/chat_ui/ReasoningContent.tsx
@@ -52,7 +52,7 @@ const ReasoningContent: React.FC<ReasoningContentProps> = ({ reasoningContent })
{String(children).replace(/\n$/, "")}
</SyntaxHighlighter>
) : (
- <code className={`${className} px-1.5 py-0.5 rounded bg-gray-100 text-sm font-mono`} {...props}>
+ <code className={`${className} px-1.5 py-0.5 rounded-sm bg-gray-100 text-sm font-mono`} {...props}>
{children}
</code>
);
diff --git a/ui/litellm-dashboard/src/components/claude_code_plugins.tsx b/ui/litellm-dashboard/src/components/claude_code_plugins.tsx
index 0ec775e0c0b..4fa5269672f 100644
--- a/ui/litellm-dashboard/src/components/claude_code_plugins.tsx
+++ b/ui/litellm-dashboard/src/components/claude_code_plugins.tsx
@@ -82,7 +82,7 @@ const ClaudeCodePluginsPanel: React.FC<ClaudeCodePluginsPanelProps> = ({ accessT
<h1 className="text-2xl font-bold">Skills</h1>
<p className="text-sm text-gray-600">
Register Claude Code skills. Published skills appear in the Skill Hub for all users and are served via{" "}
- <code className="bg-gray-100 px-1 rounded">/claude-code/marketplace.json</code>.
+ <code className="bg-gray-100 px-1 rounded-sm">/claude-code/marketplace.json</code>.
</p>
<div className="mt-2 flex gap-2">
<Button onClick={() => setIsAddModalVisible(true)} disabled={!accessToken || !isAdmin}>
diff --git a/ui/litellm-dashboard/src/components/claude_code_plugins/MakeSkillPublicForm.tsx b/ui/litellm-dashboard/src/components/claude_code_plugins/MakeSkillPublicForm.tsx
index e2467b51461..7abe67f3a4f 100644
--- a/ui/litellm-dashboard/src/components/claude_code_plugins/MakeSkillPublicForm.tsx
+++ b/ui/litellm-dashboard/src/components/claude_code_plugins/MakeSkillPublicForm.tsx
@@ -186,7 +186,7 @@ const MakeSkillPublicForm: React.FC<MakeSkillPublicFormProps> = ({
{Array.from(selectedSkills).map((name) => {
const skill = skillsList.find((s) => s.name === name);
return (
- <div key={name} className="flex items-center justify-between p-2 bg-gray-50 rounded">
+ <div key={name} className="flex items-center justify-between p-2 bg-gray-50 rounded-sm">
<Text className="font-mono text-sm">{name}</Text>
{skill?.domain && (
<Badge color="blue" size="xs">
diff --git a/ui/litellm-dashboard/src/components/common_components/ModelAliasManager.tsx b/ui/litellm-dashboard/src/components/common_components/ModelAliasManager.tsx
index b4b1fa779c6..c3540ce757a 100644
--- a/ui/litellm-dashboard/src/components/common_components/ModelAliasManager.tsx
+++ b/ui/litellm-dashboard/src/components/common_components/ModelAliasManager.tsx
@@ -233,13 +233,13 @@ const ModelAliasManager: React.FC<ModelAliasManagerProps> = ({
<div className="flex space-x-2">
<button
onClick={handleUpdateAlias}
- className="text-xs bg-blue-50 text-blue-600 px-2 py-1 rounded hover:bg-blue-100"
+ className="text-xs bg-blue-50 text-blue-600 px-2 py-1 rounded-sm hover:bg-blue-100"
>
Save
</button>
<button
onClick={handleCancelEdit}
- className="text-xs bg-gray-50 text-gray-600 px-2 py-1 rounded hover:bg-gray-100"
+ className="text-xs bg-gray-50 text-gray-600 px-2 py-1 rounded-sm hover:bg-gray-100"
>
Cancel
</button>
@@ -254,13 +254,13 @@ const ModelAliasManager: React.FC<ModelAliasManagerProps> = ({
<div className="flex space-x-2">
<button
onClick={() => handleEditAlias(alias)}
- className="text-xs bg-blue-50 text-blue-600 px-2 py-1 rounded hover:bg-blue-100"
+ className="text-xs bg-blue-50 text-blue-600 px-2 py-1 rounded-sm hover:bg-blue-100"
>
<PencilIcon className="w-3 h-3" />
</button>
<button
onClick={() => deleteAlias(alias.id)}
- className="text-xs bg-red-50 text-red-600 px-2 py-1 rounded hover:bg-red-100"
+ className="text-xs bg-red-50 text-red-600 px-2 py-1 rounded-sm hover:bg-red-100"
>
<TrashIcon className="w-3 h-3" />
</button>
diff --git a/ui/litellm-dashboard/src/components/common_components/PassThroughGuardrailsSection.tsx b/ui/litellm-dashboard/src/components/common_components/PassThroughGuardrailsSection.tsx
index e495bdd24f5..733b91b1d3e 100644
--- a/ui/litellm-dashboard/src/components/common_components/PassThroughGuardrailsSection.tsx
+++ b/ui/litellm-dashboard/src/components/common_components/PassThroughGuardrailsSection.tsx
@@ -99,13 +99,13 @@ const PassThroughGuardrailsSection: React.FC<PassThroughGuardrailsSectionProps>
<div className="text-xs space-y-1 mt-2">
<div className="font-medium">Common Examples:</div>
<div>
- • <code className="bg-gray-100 px-1 rounded">query</code> - Single field
+ • <code className="bg-gray-100 px-1 rounded-sm">query</code> - Single field
</div>
<div>
- • <code className="bg-gray-100 px-1 rounded">documents[*].text</code> - All text in documents array
+ • <code className="bg-gray-100 px-1 rounded-sm">documents[*].text</code> - All text in documents array
</div>
<div>
- • <code className="bg-gray-100 px-1 rounded">messages[*].content</code> - All message contents
+ • <code className="bg-gray-100 px-1 rounded-sm">messages[*].content</code> - All message contents
</div>
</div>
</div>
@@ -170,7 +170,7 @@ const PassThroughGuardrailsSection: React.FC<PassThroughGuardrailsSectionProps>
const current = guardrailSettings[guardrailName]?.request_fields || [];
handleFieldChange(guardrailName, "request_fields", [...current, "query"]);
}}
- className="text-xs px-2 py-1 bg-white border border-gray-300 rounded hover:bg-gray-50"
+ className="text-xs px-2 py-1 bg-white border border-gray-300 rounded-sm hover:bg-gray-50"
disabled={disabled}
>
+ query
@@ -181,7 +181,7 @@ const PassThroughGuardrailsSection: React.FC<PassThroughGuardrailsSectionProps>
const current = guardrailSettings[guardrailName]?.request_fields || [];
handleFieldChange(guardrailName, "request_fields", [...current, "documents[*]"]);
}}
- className="text-xs px-2 py-1 bg-white border border-gray-300 rounded hover:bg-gray-50"
+ className="text-xs px-2 py-1 bg-white border border-gray-300 rounded-sm hover:bg-gray-50"
disabled={disabled}
>
+ documents[*]
@@ -224,7 +224,7 @@ const PassThroughGuardrailsSection: React.FC<PassThroughGuardrailsSectionProps>
const current = guardrailSettings[guardrailName]?.response_fields || [];
handleFieldChange(guardrailName, "response_fields", [...current, "results[*]"]);
}}
- className="text-xs px-2 py-1 bg-white border border-gray-300 rounded hover:bg-gray-50"
+ className="text-xs px-2 py-1 bg-white border border-gray-300 rounded-sm hover:bg-gray-50"
disabled={disabled}
>
+ results[*]
diff --git a/ui/litellm-dashboard/src/components/general_settings.tsx b/ui/litellm-dashboard/src/components/general_settings.tsx
index 8ed3787f8fa..a7a8af2691e 100644
--- a/ui/litellm-dashboard/src/components/general_settings.tsx
+++ b/ui/litellm-dashboard/src/components/general_settings.tsx
@@ -169,9 +169,9 @@ const GeneralSettings: React.FC<GeneralSettingsPageProps> = ({ accessToken, user
In DB
</Badge>
) : value.stored_in_db == false ? (
- <Badge className="text-gray bg-white outline">In Config</Badge>
+ <Badge className="text-gray bg-white outline-solid">In Config</Badge>
) : (
- <Badge className="text-gray bg-white outline">Not Set</Badge>
+ <Badge className="text-gray bg-white outline-solid">Not Set</Badge>
)}
</TableCell>
<TableCell>
diff --git a/ui/litellm-dashboard/src/components/guardrails/GuardrailTestPanel.tsx b/ui/litellm-dashboard/src/components/guardrails/GuardrailTestPanel.tsx
index 473871553b1..81a9edb91c6 100644
--- a/ui/litellm-dashboard/src/components/guardrails/GuardrailTestPanel.tsx
+++ b/ui/litellm-dashboard/src/components/guardrails/GuardrailTestPanel.tsx
@@ -133,9 +133,9 @@ export function GuardrailTestPanel({
/>
<div className="flex justify-between items-center mt-1">
<Text className="text-xs text-gray-500">
- Press <kbd className="px-1 py-0.5 bg-gray-100 border border-gray-300 rounded text-xs">Enter</kbd> to
+ Press <kbd className="px-1 py-0.5 bg-gray-100 border border-gray-300 rounded-sm text-xs">Enter</kbd> to
submit •{" "}
- <kbd className="px-1 py-0.5 bg-gray-100 border border-gray-300 rounded text-xs">Shift+Enter</kbd> for
+ <kbd className="px-1 py-0.5 bg-gray-100 border border-gray-300 rounded-sm text-xs">Shift+Enter</kbd> for
new line
</Text>
<Text className="text-xs text-gray-500">Characters: {inputText.length}</Text>
diff --git a/ui/litellm-dashboard/src/components/guardrails/GuardrailTestResults.tsx b/ui/litellm-dashboard/src/components/guardrails/GuardrailTestResults.tsx
index 52360085241..ff6fc5744b6 100644
--- a/ui/litellm-dashboard/src/components/guardrails/GuardrailTestResults.tsx
+++ b/ui/litellm-dashboard/src/components/guardrails/GuardrailTestResults.tsx
@@ -118,9 +118,9 @@ export function GuardrailTestResults({ results, errors }: GuardrailTestResultsPr
</div>
{!isCollapsed && (
<>
- <div className="bg-white border border-green-200 rounded p-3">
+ <div className="bg-white border border-green-200 rounded-sm p-3">
<label className="text-xs font-medium text-gray-600 mb-2 block">Output Text</label>
- <div className="font-mono text-sm text-gray-900 whitespace-pre-wrap break-words">
+ <div className="font-mono text-sm text-gray-900 whitespace-pre-wrap wrap-break-word">
{result.response_text}
</div>
</div>
diff --git a/ui/litellm-dashboard/src/components/guardrails/TeamGuardrailsTab.tsx b/ui/litellm-dashboard/src/components/guardrails/TeamGuardrailsTab.tsx
index d9d9f9ac1c4..07cdcbc888c 100644
--- a/ui/litellm-dashboard/src/components/guardrails/TeamGuardrailsTab.tsx
+++ b/ui/litellm-dashboard/src/components/guardrails/TeamGuardrailsTab.tsx
@@ -193,7 +193,7 @@ function Toggle({ enabled, onToggle }: { enabled: boolean; onToggle: () => void
onClick={onToggle}
role="switch"
aria-checked={enabled}
- className={`relative inline-flex h-5 w-9 items-center rounded-full transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-1 ${
+ className={`relative inline-flex h-5 w-9 items-center rounded-full transition-colors focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:ring-offset-1 ${
enabled ? "bg-blue-500" : "bg-gray-200"
}`}
>
@@ -249,7 +249,7 @@ function GuardrailCard({
<h3 className="text-sm font-semibold text-gray-900 mb-1">{g.name}</h3>
<p className="text-xs text-gray-500 mb-2 line-clamp-1">{g.description}</p>
<div className="flex items-center gap-1.5 mb-2">
- <ServerIcon className="h-3.5 w-3.5 text-gray-400 flex-shrink-0" />
+ <ServerIcon className="h-3.5 w-3.5 text-gray-400 shrink-0" />
<code className="text-xs text-gray-500 font-mono truncate">{g.endpoint}</code>
</div>
<div className="flex items-center gap-4 text-xs text-gray-500">
@@ -261,7 +261,7 @@ function GuardrailCard({
</span>
</div>
</div>
- <div className="flex flex-col items-end gap-2 flex-shrink-0">
+ <div className="flex flex-col items-end gap-2 shrink-0">
<div className="flex items-center gap-2">
<span className="text-xs text-gray-500 whitespace-nowrap">Forward API Key</span>
<Toggle enabled={g.forwardKey} onToggle={onToggleForwardKey} />
@@ -317,9 +317,11 @@ function GuardrailCard({
<div className="space-y-1">
{g.customHeaders.map((h, i) => (
<div key={`${h.key}-${i}`} className="flex items-center gap-2 text-xs font-mono">
- <span className="text-gray-500 bg-gray-50 border border-gray-200 rounded px-2 py-0.5">{h.key}</span>
+ <span className="text-gray-500 bg-gray-50 border border-gray-200 rounded-sm px-2 py-0.5">
+ {h.key}
+ </span>
<span className="text-gray-400">:</span>
- <span className="text-gray-700 bg-gray-50 border border-gray-200 rounded px-2 py-0.5">
+ <span className="text-gray-700 bg-gray-50 border border-gray-200 rounded-sm px-2 py-0.5">
{h.value}
</span>
</div>
@@ -368,7 +370,7 @@ function DetailPanel({
const status = STATUS_CONFIG[g.status];
const teamColor = TEAM_COLORS[g.team] ?? "bg-gray-100 text-gray-700";
return (
- <div className="w-96 flex-shrink-0 bg-white overflow-auto">
+ <div className="w-96 shrink-0 bg-white overflow-auto">
<div className="p-5">
<div className="flex items-start justify-between mb-4">
<div>
@@ -404,14 +406,14 @@ function DetailPanel({
href={g.endpoint}
target="_blank"
rel="noopener noreferrer"
- className="text-gray-400 hover:text-blue-500 flex-shrink-0"
+ className="text-gray-400 hover:text-blue-500 shrink-0"
>
<ExternalLinkIcon className="h-3.5 w-3.5" />
</a>
</div>
</ConfigRow>
<ConfigRow label="Method">
- <span className="text-xs font-mono font-medium text-gray-700 bg-gray-100 px-2 py-0.5 rounded">
+ <span className="text-xs font-mono font-medium text-gray-700 bg-gray-100 px-2 py-0.5 rounded-sm">
{g.method}
</span>
</ConfigRow>
@@ -425,7 +427,7 @@ function DetailPanel({
</div>
<p className="text-xs text-blue-700 leading-relaxed">
When enabled, the caller&apos;s LiteLLM API key is forwarded as an{" "}
- <code className="font-mono bg-blue-100 px-1 rounded">Authorization</code> header to your guardrail
+ <code className="font-mono bg-blue-100 px-1 rounded-sm">Authorization</code> header to your guardrail
endpoint. This allows your guardrail to authenticate model calls using the original caller&apos;s
credentials.
</p>
@@ -447,7 +449,7 @@ function DetailPanel({
{g.customHeaders.map((h, i) => (
<li
key={`${h.key}-${i}`}
- className="flex items-center justify-between gap-2 text-xs font-mono bg-gray-50 border border-gray-200 rounded px-2 py-1.5"
+ className="flex items-center justify-between gap-2 text-xs font-mono bg-gray-50 border border-gray-200 rounded-sm px-2 py-1.5"
>
<span className="text-gray-700 truncate">
{h.key}: {h.value}
@@ -455,7 +457,7 @@ function DetailPanel({
<button
type="button"
onClick={() => onUpdateCustomHeaders(g.customHeaders.filter((_, idx) => idx !== i))}
- className="text-gray-400 hover:text-red-600 flex-shrink-0"
+ className="text-gray-400 hover:text-red-600 shrink-0"
aria-label={`Remove ${h.key}`}
>
<XIcon className="h-3.5 w-3.5" />
@@ -470,7 +472,7 @@ function DetailPanel({
value={newStaticHeaderKey}
onChange={(e) => setNewStaticHeaderKey(e.target.value)}
placeholder="Header name (e.g. X-API-Key)"
- className="flex-1 min-w-0 text-xs font-mono border border-gray-200 rounded px-2 py-1.5 text-gray-700 placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-blue-500"
+ className="flex-1 min-w-0 text-xs font-mono border border-gray-200 rounded-sm px-2 py-1.5 text-gray-700 placeholder-gray-400 focus:outline-hidden focus:ring-1 focus:ring-blue-500"
onKeyDown={(e) => {
if (e.key === "Enter") {
e.preventDefault();
@@ -489,7 +491,7 @@ function DetailPanel({
value={newStaticHeaderValue}
onChange={(e) => setNewStaticHeaderValue(e.target.value)}
placeholder="Value"
- className="flex-1 min-w-0 text-xs font-mono border border-gray-200 rounded px-2 py-1.5 text-gray-700 placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-blue-500"
+ className="flex-1 min-w-0 text-xs font-mono border border-gray-200 rounded-sm px-2 py-1.5 text-gray-700 placeholder-gray-400 focus:outline-hidden focus:ring-1 focus:ring-blue-500"
onKeyDown={(e) => {
if (e.key === "Enter") {
e.preventDefault();
@@ -514,7 +516,7 @@ function DetailPanel({
setNewStaticHeaderValue("");
}
}}
- className="text-xs font-medium text-blue-600 hover:text-blue-700 border border-blue-200 bg-blue-50 hover:bg-blue-100 px-2 py-1.5 rounded transition-colors flex-shrink-0"
+ className="text-xs font-medium text-blue-600 hover:text-blue-700 border border-blue-200 bg-blue-50 hover:bg-blue-100 px-2 py-1.5 rounded-sm transition-colors shrink-0"
>
Add
</button>
@@ -539,13 +541,13 @@ function DetailPanel({
{g.extraHeaders.map((name, i) => (
<li
key={`${name}-${i}`}
- className="flex items-center justify-between gap-2 text-xs font-mono bg-gray-50 border border-gray-200 rounded px-2 py-1.5"
+ className="flex items-center justify-between gap-2 text-xs font-mono bg-gray-50 border border-gray-200 rounded-sm px-2 py-1.5"
>
<span className="text-gray-700 truncate">{name}</span>
<button
type="button"
onClick={() => onUpdateExtraHeaders(g.extraHeaders.filter((_, idx) => idx !== i))}
- className="text-gray-400 hover:text-red-600 flex-shrink-0"
+ className="text-gray-400 hover:text-red-600 shrink-0"
aria-label={`Remove ${name}`}
>
<XIcon className="h-3.5 w-3.5" />
@@ -560,7 +562,7 @@ function DetailPanel({
value={newExtraHeader}
onChange={(e) => setNewExtraHeader(e.target.value)}
placeholder="e.g. x-request-id"
- className="flex-1 min-w-0 text-xs font-mono border border-gray-200 rounded px-2 py-1.5 text-gray-700 placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-blue-500"
+ className="flex-1 min-w-0 text-xs font-mono border border-gray-200 rounded-sm px-2 py-1.5 text-gray-700 placeholder-gray-400 focus:outline-hidden focus:ring-1 focus:ring-blue-500"
onKeyDown={(e) => {
if (e.key === "Enter") {
e.preventDefault();
@@ -581,7 +583,7 @@ function DetailPanel({
setNewExtraHeader("");
}
}}
- className="text-xs font-medium text-blue-600 hover:text-blue-700 border border-blue-200 bg-blue-50 hover:bg-blue-100 px-2 py-1.5 rounded transition-colors"
+ className="text-xs font-medium text-blue-600 hover:text-blue-700 border border-blue-200 bg-blue-50 hover:bg-blue-100 px-2 py-1.5 rounded-sm transition-colors"
>
Add
</button>
@@ -607,7 +609,7 @@ function DetailPanel({
)}
</div>
<div className="flex items-start gap-2 bg-gray-50 border border-gray-200 rounded-lg p-3">
- <InfoIcon className="h-3.5 w-3.5 text-gray-400 flex-shrink-0 mt-0.5" />
+ <InfoIcon className="h-3.5 w-3.5 text-gray-400 shrink-0 mt-0.5" />
<p className="text-xs text-gray-500 leading-relaxed">
This guardrail runs on a separate instance. It receives the user request and forwards the result to the
next step in the pipeline. See{" "}
@@ -887,13 +889,13 @@ export function TeamGuardrailsTab({ accessToken }: TeamGuardrailsTabProps) {
placeholder="Search guardrails..."
value={search}
onChange={(e) => setSearch(e.target.value)}
- className="w-full pl-9 pr-4 py-2 border border-gray-200 rounded-md text-sm text-gray-700 placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500"
+ className="w-full pl-9 pr-4 py-2 border border-gray-200 rounded-md text-sm text-gray-700 placeholder-gray-400 focus:outline-hidden focus:ring-1 focus:ring-blue-500 focus:border-blue-500"
/>
</div>
<select
value={statusFilter}
onChange={(e) => setStatusFilter(e.target.value as typeof statusFilter)}
- className="border border-gray-200 rounded-md px-3 py-2 text-sm text-gray-700 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500 bg-white"
+ className="border border-gray-200 rounded-md px-3 py-2 text-sm text-gray-700 focus:outline-hidden focus:ring-1 focus:ring-blue-500 focus:border-blue-500 bg-white"
>
<option value="all">All Status</option>
<option value="pending">Pending Review</option>
diff --git a/ui/litellm-dashboard/src/components/guardrails/add_guardrail_form.tsx b/ui/litellm-dashboard/src/components/guardrails/add_guardrail_form.tsx
index 4ac4242b8ab..1b7021f318f 100644
--- a/ui/litellm-dashboard/src/components/guardrails/add_guardrail_form.tsx
+++ b/ui/litellm-dashboard/src/components/guardrails/add_guardrail_form.tsx
@@ -1062,7 +1062,7 @@ const AddGuardrailForm: React.FC<AddGuardrailFormProps> = ({ visible, onClose, a
onChange={(e) =>
setEndSessionAfterNFails(e.target.value ? parseInt(e.target.value, 10) : undefined)
}
- className="border border-gray-300 rounded px-3 py-1.5 text-sm w-32"
+ className="border border-gray-300 rounded-sm px-3 py-1.5 text-sm w-32"
/>
</div>
@@ -1105,7 +1105,7 @@ const AddGuardrailForm: React.FC<AddGuardrailFormProps> = ({ visible, onClose, a
placeholder="e.g. I'm not able to continue this conversation. Please contact us at 1-800-774-2678."
value={realtimeViolationMessage}
onChange={(e) => setRealtimeViolationMessage(e.target.value)}
- className="border border-gray-300 rounded px-3 py-2 text-sm w-full resize-none"
+ className="border border-gray-300 rounded-sm px-3 py-2 text-sm w-full resize-none"
/>
</div>
</div>
@@ -1185,9 +1185,9 @@ const AddGuardrailForm: React.FC<AddGuardrailFormProps> = ({ visible, onClose, a
return (
<div key={index} className="relative flex gap-4" style={{ paddingBottom: isLast ? 0 : 8 }}>
{/* Vertical line + step indicator */}
- <div className="flex flex-col items-center flex-shrink-0" style={{ width: 24 }}>
+ <div className="flex flex-col items-center shrink-0" style={{ width: 24 }}>
<div
- className="w-6 h-6 rounded-full flex items-center justify-center text-xs font-medium flex-shrink-0"
+ className="w-6 h-6 rounded-full flex items-center justify-center text-xs font-medium shrink-0"
style={{
background: isDone ? "#4f46e5" : isCurrent ? "#fff" : "#f8fafc",
color: isDone ? "#fff" : isCurrent ? "#4f46e5" : "#94a3b8",
diff --git a/ui/litellm-dashboard/src/components/guardrails/custom_code/CustomCodeModal.tsx b/ui/litellm-dashboard/src/components/guardrails/custom_code/CustomCodeModal.tsx
index b7881eaf8ad..411c2ed13ae 100644
--- a/ui/litellm-dashboard/src/components/guardrails/custom_code/CustomCodeModal.tsx
+++ b/ui/litellm-dashboard/src/components/guardrails/custom_code/CustomCodeModal.tsx
@@ -565,13 +565,13 @@ const CustomCodeModal: React.FC<CustomCodeModalProps> = ({ visible, onClose, onS
{/* Main Content */}
<div className="flex flex-1 overflow-hidden mt-4 gap-6">
{/* Code Editor */}
- <div className="flex-[2] flex flex-col min-w-0 overflow-y-auto">
- <div className="flex items-center justify-between mb-2 flex-shrink-0">
+ <div className="flex-2 flex flex-col min-w-0 overflow-y-auto">
+ <div className="flex items-center justify-between mb-2 shrink-0">
<span className="text-xs font-semibold text-gray-500 uppercase tracking-wide">Python Logic</span>
<span className="text-xs text-gray-400">Restricted environment (no imports)</span>
</div>
<div
- className="relative rounded-lg overflow-hidden border border-gray-700 bg-[#1e1e1e] flex-shrink-0"
+ className="relative rounded-lg overflow-hidden border border-gray-700 bg-[#1e1e1e] shrink-0"
style={{ minHeight: "300px", maxHeight: "400px" }}
>
{/* Line numbers */}
@@ -596,7 +596,7 @@ const CustomCodeModal: React.FC<CustomCodeModalProps> = ({ visible, onClose, onS
onChange={(e) => setCode(e.target.value)}
onKeyDown={handleKeyDown}
spellCheck={false}
- className="w-full h-full pl-14 pr-4 pt-3 pb-3 resize-none focus:outline-none bg-transparent text-gray-200"
+ className="w-full h-full pl-14 pr-4 pt-3 pb-3 resize-none focus:outline-hidden bg-transparent text-gray-200"
style={{
fontFamily: "'Fira Code', 'Monaco', 'Consolas', monospace",
fontSize: "14px",
@@ -610,7 +610,7 @@ const CustomCodeModal: React.FC<CustomCodeModalProps> = ({ visible, onClose, onS
<Collapse
activeKey={testExpanded ? ["test"] : []}
onChange={(keys) => setTestExpanded(keys.includes("test"))}
- className="mt-3 bg-white border border-gray-200 rounded-lg flex-shrink-0"
+ className="mt-3 bg-white border border-gray-200 rounded-lg shrink-0"
expandIcon={({ isActive }) => <CaretRightOutlined rotate={isActive ? 90 : 0} />}
>
<Panel
@@ -631,27 +631,27 @@ const CustomCodeModal: React.FC<CustomCodeModalProps> = ({ visible, onClose, onS
<button
type="button"
onClick={() => setTestInput(JSON.stringify(TEST_INPUT_EXAMPLES.pre_call.data, null, 2))}
- className="px-2 py-1 text-xs rounded border border-orange-200 bg-orange-50 text-orange-700 hover:bg-orange-100 transition-colors"
+ className="px-2 py-1 text-xs rounded-sm border border-orange-200 bg-orange-50 text-orange-700 hover:bg-orange-100 transition-colors"
>
Pre-call
</button>
<button
type="button"
onClick={() => setTestInput(JSON.stringify(TEST_INPUT_EXAMPLES.pre_mcp_call.data, null, 2))}
- className="px-2 py-1 text-xs rounded border border-purple-200 bg-purple-50 text-purple-700 hover:bg-purple-100 transition-colors"
+ className="px-2 py-1 text-xs rounded-sm border border-purple-200 bg-purple-50 text-purple-700 hover:bg-purple-100 transition-colors"
>
Pre MCP
</button>
<button
type="button"
onClick={() => setTestInput(JSON.stringify(TEST_INPUT_EXAMPLES.post_call.data, null, 2))}
- className="px-2 py-1 text-xs rounded border border-green-200 bg-green-50 text-green-700 hover:bg-green-100 transition-colors"
+ className="px-2 py-1 text-xs rounded-sm border border-green-200 bg-green-50 text-green-700 hover:bg-green-100 transition-colors"
>
Post-call
</button>
</div>
</div>
- <div className="mb-2 p-2 bg-gray-50 rounded text-xs text-gray-600 border border-gray-200">
+ <div className="mb-2 p-2 bg-gray-50 rounded-sm text-xs text-gray-600 border border-gray-200">
<div className="grid grid-cols-2 gap-x-4 gap-y-1">
<div>
<strong>texts</strong>: Message content (always)
@@ -738,7 +738,7 @@ const CustomCodeModal: React.FC<CustomCodeModalProps> = ({ visible, onClose, onS
</Panel>
</Collapse>
{/* Contribution CTA Banner */}
- <div className="mt-3 p-4 bg-gradient-to-r from-blue-50 to-indigo-50 border border-blue-200 rounded-lg flex items-center justify-between flex-shrink-0">
+ <div className="mt-3 p-4 bg-linear-to-r from-blue-50 to-indigo-50 border border-blue-200 rounded-lg flex items-center justify-between shrink-0">
<div className="flex items-center gap-3">
<div className="bg-blue-100 rounded-full p-2">
<UsergroupAddOutlined className="text-blue-600 text-lg" />
@@ -760,7 +760,7 @@ const CustomCodeModal: React.FC<CustomCodeModalProps> = ({ visible, onClose, onS
</div>
{/* Primitives Panel */}
- <div className="w-[300px] flex-shrink-0 overflow-auto border-l border-gray-200 pl-6">
+ <div className="w-[300px] shrink-0 overflow-auto border-l border-gray-200 pl-6">
<div className="flex items-center gap-2 mb-3">
<CodeOutlined className="text-blue-500" />
<span className="font-semibold text-gray-700">Available Primitives</span>
diff --git a/ui/litellm-dashboard/src/components/guardrails/guardrail_info.tsx b/ui/litellm-dashboard/src/components/guardrails/guardrail_info.tsx
index 897e9d26aff..82c2e16fd49 100644
--- a/ui/litellm-dashboard/src/components/guardrails/guardrail_info.tsx
+++ b/ui/litellm-dashboard/src/components/guardrails/guardrail_info.tsx
@@ -580,7 +580,7 @@ const GuardrailInfoView: React.FC<GuardrailInfoProps> = ({ guardrailId, onClose,
Object.keys(guardrailData.litellm_params.pii_entities_config).length > 0 && (
<Card className="mt-6">
<Text className="mb-4 text-lg font-semibold">PII Entity Configuration</Text>
- <div className="border rounded-lg overflow-hidden shadow-sm">
+ <div className="border rounded-lg overflow-hidden shadow-xs">
<div className="bg-gray-50 px-5 py-3 border-b flex">
<Text className="flex-1 font-semibold text-gray-700">Entity Type</Text>
<Text className="flex-1 font-semibold text-gray-700">Configuration</Text>
diff --git a/ui/litellm-dashboard/src/components/guardrails/guardrail_optional_params.tsx b/ui/litellm-dashboard/src/components/guardrails/guardrail_optional_params.tsx
index 3b52d806a30..301b6ff359f 100644
--- a/ui/litellm-dashboard/src/components/guardrails/guardrail_optional_params.tsx
+++ b/ui/litellm-dashboard/src/components/guardrails/guardrail_optional_params.tsx
@@ -147,7 +147,7 @@ const GuardrailOptionalParams: React.FC<GuardrailOptionalParamsProps> = ({
}
return (
- <div key={fullFieldKey} className="mb-8 p-6 bg-white rounded-lg border border-gray-200 shadow-sm">
+ <div key={fullFieldKey} className="mb-8 p-6 bg-white rounded-lg border border-gray-200 shadow-xs">
<Form.Item
name={[parentFieldKey, fieldKey]}
label={
diff --git a/ui/litellm-dashboard/src/components/guardrails/pii_components.tsx b/ui/litellm-dashboard/src/components/guardrails/pii_components.tsx
index 3365e866aa9..6d35122c69f 100644
--- a/ui/litellm-dashboard/src/components/guardrails/pii_components.tsx
+++ b/ui/litellm-dashboard/src/components/guardrails/pii_components.tsx
@@ -71,7 +71,7 @@ export interface QuickActionsProps {
export const QuickActions: React.FC<QuickActionsProps> = ({ onSelectAll, onUnselectAll, hasSelectedEntities }) => {
return (
- <div className="bg-gray-50 p-5 rounded-lg mb-6 border border-gray-200 shadow-sm">
+ <div className="bg-gray-50 p-5 rounded-lg mb-6 border border-gray-200 shadow-xs">
<div className="flex items-center justify-between mb-4">
<div className="flex items-center">
<Text strong className="text-gray-700 text-base">
@@ -138,7 +138,7 @@ export const PiiEntityList: React.FC<PiiEntityListProps> = ({
entityToCategoryMap,
}) => {
return (
- <div className="border rounded-lg overflow-hidden shadow-sm">
+ <div className="border rounded-lg overflow-hidden shadow-xs">
<div className="bg-gray-50 px-5 py-3 border-b flex">
<Text strong className="flex-1 text-gray-700">
PII Type
diff --git a/ui/litellm-dashboard/src/components/guardrails/pii_configuration.tsx b/ui/litellm-dashboard/src/components/guardrails/pii_configuration.tsx
index b47f6b12f9d..be2c9ff0298 100644
--- a/ui/litellm-dashboard/src/components/guardrails/pii_configuration.tsx
+++ b/ui/litellm-dashboard/src/components/guardrails/pii_configuration.tsx
@@ -57,7 +57,7 @@ const PiiConfiguration: React.FC<PiiConfigurationProps> = ({
<div className="pii-configuration">
<div className="flex justify-between items-center mb-5">
<div className="flex items-center">
- <Title level={4} className="!m-0 font-semibold text-gray-800">
+ <Title level={4} className="m-0! font-semibold text-gray-800">
Configure PII Protection
</Title>
</div>
diff --git a/ui/litellm-dashboard/src/components/guardrails/tool_permission/ToolPermissionRulesEditor.tsx b/ui/litellm-dashboard/src/components/guardrails/tool_permission/ToolPermissionRulesEditor.tsx
index 0d3093459c0..7083e32f73e 100644
--- a/ui/litellm-dashboard/src/components/guardrails/tool_permission/ToolPermissionRulesEditor.tsx
+++ b/ui/litellm-dashboard/src/components/guardrails/tool_permission/ToolPermissionRulesEditor.tsx
@@ -186,7 +186,7 @@ const ToolPermissionRulesEditor: React.FC<ToolPermissionRulesEditorProps> = ({ v
icon={<PlusOutlined />}
type="primary"
onClick={addRule}
- className="!bg-blue-600 !text-white hover:!bg-blue-500"
+ className="bg-blue-600! text-white! hover:bg-blue-500!"
>
Add Rule
</Button>
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/ByokCredentialModal.tsx b/ui/litellm-dashboard/src/components/mcp_tools/ByokCredentialModal.tsx
index 84203a23950..cb07db871fd 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/ByokCredentialModal.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/ByokCredentialModal.tsx
@@ -102,11 +102,11 @@ export const ByokCredentialModal: React.FC<ByokCredentialModalProps> = ({
<div className="text-center">
{/* Logos */}
<div className="flex items-center justify-center gap-3 mb-6">
- <div className="w-14 h-14 rounded-xl bg-gradient-to-br from-teal-400 to-cyan-600 flex items-center justify-center text-white font-bold text-xl shadow">
+ <div className="w-14 h-14 rounded-xl bg-linear-to-br from-teal-400 to-cyan-600 flex items-center justify-center text-white font-bold text-xl shadow-sm">
L
</div>
<ArrowRightOutlined className="text-gray-400 text-lg" />
- <div className="w-14 h-14 rounded-xl bg-gradient-to-br from-blue-600 to-indigo-800 flex items-center justify-center text-white font-bold text-xl shadow">
+ <div className="w-14 h-14 rounded-xl bg-linear-to-br from-blue-600 to-indigo-800 flex items-center justify-center text-white font-bold text-xl shadow-sm">
{firstLetter}
</div>
</div>
@@ -146,7 +146,7 @@ export const ByokCredentialModal: React.FC<ByokCredentialModalProps> = ({
<ul className="space-y-2">
{server.byok_description.map((item, i) => (
<li key={i} className="flex items-center gap-2 text-sm text-gray-700">
- <CheckOutlined className="text-green-500 flex-shrink-0" />
+ <CheckOutlined className="text-green-500 shrink-0" />
{item}
</li>
))}
@@ -211,7 +211,7 @@ export const ByokCredentialModal: React.FC<ByokCredentialModalProps> = ({
{/* Security note */}
<div className="bg-blue-50 rounded-xl p-4 flex items-start gap-3 mb-6">
- <LockOutlined className="text-blue-400 mt-0.5 flex-shrink-0" />
+ <LockOutlined className="text-blue-400 mt-0.5 shrink-0" />
<p className="text-sm text-blue-700">
Your key is stored securely and transmitted over HTTPS. It is never shared with third parties.
</p>
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/EnvVarsSection.tsx b/ui/litellm-dashboard/src/components/mcp_tools/EnvVarsSection.tsx
index 4a694d71585..fbaacc40263 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/EnvVarsSection.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/EnvVarsSection.tsx
@@ -43,7 +43,7 @@ const EnvVarsSection: React.FC = () => {
</div>
<Text className="text-xs text-gray-600 block mb-3">
Reference these in Static Headers or Authentication as <code>{"${VAR_NAME}"}</code>. For example:{" "}
- <code className="bg-white px-1 rounded border border-gray-200">
+ <code className="bg-white px-1 rounded-sm border border-gray-200">
{"${DB_PROTOCOL}://${CORP_USERNAME}:${CORP_PASSWORD}@${DB_HOSTNAME}"}
</code>
</Text>
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/MCPLogoSelector.tsx b/ui/litellm-dashboard/src/components/mcp_tools/MCPLogoSelector.tsx
index 111d83e44ab..6f626a1a70b 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/MCPLogoSelector.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/MCPLogoSelector.tsx
@@ -59,7 +59,7 @@ const MCPLogoSelector: React.FC<MCPLogoSelectorProps> = ({ value, onChange }) =>
<img
src={resolveLogoSrc(value)}
alt="Selected logo"
- className="w-10 h-10 object-contain rounded"
+ className="w-10 h-10 object-contain rounded-sm"
onError={(e) => {
(e.target as HTMLImageElement).style.display = "none";
}}
@@ -91,7 +91,7 @@ const MCPLogoSelector: React.FC<MCPLogoSelectorProps> = ({ value, onChange }) =>
className={`flex items-center justify-center p-2 rounded-lg border transition-all cursor-pointer
${
isSelected
- ? "border-blue-500 bg-blue-50 shadow-sm"
+ ? "border-blue-500 bg-blue-50 shadow-xs"
: "border-gray-200 hover:border-blue-300 hover:bg-gray-50"
}`}
style={{ width: 40, height: 40 }}
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/MCPServerCard.tsx b/ui/litellm-dashboard/src/components/mcp_tools/MCPServerCard.tsx
index 064a9481325..082024fc853 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/MCPServerCard.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/MCPServerCard.tsx
@@ -137,18 +137,18 @@ const MCPServerCard: FC<MCPServerCardProps> = ({
tabIndex={0}
onClick={onClick}
onKeyDown={handleKeyDown}
- className={`group relative flex h-full cursor-pointer flex-col gap-3 rounded-lg p-4 transition-all duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-400 ${cardClass}`}
+ className={`group relative flex h-full cursor-pointer flex-col gap-3 rounded-lg p-4 transition-all duration-150 focus:outline-hidden focus-visible:ring-2 focus-visible:ring-blue-400 ${cardClass}`}
>
<div className="flex items-start gap-3">
{logoUrl ? (
<img
src={logoUrl}
alt={`${name} logo`}
- className="h-10 w-10 flex-shrink-0 rounded object-contain"
+ className="h-10 w-10 shrink-0 rounded-sm object-contain"
onError={() => setFailedLogoUrl(logoUrl)}
/>
) : (
- <div className="flex h-10 w-10 flex-shrink-0 items-center justify-center rounded bg-gray-100 font-semibold text-gray-500">
+ <div className="flex h-10 w-10 shrink-0 items-center justify-center rounded-sm bg-gray-100 font-semibold text-gray-500">
{(name || "?").slice(0, 2).toUpperCase()}
</div>
)}
@@ -251,7 +251,7 @@ const MCPServerCard: FC<MCPServerCardProps> = ({
stop(e);
onOpenFillFields();
}}
- className="rounded-md bg-red-600 px-3 py-1 text-xs font-medium text-white shadow-sm transition-colors hover:bg-red-700"
+ className="rounded-md bg-red-600 px-3 py-1 text-xs font-medium text-white shadow-xs transition-colors hover:bg-red-700"
>
Set
</button>
@@ -300,7 +300,7 @@ const HealthChip: FC<HealthChipProps> = ({
{error && (
<div className="text-xs">
<div className="font-medium text-red-300 mb-1">Error</div>
- <div className="break-words">{error}</div>
+ <div className="wrap-break-word">{error}</div>
</div>
)}
{!lastCheck && !error && <div className="text-xs text-gray-400">No health data</div>}
@@ -369,7 +369,7 @@ const ByokRow: FC<ByokRowProps> = ({ connected, onConnect }) => {
stop(e);
onConnect();
}}
- className="rounded-md bg-blue-600 px-3 py-1 text-xs font-medium text-white shadow-sm transition-colors hover:bg-blue-700"
+ className="rounded-md bg-blue-600 px-3 py-1 text-xs font-medium text-white shadow-xs transition-colors hover:bg-blue-700"
>
Connect
</button>
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/MCPSubmissionsTab.tsx b/ui/litellm-dashboard/src/components/mcp_tools/MCPSubmissionsTab.tsx
index 100373a4571..50c88a63582 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/MCPSubmissionsTab.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/MCPSubmissionsTab.tsx
@@ -106,7 +106,7 @@ function ConfirmDialog({ action, serverName, isCurrentlyActive, onConfirm, onCan
placeholder="Reason for rejection (optional)"
value={reviewNotes}
onChange={(e) => setReviewNotes(e.target.value)}
- className="w-full border border-gray-200 rounded-md px-3 py-2 text-sm text-gray-700 placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-blue-500 mb-4 resize-none"
+ className="w-full border border-gray-200 rounded-md px-3 py-2 text-sm text-gray-700 placeholder-gray-400 focus:outline-hidden focus:ring-1 focus:ring-blue-500 mb-4 resize-none"
rows={3}
/>
)}
@@ -209,7 +209,7 @@ function SubmissionRulesPanel({ requiredFields, onChange, onSave, isSaving }: Su
type="checkbox"
checked={active}
onChange={() => toggle(field.key)}
- className="mt-0.5 h-4 w-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500 cursor-pointer"
+ className="mt-0.5 h-4 w-4 rounded-sm border-gray-300 text-blue-600 focus:ring-blue-500 cursor-pointer"
/>
<div>
<div className="text-sm font-medium text-gray-800 group-hover:text-blue-700 transition-colors">
@@ -291,7 +291,7 @@ function MCPServerCard({ server, onApprove, onReject, requiredFields }: MCPServe
{server.description && <p className="text-xs text-gray-500 mt-0.5 line-clamp-1">{server.description}</p>}
{server.url && (
<div className="flex items-center gap-1.5 mt-1.5">
- <ServerIcon className="h-3.5 w-3.5 text-gray-400 flex-shrink-0" />
+ <ServerIcon className="h-3.5 w-3.5 text-gray-400 shrink-0" />
<code className="text-xs text-gray-500 font-mono truncate">{server.url}</code>
</div>
)}
@@ -312,7 +312,7 @@ function MCPServerCard({ server, onApprove, onReject, requiredFields }: MCPServe
</div>
{/* Approve/Reject when no checks panel (no rules configured) */}
{checks.length === 0 && approvalStatus !== "rejected" && (
- <div className="flex items-center gap-2 flex-shrink-0">
+ <div className="flex items-center gap-2 shrink-0">
{approvalStatus !== "active" && (
<button
type="button"
@@ -332,7 +332,7 @@ function MCPServerCard({ server, onApprove, onReject, requiredFields }: MCPServe
</div>
)}
{checks.length === 0 && approvalStatus === "rejected" && (
- <div className="flex items-center gap-2 flex-shrink-0">
+ <div className="flex items-center gap-2 shrink-0">
<button
type="button"
onClick={onApprove}
@@ -356,7 +356,7 @@ function MCPServerCard({ server, onApprove, onReject, requiredFields }: MCPServe
>
{/* Large status circle */}
<div
- className={`w-8 h-8 rounded-full flex items-center justify-center flex-shrink-0 ${
+ className={`w-8 h-8 rounded-full flex items-center justify-center shrink-0 ${
allPassed ? "bg-green-500" : "bg-red-500"
}`}
>
@@ -371,7 +371,7 @@ function MCPServerCard({ server, onApprove, onReject, requiredFields }: MCPServe
</div>
</div>
{/* Approve / Reject in header */}
- <div className="flex items-center gap-2 flex-shrink-0">
+ <div className="flex items-center gap-2 shrink-0">
{approvalStatus !== "active" && approvalStatus !== "rejected" && (
<button
type="button"
@@ -408,7 +408,7 @@ function MCPServerCard({ server, onApprove, onReject, requiredFields }: MCPServe
<div key={c.key} className="flex items-center gap-3 px-4 py-2.5">
{/* Small circle icon */}
<div
- className={`w-5 h-5 rounded-full flex items-center justify-center flex-shrink-0 ${
+ className={`w-5 h-5 rounded-full flex items-center justify-center shrink-0 ${
c.passed ? "bg-green-100" : "bg-red-100"
}`}
>
@@ -566,13 +566,13 @@ export function MCPSubmissionsTab({ accessToken }: MCPSubmissionsTabProps) {
placeholder="Search MCP servers..."
value={search}
onChange={(e) => setSearch(e.target.value)}
- className="w-full pl-9 pr-4 py-2 border border-gray-200 rounded-md text-sm text-gray-700 placeholder-gray-400 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500"
+ className="w-full pl-9 pr-4 py-2 border border-gray-200 rounded-md text-sm text-gray-700 placeholder-gray-400 focus:outline-hidden focus:ring-1 focus:ring-blue-500 focus:border-blue-500"
/>
</div>
<select
value={statusFilter}
onChange={(e) => setStatusFilter(e.target.value as typeof statusFilter)}
- className="border border-gray-200 rounded-md px-3 py-2 text-sm text-gray-700 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500 bg-white"
+ className="border border-gray-200 rounded-md px-3 py-2 text-sm text-gray-700 focus:outline-hidden focus:ring-1 focus:ring-blue-500 focus:border-blue-500 bg-white"
>
<option value="all">All Status</option>
<option value="pending_review">Pending Review</option>
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/MCPToolsetsTab.tsx b/ui/litellm-dashboard/src/components/mcp_tools/MCPToolsetsTab.tsx
index 1a05edf7c2c..0198b830229 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/MCPToolsetsTab.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/MCPToolsetsTab.tsx
@@ -80,7 +80,7 @@ function MCPToolList({ serverId, serverName, accessToken, selectedTools, onToggl
onClick={handleToggle}
>
<span className="text-sm font-medium text-gray-700 flex items-center gap-2">
- <span className="inline-block w-2 h-2 rounded-full bg-blue-500 flex-shrink-0" />
+ <span className="inline-block w-2 h-2 rounded-full bg-blue-500 shrink-0" />
{serverName}
{selectedSet.size > 0 && (
<span className="ml-1 text-xs text-purple-600 font-semibold">{selectedSet.size} selected</span>
@@ -121,9 +121,7 @@ function MCPToolList({ serverId, serverName, accessToken, selectedTools, onToggl
<p className="text-xs text-gray-400 mt-0.5 leading-tight line-clamp-2">{tool.description}</p>
)}
</div>
- {selected && (
- <span className="text-purple-500 text-xs font-semibold ml-2 flex-shrink-0 mt-0.5">✓</span>
- )}
+ {selected && <span className="text-purple-500 text-xs font-semibold ml-2 shrink-0 mt-0.5">✓</span>}
</button>
);
})}
@@ -249,10 +247,10 @@ function CreateToolsetModal({ open, onClose, onSave, accessToken, initialToolset
</div>
{/* Divider */}
- <div className="w-px bg-gray-200 flex-shrink-0" />
+ <div className="w-px bg-gray-200 shrink-0" />
{/* Right panel: Your Toolset */}
- <div className="w-72 flex-shrink-0">
+ <div className="w-72 shrink-0">
<Text className="text-sm font-semibold text-gray-700 mb-2 block">
Your Toolset <span className="text-xs font-normal text-gray-400">({selectedTools.length} tools)</span>
</Text>
@@ -273,7 +271,7 @@ function CreateToolsetModal({ open, onClose, onSave, accessToken, initialToolset
</span>
<span className="text-[10px] text-purple-400 truncate block">{tool.server_id.slice(0, 8)}…</span>
</div>
- <span className="ml-2 text-purple-300 group-hover:text-red-400 text-xs flex-shrink-0">✕</span>
+ <span className="ml-2 text-purple-300 group-hover:text-red-400 text-xs shrink-0">✕</span>
</button>
))
)}
@@ -305,7 +303,7 @@ function toolsetColumns(
header: "Toolset ID",
accessorKey: "toolset_id",
cell: ({ row }) => (
- <span className="font-mono text-xs bg-gray-100 px-2 py-0.5 rounded text-gray-600">
+ <span className="font-mono text-xs bg-gray-100 px-2 py-0.5 rounded-sm text-gray-600">
{row.original.toolset_id.slice(0, 8)}…
</span>
),
@@ -318,7 +316,7 @@ function toolsetColumns(
return (
<div className="flex flex-col gap-0.5">
<div className="flex items-center gap-2">
- <span className="inline-block w-2 h-2 rounded-full bg-purple-500 flex-shrink-0" />
+ <span className="inline-block w-2 h-2 rounded-full bg-purple-500 shrink-0" />
<span className="font-medium text-gray-900">{row.original.toolset_name}</span>
</div>
<button
@@ -348,7 +346,7 @@ function toolsetColumns(
{tools.slice(0, 4).map((t, i) => (
<span
key={i}
- className="inline-flex items-center px-1.5 py-0.5 rounded bg-purple-50 border border-purple-200 text-purple-700 text-xs"
+ className="inline-flex items-center px-1.5 py-0.5 rounded-sm bg-purple-50 border border-purple-200 text-purple-700 text-xs"
>
{displayToolName(serverPrefixById.get(t.server_id), t.tool_name)}
</span>
@@ -429,13 +427,13 @@ function ToolsetUsageGuide() {
</p>
<div className="text-xs text-gray-400 mb-1">Claude Code / Cursor config</div>
<div className="relative">
- <pre className="bg-white border border-gray-200 rounded px-4 py-3 text-xs font-mono text-gray-700 overflow-x-auto leading-relaxed pr-14">
+ <pre className="bg-white border border-gray-200 rounded-sm px-4 py-3 text-xs font-mono text-gray-700 overflow-x-auto leading-relaxed pr-14">
{snippet}
</pre>
<button
type="button"
onClick={copy}
- className="absolute top-2 right-2 px-2 py-1 text-xs rounded border bg-white hover:bg-gray-50 text-gray-400 hover:text-gray-600 border-gray-200 transition-colors"
+ className="absolute top-2 right-2 px-2 py-1 text-xs rounded-sm border bg-white hover:bg-gray-50 text-gray-400 hover:text-gray-600 border-gray-200 transition-colors"
>
{copied ? "✓" : "copy"}
</button>
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/McpCrudPermissionPanel.tsx b/ui/litellm-dashboard/src/components/mcp_tools/McpCrudPermissionPanel.tsx
index 09564a75ee0..9cbf7025eaf 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/McpCrudPermissionPanel.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/McpCrudPermissionPanel.tsx
@@ -166,9 +166,9 @@ const McpCrudPermissionPanel: React.FC<McpCrudPermissionPanelProps> = ({
onClick={() => toggleCollapse(op)}
>
{isCollapsed ? (
- <ChevronRightIcon className="w-4 h-4 text-gray-500 flex-shrink-0" />
+ <ChevronRightIcon className="w-4 h-4 text-gray-500 shrink-0" />
) : (
- <ChevronDownIcon className="w-4 h-4 text-gray-500 flex-shrink-0" />
+ <ChevronDownIcon className="w-4 h-4 text-gray-500 shrink-0" />
)}
<span className="font-semibold text-gray-900 text-sm">{meta.label}</span>
<span className={`text-xs px-2 py-0.5 rounded-full ${RISK_BADGE[meta.risk]}`}>
@@ -241,7 +241,7 @@ const McpCrudPermissionPanel: React.FC<McpCrudPermissionPanelProps> = ({
)}
</div>
<span
- className={`text-xs px-1.5 py-0.5 rounded flex-shrink-0 ${
+ className={`text-xs px-1.5 py-0.5 rounded shrink-0 ${
allowed ? "bg-green-100 text-green-700" : "bg-gray-100 text-gray-500"
}`}
>
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/OpenAPIQuickPicker.tsx b/ui/litellm-dashboard/src/components/mcp_tools/OpenAPIQuickPicker.tsx
index af6e6d7351d..a8208a09286 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/OpenAPIQuickPicker.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/OpenAPIQuickPicker.tsx
@@ -76,7 +76,7 @@ const OpenAPIQuickPicker: React.FC<OpenAPIQuickPickerProps> = ({ accessToken, se
className={`flex flex-col items-center gap-1.5 p-3 rounded-lg border transition-all cursor-pointer
${
isSelected
- ? "border-blue-500 bg-blue-50 shadow-sm"
+ ? "border-blue-500 bg-blue-50 shadow-xs"
: "border-gray-200 hover:border-blue-300 hover:bg-gray-50"
}`}
>
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/ToolTestPanel.tsx b/ui/litellm-dashboard/src/components/mcp_tools/ToolTestPanel.tsx
index a8fbe1c1fbc..c15150eee58 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/ToolTestPanel.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/ToolTestPanel.tsx
@@ -453,7 +453,7 @@ export function ToolTestPanel({
>
{prop.type === "string" && prop.enum && (
<select
- className="w-full px-3 py-2 border border-gray-300 rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-sm transition-colors"
+ className="w-full px-3 py-2 border border-gray-300 rounded-lg shadow-xs focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-sm transition-colors"
defaultValue={(initialValue as string) ?? ""}
>
{!actualSchema.required?.includes(key) && <option value="">Select {key}</option>}
@@ -479,7 +479,7 @@ export function ToolTestPanel({
step={prop.type === "integer" ? 1 : "any"}
placeholder={prop.description || `Enter ${key}`}
defaultValue={initialValue ?? 0}
- className="w-full px-3 py-2 border border-gray-300 rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-sm transition-colors"
+ className="w-full px-3 py-2 border border-gray-300 rounded-lg shadow-xs focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-sm transition-colors"
/>
)}
@@ -507,7 +507,7 @@ export function ToolTestPanel({
defaultValue={(initialValue as string) ?? (prop.type === "object" ? "{}" : "[]")}
spellCheck={false}
data-testid={`textarea-${key}`}
- className="w-full px-3 py-2 border border-gray-300 rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-sm font-mono"
+ className="w-full px-3 py-2 border border-gray-300 rounded-lg shadow-xs focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-sm font-mono"
/>
<p className="text-xs text-gray-500">
{prop.type === "object" ? "Provide a valid JSON object." : "Provide a valid JSON array."}
@@ -590,7 +590,7 @@ export function ToolTestPanel({
</div>
<div className="flex items-center space-x-1">
- <div className="flex bg-white rounded border border-green-300 p-0.5">
+ <div className="flex bg-white rounded-sm border border-green-300 p-0.5">
<button
onClick={() => setViewMode("formatted")}
className={`px-2 py-1 text-xs font-medium rounded transition-colors ${
@@ -615,7 +615,7 @@ export function ToolTestPanel({
<button
onClick={handleCopyResult}
- className="p-1 hover:bg-green-100 rounded text-green-700"
+ className="p-1 hover:bg-green-100 rounded-sm text-green-700"
title="Copy response"
>
<svg
@@ -653,7 +653,7 @@ export function ToolTestPanel({
{error && (
<div className="bg-red-50 border border-red-200 rounded-lg p-3">
<div className="flex items-start space-x-2">
- <div className="flex-shrink-0">
+ <div className="shrink-0">
<svg className="h-4 w-4 text-red-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path
strokeLinecap="round"
@@ -670,7 +670,7 @@ export function ToolTestPanel({
<span className="text-xs text-red-600">• {(duration / 1000).toFixed(2)}s</span>
)}
</div>
- <div className="bg-white border border-red-200 rounded p-2 max-h-48 overflow-y-auto">
+ <div className="bg-white border border-red-200 rounded-sm p-2 max-h-48 overflow-y-auto">
<pre className="text-xs whitespace-pre-wrap text-red-700 font-mono">
{(() => {
return error.message;
@@ -696,7 +696,7 @@ export function ToolTestPanel({
</span>
</div>
<div className="p-3">
- <div className="bg-white rounded border border-gray-200 max-h-64 overflow-y-auto">
+ <div className="bg-white rounded-sm border border-gray-200 max-h-64 overflow-y-auto">
<div className="p-3 space-y-2">
{content.text
.split("\n\n")
@@ -720,7 +720,7 @@ export function ToolTestPanel({
return (
<div
key={sectionIndex}
- className="bg-blue-50 border border-blue-200 rounded p-2"
+ className="bg-blue-50 border border-blue-200 rounded-sm p-2"
>
<div className="text-xs text-gray-700 leading-relaxed whitespace-pre-wrap">
{parts.map((part, partIndex) => {
@@ -762,7 +762,7 @@ export function ToolTestPanel({
return (
<div
key={sectionIndex}
- className="bg-gray-50 rounded p-2 border border-gray-200"
+ className="bg-gray-50 rounded-sm p-2 border border-gray-200"
>
<div className="text-xs text-gray-700 leading-relaxed whitespace-pre-wrap font-mono">
{section}
@@ -785,12 +785,12 @@ export function ToolTestPanel({
</span>
</div>
<div className="p-3">
- <div className="bg-gray-50 rounded p-3 border border-gray-200">
+ <div className="bg-gray-50 rounded-sm p-3 border border-gray-200">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={content.url}
alt="Tool result"
- className="max-w-full h-auto rounded shadow-sm"
+ className="max-w-full h-auto rounded-sm shadow-xs"
/>
</div>
</div>
@@ -805,8 +805,8 @@ export function ToolTestPanel({
</span>
</div>
<div className="p-3">
- <div className="flex items-center space-x-2 p-3 bg-blue-50 border border-blue-200 rounded">
- <div className="flex-shrink-0">
+ <div className="flex items-center space-x-2 p-3 bg-blue-50 border border-blue-200 rounded-sm">
+ <div className="shrink-0">
<svg
className="h-5 w-5 text-blue-500"
fill="none"
@@ -848,7 +848,7 @@ export function ToolTestPanel({
))
) : (
// JSON View
- <div className="bg-white rounded border border-gray-200">
+ <div className="bg-white rounded-sm border border-gray-200">
<div className="p-3 overflow-auto max-h-80 bg-gray-50">
<pre className="text-xs font-mono whitespace-pre-wrap break-all text-gray-800">
{JSON.stringify(result, null, 2)}
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.tsx b/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.tsx
index 34491352af4..89c20570a6e 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/create_mcp_server.tsx
@@ -784,10 +784,10 @@ const CreateMCPServer: React.FC<CreateMCPServerProps> = ({
{/* Auth format hint */}
{getFieldValue("auth_type") && getFieldValue("auth_type") !== "none" && (
<div className="mb-4 p-3 bg-blue-50 rounded-lg text-sm text-blue-700 flex items-start gap-2">
- <InfoCircleOutlined className="mt-0.5 flex-shrink-0" />
+ <InfoCircleOutlined className="mt-0.5 shrink-0" />
<span>
User keys will be sent as:{" "}
- <code className="font-mono bg-blue-100 px-1 rounded">
+ <code className="font-mono bg-blue-100 px-1 rounded-sm">
{getFieldValue("auth_type") === "bearer_token" && "Authorization: Bearer {key}"}
{getFieldValue("auth_type") === "token" && "Authorization: token {key}"}
{getFieldValue("auth_type") === "api_key" && "x-api-key: {key}"}
@@ -800,7 +800,7 @@ const CreateMCPServer: React.FC<CreateMCPServerProps> = ({
)}
{!getFieldValue("auth_type") && (
<div className="mb-4 p-3 bg-yellow-50 rounded-lg text-sm text-yellow-700 flex items-start gap-2">
- <InfoCircleOutlined className="mt-0.5 flex-shrink-0" />
+ <InfoCircleOutlined className="mt-0.5 shrink-0" />
<span>
Set the <strong>Authentication Type</strong> below to specify how user keys are sent
(e.g., Bearer Token, API Key header).
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/mcp_connect.tsx b/ui/litellm-dashboard/src/components/mcp_tools/mcp_connect.tsx
index 1c82859e062..42c557f142f 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/mcp_connect.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/mcp_connect.tsx
@@ -189,7 +189,7 @@ const MCPConnect: React.FC<MCPConnectProps> = ({ currentServerAccessGroups = []
children: React.ReactNode;
}> = ({ step, title, children }) => (
<div className="flex gap-4">
- <div className="flex-shrink-0">
+ <div className="shrink-0">
<div className="w-8 h-8 bg-blue-600 text-white rounded-full flex items-center justify-center text-sm font-semibold">
{step}
</div>
@@ -205,7 +205,7 @@ const MCPConnect: React.FC<MCPConnectProps> = ({ currentServerAccessGroups = []
const LiteLLMProxyTab = () => (
<Space direction="vertical" size="large" className="w-full">
- <div className="bg-gradient-to-r from-emerald-50 to-green-50 p-6 rounded-lg border border-emerald-100">
+ <div className="bg-linear-to-r from-emerald-50 to-green-50 p-6 rounded-lg border border-emerald-100">
<div className="flex items-center gap-3 mb-3">
<Zap className="text-emerald-600" size={24} />
<Title level={4} className="mb-0 text-emerald-900">
@@ -277,7 +277,7 @@ const MCPConnect: React.FC<MCPConnectProps> = ({ currentServerAccessGroups = []
const OpenAITab = () => (
<Space direction="vertical" size="large" className="w-full">
- <div className="bg-gradient-to-r from-blue-50 to-indigo-50 p-6 rounded-lg border border-blue-100">
+ <div className="bg-linear-to-r from-blue-50 to-indigo-50 p-6 rounded-lg border border-blue-100">
<div className="flex items-center gap-3 mb-3">
<Code className="text-blue-600" size={24} />
<Title level={4} className="mb-0 text-blue-900">
@@ -360,7 +360,7 @@ const MCPConnect: React.FC<MCPConnectProps> = ({ currentServerAccessGroups = []
const CursorTab = () => (
<Space direction="vertical" size="large" className="w-full">
- <div className="bg-gradient-to-r from-purple-50 to-blue-50 p-6 rounded-lg border border-purple-100">
+ <div className="bg-linear-to-r from-purple-50 to-blue-50 p-6 rounded-lg border border-purple-100">
<div className="flex items-center gap-3 mb-3">
<Terminal className="text-purple-600" size={24} />
<Title level={4} className="mb-0 text-purple-900">
@@ -380,8 +380,8 @@ const MCPConnect: React.FC<MCPConnectProps> = ({ currentServerAccessGroups = []
<Space direction="vertical" size="large" className="w-full">
<StepCard step={1} title="Open Cursor Settings">
<Text className="text-gray-600">
- Use the keyboard shortcut <code className="bg-gray-100 px-2 py-1 rounded">⇧+⌘+J</code> (Mac) or{" "}
- <code className="bg-gray-100 px-2 py-1 rounded">Ctrl+Shift+J</code> (Windows/Linux)
+ Use the keyboard shortcut <code className="bg-gray-100 px-2 py-1 rounded-sm">⇧+⌘+J</code> (Mac) or{" "}
+ <code className="bg-gray-100 px-2 py-1 rounded-sm">Ctrl+Shift+J</code> (Windows/Linux)
</Text>
</StepCard>
@@ -392,8 +392,8 @@ const MCPConnect: React.FC<MCPConnectProps> = ({ currentServerAccessGroups = []
<StepCard step={3} title="Add Configuration">
<Text className="text-gray-600 mb-3">
Copy the JSON configuration below and paste it into Cursor, then save with{" "}
- <code className="bg-gray-100 px-2 py-1 rounded">Cmd+S</code> or{" "}
- <code className="bg-gray-100 px-2 py-1 rounded">Ctrl+S</code>
+ <code className="bg-gray-100 px-2 py-1 rounded-sm">Cmd+S</code> or{" "}
+ <code className="bg-gray-100 px-2 py-1 rounded-sm">Ctrl+S</code>
</Text>
<FeatureCard
icon={<Code className="text-purple-600" size={16} />}
@@ -426,7 +426,7 @@ const MCPConnect: React.FC<MCPConnectProps> = ({ currentServerAccessGroups = []
const StreamableHTTPTab = () => (
<Space direction="vertical" size="large" className="w-full">
- <div className="bg-gradient-to-r from-green-50 to-teal-50 p-6 rounded-lg border border-green-100">
+ <div className="bg-linear-to-r from-green-50 to-teal-50 p-6 rounded-lg border border-green-100">
<div className="flex items-center gap-3 mb-3">
<Globe className="text-green-600" size={24} />
<Title level={4} className="mb-0 text-green-900">
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/mcp_server_view.tsx b/ui/litellm-dashboard/src/components/mcp_tools/mcp_server_view.tsx
index 3ee5676235a..7ed00f74225 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/mcp_server_view.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/mcp_server_view.tsx
@@ -89,7 +89,7 @@ export const MCPServerView: React.FC<MCPServerViewProps> = ({
const getTransportBadge = (transport: string) => {
const label = transport.toUpperCase();
return (
- <span className="inline-flex items-center text-sm font-medium px-2.5 py-0.5 rounded border bg-gray-50 text-gray-700 border-gray-200">
+ <span className="inline-flex items-center text-sm font-medium px-2.5 py-0.5 rounded-sm border bg-gray-50 text-gray-700 border-gray-200">
{label}
</span>
);
@@ -97,7 +97,7 @@ export const MCPServerView: React.FC<MCPServerViewProps> = ({
const getAuthBadge = (authType: string) => {
return (
- <span className="inline-flex items-center text-sm font-medium px-2.5 py-0.5 rounded border bg-gray-50 text-gray-700 border-gray-200">
+ <span className="inline-flex items-center text-sm font-medium px-2.5 py-0.5 rounded-sm border bg-gray-50 text-gray-700 border-gray-200">
{authType}
</span>
);
@@ -123,7 +123,7 @@ export const MCPServerView: React.FC<MCPServerViewProps> = ({
}`}
/>
{mcpServer.alias && mcpServer.server_name && mcpServer.alias !== mcpServer.server_name && (
- <span className="ml-2 inline-flex items-center text-xs font-medium px-2 py-0.5 rounded bg-gray-100 text-gray-600 border border-gray-200 font-mono">
+ <span className="ml-2 inline-flex items-center text-xs font-medium px-2 py-0.5 rounded-sm bg-gray-100 text-gray-600 border border-gray-200 font-mono">
{mcpServer.alias}
</span>
)}
@@ -187,7 +187,7 @@ export const MCPServerView: React.FC<MCPServerViewProps> = ({
{hasToken && isProxyAdmin && (
<button
onClick={() => setShowFullUrl(!showFullUrl)}
- className="p-1 hover:bg-gray-100 rounded flex-shrink-0"
+ className="p-1 hover:bg-gray-100 rounded-sm shrink-0"
>
<Icon icon={showFullUrl ? EyeOffIcon : EyeIcon} size="sm" className="text-gray-500" />
</button>
@@ -266,7 +266,7 @@ export const MCPServerView: React.FC<MCPServerViewProps> = ({
{hasToken && (
<button
onClick={() => setShowFullUrl(!showFullUrl)}
- className="p-1 hover:bg-gray-100 rounded flex-shrink-0"
+ className="p-1 hover:bg-gray-100 rounded-sm shrink-0"
>
<Icon icon={showFullUrl ? EyeOffIcon : EyeIcon} size="sm" className="text-gray-500" />
</button>
@@ -370,7 +370,7 @@ export const MCPServerView: React.FC<MCPServerViewProps> = ({
{mcpServer.mcp_access_groups.map((group: any, index: number) => (
<span
key={index}
- className="inline-flex items-center text-xs font-medium px-2 py-0.5 rounded bg-gray-100 text-gray-700 border border-gray-200"
+ className="inline-flex items-center text-xs font-medium px-2 py-0.5 rounded-sm bg-gray-100 text-gray-700 border border-gray-200"
>
{typeof group === "string" ? group : group?.name ?? ""}
</span>
@@ -389,14 +389,14 @@ export const MCPServerView: React.FC<MCPServerViewProps> = ({
{mcpServer.allowed_tools.map((tool: string, index: number) => (
<span
key={index}
- className="inline-flex items-center text-xs font-mono font-medium px-2 py-0.5 rounded bg-blue-50 text-blue-700 border border-blue-200"
+ className="inline-flex items-center text-xs font-mono font-medium px-2 py-0.5 rounded-sm bg-blue-50 text-blue-700 border border-blue-200"
>
{tool}
</span>
))}
</div>
) : (
- <span className="inline-flex items-center text-xs font-medium px-2 py-0.5 rounded bg-green-50 text-green-700 border border-green-200">
+ <span className="inline-flex items-center text-xs font-medium px-2 py-0.5 rounded-sm bg-green-50 text-green-700 border border-green-200">
All tools enabled
</span>
)}
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx b/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx
index f23e7a9179b..d876c92ab2a 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/mcp_servers.tsx
@@ -458,13 +458,13 @@ const MCPServers: React.FC<MCPServerProps> = ({ accessToken, userRole, userID })
</div>
<div className="flex items-center gap-2">
{isAdminRole(userRole) && (
- <Button className="flex-shrink-0" onClick={() => setDiscoveryVisible(true)}>
+ <Button className="shrink-0" onClick={() => setDiscoveryVisible(true)}>
+ Add New MCP Server
</Button>
)}
{!isAdminRole(userRole) && (
<Button
- className="flex-shrink-0"
+ className="shrink-0"
onClick={() => {
setPrefillData(null);
setModalVisible(true);
diff --git a/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx b/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx
index 54e40fd7ed4..4cd8acfc07e 100644
--- a/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx
+++ b/ui/litellm-dashboard/src/components/mcp_tools/mcp_tools.tsx
@@ -309,7 +309,7 @@ const MCPToolsViewer = ({
});
}}
prefix={<KeyOutlined className="text-gray-400" />}
- className="rounded"
+ className="rounded-sm"
/>
</div>
))}
@@ -478,7 +478,7 @@ const MCPToolsViewer = ({
{filteredTools.map((tool: MCPTool) => (
<div
key={tool.name}
- className={`border rounded-lg p-3 cursor-pointer transition-all hover:shadow-sm ${
+ className={`border rounded-lg p-3 cursor-pointer transition-all hover:shadow-xs ${
selectedTool?.name === tool.name
? "border-blue-500 bg-blue-50 ring-1 ring-blue-200"
: "border-gray-200 bg-white hover:border-gray-300"
@@ -494,7 +494,7 @@ const MCPToolsViewer = ({
<img
src={resolveLogoSrc(tool.mcp_info.logo_url)}
alt={`${tool.mcp_info.server_name} logo`}
- className="w-4 h-4 object-contain flex-shrink-0 mt-0.5"
+ className="w-4 h-4 object-contain shrink-0 mt-0.5"
/>
)}
<div className="flex-1 min-w-0">
diff --git a/ui/litellm-dashboard/src/components/model_dashboard/health_check_columns.tsx b/ui/litellm-dashboard/src/components/model_dashboard/health_check_columns.tsx
index 396afb7ed0b..12cc984ef91 100644
--- a/ui/litellm-dashboard/src/components/model_dashboard/health_check_columns.tsx
+++ b/ui/litellm-dashboard/src/components/model_dashboard/health_check_columns.tsx
@@ -180,7 +180,7 @@ export const healthCheckColumns = (
<Tooltip title="View response details" placement="top">
<button
onClick={() => showSuccessModal(displayName, modelHealthStatuses[modelId]?.successResponse)}
- className="p-1 text-green-600 hover:text-green-800 hover:bg-green-50 rounded cursor-pointer transition-colors"
+ className="p-1 text-green-600 hover:text-green-800 hover:bg-green-50 rounded-sm cursor-pointer transition-colors"
>
<InformationCircleIcon className="h-4 w-4" />
</button>
@@ -218,7 +218,7 @@ export const healthCheckColumns = (
<Tooltip title="View full error details" placement="top">
<button
onClick={() => showErrorModal(displayName, cleanedError, fullError)}
- className="p-1 text-red-600 hover:text-red-800 hover:bg-red-50 rounded cursor-pointer transition-colors"
+ className="p-1 text-red-600 hover:text-red-800 hover:bg-red-50 rounded-sm cursor-pointer transition-colors"
>
<InformationCircleIcon className="h-4 w-4" />
</button>
diff --git a/ui/litellm-dashboard/src/components/model_filters.tsx b/ui/litellm-dashboard/src/components/model_filters.tsx
index 5b68d587599..c7b79f70690 100644
--- a/ui/litellm-dashboard/src/components/model_filters.tsx
+++ b/ui/litellm-dashboard/src/components/model_filters.tsx
@@ -138,7 +138,7 @@ const ModelFilters: React.FC<ModelFiltersProps> = ({
placeholder="Search model names..."
value={searchTerm}
onChange={(e) => setSearchTerm(e.target.value)}
- className="border rounded px-3 py-2 w-64 h-10 text-sm"
+ className="border rounded-sm px-3 py-2 w-64 h-10 text-sm"
/>
</div>
<div>
@@ -146,7 +146,7 @@ const ModelFilters: React.FC<ModelFiltersProps> = ({
<select
value={selectedProvider}
onChange={(e) => setSelectedProvider(e.target.value)}
- className="border rounded px-3 py-2 text-sm text-gray-600 w-40 h-10"
+ className="border rounded-sm px-3 py-2 text-sm text-gray-600 w-40 h-10"
>
<option value="" className="text-sm text-gray-600">
All Providers
@@ -164,7 +164,7 @@ const ModelFilters: React.FC<ModelFiltersProps> = ({
<select
value={selectedMode}
onChange={(e) => setSelectedMode(e.target.value)}
- className="border rounded px-3 py-2 text-sm text-gray-600 w-32 h-10"
+ className="border rounded-sm px-3 py-2 text-sm text-gray-600 w-32 h-10"
>
<option value="" className="text-sm text-gray-600">
All Modes
@@ -182,7 +182,7 @@ const ModelFilters: React.FC<ModelFiltersProps> = ({
<select
value={selectedFeature}
onChange={(e) => setSelectedFeature(e.target.value)}
- className="border rounded px-3 py-2 text-sm text-gray-600 w-48 h-10"
+ className="border rounded-sm px-3 py-2 text-sm text-gray-600 w-48 h-10"
>
<option value="" className="text-sm text-gray-600">
All Features
diff --git a/ui/litellm-dashboard/src/components/model_group_alias_settings.tsx b/ui/litellm-dashboard/src/components/model_group_alias_settings.tsx
index 505b26438b9..6c97086fcb7 100644
--- a/ui/litellm-dashboard/src/components/model_group_alias_settings.tsx
+++ b/ui/litellm-dashboard/src/components/model_group_alias_settings.tsx
@@ -261,13 +261,13 @@ const ModelGroupAliasSettings: React.FC<ModelGroupAliasSettingsProps> = ({
<div className="flex space-x-2">
<button
onClick={handleUpdateAlias}
- className="text-xs bg-blue-50 text-blue-600 px-2 py-1 rounded hover:bg-blue-100"
+ className="text-xs bg-blue-50 text-blue-600 px-2 py-1 rounded-sm hover:bg-blue-100"
>
Save
</button>
<button
onClick={handleCancelEdit}
- className="text-xs bg-gray-50 text-gray-600 px-2 py-1 rounded hover:bg-gray-100"
+ className="text-xs bg-gray-50 text-gray-600 px-2 py-1 rounded-sm hover:bg-gray-100"
>
Cancel
</button>
@@ -282,13 +282,13 @@ const ModelGroupAliasSettings: React.FC<ModelGroupAliasSettingsProps> = ({
<div className="flex space-x-2">
<button
onClick={() => handleEditAlias(alias)}
- className="text-xs bg-blue-50 text-blue-600 px-2 py-1 rounded hover:bg-blue-100"
+ className="text-xs bg-blue-50 text-blue-600 px-2 py-1 rounded-sm hover:bg-blue-100"
>
<PencilIcon className="w-3 h-3" />
</button>
<button
onClick={() => deleteAlias(alias.id)}
- className="text-xs bg-red-50 text-red-600 px-2 py-1 rounded hover:bg-red-100"
+ className="text-xs bg-red-50 text-red-600 px-2 py-1 rounded-sm hover:bg-red-100"
>
<TrashIcon className="w-3 h-3" />
</button>
diff --git a/ui/litellm-dashboard/src/components/model_info_view.tsx b/ui/litellm-dashboard/src/components/model_info_view.tsx
index 45c5b0fd9b6..63f9bea35c5 100644
--- a/ui/litellm-dashboard/src/components/model_info_view.tsx
+++ b/ui/litellm-dashboard/src/components/model_info_view.tsx
@@ -764,7 +764,7 @@ export default function ModelInfoView({
<TextInput placeholder="Enter model name" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">{localModelData.model_name}</div>
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">{localModelData.model_name}</div>
)}
</div>
@@ -775,7 +775,7 @@ export default function ModelInfoView({
<TextInput placeholder="Enter LiteLLM model name" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">{localModelData.litellm_model_name}</div>
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">{localModelData.litellm_model_name}</div>
)}
</div>
@@ -786,7 +786,7 @@ export default function ModelInfoView({
<NumericalInput placeholder="Enter input cost" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData?.litellm_params?.input_cost_per_token
? (localModelData.litellm_params?.input_cost_per_token * 1_000_000).toFixed(4)
: localModelData?.model_info?.input_cost_per_token
@@ -803,7 +803,7 @@ export default function ModelInfoView({
<NumericalInput placeholder="Enter output cost" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData?.litellm_params?.output_cost_per_token
? (localModelData.litellm_params.output_cost_per_token * 1_000_000).toFixed(4)
: localModelData?.model_info?.output_cost_per_token
@@ -824,7 +824,7 @@ export default function ModelInfoView({
<NumericalInput placeholder="Defaults to Input Cost if blank" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData?.litellm_params?.cache_read_input_token_cost !== undefined &&
localModelData?.litellm_params?.cache_read_input_token_cost !== null
? (localModelData.litellm_params.cache_read_input_token_cost * 1_000_000).toFixed(4)
@@ -847,7 +847,7 @@ export default function ModelInfoView({
<NumericalInput placeholder="Defaults to Input Cost if blank" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData?.litellm_params?.cache_creation_input_token_cost !== undefined &&
localModelData?.litellm_params?.cache_creation_input_token_cost !== null
? (localModelData.litellm_params.cache_creation_input_token_cost * 1_000_000).toFixed(4)
@@ -866,7 +866,7 @@ export default function ModelInfoView({
<TextInput placeholder="Enter API base" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.api_base || "Not Set"}
</div>
)}
@@ -879,7 +879,7 @@ export default function ModelInfoView({
<TextInput placeholder="Enter custom LLM provider" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.custom_llm_provider || "Not Set"}
</div>
)}
@@ -892,7 +892,7 @@ export default function ModelInfoView({
<TextInput placeholder="Enter organization" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.organization || "Not Set"}
</div>
)}
@@ -905,7 +905,7 @@ export default function ModelInfoView({
<NumericalInput placeholder="Enter TPM" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.tpm || "Not Set"}
</div>
)}
@@ -918,7 +918,7 @@ export default function ModelInfoView({
<NumericalInput placeholder="Enter RPM" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.rpm || "Not Set"}
</div>
)}
@@ -931,7 +931,7 @@ export default function ModelInfoView({
<NumericalInput placeholder="Enter max retries" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.max_retries || "Not Set"}
</div>
)}
@@ -944,7 +944,7 @@ export default function ModelInfoView({
<NumericalInput placeholder="Enter timeout" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.timeout || "Not Set"}
</div>
)}
@@ -957,7 +957,7 @@ export default function ModelInfoView({
<NumericalInput placeholder="Enter stream timeout" />
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.stream_timeout || "Not Set"}
</div>
)}
@@ -983,7 +983,7 @@ export default function ModelInfoView({
/>
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.model_info?.access_groups ? (
Array.isArray(localModelData.model_info.access_groups) ? (
localModelData.model_info.access_groups.length > 0 ? (
@@ -1042,7 +1042,7 @@ export default function ModelInfoView({
/>
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.guardrails ? (
Array.isArray(localModelData.litellm_params.guardrails) ? (
localModelData.litellm_params.guardrails.length > 0 ? (
@@ -1094,7 +1094,7 @@ export default function ModelInfoView({
/>
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.vector_store_ids ? (
Array.isArray(localModelData.litellm_params.vector_store_ids) ? (
localModelData.litellm_params.vector_store_ids.length > 0 ? (
@@ -1144,7 +1144,7 @@ export default function ModelInfoView({
/>
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.tags ? (
Array.isArray(localModelData.litellm_params.tags) ? (
localModelData.litellm_params.tags.length > 0 ? (
@@ -1192,7 +1192,7 @@ export default function ModelInfoView({
/>
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.litellm_credential_name || "Manual"}
</div>
)}
@@ -1228,7 +1228,7 @@ export default function ModelInfoView({
/>
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.model_info?.health_check_model || "Not Set"}
</div>
)}
@@ -1245,7 +1245,7 @@ export default function ModelInfoView({
) : (
<div>
<Text className="font-medium">Cache Control</Text>
- <div className="mt-1 p-2 bg-gray-50 rounded">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
{localModelData.litellm_params?.cache_control_injection_points ? (
<div>
<p>Enabled</p>
@@ -1278,8 +1278,8 @@ export default function ModelInfoView({
/>
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
- <pre className="bg-gray-100 p-2 rounded text-xs overflow-auto mt-1">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
+ <pre className="bg-gray-100 p-2 rounded-sm text-xs overflow-auto mt-1">
{JSON.stringify(localModelData.model_info, null, 2)}
</pre>
</div>
@@ -1311,8 +1311,8 @@ export default function ModelInfoView({
/>
</Form.Item>
) : (
- <div className="mt-1 p-2 bg-gray-50 rounded">
- <pre className="bg-gray-100 p-2 rounded text-xs overflow-auto mt-1">
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
+ <pre className="bg-gray-100 p-2 rounded-sm text-xs overflow-auto mt-1">
{JSON.stringify(localModelData.litellm_params, null, 2)}
</pre>
</div>
@@ -1320,7 +1320,9 @@ export default function ModelInfoView({
</div>
<div>
<Text className="font-medium">Team ID</Text>
- <div className="mt-1 p-2 bg-gray-50 rounded">{modelData.model_info.team_id || "Not Set"}</div>
+ <div className="mt-1 p-2 bg-gray-50 rounded-sm">
+ {modelData.model_info.team_id || "Not Set"}
+ </div>
</div>
</div>
@@ -1352,7 +1354,9 @@ export default function ModelInfoView({
<TabPanel>
<Card>
- <pre className="bg-gray-100 p-4 rounded text-xs overflow-auto">{JSON.stringify(modelData, null, 2)}</pre>
+ <pre className="bg-gray-100 p-4 rounded-sm text-xs overflow-auto">
+ {JSON.stringify(modelData, null, 2)}
+ </pre>
</Card>
</TabPanel>
</TabPanels>
diff --git a/ui/litellm-dashboard/src/components/molecules/models/columns.tsx b/ui/litellm-dashboard/src/components/molecules/models/columns.tsx
index 329e5cd7729..bbacaff92d2 100644
--- a/ui/litellm-dashboard/src/components/molecules/models/columns.tsx
+++ b/ui/litellm-dashboard/src/components/molecules/models/columns.tsx
@@ -137,7 +137,7 @@ export const columns = (
}}
>
<div className="flex items-start space-x-2 min-w-0 w-full cursor-pointer">
- <div className="flex-shrink-0 mt-0.5">
+ <div className="shrink-0 mt-0.5">
{model.provider ? (
<ProviderLogo provider={model.provider} />
) : (
@@ -180,14 +180,14 @@ export const columns = (
<div className="flex items-center space-x-2 min-w-0 w-full">
{isReusable ? (
<>
- <SyncOutlined className="flex-shrink-0" style={{ color: "#1890ff", fontSize: 14 }} />
+ <SyncOutlined className="shrink-0" style={{ color: "#1890ff", fontSize: 14 }} />
<span className="text-xs truncate text-blue-600" title={credentialName}>
{credentialName}
</span>
</>
) : (
<>
- <EditOutlined className="flex-shrink-0" style={{ color: "#8c8c8c", fontSize: 14 }} />
+ <EditOutlined className="shrink-0" style={{ color: "#8c8c8c", fontSize: 14 }} />
<span className="text-xs text-gray-500">Manual</span>
</>
)}
@@ -332,7 +332,7 @@ export const columns = (
return (
<div className="flex items-center gap-1 overflow-hidden w-full">
- <Badge size="xs" color="blue" className="text-xs px-1.5 py-0.5 h-5 leading-tight flex-shrink-0">
+ <Badge size="xs" color="blue" className="text-xs px-1.5 py-0.5 h-5 leading-tight shrink-0">
{accessGroups[0]}
</Badge>
@@ -342,7 +342,7 @@ export const columns = (
key={index + 1}
size="xs"
color="blue"
- className="text-xs px-1.5 py-0.5 h-5 leading-tight flex-shrink-0"
+ className="text-xs px-1.5 py-0.5 h-5 leading-tight shrink-0"
>
{group}
</Badge>
@@ -354,7 +354,7 @@ export const columns = (
e.stopPropagation();
toggleExpanded();
}}
- className="text-xs text-blue-600 hover:text-blue-800 px-1 py-0.5 rounded hover:bg-blue-50 h-5 leading-tight flex-shrink-0 whitespace-nowrap"
+ className="text-xs text-blue-600 hover:text-blue-800 px-1 py-0.5 rounded-sm hover:bg-blue-50 h-5 leading-tight shrink-0 whitespace-nowrap"
>
{isExpanded ? "−" : `+${accessGroups.length - 1}`}
</button>
diff --git a/ui/litellm-dashboard/src/components/navbar.tsx b/ui/litellm-dashboard/src/components/navbar.tsx
index b235897819a..1a0b1c38520 100644
--- a/ui/litellm-dashboard/src/components/navbar.tsx
+++ b/ui/litellm-dashboard/src/components/navbar.tsx
@@ -63,7 +63,7 @@ const Navbar: React.FC<NavbarProps> = ({
<nav className="sticky top-0 z-10 border-b border-gray-200 bg-white">
<div className="w-full">
<div className="flex h-14 items-center px-4">
- <div className="flex flex-shrink-0 items-center">
+ <div className="flex shrink-0 items-center">
{onToggleSidebar && (
<button
onClick={onToggleSidebar}
@@ -102,7 +102,7 @@ const Navbar: React.FC<NavbarProps> = ({
href="https://docs.litellm.ai/release_notes"
target="_blank"
rel="noopener noreferrer"
- className="flex-shrink-0"
+ className="shrink-0"
>
v{version}
</a>
diff --git a/ui/litellm-dashboard/src/components/organization/organization_view.tsx b/ui/litellm-dashboard/src/components/organization/organization_view.tsx
index a3ee0004fa6..e1b8c6d5044 100644
--- a/ui/litellm-dashboard/src/components/organization/organization_view.tsx
+++ b/ui/litellm-dashboard/src/components/organization/organization_view.tsx
@@ -441,7 +441,7 @@ const OrganizationInfoView: React.FC<OrganizationInfoProps> = ({
<Input.TextArea rows={4} />
</Form.Item>
- <div className="sticky z-10 bg-white p-4 border-t border-gray-200 bottom-[-1.5rem] inset-x-[-1.5rem]">
+ <div className="sticky z-10 bg-white p-4 border-t border-gray-200 -bottom-6 -inset-x-6">
<div className="flex justify-end items-center gap-2">
<TremorButton variant="secondary" onClick={() => setIsEditing(false)} disabled={isOrgSaving}>
Cancel
diff --git a/ui/litellm-dashboard/src/components/pass_through_info.tsx b/ui/litellm-dashboard/src/components/pass_through_info.tsx
index 172e751dd1f..579911589f5 100644
--- a/ui/litellm-dashboard/src/components/pass_through_info.tsx
+++ b/ui/litellm-dashboard/src/components/pass_through_info.tsx
@@ -53,10 +53,10 @@ const PasswordField: React.FC<{ value: Record<string, any> }> = ({ value }) => {
return (
<div className="flex items-center space-x-2">
- <pre className="font-mono text-xs bg-gray-50 p-2 rounded max-w-md overflow-auto">
+ <pre className="font-mono text-xs bg-gray-50 p-2 rounded-sm max-w-md overflow-auto">
{showPassword ? headerString : "••••••••"}
</pre>
- <button onClick={() => setShowPassword(!showPassword)} className="p-1 hover:bg-gray-100 rounded" type="button">
+ <button onClick={() => setShowPassword(!showPassword)} className="p-1 hover:bg-gray-100 rounded-sm" type="button">
{showPassword ? <EyeOff className="w-4 h-4 text-gray-500" /> : <Eye className="w-4 h-4 text-gray-500" />}
</button>
</div>
@@ -254,7 +254,7 @@ const PassThroughInfoView: React.FC<PassThroughInfoProps> = ({
</div>
<div className="mt-4 space-y-2">
{Object.entries(endpointData.guardrails).map(([name, settings]) => (
- <div key={name} className="p-3 bg-gray-50 rounded">
+ <div key={name} className="p-3 bg-gray-50 rounded-sm">
<div className="font-medium text-sm">{name}</div>
{settings && (settings.request_fields || settings.response_fields) && (
<div className="mt-2 text-xs text-gray-600 space-y-1">
diff --git a/ui/litellm-dashboard/src/components/pass_through_settings.tsx b/ui/litellm-dashboard/src/components/pass_through_settings.tsx
index 66b41f092c5..0ee22f00554 100644
--- a/ui/litellm-dashboard/src/components/pass_through_settings.tsx
+++ b/ui/litellm-dashboard/src/components/pass_through_settings.tsx
@@ -53,7 +53,7 @@ const PasswordField: React.FC<{ value: object }> = ({ value }) => {
return (
<div className="flex items-center space-x-2">
<span className="font-mono text-xs">{showPassword ? headerString : "••••••••"}</span>
- <button onClick={() => setShowPassword(!showPassword)} className="p-1 hover:bg-gray-100 rounded" type="button">
+ <button onClick={() => setShowPassword(!showPassword)} className="p-1 hover:bg-gray-100 rounded-sm" type="button">
{showPassword ? <EyeOff className="w-4 h-4 text-gray-500" /> : <Eye className="w-4 h-4 text-gray-500" />}
</button>
</div>
diff --git a/ui/litellm-dashboard/src/components/permissions/AgentPermissions.tsx b/ui/litellm-dashboard/src/components/permissions/AgentPermissions.tsx
index 1517d658bdc..11951b2decb 100644
--- a/ui/litellm-dashboard/src/components/permissions/AgentPermissions.tsx
+++ b/ui/litellm-dashboard/src/components/permissions/AgentPermissions.tsx
@@ -73,7 +73,7 @@ export function AgentPermissions({ agents, agentAccessGroups = [], accessToken }
{item.type === "agent" ? (
<Tooltip title={`Full ID: ${item.value}`} placement="top">
<div className="inline-flex items-center gap-2 min-w-0">
- <span className="inline-block w-1.5 h-1.5 bg-purple-500 rounded-full flex-shrink-0"></span>
+ <span className="inline-block w-1.5 h-1.5 bg-purple-500 rounded-full shrink-0"></span>
<span className="text-sm font-medium text-gray-900 truncate">
{getAgentDisplayName(item.value)}
</span>
@@ -81,9 +81,9 @@ export function AgentPermissions({ agents, agentAccessGroups = [], accessToken }
</Tooltip>
) : (
<div className="inline-flex items-center gap-2 min-w-0">
- <span className="inline-block w-1.5 h-1.5 bg-green-500 rounded-full flex-shrink-0"></span>
+ <span className="inline-block w-1.5 h-1.5 bg-green-500 rounded-full shrink-0"></span>
<span className="text-sm font-medium text-gray-900 truncate">{item.value}</span>
- <span className="ml-1 px-1.5 py-0.5 text-[9px] font-semibold text-green-600 bg-green-50 border border-green-200 rounded uppercase tracking-wide flex-shrink-0">
+ <span className="ml-1 px-1.5 py-0.5 text-[9px] font-semibold text-green-600 bg-green-50 border border-green-200 rounded-sm uppercase tracking-wide shrink-0">
Group
</span>
</div>
diff --git a/ui/litellm-dashboard/src/components/permissions/MCPServerPermissions.tsx b/ui/litellm-dashboard/src/components/permissions/MCPServerPermissions.tsx
index f2a2a3d5901..9172ff92c69 100644
--- a/ui/litellm-dashboard/src/components/permissions/MCPServerPermissions.tsx
+++ b/ui/litellm-dashboard/src/components/permissions/MCPServerPermissions.tsx
@@ -142,7 +142,7 @@ export function MCPServerPermissions({
{item.type === "server" ? (
<Tooltip title={`Full ID: ${item.value}`} placement="top">
<div className="inline-flex items-center gap-2 min-w-0">
- <span className="inline-block w-1.5 h-1.5 bg-blue-500 rounded-full flex-shrink-0"></span>
+ <span className="inline-block w-1.5 h-1.5 bg-blue-500 rounded-full shrink-0"></span>
<span className="text-sm font-medium text-gray-900 truncate">
{getMCPServerDisplayName(item.value)}
</span>
@@ -150,9 +150,9 @@ export function MCPServerPermissions({
</Tooltip>
) : (
<div className="inline-flex items-center gap-2 min-w-0">
- <span className="inline-block w-1.5 h-1.5 bg-green-500 rounded-full flex-shrink-0"></span>
+ <span className="inline-block w-1.5 h-1.5 bg-green-500 rounded-full shrink-0"></span>
<span className="text-sm font-medium text-gray-900 truncate">{item.value}</span>
- <span className="ml-1 px-1.5 py-0.5 text-[9px] font-semibold text-green-600 bg-green-50 border border-green-200 rounded uppercase tracking-wide flex-shrink-0">
+ <span className="ml-1 px-1.5 py-0.5 text-[9px] font-semibold text-green-600 bg-green-50 border border-green-200 rounded-sm uppercase tracking-wide shrink-0">
Group
</span>
</div>
@@ -160,7 +160,7 @@ export function MCPServerPermissions({
</div>
{hasToolRestrictions && (
- <div className="flex items-center gap-1 flex-shrink-0 whitespace-nowrap">
+ <div className="flex items-center gap-1 shrink-0 whitespace-nowrap">
<span className="text-xs font-medium text-gray-600">{toolsForServer.length}</span>
<span className="text-xs text-gray-500">{toolsForServer.length === 1 ? "tool" : "tools"}</span>
{isExpanded ? (
@@ -207,16 +207,16 @@ export function MCPServerPermissions({
}`}
>
<div className="flex items-center gap-2 flex-1 min-w-0">
- <span className="inline-block w-1.5 h-1.5 bg-purple-500 rounded-full flex-shrink-0"></span>
+ <span className="inline-block w-1.5 h-1.5 bg-purple-500 rounded-full shrink-0"></span>
<span className="text-sm font-medium text-gray-900 truncate">
{detail?.toolset_name ?? toolsetId}
</span>
- <span className="ml-1 px-1.5 py-0.5 text-[9px] font-semibold text-purple-600 bg-purple-50 border border-purple-200 rounded uppercase tracking-wide flex-shrink-0">
+ <span className="ml-1 px-1.5 py-0.5 text-[9px] font-semibold text-purple-600 bg-purple-50 border border-purple-200 rounded-sm uppercase tracking-wide shrink-0">
Toolset
</span>
</div>
{toolCount > 0 && (
- <div className="flex items-center gap-1 flex-shrink-0 whitespace-nowrap">
+ <div className="flex items-center gap-1 shrink-0 whitespace-nowrap">
<span className="text-xs font-medium text-gray-600">{toolCount}</span>
<span className="text-xs text-gray-500">{toolCount === 1 ? "tool" : "tools"}</span>
{isExpanded ? (
diff --git a/ui/litellm-dashboard/src/components/policies/ai_suggestion_modal.tsx b/ui/litellm-dashboard/src/components/policies/ai_suggestion_modal.tsx
index 1a3745df86e..3727db4d9cf 100644
--- a/ui/litellm-dashboard/src/components/policies/ai_suggestion_modal.tsx
+++ b/ui/litellm-dashboard/src/components/policies/ai_suggestion_modal.tsx
@@ -414,8 +414,8 @@ const AiSuggestionModal: React.FC<AiSuggestionModalProps> = ({
key={suggestion.template_id}
className={`rounded-xl border-2 transition-all ${
isSelected
- ? "border-blue-400 bg-blue-50/60 shadow-sm"
- : "border-gray-200 hover:border-gray-300 hover:shadow-sm"
+ ? "border-blue-400 bg-blue-50/60 shadow-xs"
+ : "border-gray-200 hover:border-gray-300 hover:shadow-xs"
}`}
>
<div className="p-4 cursor-pointer" onClick={() => toggleTemplate(suggestion.template_id)}>
@@ -461,7 +461,7 @@ const AiSuggestionModal: React.FC<AiSuggestionModalProps> = ({
template.guardrails.slice(0, 4).map((g: string) => (
<span
key={g}
- className="inline-flex items-center px-1.5 py-0.5 rounded text-[10px] font-medium bg-gray-100 text-gray-600"
+ className="inline-flex items-center px-1.5 py-0.5 rounded-sm text-[10px] font-medium bg-gray-100 text-gray-600"
>
{g}
</span>
@@ -471,7 +471,7 @@ const AiSuggestionModal: React.FC<AiSuggestionModalProps> = ({
)}
</div>
<div className="mt-2 flex items-start gap-1.5">
- <InfoCircleOutlined className="text-blue-500 mt-0.5 text-xs flex-shrink-0" />
+ <InfoCircleOutlined className="text-blue-500 mt-0.5 text-xs shrink-0" />
<p className="text-xs text-blue-600 leading-relaxed">{suggestion.reason}</p>
</div>
</div>
@@ -552,7 +552,7 @@ const AiSuggestionModal: React.FC<AiSuggestionModalProps> = ({
{hasEnrichedGuardrails ? (
<CheckCircleOutlined className="text-green-600" />
) : (
- <svg className="w-4 h-4 text-amber-600 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20">
+ <svg className="w-4 h-4 text-amber-600 shrink-0" fill="currentColor" viewBox="0 0 20 20">
<path
fillRule="evenodd"
d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z"
@@ -585,7 +585,7 @@ const AiSuggestionModal: React.FC<AiSuggestionModalProps> = ({
</div>
{isEnriching && enrichStatusMessage && (
- <div className="flex items-center gap-2 p-2 bg-blue-50 rounded border border-blue-100">
+ <div className="flex items-center gap-2 p-2 bg-blue-50 rounded-sm border border-blue-100">
<Spin size="small" />
<span className="text-xs text-blue-700">{enrichStatusMessage}</span>
</div>
@@ -642,7 +642,7 @@ const AiSuggestionModal: React.FC<AiSuggestionModalProps> = ({
/>
<div className="mt-1">
<Text className="text-xs text-gray-500">
- Press <kbd className="px-1 py-0.5 bg-gray-100 border border-gray-300 rounded text-xs">Enter</kbd> to
+ Press <kbd className="px-1 py-0.5 bg-gray-100 border border-gray-300 rounded-sm text-xs">Enter</kbd> to
submit
</Text>
</div>
@@ -710,7 +710,7 @@ const AiSuggestionModal: React.FC<AiSuggestionModalProps> = ({
return (
<Card
key={result.guardrail_name}
- className={`!p-3 ${
+ className={`p-3! ${
isBlocked
? "bg-red-50 border-red-200"
: isMasked
@@ -768,15 +768,15 @@ const AiSuggestionModal: React.FC<AiSuggestionModalProps> = ({
{!isCollapsed && (
<>
{isMasked && result.output_text && (
- <div className="bg-white border border-amber-200 rounded p-2">
+ <div className="bg-white border border-amber-200 rounded-sm p-2">
<label className="text-[10px] font-medium text-gray-600 mb-1 block">Output Text</label>
- <div className="font-mono text-xs text-gray-900 whitespace-pre-wrap break-words">
+ <div className="font-mono text-xs text-gray-900 whitespace-pre-wrap wrap-break-word">
{result.output_text}
</div>
</div>
)}
{isBlocked && result.details && (
- <div className="bg-white border border-red-200 rounded p-2">
+ <div className="bg-white border border-red-200 rounded-sm p-2">
<label className="text-[10px] font-medium text-gray-600 mb-1 block">Details</label>
<p className="text-xs text-red-700">{result.details}</p>
</div>
@@ -919,7 +919,7 @@ const AiSuggestionModal: React.FC<AiSuggestionModalProps> = ({
{/* Info box */}
<div className="flex items-start gap-3 p-3.5 bg-blue-50 rounded-lg border border-blue-100">
- <svg className="w-4 h-4 text-blue-500 mt-0.5 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20">
+ <svg className="w-4 h-4 text-blue-500 mt-0.5 shrink-0" fill="currentColor" viewBox="0 0 20 20">
<path
fillRule="evenodd"
d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"
diff --git a/ui/litellm-dashboard/src/components/policies/guardrail_selection_modal.tsx b/ui/litellm-dashboard/src/components/policies/guardrail_selection_modal.tsx
index e5e4624ae0d..4c2bffc77f1 100644
--- a/ui/litellm-dashboard/src/components/policies/guardrail_selection_modal.tsx
+++ b/ui/litellm-dashboard/src/components/policies/guardrail_selection_modal.tsx
@@ -156,7 +156,7 @@ const GuardrailSelectionModal: React.FC<GuardrailSelectionModalProps> = ({
} transition-colors`}
>
<div className="flex items-start gap-3">
- <div className="flex-shrink-0 pt-0.5">
+ <div className="shrink-0 pt-0.5">
{guardrail.alreadyExists ? (
<CheckCircleOutlined className="text-green-600 text-lg" />
) : (
diff --git a/ui/litellm-dashboard/src/components/policies/policy_info.tsx b/ui/litellm-dashboard/src/components/policies/policy_info.tsx
index d3b53a4505d..a0ec5dd2b2a 100644
--- a/ui/litellm-dashboard/src/components/policies/policy_info.tsx
+++ b/ui/litellm-dashboard/src/components/policies/policy_info.tsx
@@ -97,7 +97,7 @@ const PolicyInfoView: React.FC<PolicyInfoViewProps> = ({
<Descriptions bordered column={1}>
<Descriptions.Item label="Policy ID">
- <code className="text-xs bg-gray-100 px-2 py-1 rounded">{policy.policy_id}</code>
+ <code className="text-xs bg-gray-100 px-2 py-1 rounded-sm">{policy.policy_id}</code>
</Descriptions.Item>
<Descriptions.Item label="Description">
{policy.description || <Text type="secondary">No description</Text>}
diff --git a/ui/litellm-dashboard/src/components/policies/policy_table.tsx b/ui/litellm-dashboard/src/components/policies/policy_table.tsx
index f7eee52847a..eafec442474 100644
--- a/ui/litellm-dashboard/src/components/policies/policy_table.tsx
+++ b/ui/litellm-dashboard/src/components/policies/policy_table.tsx
@@ -184,7 +184,7 @@ const PolicyTable: React.FC<PolicyTableProps> = ({
}
return (
<Tooltip title={typeof modelCondition === "string" ? modelCondition : JSON.stringify(modelCondition)}>
- <code className="text-xs bg-gray-100 px-1 py-0.5 rounded">
+ <code className="text-xs bg-gray-100 px-1 py-0.5 rounded-sm">
{typeof modelCondition === "string"
? modelCondition.length > 20
? modelCondition.slice(0, 20) + "..."
diff --git a/ui/litellm-dashboard/src/components/policies/policy_templates.tsx b/ui/litellm-dashboard/src/components/policies/policy_templates.tsx
index 4043764394b..6b8d0f6007c 100644
--- a/ui/litellm-dashboard/src/components/policies/policy_templates.tsx
+++ b/ui/litellm-dashboard/src/components/policies/policy_templates.tsx
@@ -61,7 +61,7 @@ const PolicyTemplateCard: React.FC<PolicyTemplateCardProps> = ({
</div>
<h3 className="text-base font-semibold text-gray-900 mb-2">{title}</h3>
- <p className="text-sm text-gray-500 mb-4 flex-grow">{description}</p>
+ <p className="text-sm text-gray-500 mb-4 grow">{description}</p>
{tags.length > 0 && (
<div className="flex flex-wrap gap-1.5 mb-4">
@@ -79,7 +79,7 @@ const PolicyTemplateCard: React.FC<PolicyTemplateCardProps> = ({
{inherits && (
<div className="mb-4 text-xs">
<span className="text-gray-500">Inherits from: </span>
- <span className="font-medium text-gray-700 bg-gray-100 px-2 py-0.5 rounded">{inherits}</span>
+ <span className="font-medium text-gray-700 bg-gray-100 px-2 py-0.5 rounded-sm">{inherits}</span>
</div>
)}
@@ -91,7 +91,7 @@ const PolicyTemplateCard: React.FC<PolicyTemplateCardProps> = ({
{guardrails.map((g) => (
<span
key={g}
- className="inline-flex items-center px-2 py-1 rounded text-xs font-medium bg-gray-50 text-gray-700 border border-gray-200"
+ className="inline-flex items-center px-2 py-1 rounded-sm text-xs font-medium bg-gray-50 text-gray-700 border border-gray-200"
>
{g}
</span>
@@ -218,7 +218,7 @@ const PolicyTemplates: React.FC<PolicyTemplatesProps> = ({
<div className="flex gap-6">
{/* Left sidebar - tag filters */}
{tagCounts.length > 0 && (
- <div className="w-52 flex-shrink-0">
+ <div className="w-52 shrink-0">
<div className="sticky top-4">
<div className="flex items-center justify-between mb-3">
<span className="text-sm font-semibold text-gray-900">Categories</span>
diff --git a/ui/litellm-dashboard/src/components/policies/template_parameter_modal.tsx b/ui/litellm-dashboard/src/components/policies/template_parameter_modal.tsx
index e62f12e0095..3f025e83536 100644
--- a/ui/litellm-dashboard/src/components/policies/template_parameter_modal.tsx
+++ b/ui/litellm-dashboard/src/components/policies/template_parameter_modal.tsx
@@ -313,7 +313,7 @@ const TemplateParameterModal: React.FC<TemplateParameterModalProps> = ({
/>
<p className="text-xs text-gray-500 mt-1">Type a name and press Enter to add. Click ✕ to remove.</p>
{statusMessage && (
- <div className="flex items-center gap-2 mt-2 p-2 bg-blue-50 rounded border border-blue-100">
+ <div className="flex items-center gap-2 mt-2 p-2 bg-blue-50 rounded-sm border border-blue-100">
<Spin size="small" />
<span className="text-xs text-blue-700">{statusMessage}</span>
</div>
diff --git a/ui/litellm-dashboard/src/components/public_model_hub.tsx b/ui/litellm-dashboard/src/components/public_model_hub.tsx
index c91b783b047..a03f48dc1f1 100644
--- a/ui/litellm-dashboard/src/components/public_model_hub.tsx
+++ b/ui/litellm-dashboard/src/components/public_model_hub.tsx
@@ -623,12 +623,12 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
{providers.map((provider) => {
const { logo } = getProviderLogoAndName(provider);
return (
- <div key={provider} className="flex items-center space-x-1 px-2 py-1 bg-gray-100 rounded text-xs">
+ <div key={provider} className="flex items-center space-x-1 px-2 py-1 bg-gray-100 rounded-sm text-xs">
{logo && (
<img
src={logo}
alt={provider}
- className="w-3 h-3 flex-shrink-0 object-contain"
+ className="w-3 h-3 shrink-0 object-contain"
onError={(e) => {
(e.target as HTMLImageElement).style.display = "none";
}}
@@ -973,7 +973,7 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
{/* About Section - only shown when not embedded */}
{!isEmbedded && (
- <Card className="mb-10 p-8 bg-white border border-gray-200 rounded-lg shadow-sm">
+ <Card className="mb-10 p-8 bg-white border border-gray-200 rounded-lg shadow-xs">
<Title className="text-2xl font-semibold mb-6 text-gray-900">About</Title>
<p className="text-gray-700 mb-6 text-base leading-relaxed">
{customDocsDescription ? customDocsDescription : "Proxy Server to call 100+ LLMs in the OpenAI format."}
@@ -989,7 +989,7 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
{/* Useful Links - only shown when not embedded */}
{usefulLinks && Object.keys(usefulLinks).length > 0 && (
- <Card className="mb-10 p-8 bg-white border border-gray-200 rounded-lg shadow-sm">
+ <Card className="mb-10 p-8 bg-white border border-gray-200 rounded-lg shadow-xs">
<Title className="text-2xl font-semibold mb-6 text-gray-900">Useful Links</Title>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
{Object.entries(usefulLinks || {})
@@ -1016,7 +1016,7 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
{/* Health and Endpoint Status - only shown when not embedded */}
{!isEmbedded && (
- <Card className="mb-10 p-8 bg-white border border-gray-200 rounded-lg shadow-sm">
+ <Card className="mb-10 p-8 bg-white border border-gray-200 rounded-lg shadow-xs">
<Title className="text-2xl font-semibold mb-6 text-gray-900">Health and Endpoint Status</Title>
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
<Text className="text-green-600 font-medium text-sm">Service status: {serviceStatus}</Text>
@@ -1025,7 +1025,7 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
)}
{/* Tabs for Models and Agents */}
- <Card className="p-8 bg-white border border-gray-200 rounded-lg shadow-sm">
+ <Card className="p-8 bg-white border border-gray-200 rounded-lg shadow-xs">
<Tabs activeKey={activeTab} onChange={setActiveTab} size="large" className="public-hub-tabs">
{/* Models Tab */}
<TabPane tab="Model Hub" key="models">
@@ -1052,7 +1052,7 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
placeholder="Search model names... (smart search enabled)"
value={searchTerm}
onChange={(e) => setSearchTerm(e.target.value)}
- className="border border-gray-300 rounded-lg pl-10 pr-4 py-2 w-full text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent bg-white"
+ className="border border-gray-300 rounded-lg pl-10 pr-4 py-2 w-full text-sm focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-transparent bg-white"
/>
</div>
</div>
@@ -1074,7 +1074,7 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
<img
src={logo}
alt={option.label as string}
- className="w-5 h-5 flex-shrink-0 object-contain"
+ className="w-5 h-5 shrink-0 object-contain"
onError={(e) => {
(e.target as HTMLImageElement).style.display = "none";
}}
@@ -1173,7 +1173,7 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
placeholder="Search agent names or descriptions..."
value={agentSearchTerm}
onChange={(e) => setAgentSearchTerm(e.target.value)}
- className="border border-gray-300 rounded-lg pl-10 pr-4 py-2 w-full text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent bg-white"
+ className="border border-gray-300 rounded-lg pl-10 pr-4 py-2 w-full text-sm focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-transparent bg-white"
/>
</div>
</div>
@@ -1237,7 +1237,7 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
placeholder="Search MCP server names or descriptions..."
value={mcpSearchTerm}
onChange={(e) => setMcpSearchTerm(e.target.value)}
- className="border border-gray-300 rounded-lg pl-10 pr-4 py-2 w-full text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent bg-white"
+ className="border border-gray-300 rounded-lg pl-10 pr-4 py-2 w-full text-sm focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-transparent bg-white"
/>
</div>
</div>
@@ -1333,7 +1333,7 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
<img
src={logo}
alt={provider}
- className="w-3 h-3 flex-shrink-0 object-contain"
+ className="w-3 h-3 shrink-0 object-contain"
onError={(e) => {
(e.target as HTMLImageElement).style.display = "none";
}}
@@ -1352,18 +1352,20 @@ const PublicModelHub: React.FC<PublicModelHubProps> = ({ accessToken, isEmbedded
{selectedModel.model_group.includes("*") && (
<div className="bg-blue-50 border border-blue-200 rounded-lg p-4 mb-4">
<div className="flex items-start space-x-2">
- <Info className="w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0" />
+ <Info className="w-4 h-4 text-blue-600 mt-0.5 shrink-0" />
<div>
<Text className="font-medium text-blue-900 mb-2">Wildcard Routing</Text>
<Text className="text-sm text-blue-800 mb-2">
This model uses wildcard routing. You can pass any value where you see the{" "}
- <code className="bg-blue-100 px-1 py-0.5 rounded text-xs">*</code> symbol.
+ <code className="bg-blue-100 px-1 py-0.5 rounded-sm text-xs">*</code> symbol.
</Text>
<Text className="text-sm text-blue-800">
For example, with{" "}
- <code className="bg-blue-100 px-1 py-0.5 rounded text-xs">{selectedModel.model_group}</code>,
- you can use any string (
- <code className="bg-blue-100 px-1 py-0.5 rounded text-xs">
+ <code className="bg-blue-100 px-1 py-0.5 rounded-sm text-xs">
+ {selectedModel.model_group}
+ </code>
+ , you can use any string (
+ <code className="bg-blue-100 px-1 py-0.5 rounded-sm text-xs">
{selectedModel.model_group.replaceAll("*", "my-custom-value")}
</code>
) that matches this pattern.
diff --git a/ui/litellm-dashboard/src/components/route_preview.tsx b/ui/litellm-dashboard/src/components/route_preview.tsx
index c515687d096..712684af5fc 100644
--- a/ui/litellm-dashboard/src/components/route_preview.tsx
+++ b/ui/litellm-dashboard/src/components/route_preview.tsx
@@ -97,11 +97,11 @@ const RoutePreview: React.FC<RoutePreviewProps> = ({ pathValue, targetValue, inc
{!includeSubpath && (
<div className="mt-4 p-3 bg-blue-50 rounded-md border border-blue-200">
<div className="flex items-start">
- <InfoCircleOutlined className="text-blue-500 mt-0.5 mr-2 flex-shrink-0" />
+ <InfoCircleOutlined className="text-blue-500 mt-0.5 mr-2 shrink-0" />
<div className="text-sm text-blue-700">
<span className="font-medium">Not seeing the routing you wanted?</span> Try enabling - Include Subpaths
- above - this allows subroutes like{" "}
- <code className="bg-blue-100 px-1 py-0.5 rounded font-mono text-xs">/api/v1/models</code> to be
+ <code className="bg-blue-100 px-1 py-0.5 rounded-sm font-mono text-xs">/api/v1/models</code> to be
forwarded automatically.
</div>
</div>
diff --git a/ui/litellm-dashboard/src/components/routing_groups/RoutingGroupsTable.tsx b/ui/litellm-dashboard/src/components/routing_groups/RoutingGroupsTable.tsx
index 6fd8621969c..96f6e578c83 100644
--- a/ui/litellm-dashboard/src/components/routing_groups/RoutingGroupsTable.tsx
+++ b/ui/litellm-dashboard/src/components/routing_groups/RoutingGroupsTable.tsx
@@ -110,7 +110,7 @@ const RoutingGroupSnippet: React.FC<RoutingGroupSnippetProps> = ({ group, baseUr
key,
label,
children: (
- <Paragraph code className="!mb-0" style={SNIPPET_BLOCK_STYLE}>
+ <Paragraph code className="mb-0!" style={SNIPPET_BLOCK_STYLE}>
{snippets[key as SnippetKey]}
</Paragraph>
),
@@ -123,7 +123,7 @@ const RoutingGroupSnippet: React.FC<RoutingGroupSnippetProps> = ({ group, baseUr
onChange={(k) => setActiveKey(k as SnippetKey)}
items={items}
tabBarExtraContent={
- <Paragraph copyable={{ text: snippets[activeKey], tooltips: ["Copy", "Copied"] }} className="!mb-0" />
+ <Paragraph copyable={{ text: snippets[activeKey], tooltips: ["Copy", "Copied"] }} className="mb-0!" />
}
/>
);
diff --git a/ui/litellm-dashboard/src/components/settings.tsx b/ui/litellm-dashboard/src/components/settings.tsx
index bff0dbb35b8..6f4ad17313b 100644
--- a/ui/litellm-dashboard/src/components/settings.tsx
+++ b/ui/litellm-dashboard/src/components/settings.tsx
@@ -97,14 +97,14 @@ const DynamicParamsFields: React.FC<DynamicParamsFieldsProps> = ({ params, callb
<Input.Password
size="large"
placeholder={`Enter your ${fieldLabel.toLowerCase()}`}
- className="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500"
+ className="w-full rounded-md border-gray-300 shadow-xs focus:border-blue-500 focus:ring-blue-500"
/>
) : paramType === "number" ? (
<Input
type="number"
size="large"
placeholder={`Enter ${fieldLabel.toLowerCase()}`}
- className="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500"
+ className="w-full rounded-md border-gray-300 shadow-xs focus:border-blue-500 focus:ring-blue-500"
min={0}
max={1}
step={0.1}
@@ -113,7 +113,7 @@ const DynamicParamsFields: React.FC<DynamicParamsFieldsProps> = ({ params, callb
<Input
size="large"
placeholder={`Enter your ${fieldLabel.toLowerCase()}`}
- className="w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500"
+ className="w-full rounded-md border-gray-300 shadow-xs focus:border-blue-500 focus:ring-blue-500"
/>
)}
</FormItem>
@@ -171,7 +171,7 @@ const CallbackSelector: React.FC<CallbackSelectorProps> = ({
<img
src={logoSrc}
alt={`${callbackConfig.displayName} logo`}
- className="w-6 h-6 rounded object-contain"
+ className="w-6 h-6 rounded-sm object-contain"
onError={(e) => {
e.currentTarget.style.display = "none";
}}
diff --git a/ui/litellm-dashboard/src/components/shared/advanced_date_picker.tsx b/ui/litellm-dashboard/src/components/shared/advanced_date_picker.tsx
index 4293657b71a..013ccd118e9 100644
--- a/ui/litellm-dashboard/src/components/shared/advanced_date_picker.tsx
+++ b/ui/litellm-dashboard/src/components/shared/advanced_date_picker.tsx
@@ -299,7 +299,7 @@ const AdvancedDatePicker: React.FC<AdvancedDatePickerProps> = ({
{/* Dropdown panel */}
{isOpen && (
- <div className="absolute top-full right-0 z-[9999] min-w-[600px] mt-1 bg-white border border-gray-200 rounded-lg shadow-xl">
+ <div className="absolute top-full right-0 z-9999 min-w-[600px] mt-1 bg-white border border-gray-200 rounded-lg shadow-xl">
<div className="flex">
{/* Left side - Relative time options */}
<div className="w-1/2 border-r border-gray-200">
diff --git a/ui/litellm-dashboard/src/components/shared/usage_date_picker.tsx b/ui/litellm-dashboard/src/components/shared/usage_date_picker.tsx
index 72ce5042647..821dee65a3e 100644
--- a/ui/litellm-dashboard/src/components/shared/usage_date_picker.tsx
+++ b/ui/litellm-dashboard/src/components/shared/usage_date_picker.tsx
@@ -135,7 +135,7 @@ const UsageDatePicker: React.FC<UsageDatePickerProps> = ({
zIndex: 110,
}}
>
- <div className="flex items-center gap-1 text-green-600 text-sm font-medium bg-white px-2 py-1 rounded-full border border-green-200 shadow-sm whitespace-nowrap">
+ <div className="flex items-center gap-1 text-green-600 text-sm font-medium bg-white px-2 py-1 rounded-full border border-green-200 shadow-xs whitespace-nowrap">
<div className="w-3 h-3 bg-green-500 text-white rounded-full flex items-center justify-center text-xs">
✓
</div>
diff --git a/ui/litellm-dashboard/src/components/tag_management/tag_info.tsx b/ui/litellm-dashboard/src/components/tag_management/tag_info.tsx
index 1c66a107db7..63725d5884f 100644
--- a/ui/litellm-dashboard/src/components/tag_management/tag_info.tsx
+++ b/ui/litellm-dashboard/src/components/tag_management/tag_info.tsx
@@ -117,7 +117,7 @@ const TagInfoView: React.FC<TagInfoViewProps> = ({ tagId, onClose, accessToken,
</Button>
<div className="flex items-center gap-2">
<Text className="font-medium">Tag Name:</Text>
- <span className="font-mono px-2 py-1 bg-gray-100 rounded text-sm border border-gray-200">
+ <span className="font-mono px-2 py-1 bg-gray-100 rounded-sm text-sm border border-gray-200">
{tagDetails.name}
</span>
<AntdButton
diff --git a/ui/litellm-dashboard/src/components/team/LoggingSettings.tsx b/ui/litellm-dashboard/src/components/team/LoggingSettings.tsx
index 49602fd5b05..cc1c68edeab 100644
--- a/ui/litellm-dashboard/src/components/team/LoggingSettings.tsx
+++ b/ui/litellm-dashboard/src/components/team/LoggingSettings.tsx
@@ -122,12 +122,12 @@ const LoggingSettings: React.FC<LoggingSettingsProps> = ({
<InfoCircleOutlined className="text-gray-400 cursor-help text-xs" />
</Tooltip>
{paramType === "password" && (
- <span className="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800">
+ <span className="inline-flex items-center px-2 py-0.5 rounded-sm text-xs font-medium bg-yellow-100 text-yellow-800">
Sensitive
</span>
)}
{paramType === "number" && (
- <span className="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800">
+ <span className="inline-flex items-center px-2 py-0.5 rounded-sm text-xs font-medium bg-yellow-100 text-yellow-800">
Number
</span>
)}
@@ -250,7 +250,7 @@ const LoggingSettings: React.FC<LoggingSettingsProps> = ({
return (
<Card
key={index}
- className="border border-gray-200 shadow-sm hover:shadow-md transition-shadow duration-200"
+ className="border border-gray-200 shadow-xs hover:shadow-md transition-shadow duration-200"
decoration="top"
decorationColor="blue"
>
diff --git a/ui/litellm-dashboard/src/components/team/TeamInfo.tsx b/ui/litellm-dashboard/src/components/team/TeamInfo.tsx
index dc56e6c63e1..c5b934d5432 100644
--- a/ui/litellm-dashboard/src/components/team/TeamInfo.tsx
+++ b/ui/litellm-dashboard/src/components/team/TeamInfo.tsx
@@ -1467,7 +1467,7 @@ const TeamInfoView: React.FC<TeamInfoProps> = ({
<Input.TextArea rows={10} />
</Form.Item>
- <div className="sticky z-10 bg-white p-4 pr-0 border-t border-gray-200 bottom-[-1.5rem] inset-x-[-1.5rem]">
+ <div className="sticky z-10 bg-white p-4 pr-0 border-t border-gray-200 -bottom-6 -inset-x-6">
<div className="flex justify-end items-center gap-2">
<Button onClick={() => setIsEditing(false)} disabled={isTeamSaving}>
Cancel
@@ -1647,7 +1647,7 @@ const TeamInfoView: React.FC<TeamInfoProps> = ({
{info.metadata?.secret_manager_settings && (
<div className="pt-4 border-t border-gray-200">
<Text className="font-medium">Secret Manager Settings</Text>
- <pre className="mt-2 bg-gray-50 p-3 rounded text-xs overflow-x-auto">
+ <pre className="mt-2 bg-gray-50 p-3 rounded-sm text-xs overflow-x-auto">
{JSON.stringify(info.metadata.secret_manager_settings, null, 2)}
</pre>
</div>
diff --git a/ui/litellm-dashboard/src/components/templates/key_edit_view.tsx b/ui/litellm-dashboard/src/components/templates/key_edit_view.tsx
index e991db8069e..8ff30633ae3 100644
--- a/ui/litellm-dashboard/src/components/templates/key_edit_view.tsx
+++ b/ui/litellm-dashboard/src/components/templates/key_edit_view.tsx
@@ -784,7 +784,7 @@ export function KeyEditView({
<Input />
</Form.Item>
- <div className="sticky z-10 bg-white p-4 border-t border-gray-200 bottom-[-1.5rem] inset-x-[-1.5rem]">
+ <div className="sticky z-10 bg-white p-4 border-t border-gray-200 -bottom-6 -inset-x-6">
<div className="flex justify-end items-center gap-2">
<TremorButton variant="secondary" onClick={onCancel} disabled={isKeySaving}>
Cancel
diff --git a/ui/litellm-dashboard/src/components/templates/key_info_view.tsx b/ui/litellm-dashboard/src/components/templates/key_info_view.tsx
index 24d5c78c72b..76d6f7ece22 100644
--- a/ui/litellm-dashboard/src/components/templates/key_info_view.tsx
+++ b/ui/litellm-dashboard/src/components/templates/key_info_view.tsx
@@ -753,7 +753,7 @@ export default function KeyInfoView({
<div className="flex flex-wrap gap-2 mt-1">
{Array.isArray(currentKeyData.metadata?.tags) && currentKeyData.metadata.tags.length > 0
? currentKeyData.metadata.tags.map((tag, index) => (
- <span key={index} className="px-2 mr-2 py-1 bg-blue-100 rounded text-xs">
+ <span key={index} className="px-2 mr-2 py-1 bg-blue-100 rounded-sm text-xs">
{tag}
</span>
))
@@ -766,7 +766,7 @@ export default function KeyInfoView({
<Text>
{Array.isArray(currentKeyData.metadata?.prompts) && currentKeyData.metadata.prompts.length > 0
? currentKeyData.metadata.prompts.map((prompt, index) => (
- <span key={index} className="px-2 mr-2 py-1 bg-blue-100 rounded text-xs">
+ <span key={index} className="px-2 mr-2 py-1 bg-blue-100 rounded-sm text-xs">
{prompt}
</span>
))
@@ -779,7 +779,7 @@ export default function KeyInfoView({
<div className="flex flex-wrap gap-2 mt-1">
{Array.isArray(currentKeyData.allowed_routes) && currentKeyData.allowed_routes.length > 0 ? (
currentKeyData.allowed_routes.map((route, index) => (
- <span key={index} className="px-2 py-1 bg-blue-100 rounded text-xs">
+ <span key={index} className="px-2 py-1 bg-blue-100 rounded-sm text-xs">
{route}
</span>
))
@@ -795,7 +795,7 @@ export default function KeyInfoView({
{Array.isArray(currentKeyData.metadata?.allowed_passthrough_routes) &&
currentKeyData.metadata.allowed_passthrough_routes.length > 0
? currentKeyData.metadata.allowed_passthrough_routes.map((route, index) => (
- <span key={index} className="px-2 mr-2 py-1 bg-blue-100 rounded text-xs">
+ <span key={index} className="px-2 mr-2 py-1 bg-blue-100 rounded-sm text-xs">
{route}
</span>
))
@@ -819,7 +819,7 @@ export default function KeyInfoView({
<div className="flex flex-wrap gap-2 mt-1">
{currentKeyData.models && currentKeyData.models.length > 0 ? (
currentKeyData.models.map((model, index) => (
- <span key={index} className="px-2 py-1 bg-blue-100 rounded text-xs">
+ <span key={index} className="px-2 py-1 bg-blue-100 rounded-sm text-xs">
{model}
</span>
))
@@ -855,7 +855,7 @@ export default function KeyInfoView({
<div>
<Text className="font-medium">Metadata</Text>
- <pre className="bg-gray-100 p-2 rounded text-xs overflow-auto mt-1">
+ <pre className="bg-gray-100 p-2 rounded-sm text-xs overflow-auto mt-1">
{formatMetadataForDisplay(stripTagsFromMetadata(currentKeyData.metadata))}
</pre>
</div>
diff --git a/ui/litellm-dashboard/src/components/ui/button.test.tsx b/ui/litellm-dashboard/src/components/ui/button.test.tsx
new file mode 100644
index 00000000000..16863d5c309
--- /dev/null
+++ b/ui/litellm-dashboard/src/components/ui/button.test.tsx
@@ -0,0 +1,50 @@
+import { describe, it, expect } from "vitest";
+import { render, screen } from "@testing-library/react";
+import { createRef } from "react";
+import { Button } from "./button";
+
+describe("Button", () => {
+ it("renders the default variant with cva-applied classes", () => {
+ render(<Button>Save</Button>);
+ const button = screen.getByRole("button", { name: "Save" });
+ expect(button).toHaveClass("bg-primary");
+ expect(button).toHaveAttribute("data-slot", "button");
+ expect(button).toHaveAttribute("data-variant", "default");
+ });
+
+ it("applies variant and size props", () => {
+ render(
+ <Button variant="destructive" size="sm">
+ Delete
+ </Button>,
+ );
+ const button = screen.getByRole("button", { name: "Delete" });
+ expect(button).toHaveClass("bg-destructive");
+ expect(button).toHaveClass("h-8");
+ expect(button).toHaveAttribute("data-variant", "destructive");
+ });
+
+ it("resolves conflicting classes through twMerge so className wins", () => {
+ render(<Button className="bg-red-500">Override</Button>);
+ const button = screen.getByRole("button", { name: "Override" });
+ expect(button).toHaveClass("bg-red-500");
+ expect(button).not.toHaveClass("bg-primary");
+ });
+
+ it("renders the child element when asChild is set", () => {
+ render(
+ <Button asChild>
+ <a href="https://docs.litellm.ai">Docs</a>
+ </Button>,
+ );
+ const link = screen.getByRole("link", { name: "Docs" });
+ expect(link).toHaveClass("bg-primary");
+ expect(screen.queryByRole("button")).not.toBeInTheDocument();
+ });
+
+ it("forwards refs to the underlying button element", () => {
+ const ref = createRef<HTMLButtonElement>();
+ render(<Button ref={ref}>Save</Button>);
+ expect(ref.current).toBeInstanceOf(HTMLButtonElement);
+ });
+});
diff --git a/ui/litellm-dashboard/src/components/ui/button.tsx b/ui/litellm-dashboard/src/components/ui/button.tsx
new file mode 100644
index 00000000000..6f0e2657fbc
--- /dev/null
+++ b/ui/litellm-dashboard/src/components/ui/button.tsx
@@ -0,0 +1,60 @@
+import * as React from "react";
+import { type VariantProps } from "cva";
+import { Slot } from "radix-ui";
+
+import { cn, cva } from "@/lib/cva.config";
+
+const buttonVariants = cva({
+ base: "inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ variants: {
+ variant: {
+ default: "bg-primary text-primary-foreground hover:bg-primary/90",
+ destructive:
+ "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
+ outline:
+ "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
+ ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
+ link: "text-primary underline-offset-4 hover:underline",
+ },
+ size: {
+ default: "h-9 px-4 py-2 has-[>svg]:px-3",
+ xs: "h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",
+ sm: "h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",
+ lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
+ icon: "size-9",
+ "icon-xs": "size-6 rounded-md [&_svg:not([class*='size-'])]:size-3",
+ "icon-sm": "size-8",
+ "icon-lg": "size-10",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ size: "default",
+ },
+});
+
+type ButtonProps = React.ComponentPropsWithoutRef<"button"> &
+ VariantProps<typeof buttonVariants> & {
+ asChild?: boolean;
+ };
+
+const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
+ ({ className, variant = "default", size = "default", asChild = false, ...props }, ref) => {
+ const Comp = asChild ? Slot.Root : "button";
+
+ return (
+ <Comp
+ ref={ref}
+ data-slot="button"
+ data-variant={variant}
+ data-size={size}
+ className={cn(buttonVariants({ variant, size, className }))}
+ {...props}
+ />
+ );
+ },
+);
+Button.displayName = "Button";
+
+export { Button, buttonVariants };
diff --git a/ui/litellm-dashboard/src/components/usage.tsx b/ui/litellm-dashboard/src/components/usage.tsx
index 7e1a14e2f55..f8dc090a700 100644
--- a/ui/litellm-dashboard/src/components/usage.tsx
+++ b/ui/litellm-dashboard/src/components/usage.tsx
@@ -583,7 +583,7 @@ const UsagePage: React.FC<UsagePageProps> = ({ accessToken, token, userRole, use
</TabList>
<TabPanels>
<TabPanel>
- <Grid numItems={2} className="gap-2 h-[100vh] w-full">
+ <Grid numItems={2} className="gap-2 h-screen w-full">
<Col numColSpan={2}>
<Text className="text-tremor-default text-tremor-content dark:text-dark-tremor-content mb-2 mt-2 text-lg">
Project Spend {new Date().toLocaleString("default", { month: "long" })} 1 -{" "}
diff --git a/ui/litellm-dashboard/src/components/vector_store_management/VectorStoreTester.tsx b/ui/litellm-dashboard/src/components/vector_store_management/VectorStoreTester.tsx
index 5c59334fa4d..a90f49ea5b3 100644
--- a/ui/litellm-dashboard/src/components/vector_store_management/VectorStoreTester.tsx
+++ b/ui/litellm-dashboard/src/components/vector_store_management/VectorStoreTester.tsx
@@ -128,7 +128,7 @@ export const VectorStoreTester: React.FC<VectorStoreTesterProps> = ({ vectorStor
<div key={index} className="space-y-2">
{/* User Query */}
<div className="text-right">
- <div className="inline-block max-w-[80%] rounded-lg shadow-sm p-3 bg-blue-50 border border-blue-200">
+ <div className="inline-block max-w-[80%] rounded-lg shadow-xs p-3 bg-blue-50 border border-blue-200">
<div className="flex items-center gap-2 mb-1">
<strong className="text-sm">Query</strong>
<span className="text-xs text-gray-500">{formatTimestamp(entry.timestamp)}</span>
@@ -139,12 +139,12 @@ export const VectorStoreTester: React.FC<VectorStoreTesterProps> = ({ vectorStor
{/* Vector Store Response */}
<div className="text-left">
- <div className="inline-block max-w-[80%] rounded-lg shadow-sm p-3 bg-white border border-gray-200">
+ <div className="inline-block max-w-[80%] rounded-lg shadow-xs p-3 bg-white border border-gray-200">
<div className="flex items-center gap-2 mb-2">
<DatabaseOutlined className="text-green-500" />
<strong className="text-sm">Vector Store Results</strong>
{entry.response && (
- <span className="text-xs px-2 py-0.5 rounded bg-gray-100 text-gray-600">
+ <span className="text-xs px-2 py-0.5 rounded-sm bg-gray-100 text-gray-600">
{entry.response.data?.length || 0} results
</span>
)}
@@ -176,7 +176,7 @@ export const VectorStoreTester: React.FC<VectorStoreTesterProps> = ({ vectorStor
</span>
)}
</div>
- <span className="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded">
+ <span className="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded-sm">
Score: {result.score.toFixed(4)}
</span>
</div>
@@ -189,7 +189,7 @@ export const VectorStoreTester: React.FC<VectorStoreTesterProps> = ({ vectorStor
result.content.map((content, contentIndex) => (
<div key={contentIndex} className="mb-3">
<div className="text-xs text-gray-500 mb-1">Content ({content.type})</div>
- <div className="text-sm bg-gray-50 p-3 rounded border text-gray-800 max-h-40 overflow-y-auto">
+ <div className="text-sm bg-gray-50 p-3 rounded-sm border text-gray-800 max-h-40 overflow-y-auto">
{content.text}
</div>
</div>
@@ -201,19 +201,19 @@ export const VectorStoreTester: React.FC<VectorStoreTesterProps> = ({ vectorStor
<div className="text-xs text-gray-500 mb-2 font-medium">Metadata</div>
<div className="space-y-2 text-xs">
{result.file_id && (
- <div className="bg-gray-50 p-2 rounded">
+ <div className="bg-gray-50 p-2 rounded-sm">
<span className="font-medium">File ID:</span> {result.file_id}
</div>
)}
{result.filename && (
- <div className="bg-gray-50 p-2 rounded">
+ <div className="bg-gray-50 p-2 rounded-sm">
<span className="font-medium">Filename:</span> {result.filename}
</div>
)}
{result.attributes && Object.keys(result.attributes).length > 0 && (
- <div className="bg-gray-50 p-2 rounded">
+ <div className="bg-gray-50 p-2 rounded-sm">
<span className="font-medium block mb-1">Attributes:</span>
- <pre className="text-xs bg-white p-2 rounded border overflow-x-auto">
+ <pre className="text-xs bg-white p-2 rounded-sm border overflow-x-auto">
{JSON.stringify(result.attributes, null, 2)}
</pre>
</div>
diff --git a/ui/litellm-dashboard/src/components/vector_store_management/vector_store_info.tsx b/ui/litellm-dashboard/src/components/vector_store_management/vector_store_info.tsx
index 1f40f98a501..dc82ba33112 100644
--- a/ui/litellm-dashboard/src/components/vector_store_management/vector_store_info.tsx
+++ b/ui/litellm-dashboard/src/components/vector_store_management/vector_store_info.tsx
@@ -231,9 +231,9 @@ const VectorStoreInfoView: React.FC<VectorStoreInfoViewProps> = ({
</Form.Item>
<div className="flex items-center my-4">
- <div className="flex-grow border-t border-gray-200"></div>
+ <div className="grow border-t border-gray-200"></div>
<span className="px-4 text-gray-500 text-sm">OR</span>
- <div className="flex-grow border-t border-gray-200"></div>
+ <div className="grow border-t border-gray-200"></div>
</div>
<Form.Item
@@ -333,7 +333,7 @@ const VectorStoreInfoView: React.FC<VectorStoreInfoViewProps> = ({
</div>
<div>
<Text className="font-medium">Metadata</Text>
- <div className="bg-gray-50 p-3 rounded mt-2 font-mono text-xs overflow-auto max-h-48">
+ <div className="bg-gray-50 p-3 rounded-sm mt-2 font-mono text-xs overflow-auto max-h-48">
<pre>{metadataString}</pre>
</div>
</div>
diff --git a/ui/litellm-dashboard/src/components/view_logs/AuditLogDrawer/AuditLogDrawer.tsx b/ui/litellm-dashboard/src/components/view_logs/AuditLogDrawer/AuditLogDrawer.tsx
index 0c303b03a3f..aa690787f66 100644
--- a/ui/litellm-dashboard/src/components/view_logs/AuditLogDrawer/AuditLogDrawer.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/AuditLogDrawer/AuditLogDrawer.tsx
@@ -55,12 +55,12 @@ function CopyableJsonBlock({ label, value }: { label: string; value: Record<stri
}, [value]);
return (
- <div className="bg-white rounded border overflow-hidden">
+ <div className="bg-white rounded-sm border overflow-hidden">
<div className="flex justify-between items-center px-3 py-2 border-b bg-gray-50">
<span className="text-xs font-semibold text-gray-600">{label}</span>
<button
onClick={handleCopy}
- className="p-1 hover:bg-gray-200 rounded text-gray-500 hover:text-gray-700 transition-colors"
+ className="p-1 hover:bg-gray-200 rounded-sm text-gray-500 hover:text-gray-700 transition-colors"
title="Copy JSON"
>
{copied ? <CheckOutlined className="text-green-600" /> : <CopyOutlined />}
@@ -127,7 +127,7 @@ function DiffSection({ log }: { log: AuditLogEntry }) {
const renderValue = (label: string, value: Record<string, any> | null | undefined) => {
if (!value || Object.keys(value).length === 0) {
return (
- <div className="bg-white rounded border overflow-hidden">
+ <div className="bg-white rounded-sm border overflow-hidden">
<div className="flex items-center px-3 py-2 border-b bg-gray-50">
<span className="text-xs font-semibold text-gray-600">{label}</span>
</div>
@@ -142,7 +142,7 @@ function DiffSection({ log }: { log: AuditLogEntry }) {
const hasOnlyKnown = Object.keys(value).every((k) => knownKeyFields.includes(k));
if (hasOnlyKnown && !("note" in value)) {
return (
- <div className="bg-white rounded border overflow-hidden">
+ <div className="bg-white rounded-sm border overflow-hidden">
<div className="flex items-center px-3 py-2 border-b bg-gray-50">
<span className="text-xs font-semibold text-gray-600">{label}</span>
</div>
@@ -208,7 +208,7 @@ export function AuditLogDrawer({ open, onClose, log }: AuditLogDrawerProps) {
</div>
<button
onClick={onClose}
- className="w-8 h-8 flex items-center justify-center rounded hover:bg-gray-100 text-gray-500"
+ className="w-8 h-8 flex items-center justify-center rounded-sm hover:bg-gray-100 text-gray-500"
aria-label="Close"
>
<CloseOutlined />
diff --git a/ui/litellm-dashboard/src/components/view_logs/ConfigInfoMessage.tsx b/ui/litellm-dashboard/src/components/view_logs/ConfigInfoMessage.tsx
index a231a099716..8515d510805 100644
--- a/ui/litellm-dashboard/src/components/view_logs/ConfigInfoMessage.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/ConfigInfoMessage.tsx
@@ -9,7 +9,7 @@ export const ConfigInfoMessage: React.FC<ConfigInfoMessageProps> = ({ show }) =>
return (
<div className="bg-blue-50 border border-blue-200 rounded-lg p-4 flex items-start">
- <div className="text-blue-500 mr-3 flex-shrink-0 mt-0.5">
+ <div className="text-blue-500 mr-3 shrink-0 mt-0.5">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
@@ -30,10 +30,10 @@ export const ConfigInfoMessage: React.FC<ConfigInfoMessageProps> = ({ show }) =>
<h4 className="text-sm font-medium text-blue-800">Request/Response Data Not Available</h4>
<p className="text-sm text-blue-700 mt-1">
To view request and response details, enable prompt storage in your LiteLLM configuration by adding the
- following to your <code className="bg-blue-100 px-1 py-0.5 rounded">proxy_config.yaml</code> file, or toggle
- the setting in <strong>Admin Settings → Logging Settings</strong>.
+ following to your <code className="bg-blue-100 px-1 py-0.5 rounded-sm">proxy_config.yaml</code> file, or
+ toggle the setting in <strong>Admin Settings → Logging Settings</strong>.
</p>
- <pre className="mt-2 bg-white p-3 rounded border border-blue-200 text-xs font-mono overflow-auto">
+ <pre className="mt-2 bg-white p-3 rounded-sm border border-blue-200 text-xs font-mono overflow-auto">
{`general_settings:
store_model_in_db: true
store_prompts_in_spend_logs: true`}
diff --git a/ui/litellm-dashboard/src/components/view_logs/CostBreakdownViewer.tsx b/ui/litellm-dashboard/src/components/view_logs/CostBreakdownViewer.tsx
index 1832951c734..0a48e12b0e7 100644
--- a/ui/litellm-dashboard/src/components/view_logs/CostBreakdownViewer.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/CostBreakdownViewer.tsx
@@ -89,7 +89,7 @@ export const CostBreakdownViewer: React.FC<CostBreakdownViewerProps> = ({
const totalCost = isCached ? 0 : costBreakdown?.total_cost ?? totalSpend;
return (
- <div className="bg-white rounded-lg shadow w-full max-w-full overflow-hidden mb-6">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full overflow-hidden mb-6">
<Collapse
expandIconPosition="start"
items={[
diff --git a/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/BedrockGuardrailDetails.tsx b/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/BedrockGuardrailDetails.tsx
index 89fa635e7a3..2e63e2ab9c0 100644
--- a/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/BedrockGuardrailDetails.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/BedrockGuardrailDetails.tsx
@@ -274,7 +274,7 @@ export const BedrockGuardrailDetails: React.FC<{ response: BedrockGuardrailRespo
<Section title="Custom Words" defaultOpen>
<div className="space-y-2">
{assess.wordPolicy.customWords!.map((w, i) => (
- <div key={i} className="flex justify-between items-center p-2 bg-gray-50 rounded">
+ <div key={i} className="flex justify-between items-center p-2 bg-gray-50 rounded-sm">
<div className="flex items-center gap-2">
{chip(w.action ?? "N/A", w.detected ? "red" : "slate")}
<span className="font-mono text-sm break-all">{w.match}</span>
@@ -289,7 +289,7 @@ export const BedrockGuardrailDetails: React.FC<{ response: BedrockGuardrailRespo
<Section title="Managed Word Lists" defaultOpen={false}>
<div className="space-y-2">
{assess.wordPolicy.managedWordLists!.map((w, i) => (
- <div key={i} className="flex justify-between items-center p-2 bg-gray-50 rounded">
+ <div key={i} className="flex justify-between items-center p-2 bg-gray-50 rounded-sm">
<div className="flex items-center gap-2">
{chip(w.action ?? "N/A", w.detected ? "red" : "slate")}
<span className="font-mono text-sm break-all">{w.match}</span>
@@ -374,7 +374,7 @@ export const BedrockGuardrailDetails: React.FC<{ response: BedrockGuardrailRespo
<Section title="PII Entities" defaultOpen>
<div className="space-y-2">
{assess.sensitiveInformationPolicy.piiEntities!.map((p, i) => (
- <div key={i} className="flex justify-between items-center p-2 bg-gray-50 rounded">
+ <div key={i} className="flex justify-between items-center p-2 bg-gray-50 rounded-sm">
<div className="flex items-center gap-2">
{chip(p.action ?? "N/A", p.detected ? "red" : "slate")}
{p.type && chip(p.type, "slate")}
@@ -392,7 +392,7 @@ export const BedrockGuardrailDetails: React.FC<{ response: BedrockGuardrailRespo
{assess.sensitiveInformationPolicy.regexes!.map((r, i) => (
<div
key={i}
- className="flex flex-col sm:flex-row sm:items-center sm:justify-between p-2 bg-gray-50 rounded gap-1"
+ className="flex flex-col sm:flex-row sm:items-center sm:justify-between p-2 bg-gray-50 rounded-sm gap-1"
>
<div className="flex items-center gap-2">
{chip(r.action ?? "N/A", r.detected ? "red" : "slate")}
@@ -481,7 +481,7 @@ export const BedrockGuardrailDetails: React.FC<{ response: BedrockGuardrailRespo
<Section title="Automated Reasoning Findings" defaultOpen={false}>
<div className="space-y-2">
{assess.automatedReasoningPolicy.findings!.map((f, i) => (
- <pre key={i} className="bg-gray-50 rounded p-2 text-xs overflow-x-auto">
+ <pre key={i} className="bg-gray-50 rounded-sm p-2 text-xs overflow-x-auto">
{JSON.stringify(f, null, 2)}
</pre>
))}
@@ -496,7 +496,7 @@ export const BedrockGuardrailDetails: React.FC<{ response: BedrockGuardrailRespo
{/* Raw JSON (for debugging / completeness) */}
<Section title="Raw Bedrock Guardrail Response" defaultOpen={false}>
- <pre className="bg-gray-50 rounded p-3 text-xs overflow-x-auto">{JSON.stringify(response, null, 2)}</pre>
+ <pre className="bg-gray-50 rounded-sm p-3 text-xs overflow-x-auto">{JSON.stringify(response, null, 2)}</pre>
</Section>
</div>
);
diff --git a/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/CompliancePanel.tsx b/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/CompliancePanel.tsx
index cfa2c146300..ebe89f12a7b 100644
--- a/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/CompliancePanel.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/CompliancePanel.tsx
@@ -89,7 +89,7 @@ const ComplianceCard = ({
</span>
)}
{error && (
- <span className="px-2 py-0.5 rounded text-[11px] font-medium bg-gray-100 text-gray-500 border border-gray-200">
+ <span className="px-2 py-0.5 rounded-sm text-[11px] font-medium bg-gray-100 text-gray-500 border border-gray-200">
UNAVAILABLE
</span>
)}
@@ -113,7 +113,7 @@ const ComplianceCard = ({
<div className="space-y-2">
{data.checks.map((check, idx) => (
<div key={idx} className="flex items-start gap-2">
- <div className="flex-shrink-0 mt-0.5">{check.passed ? <CheckIcon /> : <CrossIcon />}</div>
+ <div className="shrink-0 mt-0.5">{check.passed ? <CheckIcon /> : <CrossIcon />}</div>
<div className="min-w-0">
<div className="flex items-center gap-2">
<span className="text-sm font-medium text-gray-900">{check.check_name}</span>
diff --git a/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/ContentFilterDetails.tsx b/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/ContentFilterDetails.tsx
index 10efed16b69..f8c7e4afb53 100644
--- a/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/ContentFilterDetails.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/ContentFilterDetails.tsx
@@ -217,7 +217,7 @@ const ContentFilterDetails: React.FC<ContentFilterDetailsProps> = ({ response })
{/* Raw JSON (for debugging) */}
<Section title="Raw Detection Data" defaultOpen={false}>
- <pre className="bg-gray-50 rounded p-3 text-xs overflow-x-auto">{JSON.stringify(detections, null, 2)}</pre>
+ <pre className="bg-gray-50 rounded-sm p-3 text-xs overflow-x-auto">{JSON.stringify(detections, null, 2)}</pre>
</Section>
</div>
);
diff --git a/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/GuardrailViewer.tsx b/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/GuardrailViewer.tsx
index fc2e4f092b3..0a375fa130c 100644
--- a/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/GuardrailViewer.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/GuardrailViewer/GuardrailViewer.tsx
@@ -270,7 +270,7 @@ const MatchDetailsTable = ({ matchDetails }: { matchDetails: MatchDetail[] }) =>
<tr key={idx} className="border-b border-gray-100">
<td className="py-2 pr-4">{match.type}</td>
<td className="py-2 pr-4">
- <span className="px-2 py-0.5 bg-slate-100 text-slate-700 rounded text-xs">
+ <span className="px-2 py-0.5 bg-slate-100 text-slate-700 rounded-sm text-xs">
{match.detection_method ?? "-"}
</span>
</td>
@@ -312,7 +312,7 @@ const GenericGuardrailResponse = ({ response }: { response: any }) => {
</div>
{showRaw && (
<div className="p-3 border-t bg-white">
- <pre className="bg-gray-50 rounded p-3 text-xs overflow-x-auto">{JSON.stringify(response, null, 2)}</pre>
+ <pre className="bg-gray-50 rounded-sm p-3 text-xs overflow-x-auto">{JSON.stringify(response, null, 2)}</pre>
</div>
)}
</div>
@@ -413,7 +413,7 @@ const RequestLifecycle = ({ entries }: { entries: GuardrailInformation[] }) => {
<div key={idx} className="flex items-start gap-3 relative">
{/* Vertical line */}
<div className="flex flex-col items-center">
- <div className="flex-shrink-0">
+ <div className="shrink-0">
{item.type === "request" || item.type === "response" ? (
<GrayDotIcon />
) : item.type === "llm" ? (
@@ -424,9 +424,7 @@ const RequestLifecycle = ({ entries }: { entries: GuardrailInformation[] }) => {
<FailCircleIcon />
)}
</div>
- {idx < timeline.length - 1 && (
- <div className="w-0.5 bg-gray-200 flex-grow" style={{ minHeight: "24px" }} />
- )}
+ {idx < timeline.length - 1 && <div className="w-0.5 bg-gray-200 grow" style={{ minHeight: "24px" }} />}
</div>
{/* Content */}
@@ -444,7 +442,7 @@ const RequestLifecycle = ({ entries }: { entries: GuardrailInformation[] }) => {
{item.status}
</span>
)}
- <span className="text-xs text-gray-400 font-mono ml-auto flex-shrink-0">T+{item.offsetMs}ms</span>
+ <span className="text-xs text-gray-400 font-mono ml-auto shrink-0">T+{item.offsetMs}ms</span>
</div>
</div>
</div>
@@ -492,18 +490,18 @@ const EvaluationCard = ({ entry }: { entry: GuardrailInformation }) => {
onClick={() => setExpanded(!expanded)}
>
{/* Status icon */}
- <div className="flex-shrink-0">{success ? <CheckCircleIcon /> : <FailCircleIcon />}</div>
+ <div className="shrink-0">{success ? <CheckCircleIcon /> : <FailCircleIcon />}</div>
{/* Name + badges */}
<div className="flex items-center gap-2 flex-wrap flex-1 min-w-0">
<span className="font-semibold text-gray-900 text-sm truncate">{displayName}</span>
- <span className="px-2 py-0.5 border border-blue-200 bg-blue-50 text-blue-700 rounded text-[11px] font-semibold uppercase flex-shrink-0">
+ <span className="px-2 py-0.5 border border-blue-200 bg-blue-50 text-blue-700 rounded-sm text-[11px] font-semibold uppercase shrink-0">
{modeStr}
</span>
<span
- className={`px-2 py-0.5 rounded text-[11px] font-semibold uppercase flex-shrink-0 ${
+ className={`px-2 py-0.5 rounded text-[11px] font-semibold uppercase shrink-0 ${
success
? "bg-green-100 text-green-700 border border-green-200"
: "bg-red-100 text-red-700 border border-red-200"
@@ -514,7 +512,7 @@ const EvaluationCard = ({ entry }: { entry: GuardrailInformation }) => {
{matchCountStr && (
<span
- className={`px-2 py-0.5 rounded text-[11px] font-medium flex-shrink-0 ${
+ className={`px-2 py-0.5 rounded text-[11px] font-medium shrink-0 ${
totalMasked === 0
? "bg-green-50 text-green-700 border border-green-200"
: "bg-amber-50 text-amber-700 border border-amber-200"
@@ -525,7 +523,7 @@ const EvaluationCard = ({ entry }: { entry: GuardrailInformation }) => {
)}
{entry.confidence_score != null && (
- <span className="px-2 py-0.5 bg-gray-100 text-gray-600 border border-gray-200 rounded text-[11px] font-medium flex-shrink-0">
+ <span className="px-2 py-0.5 bg-gray-100 text-gray-600 border border-gray-200 rounded-sm text-[11px] font-medium shrink-0">
{(entry.confidence_score * 100).toFixed(0)}% conf
</span>
)}
@@ -533,7 +531,7 @@ const EvaluationCard = ({ entry }: { entry: GuardrailInformation }) => {
{riskScore != null && success && (
<Tooltip title={`Risk score: ${riskScore}/10`}>
<span
- className={`px-2 py-0.5 border rounded text-[11px] font-semibold flex-shrink-0 ${getRiskColor(riskScore)}`}
+ className={`px-2 py-0.5 border rounded-sm text-[11px] font-semibold shrink-0 ${getRiskColor(riskScore)}`}
>
Risk {riskScore}/10
</span>
@@ -542,10 +540,10 @@ const EvaluationCard = ({ entry }: { entry: GuardrailInformation }) => {
</div>
{/* Right side: duration + method + chevron */}
- <div className="flex items-center gap-3 flex-shrink-0">
+ <div className="flex items-center gap-3 shrink-0">
<span className="text-sm text-gray-500 font-mono">{durationStr}</span>
{entry.detection_method && (
- <span className="px-2 py-0.5 bg-gray-100 text-gray-600 border border-gray-200 rounded text-[11px] font-medium">
+ <span className="px-2 py-0.5 bg-gray-100 text-gray-600 border border-gray-200 rounded-sm text-[11px] font-medium">
{entry.detection_method.split(",")[0].trim()}
</span>
)}
@@ -598,7 +596,7 @@ const EvaluationCard = ({ entry }: { entry: GuardrailInformation }) => {
<h5 className="text-sm font-medium text-gray-700 mb-2">Masked Entities</h5>
<div className="flex flex-wrap gap-2">
{Object.entries(entry.masked_entity_count || {}).map(([entityType, count]) => (
- <span key={entityType} className="px-2 py-1 bg-blue-50 text-blue-700 rounded text-xs font-medium">
+ <span key={entityType} className="px-2 py-1 bg-blue-50 text-blue-700 rounded-sm text-xs font-medium">
{entityType}: {count}
</span>
))}
@@ -670,7 +668,7 @@ const GuardrailViewer = ({ data, accessToken, logEntry }: GuardrailViewerProps)
};
return (
- <div className="bg-white rounded-xl border border-gray-200 shadow-sm w-full max-w-full overflow-hidden mb-6">
+ <div className="bg-white rounded-xl border border-gray-200 shadow-xs w-full max-w-full overflow-hidden mb-6">
{/* ── Header ─────────────────────────────────────────────── */}
<div className="flex items-center justify-between px-6 py-4 border-b border-gray-100">
<div className="flex items-center gap-4">
diff --git a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/JsonViewer.tsx b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/JsonViewer.tsx
index 6463abf89d4..0a873a7e255 100644
--- a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/JsonViewer.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/JsonViewer.tsx
@@ -27,7 +27,7 @@ export function JsonViewer({ data }: JsonViewerProps) {
borderRadius: 4,
}}
>
- <div className="[&_[role='tree']]:bg-white [&_[role='tree']]:text-slate-900">
+ <div className="**:[[role='tree']]:bg-white **:[[role='tree']]:text-slate-900">
<JsonView data={data} style={defaultStyles} clickToExpandNode={true} />
</div>
</div>
diff --git a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailContent.tsx b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailContent.tsx
index 1dca2715e36..d4521afddf6 100644
--- a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailContent.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailContent.tsx
@@ -112,7 +112,7 @@ export function LogDetailContent({ logEntry, isLoadingDetails = false, accessTok
)}
{/* Request Details */}
- <div className="bg-white rounded-lg shadow w-full max-w-full overflow-hidden mb-6">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full overflow-hidden mb-6">
<Card title="Request Details" size="small" bordered={false} style={{ marginBottom: 0 }}>
<Descriptions column={2} size="small">
<Descriptions.Item label="Model">{logEntry.model}</Descriptions.Item>
@@ -163,7 +163,7 @@ export function LogDetailContent({ logEntry, isLoadingDetails = false, accessTok
{/* Request/Response JSON */}
{isLoadingDetails ? (
- <div className="bg-white rounded-lg shadow w-full max-w-full overflow-hidden mb-6 p-8 text-center">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full overflow-hidden mb-6 p-8 text-center">
<Spin size="default" />
<div style={{ marginTop: 8, color: "#999" }}>Loading request &amp; response data...</div>
</div>
@@ -234,7 +234,7 @@ function ErrorDescription({ errorInfo }: { errorInfo: any }) {
function TagsSection({ tags }: { tags: Record<string, any> }) {
return (
- <div className="bg-white rounded-lg shadow w-full max-w-full overflow-hidden p-4 mb-6">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full overflow-hidden p-4 mb-6">
<Text strong style={{ display: "block", marginBottom: 8, fontSize: 16 }}>
Tags
</Text>
@@ -299,7 +299,7 @@ function MetricsSection({ logEntry, metadata }: { logEntry: LogEntry; metadata:
logEntry.call_type === "anthropic_messages" && uncachedInputTokens !== undefined;
return (
- <div className="bg-white rounded-lg shadow w-full max-w-full overflow-hidden mb-6">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full overflow-hidden mb-6">
<Card title="Metrics" size="small" style={{ marginBottom: 0 }}>
<Descriptions column={2} size="small">
{showAnthropicMessagesInputOutput ? (
@@ -420,7 +420,7 @@ function RequestResponseSection({
: 0;
return (
- <div className="bg-white rounded-lg shadow w-full max-w-full overflow-hidden mb-6">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full overflow-hidden mb-6">
<Collapse
defaultActiveKey={["1"]}
expandIconPosition="start"
@@ -548,7 +548,7 @@ export function GuardrailJumpLink({ guardrailEntries }: { guardrailEntries: any[
function MetadataSection({ metadata }: { metadata: Record<string, any> }) {
return (
- <div className="bg-white rounded-lg shadow w-full max-w-full overflow-hidden mb-6">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full overflow-hidden mb-6">
<Collapse
defaultActiveKey={["1"]}
expandIconPosition="start"
diff --git a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx
index f1aff8cbce3..bf3360a5371 100644
--- a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx
@@ -66,11 +66,11 @@ function TraceEventRow({ row, isSelected, onClick }: TraceEventRowProps) {
>
<div className="flex items-center gap-1">
{isMcp ? (
- <Wrench size={12} className="text-slate-500 flex-shrink-0" />
+ <Wrench size={12} className="text-slate-500 shrink-0" />
) : isAgent ? (
- <Bot size={12} className="text-slate-500 flex-shrink-0" />
+ <Bot size={12} className="text-slate-500 shrink-0" />
) : (
- <Sparkles size={12} className="text-slate-500 flex-shrink-0" />
+ <Sparkles size={12} className="text-slate-500 shrink-0" />
)}
<span className="text-xs font-medium text-slate-900 truncate">
{getEventDisplayName(row.call_type, row.model)}
@@ -317,7 +317,7 @@ export function LogDetailsDrawer({
size="small"
icon={<LeftOutlined />}
onClick={() => setIsSidebarCollapsed(true)}
- className="absolute top-2 left-2 z-20 !bg-white !border !border-slate-200 !rounded-md"
+ className="absolute top-2 left-2 z-20 bg-white! border! border-slate-200! rounded-md!"
aria-label="Collapse trace sidebar"
/>
) : (
@@ -326,7 +326,7 @@ export function LogDetailsDrawer({
size="small"
icon={<RightOutlined />}
onClick={() => setIsSidebarCollapsed(false)}
- className="absolute top-2 left-2 z-20 !bg-white !border !border-slate-200 !rounded-md"
+ className="absolute top-2 left-2 z-20 bg-white! border! border-slate-200! rounded-md!"
aria-label="Expand trace sidebar"
/>
)}
diff --git a/ui/litellm-dashboard/src/components/view_logs/LogsTableToolbar.tsx b/ui/litellm-dashboard/src/components/view_logs/LogsTableToolbar.tsx
index b3e2888be24..b20281ed0da 100644
--- a/ui/litellm-dashboard/src/components/view_logs/LogsTableToolbar.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/LogsTableToolbar.tsx
@@ -72,11 +72,11 @@ export function LogsTableToolbar({
<div className="border-b px-6 py-4 w-full max-w-full box-border">
<div className="flex flex-col md:flex-row items-start md:items-center justify-between space-y-4 md:space-y-0 w-full max-w-full box-border">
<div className="flex flex-wrap items-center gap-3 w-full max-w-full box-border">
- <div className="relative w-64 min-w-0 flex-shrink-0">
+ <div className="relative w-64 min-w-0 shrink-0">
<input
type="text"
placeholder="Search by Request ID"
- className="w-full px-3 py-2 pl-8 border rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
+ className="w-full px-3 py-2 pl-8 border rounded-md text-sm focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
value={searchTerm}
onChange={(e) => onSearchChange(e.target.value)}
/>
@@ -95,7 +95,7 @@ export function LogsTableToolbar({
</svg>
</div>
- <div className="flex items-center gap-2 min-w-0 flex-shrink">
+ <div className="flex items-center gap-2 min-w-0 shrink">
<div className="relative z-50" ref={quickSelectRef}>
<button
onClick={() => setQuickSelectOpen(!quickSelectOpen)}
@@ -173,7 +173,7 @@ export function LogsTableToolbar({
onStartTimeChange(e.target.value);
onCurrentPageChange(1);
}}
- className="px-3 py-2 border rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
+ className="px-3 py-2 border rounded-md text-sm focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
/>
</div>
<span className="text-gray-500">to</span>
@@ -185,7 +185,7 @@ export function LogsTableToolbar({
onEndTimeChange(e.target.value);
onCurrentPageChange(1);
}}
- className="px-3 py-2 border rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
+ className="px-3 py-2 border rounded-md text-sm focus:outline-hidden focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
/>
</div>
</div>
diff --git a/ui/litellm-dashboard/src/components/view_logs/ToolsSection/ToolsSection.tsx b/ui/litellm-dashboard/src/components/view_logs/ToolsSection/ToolsSection.tsx
index d957e063f16..2a8cdd6a1ce 100644
--- a/ui/litellm-dashboard/src/components/view_logs/ToolsSection/ToolsSection.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/ToolsSection/ToolsSection.tsx
@@ -32,7 +32,7 @@ export function ToolsSection({ log }: ToolsSectionProps) {
const hasMoreTools = tools.length > 2;
return (
- <div className="bg-white rounded-lg shadow w-full max-w-full overflow-hidden mb-6">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full overflow-hidden mb-6">
<Collapse
expandIconPosition="start"
items={[
diff --git a/ui/litellm-dashboard/src/components/view_logs/TypeBadges.tsx b/ui/litellm-dashboard/src/components/view_logs/TypeBadges.tsx
index f3b9ebda654..77ff4cfef62 100644
--- a/ui/litellm-dashboard/src/components/view_logs/TypeBadges.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/TypeBadges.tsx
@@ -13,7 +13,7 @@ export const SparkleIcon = ({ size = 12 }: { size?: number }) => (
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
- className="flex-shrink-0 text-gray-400"
+ className="shrink-0 text-gray-400"
>
<path d="M12 3l1.912 5.813a2 2 0 0 0 1.275 1.275L21 12l-5.813 1.912a2 2 0 0 0-1.275 1.275L12 21l-1.912-5.813a2 2 0 0 0-1.275-1.275L3 12l5.813-1.912a2 2 0 0 0 1.275-1.275L12 3z" />
</svg>
@@ -29,7 +29,7 @@ export const WrenchIcon = ({ size = 10 }: { size?: number }) => (
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
- className="flex-shrink-0"
+ className="shrink-0"
>
<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z" />
</svg>
@@ -46,7 +46,7 @@ export const AgentIcon = ({ size = 12 }: { size?: number }) => (
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
- className="flex-shrink-0"
+ className="shrink-0"
>
<path d="M12 8V4H8" />
<rect width="16" height="12" x="4" y="8" rx="2" />
diff --git a/ui/litellm-dashboard/src/components/view_logs/VectorStoreViewer.tsx b/ui/litellm-dashboard/src/components/view_logs/VectorStoreViewer.tsx
index 0fa504cf2db..bdafc817020 100644
--- a/ui/litellm-dashboard/src/components/view_logs/VectorStoreViewer.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/VectorStoreViewer.tsx
@@ -56,7 +56,7 @@ export function VectorStoreViewer({ data }: VectorStoreViewerProps) {
};
return (
- <div className="bg-white rounded-lg shadow w-full max-w-full overflow-hidden mb-6">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full overflow-hidden mb-6">
<Collapse
defaultActiveKey={["1"]}
expandIconPosition="start"
@@ -143,7 +143,7 @@ export function VectorStoreViewer({ data }: VectorStoreViewerProps) {
{result.content.map((content, contentIndex) => (
<div key={contentIndex} className="mb-2 last:mb-0">
<div className="text-xs text-gray-500 mb-1">{content.type}</div>
- <pre className="text-xs font-mono whitespace-pre-wrap break-all bg-gray-50 p-2 rounded">
+ <pre className="text-xs font-mono whitespace-pre-wrap break-all bg-gray-50 p-2 rounded-sm">
{content.text}
</pre>
</div>
diff --git a/ui/litellm-dashboard/src/components/view_logs/audit_logs.tsx b/ui/litellm-dashboard/src/components/view_logs/audit_logs.tsx
index 775aed01c89..28b7afb6298 100644
--- a/ui/litellm-dashboard/src/components/view_logs/audit_logs.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/audit_logs.tsx
@@ -174,7 +174,7 @@ export default function AuditLogs({ userID, userRole, token, accessToken, isActi
return (
<>
- <div className="bg-white rounded-lg shadow">
+ <div className="bg-white rounded-lg shadow-sm">
{/* Header */}
<div className="border-b px-6 py-4">
<div className="flex items-center justify-between mb-4">
diff --git a/ui/litellm-dashboard/src/components/view_logs/columns.tsx b/ui/litellm-dashboard/src/components/view_logs/columns.tsx
index 8de67e6ae19..0508c562df8 100644
--- a/ui/litellm-dashboard/src/components/view_logs/columns.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/columns.tsx
@@ -499,7 +499,7 @@ export const RequestResponsePanel = ({ request, response }: { request: any; resp
<h3 className="text-sm font-medium">Request</h3>
<button
onClick={() => copyToClipboard(requestStr)}
- className="p-1 hover:bg-gray-200 rounded"
+ className="p-1 hover:bg-gray-200 rounded-sm"
title="Copy request"
>
<svg
@@ -518,7 +518,7 @@ export const RequestResponsePanel = ({ request, response }: { request: any; resp
</svg>
</button>
</div>
- <pre className="p-4 overflow-auto text-xs font-mono h-64 whitespace-pre-wrap break-words">{requestStr}</pre>
+ <pre className="p-4 overflow-auto text-xs font-mono h-64 whitespace-pre-wrap wrap-break-word">{requestStr}</pre>
</div>
<div className="rounded-lg border border-gray-200 bg-gray-50">
@@ -526,7 +526,7 @@ export const RequestResponsePanel = ({ request, response }: { request: any; resp
<h3 className="text-sm font-medium">Response</h3>
<button
onClick={() => copyToClipboard(responseStr)}
- className="p-1 hover:bg-gray-200 rounded"
+ className="p-1 hover:bg-gray-200 rounded-sm"
title="Copy response"
>
<svg
@@ -545,7 +545,9 @@ export const RequestResponsePanel = ({ request, response }: { request: any; resp
</svg>
</button>
</div>
- <pre className="p-4 overflow-auto text-xs font-mono h-64 whitespace-pre-wrap break-words">{responseStr}</pre>
+ <pre className="p-4 overflow-auto text-xs font-mono h-64 whitespace-pre-wrap wrap-break-word">
+ {responseStr}
+ </pre>
</div>
</div>
);
@@ -566,7 +568,7 @@ const CollapsibleJsonCell = ({ jsonData }: { jsonData: any }) => {
{isExpanded ? "Hide JSON" : "Show JSON"} ({Object.keys(jsonData).length} fields)
</button>
{isExpanded && (
- <pre className="mt-2 p-2 bg-gray-50 border rounded text-xs overflow-auto max-h-60">{jsonString}</pre>
+ <pre className="mt-2 p-2 bg-gray-50 border rounded-sm text-xs overflow-auto max-h-60">{jsonString}</pre>
)}
</div>
);
@@ -610,7 +612,7 @@ export const auditLogColumns: ColumnDef<AuditLogEntry>[] = [
onClick={toggleHandler}
style={{ cursor: "pointer" }}
aria-label={localExpanded ? "Collapse row" : "Expand row"}
- className="w-6 h-6 flex items-center justify-center focus:outline-none"
+ className="w-6 h-6 flex items-center justify-center focus:outline-hidden"
>
<svg
className={`w-4 h-4 transform transition-transform ${localExpanded ? "rotate-90" : ""}`}
diff --git a/ui/litellm-dashboard/src/components/view_logs/index.tsx b/ui/litellm-dashboard/src/components/view_logs/index.tsx
index cfe1bd6025a..265e331e6a9 100644
--- a/ui/litellm-dashboard/src/components/view_logs/index.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/index.tsx
@@ -262,7 +262,7 @@ export default function SpendLogsTable({ accessToken, token, userRole, userID, p
onApplyFilters={handleFilterChange}
onResetFilters={handleFilterReset}
/>
- <div className="bg-white rounded-lg shadow w-full max-w-full box-border">
+ <div className="bg-white rounded-lg shadow-sm w-full max-w-full box-border">
<LogsTableToolbar
searchTerm={searchTerm}
onSearchChange={setSearchTerm}
diff --git a/ui/litellm-dashboard/src/contexts/AntdGlobalProvider.tsx b/ui/litellm-dashboard/src/contexts/AntdGlobalProvider.tsx
index cc182ee36da..3cb1bce444b 100644
--- a/ui/litellm-dashboard/src/contexts/AntdGlobalProvider.tsx
+++ b/ui/litellm-dashboard/src/contexts/AntdGlobalProvider.tsx
@@ -1,7 +1,8 @@
"use client";
import React, { useEffect, useRef } from "react";
-import { notification, message } from "antd";
+import { ConfigProvider, notification, message } from "antd";
+import { StyleProvider } from "@ant-design/cssinjs";
import { setNotificationInstance } from "@/components/molecules/notifications_manager";
import { setMessageInstance } from "@/components/molecules/message_manager";
@@ -19,10 +20,12 @@ export default function AntdGlobalProvider({ children }: { children: React.React
}, [notificationApi, messageApi]);
return (
- <>
- {notificationContextHolder}
- {messageContextHolder}
- {children}
- </>
+ <StyleProvider layer>
+ <ConfigProvider theme={{ cssVar: true }}>
+ {notificationContextHolder}
+ {messageContextHolder}
+ {children}
+ </ConfigProvider>
+ </StyleProvider>
);
}
diff --git a/ui/litellm-dashboard/src/data/claimsCompliancePrompts.ts b/ui/litellm-dashboard/src/data/claimsCompliancePrompts.ts
index 795ea807368..4f91457dee6 100644
--- a/ui/litellm-dashboard/src/data/claimsCompliancePrompts.ts
+++ b/ui/litellm-dashboard/src/data/claimsCompliancePrompts.ts
@@ -609,7 +609,7 @@ export const claimsCompliancePrompts: CompliancePrompt[] = [
"Should I remove unrelated pages from my medical record upload?",
"Is it okay to upload a bank statement as proof of payment?",
"What personal info should I avoid including when uploading documents?",
- "Can I blur out my child's SSN on a form before uploading?",
+ "Can I blur-sm out my child's SSN on a form before uploading?",
"The invoice includes unrelated diagnoses—should I submit it as-is?",
"How do I safely upload documents from a shared computer?",
"If I'm submitting for a dependent, what info is required vs optional?",
diff --git a/ui/litellm-dashboard/src/lib/cva.config.ts b/ui/litellm-dashboard/src/lib/cva.config.ts
index 4fef3c5914f..59bca556ded 100644
--- a/ui/litellm-dashboard/src/lib/cva.config.ts
+++ b/ui/litellm-dashboard/src/lib/cva.config.ts
@@ -6,3 +6,5 @@ export const { cva, cx, compose } = defineConfig({
onComplete: (className) => twMerge(className),
},
});
+
+export const cn = cx;
diff --git a/ui/litellm-dashboard/tailwind.config.js b/ui/litellm-dashboard/tailwind.config.js
deleted file mode 100644
index daf9fbb6afc..00000000000
--- a/ui/litellm-dashboard/tailwind.config.js
+++ /dev/null
@@ -1,127 +0,0 @@
-/** @type {import('tailwindcss').Config} */
-
-const colors = require("tailwindcss/colors");
-const userColors = require("./ui_colors.json") || {};
-module.exports = {
- content: ["./src/**/*.{js,ts,jsx,tsx}", "./node_modules/@tremor/**/*.{js,ts,jsx,tsx}"],
- darkMode: "class",
- theme: {
- transparent: "transparent",
- current: "currentColor",
- extend: {
- colors: {
- // light mode
- tremor: {
- brand: {
- faint: userColors.brand.faint,
- muted: userColors.brand.muted,
- subtle: userColors.brand.subtle,
- DEFAULT: userColors.brand.DEFAULT,
- emphasis: colors.indigo[700],
- inverted: colors.white,
- },
- background: {
- muted: colors.gray[50],
- subtle: colors.gray[100],
- DEFAULT: colors.white,
- emphasis: colors.gray[700],
- },
- border: {
- DEFAULT: colors.gray[200],
- },
- ring: {
- DEFAULT: colors.gray[200],
- },
- content: {
- subtle: colors.gray[400],
- DEFAULT: colors.gray[500],
- emphasis: colors.gray[700],
- strong: colors.gray[900],
- inverted: colors.white,
- },
- },
- // dark mode
- "dark-tremor": {
- brand: {
- faint: "#0B1229",
- muted: colors.indigo[950],
- subtle: colors.indigo[800],
- DEFAULT: colors.indigo[500],
- emphasis: colors.indigo[400],
- inverted: colors.indigo[950],
- },
- background: {
- muted: "#131A2B",
- subtle: colors.gray[800],
- DEFAULT: colors.gray[900],
- emphasis: colors.gray[300],
- },
- border: {
- DEFAULT: colors.gray[700],
- },
- ring: {
- DEFAULT: colors.gray[800],
- },
- content: {
- subtle: colors.gray[600],
- DEFAULT: colors.gray[500],
- emphasis: colors.gray[200],
- strong: colors.gray[50],
- inverted: colors.gray[950],
- },
- },
- },
- boxShadow: {
- // light
- "tremor-input": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
- "tremor-card": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
- "tremor-dropdown": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
- // dark
- "dark-tremor-input": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
- "dark-tremor-card": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
- "dark-tremor-dropdown": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
- },
- borderRadius: {
- "tremor-small": "0.375rem",
- "tremor-default": "0.5rem",
- "tremor-full": "9999px",
- },
- fontSize: {
- "tremor-label": ["0.75rem", { lineHeight: "0.3rem" }],
- "tremor-default": ["0.775rem", { lineHeight: "1.15rem" }],
- "tremor-title": ["1.025rem", { lineHeight: "1.65rem" }],
- "tremor-metric": ["1.675rem", { lineHeight: "2.15rem" }],
- },
- },
- },
- safelist: [
- {
- pattern:
- /^(bg-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- variants: ["hover", "ui-selected"],
- },
- {
- pattern:
- /^(text-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- variants: ["hover", "ui-selected"],
- },
- {
- pattern:
- /^(border-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- variants: ["hover", "ui-selected"],
- },
- {
- pattern:
- /^(ring-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- },
- {
- pattern:
- /^(stroke-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- },
- {
- pattern:
- /^(fill-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- },
- ],
- plugins: [require("@headlessui/tailwindcss"), require("@tailwindcss/forms")],
-};
diff --git a/ui/litellm-dashboard/tailwind.config.ts b/ui/litellm-dashboard/tailwind.config.ts
deleted file mode 100644
index 8d64f2174f4..00000000000
--- a/ui/litellm-dashboard/tailwind.config.ts
+++ /dev/null
@@ -1,126 +0,0 @@
-/** @type {import('tailwindcss').Config} */
-
-const colors = require("tailwindcss/colors");
-module.exports = {
- content: ["./src/**/*.{js,ts,jsx,tsx}", "./node_modules/@tremor/**/*.{js,ts,jsx,tsx}"],
- theme: {
- transparent: "transparent",
- current: "currentColor",
- extend: {
- colors: {
- // light mode
- tremor: {
- brand: {
- faint: colors.indigo[50],
- muted: colors.indigo[200],
- subtle: colors.indigo[400],
- DEFAULT: colors.indigo[500],
- emphasis: colors.indigo[700],
- inverted: colors.white,
- },
- background: {
- muted: colors.gray[50],
- subtle: colors.gray[100],
- DEFAULT: colors.white,
- emphasis: colors.gray[700],
- },
- border: {
- DEFAULT: colors.gray[200],
- },
- ring: {
- DEFAULT: colors.gray[200],
- },
- content: {
- subtle: colors.gray[400],
- DEFAULT: colors.gray[500],
- emphasis: colors.gray[700],
- strong: colors.gray[900],
- inverted: colors.white,
- },
- },
- // dark mode
- "dark-tremor": {
- brand: {
- faint: "#0B1229",
- muted: colors.indigo[950],
- subtle: colors.indigo[800],
- DEFAULT: colors.indigo[500],
- emphasis: colors.indigo[400],
- inverted: colors.indigo[950],
- },
- background: {
- muted: "#131A2B",
- subtle: colors.gray[800],
- DEFAULT: colors.gray[900],
- emphasis: colors.gray[300],
- },
- border: {
- DEFAULT: colors.gray[700],
- },
- ring: {
- DEFAULT: colors.gray[800],
- },
- content: {
- subtle: colors.gray[600],
- DEFAULT: colors.gray[500],
- emphasis: colors.gray[200],
- strong: colors.gray[50],
- inverted: colors.gray[950],
- },
- },
- },
- boxShadow: {
- // light
- "tremor-input": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
- "tremor-card": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
- "tremor-dropdown": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
- // dark
- "dark-tremor-input": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
- "dark-tremor-card": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
- "dark-tremor-dropdown": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
- },
- borderRadius: {
- "tremor-small": "0.375rem",
- "tremor-default": "0.5rem",
- "tremor-full": "9999px",
- },
- fontSize: {
- "tremor-label": ["0.75rem", { lineHeight: "1rem" }],
- "tremor-default": ["0.875rem", { lineHeight: "1.25rem" }],
- "tremor-title": ["1.125rem", { lineHeight: "1.75rem" }],
- "tremor-metric": ["1.875rem", { lineHeight: "2.25rem" }],
- },
- },
- },
- safelist: [
- {
- pattern:
- /^(bg-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- variants: ["hover", "ui-selected"],
- },
- {
- pattern:
- /^(text-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- variants: ["hover", "ui-selected"],
- },
- {
- pattern:
- /^(border-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- variants: ["hover", "ui-selected"],
- },
- {
- pattern:
- /^(ring-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- },
- {
- pattern:
- /^(stroke-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- },
- {
- pattern:
- /^(fill-(?:slate|gray|zinc|neutral|stone|red|orange|amber|yellow|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|purple|fuchsia|pink|rose)-(?:50|100|200|300|400|500|600|700|800|900|950))$/,
- },
- ],
- plugins: [require("@headlessui/tailwindcss"), require("@tailwindcss/forms")],
- darkMode: "class",
-};
diff --git a/ui/litellm-dashboard/ui_colors.json b/ui/litellm-dashboard/ui_colors.json
deleted file mode 100644
index 9f407c70fda..00000000000
--- a/ui/litellm-dashboard/ui_colors.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "brand": {
- "DEFAULT": "#6366f1",
- "muted": "#8688ef",
- "subtle": "#8e91eb",
- "emphasis": "#5558eb",
- "inverted": "indigo"
- }
-}