@elevasis/ui 1.11.2 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -64,17 +64,18 @@ interface NotificationAdapter {
64
64
  /**
65
65
  * Provides a notification adapter to all descendant components.
66
66
  *
67
- * Pass a `MantineNotificationAdapter` for Command Center, or any custom
68
- * adapter for other consumers (template, tests, etc.).
67
+ * Pass a custom adapter for your notification library. ElevasisUIProvider
68
+ * wires the Mantine adapter automatically; template/test consumers can
69
+ * pass their own or omit for console output.
69
70
  *
70
71
  * When omitted, hooks fall back to the console adapter automatically.
71
72
  *
72
73
  * @example
73
74
  * ```tsx
74
75
  * import { NotificationProvider } from '@repo/ui/provider'
75
- * import { mantineNotificationAdapter } from '@repo/ui/provider'
76
+ * import { myAdapter } from './my-adapter'
76
77
  *
77
- * <NotificationProvider adapter={mantineNotificationAdapter}>
78
+ * <NotificationProvider adapter={myAdapter}>
78
79
  * <App />
79
80
  * </NotificationProvider>
80
81
  * ```
@@ -94,6 +95,18 @@ declare function NotificationProvider({ adapter, children }: {
94
95
  */
95
96
  declare function useNotificationAdapter(): NotificationAdapter;
96
97
 
98
+ interface AppearanceConfig {
99
+ /** Background layers rendered behind app content. Defaults to Elevasis background. */
100
+ background?: ReactNode;
101
+ /** Loader element rendered during loading states. Defaults to Elevasis chevron loader. */
102
+ loader?: ReactNode;
103
+ }
104
+ declare function AppearanceProvider({ value, children }: {
105
+ value: Required<AppearanceConfig>;
106
+ children: ReactNode;
107
+ }): react_jsx_runtime.JSX.Element;
108
+ declare function useAppearance(): Required<AppearanceConfig>;
109
+
97
110
  /** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
98
111
  type WithSchemes<T> = T & {
99
112
  light?: T;
@@ -209,10 +222,16 @@ interface ElevasisCoreProviderProps {
209
222
  * When provided, wraps the subtree in a NotificationProvider with this adapter.
210
223
  * When omitted, the console fallback adapter is used automatically.
211
224
  *
212
- * ElevasisUIProvider (Mantine variant) passes mantineNotificationAdapter here automatically.
225
+ * ElevasisUIProvider (Mantine variant) passes a Mantine-backed adapter here automatically.
213
226
  * Headless/SDK consumers can pass a custom adapter or omit for console output.
214
227
  */
215
228
  notifications?: NotificationAdapter;
229
+ /**
230
+ * Appearance configuration for background and loader.
231
+ * When omitted, defaults to the Elevasis background (PerspectiveGrid + RadiantGlow +
232
+ * FloatingOrbs + FilmGrain) and the Elevasis chevron loader.
233
+ */
234
+ appearance?: AppearanceConfig;
216
235
  /**
217
236
  * Whether to inject CSS variables, `data-elevasis-scheme` attribute, and font links.
218
237
  * Set to `false` when the consumer has its own complete design system and only
@@ -4392,6 +4411,8 @@ interface APIExecutionDetail$1 extends APIExecutionSummary$1 {
4392
4411
  apiVersion?: string | null;
4393
4412
  resourceVersion?: string | null;
4394
4413
  sdkVersion?: string | null;
4414
+ isArchived?: boolean;
4415
+ archivedLogCount?: number;
4395
4416
  }
4396
4417
 
4397
4418
  /**
@@ -5374,7 +5395,7 @@ declare function TanStackRouterBridge({ children }: {
5374
5395
  * ElevasisServiceProvider -> ProfileProvider -> OrganizationProvider ->
5375
5396
  * NotificationProvider -> InitializationProvider
5376
5397
  *
5377
- * The `notifications` prop wires a custom adapter (e.g. mantineNotificationAdapter)
5398
+ * The `notifications` prop wires a custom adapter
5378
5399
  * into the NotificationProvider. When omitted, the console fallback is used.
5379
5400
  *
5380
5401
  * @example Headless SDK consumer
@@ -5398,7 +5419,7 @@ declare function TanStackRouterBridge({ children }: {
5398
5419
  * </ElevasisCoreProvider>
5399
5420
  * ```
5400
5421
  */
5401
- declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
5422
+ declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, appearance, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
5402
5423
 
5403
5424
  /**
5404
5425
  * Hook to access the ElevasisServiceProvider context.
@@ -5444,36 +5465,10 @@ interface ElevasisThemeConfig extends ElevasisCoreThemeConfig {
5444
5465
  interface ElevasisProviderProps extends Omit<ElevasisCoreProviderProps, 'theme' | 'notifications'> {
5445
5466
  theme?: ElevasisThemeConfig;
5446
5467
  }
5447
- /**
5448
- * UI provider for Elevasis-powered applications. Includes Mantine theme integration.
5449
- *
5450
- * A thin Mantine shell around ElevasisCoreProvider. Handles:
5451
- * - MantineProvider with theme resolution (presets, token overrides, color scheme)
5452
- * - Google Font injection for preset fonts
5453
- * - CSS variables resolver
5454
- * - Mantine notification adapter (wired into NotificationProvider automatically)
5455
- *
5456
- * All auth, API, profile, organization, and initialization composition is
5457
- * delegated to ElevasisCoreProvider.
5458
- */
5459
5468
  declare function ElevasisUIProvider({ theme, children, ...coreProps }: ElevasisProviderProps): react_jsx_runtime.JSX.Element;
5460
5469
  /** @deprecated Use ElevasisUIProvider instead. Alias kept for backwards compatibility. */
5461
5470
  declare const ElevasisProvider: typeof ElevasisUIProvider;
5462
5471
 
5463
- /**
5464
- * Mantine-backed notification adapter.
5465
- *
5466
- * Wraps `@mantine/notifications` with the same defaults as `notify.tsx`
5467
- * (`autoClose: 5000`, `position: 'top-right'`). The `apiError()` method
5468
- * replicates `showApiErrorNotification` behavior including retryAfter-based
5469
- * autoClose.
5470
- *
5471
- * Use this adapter in Command Center (Mantine-powered) consumers.
5472
- * Template consumers should omit the NotificationProvider and rely on the
5473
- * console fallback, or supply their own adapter.
5474
- */
5475
- declare const mantineNotificationAdapter: NotificationAdapter;
5476
-
5477
5472
  declare function useCommandQueue({ status, limit, offset, humanCheckpoint, timeRange, priorityMin, priorityMax, }?: {
5478
5473
  status?: TaskStatus;
5479
5474
  limit?: number;
@@ -5874,6 +5869,8 @@ interface APIExecutionDetail extends APIExecutionSummary {
5874
5869
  apiVersion?: string | null
5875
5870
  resourceVersion?: string | null
5876
5871
  sdkVersion?: string | null
5872
+ isArchived?: boolean
5873
+ archivedLogCount?: number
5877
5874
  }
5878
5875
 
5879
5876
  // API request/response types
@@ -6010,6 +6007,18 @@ declare function useResources(): _tanstack_react_query.UseQueryResult<{
6010
6007
  */
6011
6008
  declare function useResourceDefinition(resourceId: string, enabled?: boolean): _tanstack_react_query.UseQueryResult<AIResourceDefinition, Error>;
6012
6009
 
6010
+ interface ArchivedLogsState {
6011
+ logs: ExecutionLogMessage$1[] | null;
6012
+ isLoading: boolean;
6013
+ error: string | null;
6014
+ fetch: () => void;
6015
+ }
6016
+ /**
6017
+ * Hook to fetch archived execution logs from storage on demand.
6018
+ * Returns logs as null until explicitly fetched via the fetch() callback.
6019
+ */
6020
+ declare function useArchivedLogs(executionId: string | undefined): ArchivedLogsState;
6021
+
6013
6022
  interface UseActivitiesParams {
6014
6023
  limit?: number;
6015
6024
  offset?: number;
@@ -8425,5 +8434,5 @@ declare function InitializationProvider({ children }: {
8425
8434
  children: ReactNode;
8426
8435
  }): react.FunctionComponentElement<react.ProviderProps<AppInitializationState | null>>;
8427
8436
 
8428
- export { AGENT_CONSTANTS, APIClientError, AdminGuard, ApiClientProvider, ApiKeyService, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisProvider, ElevasisServiceProvider, ElevasisUIProvider, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationMembershipService, OrganizationProvider, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, calculateBarPosition, calculateGraphHeight, componentThemes, createCssVariablesResolver, createOrganizationsSlice, createUseAppInitialization, createUseFeatureAccess, createUseOrgInitialization, createUseOrganizations, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, isAPIClientError, isSessionCapable, mantineNotificationAdapter, mantineThemeOverride, observabilityKeys, operationsKeys, PRESETS as presets, restoreConsole, scheduleKeys, sessionsKeys, shouldAnimateEdge, sortData, suppressKnownWarnings, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAgentIterationData, useApiClient, useApiClientContext, useArchiveSession, useAuthContext, useAvailablePresets, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useConnectionHighlight, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useDirectedChainHighlighting, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useGraphStats, useInitialization, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useNodeSelection, useNotificationAdapter, useNotificationCount, useNotifications, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePresetsContext, useProfile, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
8429
- export type { ActivityFilters, ActivityTrendResponse, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CostBreakdownItem, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, DocFile, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus$1 as ExecutionStatus, FailingResource, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrganizationContextValue, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, ResourcesResponse, RetryExecutionParams, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StatusColorScheme, StatusFilter$1 as StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseBatchedResourcesHealthParams, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
8437
+ export { AGENT_CONSTANTS, APIClientError, AdminGuard, ApiClientProvider, ApiKeyService, AppearanceProvider, AuthProvider, CONTAINER_CONSTANTS, CredentialService, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DeploymentService, ElevasisCoreProvider, ElevasisProvider, ElevasisServiceProvider, ElevasisUIProvider, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, InitializationContext, InitializationProvider, LIMIT_ACTIVITY_FEED, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, OperationsService, OrganizationMembershipService, OrganizationProvider, PAGE_SIZE_DEFAULT, PresetsProvider, ProfileProvider, ProtectedRoute, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RouterProvider, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TanStackRouterBridge, UserProfileService, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WebhookEndpointService, calculateBarPosition, calculateGraphHeight, componentThemes, createCssVariablesResolver, createOrganizationsSlice, createUseAppInitialization, createUseFeatureAccess, createUseOrgInitialization, createUseOrganizations, executionsKeys, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatTimeAgo, generateShades, getEdgeColor, getEdgeOpacity, getErrorInfo, getErrorTitle, getPreset, getResourceColor, getResourceIcon, getResourceStatusColor, getStatusColors, getStatusIcon, isAPIClientError, isSessionCapable, mantineThemeOverride, observabilityKeys, operationsKeys, PRESETS as presets, restoreConsole, scheduleKeys, sessionsKeys, shouldAnimateEdge, sortData, suppressKnownWarnings, useActivateDeployment, useActivities, useActivityFilters, useActivityTrend, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useAuthContext, useAvailablePresets, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useConnectionHighlight, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateCredential, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeploymentDocs, useDirectedChainHighlighting, useElevasisServices, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphHighlighting, useGraphStats, useInitialization, useListApiKeys, useListDeployments, useListSchedules, useListWebhookEndpoints, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useNodeSelection, useNotificationAdapter, useNotificationCount, useNotifications, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePresetsContext, useProfile, useReactFlowAgent, useReactivateMembership, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVisibleResources, useWarningNotification, useWorkflowStepsLayout, validateEmail };
8438
+ export type { ActivityFilters, ActivityTrendResponse, AdminGuardProps, AgentIterationEdgeData, AgentIterationNodeData, AgentStatus, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppInitializationState, AppearanceConfig, AuthConfig, AuthContextValue, AuthKitConfig, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChatMessage, ColorShadesTuple, CostBreakdownItem, CreateApiKeyRequest, CreateApiKeyResponse, CreateCredentialRequest, CreateCredentialResponse, CreateScheduleInput, CreateSessionResponse, CredentialListItem, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, DocFile, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorTrendsParams, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionErrorDetails, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogsFilters, ExecutionLogsPageResponse, ExecutionPathState, ExecutionStatus$1 as ExecutionStatus, FailingResource, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, InitializationError, LinkProps, ListActivitiesResponse, ListApiKeysResponse, ListCredentialsResponse, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, MembershipWithDetails, MessageEvent, MessageType, NodeColorType, NotificationAdapter, OrganizationContextValue, OrganizationsActions, OrganizationsSlice, OrganizationsState, PresetEntry, PresetName, ProfileContextValue, ProtectedRouteProps, ResourcesResponse, RetryExecutionParams, RouterAdapter, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, SortDirection, SortState, StatusColorScheme, StatusFilter$1 as StatusFilter, StatusIconColors, StepExecutionData, SubmitActionRequest, SubmitActionResponse, SupabaseUserProfile, TablerIcon, TaskSchedule, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateScheduleInput, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseBatchedResourcesHealthParams, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseUserProfileReturn, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export { useAvailablePresets } from './chunk-ZVVYGKE4.js';
2
2
  import './chunk-XCYKC6OZ.js';
3
- export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-7NX3WNBO.js';
4
- export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from './chunk-AQZGGSZZ.js';
3
+ export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-MHQ42SD2.js';
4
+ export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from './chunk-C27QFR3V.js';
5
5
  export { observabilityKeys, useErrorTrends } from './chunk-ARZM3OTI.js';
6
6
  import './chunk-JGJSZ3UE.js';
7
7
  export { TanStackRouterBridge } from './chunk-LHQTTUL2.js';
@@ -11,9 +11,11 @@ import './chunk-ELJIFLCB.js';
11
11
  export { createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-3I2LOKQU.js';
12
12
  export { createUseAppInitialization } from './chunk-3PURTICE.js';
13
13
  import './chunk-RNP5R5I3.js';
14
- export { ElevasisProvider, ElevasisUIProvider, mantineNotificationAdapter } from './chunk-KPRCFAI4.js';
14
+ export { ElevasisProvider, ElevasisUIProvider } from './chunk-VUFYYNTF.js';
15
15
  export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from './chunk-WNRHQAJA.js';
16
- export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-564T2YKH.js';
16
+ export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-I427OSNH.js';
17
+ export { AppearanceProvider, useAppearance } from './chunk-HRG3KPL6.js';
18
+ import './chunk-SZHARWKU.js';
17
19
  export { OrganizationProvider } from './chunk-2YBPRE6H.js';
18
20
  export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-RULQSZYX.js';
19
21
  export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail } from './chunk-FCFLBMVI.js';
@@ -1,5 +1,5 @@
1
- import React$1, { ReactNode, ComponentType } from 'react';
2
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React$1, { ReactNode, ComponentType } from 'react';
3
3
 
4
4
  declare const sidebarWidth = 240;
5
5
  declare const sidebarCollapsedWidth = 72;
@@ -7,6 +7,10 @@ declare const sidebarTransitionDuration = 200;
7
7
  declare const sidebarHoverDelay = 100;
8
8
  declare const topbarHeight = 54;
9
9
 
10
+ declare function AppBackground({ children }: {
11
+ children?: ReactNode;
12
+ }): react_jsx_runtime.JSX.Element;
13
+
10
14
  interface FilmGrainProps {
11
15
  /** Opacity in dark mode (0-1). Defaults to 0.04. */
12
16
  darkOpacity?: number;
@@ -326,5 +330,5 @@ declare const TopbarContainer: ({ children }: {
326
330
  children: React.ReactNode;
327
331
  }) => react_jsx_runtime.JSX.Element;
328
332
 
329
- export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, FilmGrain, FloatingOrbs, LinksGroup, PageContainer, PerspectiveGrid, RadiantGlow, Sidebar, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarSection, Topbar, TopbarContainer, Vignette, sidebarCollapsedWidth, sidebarHoverDelay, sidebarTransitionDuration, sidebarWidth, subsidebarWidth, topbarHeight, useSidebar, useSidebarCollapse };
333
+ export { AppBackground, AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, FilmGrain, FloatingOrbs, LinksGroup, PageContainer, PerspectiveGrid, RadiantGlow, Sidebar, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarSection, Topbar, TopbarContainer, Vignette, sidebarCollapsedWidth, sidebarHoverDelay, sidebarTransitionDuration, sidebarWidth, subsidebarWidth, topbarHeight, useSidebar, useSidebarCollapse };
330
334
  export type { CollapsibleSidebarGroupProps, LinkItem, LinksGroupProps, SidebarListItemProps, SidebarNestedProps, SubshellContainerProps, SubshellContentContainerProps, SubshellRightSideContainerProps, SubshellSidebarContainerProps, SubshellSidebarProps, SubshellSidebarSectionProps, TopbarProps };
@@ -1,4 +1,6 @@
1
- export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, FilmGrain, FloatingOrbs, LinksGroup, PageContainer, PerspectiveGrid, RadiantGlow, Sidebar, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarSection, Topbar, TopbarContainer, Vignette, sidebarCollapsedWidth, sidebarHoverDelay, sidebarTransitionDuration, sidebarWidth, subsidebarWidth, topbarHeight, useSidebar, useSidebarCollapse } from '../chunk-THXI3CDT.js';
2
- import '../chunk-YGYF6G7W.js';
1
+ export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, LinksGroup, PageContainer, Sidebar, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarSection, Topbar, TopbarContainer, Vignette, sidebarCollapsedWidth, sidebarHoverDelay, sidebarTransitionDuration, sidebarWidth, subsidebarWidth, topbarHeight, useSidebar, useSidebarCollapse } from '../chunk-7RAT54LF.js';
2
+ import '../chunk-YHTK43DV.js';
3
3
  import '../chunk-LHQTTUL2.js';
4
+ export { AppBackground, FilmGrain, FloatingOrbs, PerspectiveGrid, RadiantGlow } from '../chunk-HRG3KPL6.js';
5
+ import '../chunk-SZHARWKU.js';
4
6
  import '../chunk-Q7DJKLEN.js';
@@ -1,3 +1,48 @@
1
+ /* src/components/display/ElevasisLoader.module.css */
2
+ .wrapper {
3
+ display: inline-flex;
4
+ align-items: center;
5
+ justify-content: center;
6
+ width: var(--loader-size);
7
+ height: var(--loader-size);
8
+ overflow: visible;
9
+ }
10
+ .loader {
11
+ width: 100%;
12
+ height: 100%;
13
+ display: block;
14
+ overflow: visible;
15
+ }
16
+ .chevron {
17
+ stroke: var(--loader-color);
18
+ stroke-width: 2;
19
+ stroke-linecap: square;
20
+ stroke-linejoin: miter;
21
+ fill: none;
22
+ opacity: 0.15;
23
+ animation: chevronPulse 2s ease-in-out infinite;
24
+ filter: drop-shadow(0 0 1.5px var(--loader-color));
25
+ }
26
+ .c1 {
27
+ animation-delay: 0s;
28
+ }
29
+ .c2 {
30
+ animation-delay: 0.2s;
31
+ }
32
+ .c3 {
33
+ animation-delay: 0.4s;
34
+ }
35
+ @keyframes chevronPulse {
36
+ 0%, 100% {
37
+ opacity: 0.12;
38
+ filter: drop-shadow(0 0 1px var(--loader-color));
39
+ }
40
+ 40%, 60% {
41
+ opacity: 1;
42
+ filter: drop-shadow(0 0 3px var(--loader-color));
43
+ }
44
+ }
45
+
1
46
  /* src/theme/custom.css */
2
47
  .mantine-Accordion-control:hover {
3
48
  background-color: var(--color-surface-hover);
@@ -57,17 +57,18 @@ interface NotificationAdapter {
57
57
  /**
58
58
  * Provides a notification adapter to all descendant components.
59
59
  *
60
- * Pass a `MantineNotificationAdapter` for Command Center, or any custom
61
- * adapter for other consumers (template, tests, etc.).
60
+ * Pass a custom adapter for your notification library. ElevasisUIProvider
61
+ * wires the Mantine adapter automatically; template/test consumers can
62
+ * pass their own or omit for console output.
62
63
  *
63
64
  * When omitted, hooks fall back to the console adapter automatically.
64
65
  *
65
66
  * @example
66
67
  * ```tsx
67
68
  * import { NotificationProvider } from '@repo/ui/provider'
68
- * import { mantineNotificationAdapter } from '@repo/ui/provider'
69
+ * import { myAdapter } from './my-adapter'
69
70
  *
70
- * <NotificationProvider adapter={mantineNotificationAdapter}>
71
+ * <NotificationProvider adapter={myAdapter}>
71
72
  * <App />
72
73
  * </NotificationProvider>
73
74
  * ```
@@ -87,6 +88,18 @@ declare function NotificationProvider({ adapter, children }: {
87
88
  */
88
89
  declare function useNotificationAdapter(): NotificationAdapter;
89
90
 
91
+ interface AppearanceConfig {
92
+ /** Background layers rendered behind app content. Defaults to Elevasis background. */
93
+ background?: ReactNode;
94
+ /** Loader element rendered during loading states. Defaults to Elevasis chevron loader. */
95
+ loader?: ReactNode;
96
+ }
97
+ declare function AppearanceProvider({ value, children }: {
98
+ value: Required<AppearanceConfig>;
99
+ children: ReactNode;
100
+ }): react_jsx_runtime.JSX.Element;
101
+ declare function useAppearance(): Required<AppearanceConfig>;
102
+
90
103
  /** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
91
104
  type WithSchemes<T> = T & {
92
105
  light?: T;
@@ -202,10 +215,16 @@ interface ElevasisCoreProviderProps {
202
215
  * When provided, wraps the subtree in a NotificationProvider with this adapter.
203
216
  * When omitted, the console fallback adapter is used automatically.
204
217
  *
205
- * ElevasisUIProvider (Mantine variant) passes mantineNotificationAdapter here automatically.
218
+ * ElevasisUIProvider (Mantine variant) passes a Mantine-backed adapter here automatically.
206
219
  * Headless/SDK consumers can pass a custom adapter or omit for console output.
207
220
  */
208
221
  notifications?: NotificationAdapter;
222
+ /**
223
+ * Appearance configuration for background and loader.
224
+ * When omitted, defaults to the Elevasis background (PerspectiveGrid + RadiantGlow +
225
+ * FloatingOrbs + FilmGrain) and the Elevasis chevron loader.
226
+ */
227
+ appearance?: AppearanceConfig;
209
228
  /**
210
229
  * Whether to inject CSS variables, `data-elevasis-scheme` attribute, and font links.
211
230
  * Set to `false` when the consumer has its own complete design system and only
@@ -245,7 +264,7 @@ interface ElevasisServiceProviderProps {
245
264
  * ElevasisServiceProvider -> ProfileProvider -> OrganizationProvider ->
246
265
  * NotificationProvider -> InitializationProvider
247
266
  *
248
- * The `notifications` prop wires a custom adapter (e.g. mantineNotificationAdapter)
267
+ * The `notifications` prop wires a custom adapter
249
268
  * into the NotificationProvider. When omitted, the console fallback is used.
250
269
  *
251
270
  * @example Headless SDK consumer
@@ -269,7 +288,7 @@ interface ElevasisServiceProviderProps {
269
288
  * </ElevasisCoreProvider>
270
289
  * ```
271
290
  */
272
- declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
291
+ declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, appearance, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
273
292
 
274
293
  /**
275
294
  * Hook to access the ElevasisServiceProvider context.
@@ -315,35 +334,9 @@ interface ElevasisThemeConfig extends ElevasisCoreThemeConfig {
315
334
  interface ElevasisProviderProps extends Omit<ElevasisCoreProviderProps, 'theme' | 'notifications'> {
316
335
  theme?: ElevasisThemeConfig;
317
336
  }
318
- /**
319
- * UI provider for Elevasis-powered applications. Includes Mantine theme integration.
320
- *
321
- * A thin Mantine shell around ElevasisCoreProvider. Handles:
322
- * - MantineProvider with theme resolution (presets, token overrides, color scheme)
323
- * - Google Font injection for preset fonts
324
- * - CSS variables resolver
325
- * - Mantine notification adapter (wired into NotificationProvider automatically)
326
- *
327
- * All auth, API, profile, organization, and initialization composition is
328
- * delegated to ElevasisCoreProvider.
329
- */
330
337
  declare function ElevasisUIProvider({ theme, children, ...coreProps }: ElevasisProviderProps): react_jsx_runtime.JSX.Element;
331
338
  /** @deprecated Use ElevasisUIProvider instead. Alias kept for backwards compatibility. */
332
339
  declare const ElevasisProvider: typeof ElevasisUIProvider;
333
340
 
334
- /**
335
- * Mantine-backed notification adapter.
336
- *
337
- * Wraps `@mantine/notifications` with the same defaults as `notify.tsx`
338
- * (`autoClose: 5000`, `position: 'top-right'`). The `apiError()` method
339
- * replicates `showApiErrorNotification` behavior including retryAfter-based
340
- * autoClose.
341
- *
342
- * Use this adapter in Command Center (Mantine-powered) consumers.
343
- * Template consumers should omit the NotificationProvider and rely on the
344
- * console fallback, or supply their own adapter.
345
- */
346
- declare const mantineNotificationAdapter: NotificationAdapter;
347
-
348
- export { ElevasisCoreProvider, ElevasisProvider, ElevasisServiceProvider, ElevasisUIProvider, NotificationProvider, mantineNotificationAdapter, useElevasisServices, useNotificationAdapter };
349
- export type { ApiKeyConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, NotificationAdapter, PresetName, WithSchemes };
341
+ export { AppearanceProvider, ElevasisCoreProvider, ElevasisProvider, ElevasisServiceProvider, ElevasisUIProvider, NotificationProvider, useAppearance, useElevasisServices, useNotificationAdapter };
342
+ export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, NotificationAdapter, PresetName, WithSchemes };
@@ -1,6 +1,8 @@
1
- export { ElevasisProvider, ElevasisUIProvider, mantineNotificationAdapter } from '../chunk-KPRCFAI4.js';
1
+ export { ElevasisProvider, ElevasisUIProvider } from '../chunk-VUFYYNTF.js';
2
2
  import '../chunk-WNRHQAJA.js';
3
- export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-564T2YKH.js';
3
+ export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-I427OSNH.js';
4
+ export { AppearanceProvider, useAppearance } from '../chunk-HRG3KPL6.js';
5
+ import '../chunk-SZHARWKU.js';
4
6
  import '../chunk-2YBPRE6H.js';
5
7
  import '../chunk-RULQSZYX.js';
6
8
  import '../chunk-FCFLBMVI.js';
@@ -0,0 +1,44 @@
1
+ /* src/components/display/ElevasisLoader.module.css */
2
+ .wrapper {
3
+ display: inline-flex;
4
+ align-items: center;
5
+ justify-content: center;
6
+ width: var(--loader-size);
7
+ height: var(--loader-size);
8
+ overflow: visible;
9
+ }
10
+ .loader {
11
+ width: 100%;
12
+ height: 100%;
13
+ display: block;
14
+ overflow: visible;
15
+ }
16
+ .chevron {
17
+ stroke: var(--loader-color);
18
+ stroke-width: 2;
19
+ stroke-linecap: square;
20
+ stroke-linejoin: miter;
21
+ fill: none;
22
+ opacity: 0.15;
23
+ animation: chevronPulse 2s ease-in-out infinite;
24
+ filter: drop-shadow(0 0 1.5px var(--loader-color));
25
+ }
26
+ .c1 {
27
+ animation-delay: 0s;
28
+ }
29
+ .c2 {
30
+ animation-delay: 0.2s;
31
+ }
32
+ .c3 {
33
+ animation-delay: 0.4s;
34
+ }
35
+ @keyframes chevronPulse {
36
+ 0%, 100% {
37
+ opacity: 0.12;
38
+ filter: drop-shadow(0 0 1px var(--loader-color));
39
+ }
40
+ 40%, 60% {
41
+ opacity: 1;
42
+ filter: drop-shadow(0 0 3px var(--loader-color));
43
+ }
44
+ }
@@ -56,17 +56,18 @@ interface NotificationAdapter {
56
56
  /**
57
57
  * Provides a notification adapter to all descendant components.
58
58
  *
59
- * Pass a `MantineNotificationAdapter` for Command Center, or any custom
60
- * adapter for other consumers (template, tests, etc.).
59
+ * Pass a custom adapter for your notification library. ElevasisUIProvider
60
+ * wires the Mantine adapter automatically; template/test consumers can
61
+ * pass their own or omit for console output.
61
62
  *
62
63
  * When omitted, hooks fall back to the console adapter automatically.
63
64
  *
64
65
  * @example
65
66
  * ```tsx
66
67
  * import { NotificationProvider } from '@repo/ui/provider'
67
- * import { mantineNotificationAdapter } from '@repo/ui/provider'
68
+ * import { myAdapter } from './my-adapter'
68
69
  *
69
- * <NotificationProvider adapter={mantineNotificationAdapter}>
70
+ * <NotificationProvider adapter={myAdapter}>
70
71
  * <App />
71
72
  * </NotificationProvider>
72
73
  * ```
@@ -86,6 +87,18 @@ declare function NotificationProvider({ adapter, children }: {
86
87
  */
87
88
  declare function useNotificationAdapter(): NotificationAdapter;
88
89
 
90
+ interface AppearanceConfig {
91
+ /** Background layers rendered behind app content. Defaults to Elevasis background. */
92
+ background?: ReactNode;
93
+ /** Loader element rendered during loading states. Defaults to Elevasis chevron loader. */
94
+ loader?: ReactNode;
95
+ }
96
+ declare function AppearanceProvider({ value, children }: {
97
+ value: Required<AppearanceConfig>;
98
+ children: ReactNode;
99
+ }): react_jsx_runtime.JSX.Element;
100
+ declare function useAppearance(): Required<AppearanceConfig>;
101
+
89
102
  /** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
90
103
  type WithSchemes<T> = T & {
91
104
  light?: T;
@@ -201,10 +214,16 @@ interface ElevasisCoreProviderProps {
201
214
  * When provided, wraps the subtree in a NotificationProvider with this adapter.
202
215
  * When omitted, the console fallback adapter is used automatically.
203
216
  *
204
- * ElevasisUIProvider (Mantine variant) passes mantineNotificationAdapter here automatically.
217
+ * ElevasisUIProvider (Mantine variant) passes a Mantine-backed adapter here automatically.
205
218
  * Headless/SDK consumers can pass a custom adapter or omit for console output.
206
219
  */
207
220
  notifications?: NotificationAdapter;
221
+ /**
222
+ * Appearance configuration for background and loader.
223
+ * When omitted, defaults to the Elevasis background (PerspectiveGrid + RadiantGlow +
224
+ * FloatingOrbs + FilmGrain) and the Elevasis chevron loader.
225
+ */
226
+ appearance?: AppearanceConfig;
208
227
  /**
209
228
  * Whether to inject CSS variables, `data-elevasis-scheme` attribute, and font links.
210
229
  * Set to `false` when the consumer has its own complete design system and only
@@ -244,7 +263,7 @@ interface ElevasisServiceProviderProps {
244
263
  * ElevasisServiceProvider -> ProfileProvider -> OrganizationProvider ->
245
264
  * NotificationProvider -> InitializationProvider
246
265
  *
247
- * The `notifications` prop wires a custom adapter (e.g. mantineNotificationAdapter)
266
+ * The `notifications` prop wires a custom adapter
248
267
  * into the NotificationProvider. When omitted, the console fallback is used.
249
268
  *
250
269
  * @example Headless SDK consumer
@@ -268,7 +287,7 @@ interface ElevasisServiceProviderProps {
268
287
  * </ElevasisCoreProvider>
269
288
  * ```
270
289
  */
271
- declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
290
+ declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, appearance, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
272
291
 
273
292
  /**
274
293
  * Hook to access the ElevasisServiceProvider context.
@@ -299,5 +318,5 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
299
318
  */
300
319
  declare function ElevasisServiceProvider({ apiRequest, organizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
301
320
 
302
- export { ElevasisCoreProvider, ElevasisServiceProvider, NotificationProvider, useElevasisServices, useNotificationAdapter };
303
- export type { ApiKeyConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisTokenOverrides, NotificationAdapter, WithSchemes };
321
+ export { AppearanceProvider, ElevasisCoreProvider, ElevasisServiceProvider, NotificationProvider, useAppearance, useElevasisServices, useNotificationAdapter };
322
+ export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisTokenOverrides, NotificationAdapter, WithSchemes };
@@ -1,4 +1,6 @@
1
- export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-564T2YKH.js';
1
+ export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-I427OSNH.js';
2
+ export { AppearanceProvider, useAppearance } from '../chunk-HRG3KPL6.js';
3
+ import '../chunk-SZHARWKU.js';
2
4
  import '../chunk-2YBPRE6H.js';
3
5
  import '../chunk-RULQSZYX.js';
4
6
  import '../chunk-FCFLBMVI.js';
@@ -3179,6 +3179,8 @@ interface APIExecutionDetail extends APIExecutionSummary$1 {
3179
3179
  apiVersion?: string | null;
3180
3180
  resourceVersion?: string | null;
3181
3181
  sdkVersion?: string | null;
3182
+ isArchived?: boolean;
3183
+ archivedLogCount?: number;
3182
3184
  }
3183
3185
  interface APIExecutionListResponse {
3184
3186
  executions: APIExecutionSummary$1[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "1.11.2",
3
+ "version": "1.12.0",
4
4
  "description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
5
5
  "type": "module",
6
6
  "license": "MIT",