@elevasis/ui 1.3.0 → 1.3.2

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.
Files changed (279) hide show
  1. package/dist/CoreAuthKitInner-3J4RVQO6.js +43 -0
  2. package/dist/api/index.d.ts +7 -31
  3. package/dist/api/index.js +3 -2
  4. package/dist/auth/context.d.ts +23 -5
  5. package/dist/auth/guards/AdminGuard.d.ts +32 -0
  6. package/dist/auth/guards/AdminGuard.d.ts.map +1 -0
  7. package/dist/auth/guards/ProtectedRoute.d.ts +60 -0
  8. package/dist/auth/guards/ProtectedRoute.d.ts.map +1 -0
  9. package/dist/auth/guards/__tests__/AdminGuard.test.d.ts +12 -0
  10. package/dist/auth/guards/__tests__/AdminGuard.test.d.ts.map +1 -0
  11. package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts +14 -0
  12. package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts.map +1 -0
  13. package/dist/auth/index.d.ts +14 -171
  14. package/dist/auth/index.d.ts.map +1 -0
  15. package/dist/auth/index.js +5 -6
  16. package/dist/{chunk-FDCVFCOQ.js → chunk-2JBWPFHF.js} +23 -20
  17. package/dist/{chunk-BZTA7IIL.js → chunk-6IX5JZEH.js} +358 -4
  18. package/dist/chunk-FWZJH3TL.js +13 -0
  19. package/dist/chunk-GIFAF5ZS.js +313 -0
  20. package/dist/chunk-JGJSZ3UE.js +47 -0
  21. package/dist/chunk-JQLT6HBI.js +850 -0
  22. package/dist/{chunk-4KAG5U7A.js → chunk-L2CM2CUA.js} +0 -2
  23. package/dist/chunk-LFYO3MDC.js +58 -0
  24. package/dist/{chunk-OLD3NQLI.js → chunk-LTQAAIGE.js} +13 -17
  25. package/dist/{chunk-QQOLC46E.js → chunk-NEK6JKPW.js} +1 -1
  26. package/dist/{chunk-SITSZUFW.js → chunk-PVVQTENF.js} +1 -1
  27. package/dist/{chunk-FLJXZ7YC.js → chunk-SFF5MJEI.js} +2 -4
  28. package/dist/{chunk-EZMRFWZQ.js → chunk-U34YGJQB.js} +2 -94
  29. package/dist/{chunk-BWCC6ZJC.js → chunk-XLV6LYN2.js} +15 -60
  30. package/dist/components/index.d.ts +1 -1353
  31. package/dist/components/index.js +1 -20
  32. package/dist/components/navigation/index.d.ts +2 -32
  33. package/dist/components/navigation/index.js +1 -29
  34. package/dist/execution/index.d.ts +63 -231
  35. package/dist/execution/index.js +1 -4
  36. package/dist/graph/index.css +0 -1
  37. package/dist/graph/index.d.ts +4 -203
  38. package/dist/graph/index.js +1 -1
  39. package/dist/hooks/command-queue/index.d.ts +7 -0
  40. package/dist/hooks/command-queue/index.d.ts.map +1 -0
  41. package/dist/hooks/command-queue/useCommandQueue.d.ts +33 -0
  42. package/dist/hooks/command-queue/useCommandQueue.d.ts.map +1 -0
  43. package/dist/hooks/command-queue/useCommandQueueTotals.d.ts +17 -0
  44. package/dist/hooks/command-queue/useCommandQueueTotals.d.ts.map +1 -0
  45. package/dist/hooks/command-queue/useDeleteTask.d.ts +5 -0
  46. package/dist/hooks/command-queue/useDeleteTask.d.ts.map +1 -0
  47. package/dist/hooks/command-queue/usePatchTask.d.ts +6 -0
  48. package/dist/hooks/command-queue/usePatchTask.d.ts.map +1 -0
  49. package/dist/hooks/command-queue/useSubmitAction.d.ts +29 -0
  50. package/dist/hooks/command-queue/useSubmitAction.d.ts.map +1 -0
  51. package/dist/hooks/executions/index.d.ts +16 -0
  52. package/dist/hooks/executions/index.d.ts.map +1 -0
  53. package/dist/hooks/executions/useBulkDeleteExecutions.d.ts +15 -0
  54. package/dist/hooks/executions/useBulkDeleteExecutions.d.ts.map +1 -0
  55. package/dist/hooks/executions/useCancelExecution.d.ts +20 -0
  56. package/dist/hooks/executions/useCancelExecution.d.ts.map +1 -0
  57. package/dist/hooks/executions/useDeleteExecution.d.ts +13 -0
  58. package/dist/hooks/executions/useDeleteExecution.d.ts.map +1 -0
  59. package/dist/hooks/executions/useExecuteAsync.d.ts +21 -0
  60. package/dist/hooks/executions/useExecuteAsync.d.ts.map +1 -0
  61. package/dist/hooks/executions/useExecution.d.ts +10 -0
  62. package/dist/hooks/executions/useExecution.d.ts.map +1 -0
  63. package/dist/hooks/executions/useExecutions.d.ts +16 -0
  64. package/dist/hooks/executions/useExecutions.d.ts.map +1 -0
  65. package/dist/hooks/executions/useResourceDefinition.d.ts +9 -0
  66. package/dist/hooks/executions/useResourceDefinition.d.ts.map +1 -0
  67. package/dist/hooks/executions/useResources.d.ts +15 -0
  68. package/dist/hooks/executions/useResources.d.ts.map +1 -0
  69. package/dist/hooks/executions/useRetryExecution.d.ts +16 -0
  70. package/dist/hooks/executions/useRetryExecution.d.ts.map +1 -0
  71. package/dist/hooks/feature-access/createUseFeatureAccess.d.ts +44 -0
  72. package/dist/hooks/feature-access/createUseFeatureAccess.d.ts.map +1 -0
  73. package/dist/hooks/feature-access/index.d.ts +2 -0
  74. package/dist/hooks/feature-access/index.d.ts.map +1 -0
  75. package/dist/hooks/index.d.ts +11 -1927
  76. package/dist/hooks/index.d.ts.map +1 -0
  77. package/dist/hooks/index.js +5 -4
  78. package/dist/hooks/monitoring/index.d.ts +9 -0
  79. package/dist/hooks/monitoring/index.d.ts.map +1 -0
  80. package/dist/hooks/monitoring/useActivities.d.ts +52 -0
  81. package/dist/hooks/monitoring/useActivities.d.ts.map +1 -0
  82. package/dist/hooks/monitoring/useCostSummary.d.ts +7 -0
  83. package/dist/hooks/monitoring/useCostSummary.d.ts.map +1 -0
  84. package/dist/hooks/monitoring/useExecutionHealth.d.ts +10 -0
  85. package/dist/hooks/monitoring/useExecutionHealth.d.ts.map +1 -0
  86. package/dist/hooks/monitoring/useExecutionLogs.d.ts +56 -0
  87. package/dist/hooks/monitoring/useExecutionLogs.d.ts.map +1 -0
  88. package/dist/hooks/monitoring/useNotifications.d.ts +11 -0
  89. package/dist/hooks/monitoring/useNotifications.d.ts.map +1 -0
  90. package/dist/hooks/notifications/index.d.ts +8 -0
  91. package/dist/hooks/notifications/index.d.ts.map +1 -0
  92. package/dist/hooks/notifications/useMarkAllAsRead.d.ts +2 -0
  93. package/dist/hooks/notifications/useMarkAllAsRead.d.ts.map +1 -0
  94. package/dist/hooks/notifications/useMarkAsRead.d.ts +2 -0
  95. package/dist/hooks/notifications/useMarkAsRead.d.ts.map +1 -0
  96. package/dist/hooks/notifications/useNotificationCount.d.ts +8 -0
  97. package/dist/hooks/notifications/useNotificationCount.d.ts.map +1 -0
  98. package/dist/hooks/observability/index.d.ts +19 -0
  99. package/dist/hooks/observability/index.d.ts.map +1 -0
  100. package/dist/hooks/observability/useBusinessImpact.d.ts +9 -0
  101. package/dist/hooks/observability/useBusinessImpact.d.ts.map +1 -0
  102. package/dist/hooks/observability/useCostBreakdown.d.ts +10 -0
  103. package/dist/hooks/observability/useCostBreakdown.d.ts.map +1 -0
  104. package/dist/hooks/observability/useCostByModel.d.ts +3 -0
  105. package/dist/hooks/observability/useCostByModel.d.ts.map +1 -0
  106. package/dist/hooks/observability/useCostTrends.d.ts +3 -0
  107. package/dist/hooks/observability/useCostTrends.d.ts.map +1 -0
  108. package/dist/hooks/observability/useDashboardMetrics.d.ts +3 -0
  109. package/dist/hooks/observability/useDashboardMetrics.d.ts.map +1 -0
  110. package/dist/hooks/observability/useErrorAnalysis.d.ts +7 -0
  111. package/dist/hooks/observability/useErrorAnalysis.d.ts.map +1 -0
  112. package/dist/hooks/observability/useErrorDetails.d.ts +20 -0
  113. package/dist/hooks/observability/useErrorDetails.d.ts.map +1 -0
  114. package/dist/hooks/observability/useErrorDistribution.d.ts +12 -0
  115. package/dist/hooks/observability/useErrorDistribution.d.ts.map +1 -0
  116. package/dist/hooks/observability/useErrorTrends.d.ts +12 -0
  117. package/dist/hooks/observability/useErrorTrends.d.ts.map +1 -0
  118. package/dist/hooks/observability/useResolveError.d.ts +17 -0
  119. package/dist/hooks/observability/useResolveError.d.ts.map +1 -0
  120. package/dist/hooks/observability/useTopFailingResources.d.ts +13 -0
  121. package/dist/hooks/observability/useTopFailingResources.d.ts.map +1 -0
  122. package/dist/hooks/published.d.ts +19 -1652
  123. package/dist/hooks/published.d.ts.map +1 -0
  124. package/dist/hooks/published.js +369 -3
  125. package/dist/hooks/scheduling/index.d.ts +5 -0
  126. package/dist/hooks/scheduling/index.d.ts.map +1 -0
  127. package/dist/hooks/scheduling/useSchedules.d.ts +185 -0
  128. package/dist/hooks/scheduling/useSchedules.d.ts.map +1 -0
  129. package/dist/hooks/sessions/index.d.ts +8 -0
  130. package/dist/hooks/sessions/index.d.ts.map +1 -0
  131. package/dist/hooks/sessions/useSessionExecutions.d.ts +13 -0
  132. package/dist/hooks/sessions/useSessionExecutions.d.ts.map +1 -0
  133. package/dist/hooks/sessions/useSessionMessages.d.ts +7 -0
  134. package/dist/hooks/sessions/useSessionMessages.d.ts.map +1 -0
  135. package/dist/hooks/sessions/useSessions.d.ts +26 -0
  136. package/dist/hooks/sessions/useSessions.d.ts.map +1 -0
  137. package/dist/index.css +0 -118
  138. package/dist/index.d.ts +15 -7624
  139. package/dist/index.d.ts.map +1 -0
  140. package/dist/index.js +1125 -30
  141. package/dist/initialization/InitializationProvider.d.ts +48 -0
  142. package/dist/initialization/InitializationProvider.d.ts.map +1 -0
  143. package/dist/initialization/hooks/useAppInitialization.d.ts +32 -0
  144. package/dist/initialization/hooks/useAppInitialization.d.ts.map +1 -0
  145. package/dist/initialization/index.d.ts +22 -2361
  146. package/dist/initialization/index.d.ts.map +1 -0
  147. package/dist/initialization/index.js +4 -4
  148. package/dist/organization/context/OrganizationProvider.d.ts +20 -0
  149. package/dist/organization/context/OrganizationProvider.d.ts.map +1 -0
  150. package/dist/organization/hooks/useOrgInitialization.d.ts +56 -0
  151. package/dist/organization/hooks/useOrgInitialization.d.ts.map +1 -0
  152. package/dist/organization/index.d.ts +21 -283
  153. package/dist/organization/index.d.ts.map +1 -0
  154. package/dist/organization/index.js +4 -4
  155. package/dist/profile/context/ProfileProvider.d.ts +27 -0
  156. package/dist/profile/context/ProfileProvider.d.ts.map +1 -0
  157. package/dist/profile/hooks/useUserProfile.d.ts +31 -0
  158. package/dist/profile/hooks/useUserProfile.d.ts.map +1 -0
  159. package/dist/profile/index.d.ts +14 -2290
  160. package/dist/profile/index.d.ts.map +1 -0
  161. package/dist/profile/index.js +1 -1
  162. package/dist/provider/CoreAuthKitInner.d.ts +12 -0
  163. package/dist/provider/CoreAuthKitInner.d.ts.map +1 -0
  164. package/dist/provider/ElevasisCoreProvider.d.ts +39 -0
  165. package/dist/provider/ElevasisCoreProvider.d.ts.map +1 -0
  166. package/dist/provider/ElevasisServiceContext.d.ts +31 -0
  167. package/dist/provider/ElevasisServiceContext.d.ts.map +1 -0
  168. package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts +2 -0
  169. package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts.map +1 -0
  170. package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts +2 -0
  171. package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts.map +1 -0
  172. package/dist/provider/index.d.ts +7 -384
  173. package/dist/provider/index.d.ts.map +1 -0
  174. package/dist/provider/index.js +8 -9
  175. package/dist/provider/published.d.ts +9 -275
  176. package/dist/provider/published.d.ts.map +1 -0
  177. package/dist/provider/published.js +7 -8
  178. package/dist/provider/types.d.ts +190 -0
  179. package/dist/provider/types.d.ts.map +1 -0
  180. package/dist/sdk-barrel.d.ts +20 -0
  181. package/dist/sdk-barrel.d.ts.map +1 -0
  182. package/dist/supabase/index.d.ts +0 -255
  183. package/dist/supabase/index.js +2 -47
  184. package/dist/theme/cssVariables.d.ts +12 -0
  185. package/dist/theme/cssVariables.d.ts.map +1 -0
  186. package/dist/theme/index.d.ts +4 -0
  187. package/dist/theme/index.d.ts.map +1 -0
  188. package/dist/theme/presets/__tests__/getPreset.test.d.ts +2 -0
  189. package/dist/theme/presets/__tests__/getPreset.test.d.ts.map +1 -0
  190. package/dist/theme/presets/abyss.d.ts +3 -0
  191. package/dist/theme/presets/abyss.d.ts.map +1 -0
  192. package/dist/theme/presets/abyss.js +54 -0
  193. package/dist/theme/presets/aurora.d.ts +8 -0
  194. package/dist/theme/presets/aurora.d.ts.map +1 -0
  195. package/dist/theme/presets/aurora.js +59 -0
  196. package/dist/theme/presets/canopy.d.ts +3 -0
  197. package/dist/theme/presets/canopy.d.ts.map +1 -0
  198. package/dist/theme/presets/canopy.js +58 -0
  199. package/dist/theme/presets/cyber-flux.d.ts +8 -0
  200. package/dist/theme/presets/cyber-flux.d.ts.map +1 -0
  201. package/dist/theme/presets/cyber-strike.d.ts +9 -0
  202. package/dist/theme/presets/cyber-strike.d.ts.map +1 -0
  203. package/dist/theme/presets/cyber-void.d.ts +8 -0
  204. package/dist/theme/presets/cyber-void.d.ts.map +1 -0
  205. package/dist/theme/presets/cyber-volt.d.ts +8 -0
  206. package/dist/theme/presets/cyber-volt.d.ts.map +1 -0
  207. package/dist/theme/presets/default.d.ts +4 -0
  208. package/dist/theme/presets/default.d.ts.map +1 -0
  209. package/dist/theme/presets/ember.d.ts +8 -0
  210. package/dist/theme/presets/ember.d.ts.map +1 -0
  211. package/dist/theme/presets/ember.js +63 -0
  212. package/dist/theme/presets/honey.d.ts +3 -0
  213. package/dist/theme/presets/honey.d.ts.map +1 -0
  214. package/dist/theme/presets/honey.js +62 -0
  215. package/dist/theme/presets/index.d.ts +6 -0
  216. package/dist/theme/presets/index.d.ts.map +1 -0
  217. package/dist/theme/presets/midnight.d.ts +8 -0
  218. package/dist/theme/presets/midnight.d.ts.map +1 -0
  219. package/dist/theme/presets/midnight.js +68 -0
  220. package/dist/theme/presets/obsidian.d.ts +3 -0
  221. package/dist/theme/presets/obsidian.d.ts.map +1 -0
  222. package/dist/theme/presets/obsidian.js +56 -0
  223. package/dist/theme/presets/regal.d.ts +8 -0
  224. package/dist/theme/presets/regal.d.ts.map +1 -0
  225. package/dist/theme/presets/rose-gold.d.ts +8 -0
  226. package/dist/theme/presets/rose-gold.d.ts.map +1 -0
  227. package/dist/theme/presets/slate.d.ts +3 -0
  228. package/dist/theme/presets/slate.d.ts.map +1 -0
  229. package/dist/theme/presets/slate.js +56 -0
  230. package/dist/theme/presets/tactical.d.ts +8 -0
  231. package/dist/theme/presets/tactical.d.ts.map +1 -0
  232. package/dist/theme/presets/types.d.ts +26 -0
  233. package/dist/theme/presets/types.d.ts.map +1 -0
  234. package/dist/theme/presets/types.js +1 -0
  235. package/dist/utils/index.d.ts +1 -22
  236. package/dist/utils/index.js +1 -1
  237. package/package.json +67 -51
  238. package/dist/CoreAuthKitInner-KM72EYJS.js +0 -19
  239. package/dist/api/hooks/useApiClient.d.ts +0 -54
  240. package/dist/api/hooks/useApiClient.d.ts.map +0 -1
  241. package/dist/api/hooks/useApiClient.js +0 -185
  242. package/dist/chunk-3KMDHCAR.js +0 -52
  243. package/dist/chunk-6BJOYF6E.js +0 -8
  244. package/dist/chunk-BLO4SISK.js +0 -113
  245. package/dist/chunk-HUWJXLLF.js +0 -681
  246. package/dist/chunk-JVAZHVNV.js +0 -110
  247. package/dist/chunk-JYSYHVLU.js +0 -379
  248. package/dist/chunk-NE36BUGQ.js +0 -146
  249. package/dist/chunk-NIAVTSMB.js +0 -21
  250. package/dist/chunk-O3PY6B6E.js +0 -749
  251. package/dist/chunk-OXVOHOP3.js +0 -661
  252. package/dist/chunk-PCBXNHKY.js +0 -1460
  253. package/dist/chunk-PSLKGOBZ.js +0 -58
  254. package/dist/chunk-QSVZP2NU.js +0 -214
  255. package/dist/chunk-RJCA5672.js +0 -1664
  256. package/dist/chunk-TMFCNFLW.js +0 -107
  257. package/dist/chunk-TN3PU2WK.js +0 -748
  258. package/dist/chunk-W7ZBF5AA.js +0 -1
  259. package/dist/chunk-YZ6GTZXL.js +0 -48
  260. package/dist/components/command-queue/index.css +0 -53
  261. package/dist/components/command-queue/index.d.ts +0 -204
  262. package/dist/components/command-queue/index.js +0 -12
  263. package/dist/components/forms/index.d.ts +0 -56
  264. package/dist/components/forms/index.js +0 -2
  265. package/dist/components/index.css +0 -443
  266. package/dist/components/monitoring/index.d.ts +0 -66
  267. package/dist/components/monitoring/index.js +0 -2
  268. package/dist/components/notifications/index.d.ts +0 -52
  269. package/dist/components/notifications/index.js +0 -5
  270. package/dist/components/resource-definition/index.css +0 -388
  271. package/dist/components/resource-definition/index.d.ts +0 -301
  272. package/dist/components/resource-definition/index.js +0 -3
  273. package/dist/display/index.css +0 -53
  274. package/dist/display/index.d.ts +0 -606
  275. package/dist/display/index.js +0 -7
  276. package/dist/execution/index.css +0 -388
  277. package/dist/provider/index.css +0 -61
  278. /package/dist/{chunk-Q47SPRY7.js → chunk-BUZONXAW.js} +0 -0
  279. /package/dist/{chunk-NXHL23JW.js → chunk-XXDDMASA.js} +0 -0
package/dist/index.js CHANGED
@@ -1,38 +1,1133 @@
1
- import './chunk-Q47SPRY7.js';
2
- export { OperationsService, executionsKeys, observabilityKeys, scheduleKeys, useActivities, useActivityTrend, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogs, useExecutions, useGetExecutionHistory, useGetSchedule, useListSchedules, usePauseSchedule, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResources, useResumeSchedule, useRetryExecution, useTopFailingResources, useUnresolveError, useUpdateAnchor, useUpdateSchedule } from './chunk-BZTA7IIL.js';
1
+ export { useCommandQueue, useCommandQueueTotals, useDeleteTask, usePatchTask, useSubmitAction } from './chunk-XXDDMASA.js';
2
+ export { OperationsService, createUseFeatureAccess, executionsKeys, observabilityKeys, scheduleKeys, sortData, useActivities, useActivityTrend, useBatchDelete, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogs, useExecutions, useGetExecutionHistory, useGetSchedule, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePauseSchedule, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResources, useResumeSchedule, useRetryExecution, useSSEConnection, useSortedData, useSuccessNotification, useTableSelection, useTableSort, useTopFailingResources, useUnresolveError, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from './chunk-6IX5JZEH.js';
3
+ import './chunk-JGJSZ3UE.js';
3
4
  export { TanStackRouterBridge } from './chunk-LHQTTUL2.js';
4
- export { AGENT_CONSTANTS, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationEdge, AgentIterationNode, CONTAINER_CONSTANTS, EmptyVisualizer, ExecutionStats, ExecutionStatusBadge, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, VisualizerContainer, WORKFLOW_CONSTANTS, WorkflowExecutionTimeline, calculateBarPosition, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-RJCA5672.js';
5
- export { OrganizationSwitcher, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-EZMRFWZQ.js';
5
+ export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-GIFAF5ZS.js';
6
+ export { AGENT_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useMergedExecution, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-JQLT6HBI.js';
7
+ export { createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-U34YGJQB.js';
6
8
  import './chunk-XCYKC6OZ.js';
7
- export { createUseAppInitialization } from './chunk-SITSZUFW.js';
9
+ export { createUseAppInitialization } from './chunk-PVVQTENF.js';
8
10
  import './chunk-RNP5R5I3.js';
9
- export { ChatHeader, ChatInputArea, ChatInterface, ChatSidebar, ConfirmationInputModal, ConfirmationModal, MessageBubble } from './chunk-TN3PU2WK.js';
10
- export { ExecutionLogsTable, ResourceHealthChart, getHealthColor } from './chunk-NE36BUGQ.js';
11
- import './chunk-W7ZBF5AA.js';
12
- export { ActionModal, CustomModal, TaskCard, getIcon, iconMap } from './chunk-JYSYHVLU.js';
13
- export { useCommandQueue, useCommandQueueTotals, useDeleteTask, usePatchTask, useSubmitAction } from './chunk-NXHL23JW.js';
14
- export { FormFieldRenderer } from './chunk-PSLKGOBZ.js';
15
- export { NotificationBell, NotificationItem, NotificationList, NotificationPanel } from './chunk-TMFCNFLW.js';
16
- export { useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications } from './chunk-BLO4SISK.js';
17
- export { AgentDefinitionDisplay, CollapsibleJsonSection, ConfigCard, ContractDisplay, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, ResourceDefinitionSection, ToolsListDisplay, WorkflowDefinitionDisplay, useNewKnowledgeMapLayout } from './chunk-OXVOHOP3.js';
18
- export { formatDuration } from './chunk-6BJOYF6E.js';
19
- export { BaseEdge, BaseNode, GRAPH_CONSTANTS, GlowingHandle, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, calculateGraphHeight, getGraphBackgroundStyles, Graph_default as graphStyles, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphBackgroundStyles, useGraphHighlighting, useGraphTheme, useNodeSelection } from './chunk-HUWJXLLF.js';
20
- export { APIErrorAlert, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, JsonViewer, ListSkeleton, NavigationButton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from './chunk-O3PY6B6E.js';
21
- export { StyledMarkdown } from './chunk-3KMDHCAR.js';
22
- import './chunk-YZ6GTZXL.js';
23
- export { ElevasisProvider, ElevasisUIProvider, createCssVariablesResolver, generateShades, getPreset, mantineNotificationAdapter, mantineThemeOverride } from './chunk-PCBXNHKY.js';
24
- export { ElevasisCoreProvider } from './chunk-OLD3NQLI.js';
25
- export { OrganizationProvider } from './chunk-FLJXZ7YC.js';
26
- export { ApiClientProvider, createUseApiClient, useApiClient, useApiClientContext } from './chunk-BWCC6ZJC.js';
11
+ import './chunk-BUZONXAW.js';
12
+ export { ElevasisCoreProvider } from './chunk-LTQAAIGE.js';
27
13
  export { NotificationProvider, useNotificationAdapter } from './chunk-TIRMFDM4.js';
28
- export { formatDate, getResourceColor, getResourceIcon, showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, validateEmail } from './chunk-JVAZHVNV.js';
14
+ export { OrganizationProvider } from './chunk-SFF5MJEI.js';
15
+ export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-XLV6LYN2.js';
16
+ export { formatDate, getResourceColor, getResourceIcon, validateEmail } from './chunk-LFYO3MDC.js';
29
17
  export { APIClientError, formatErrorMessage, getErrorInfo, getErrorTitle, isAPIClientError } from './chunk-4VGWQ5AN.js';
30
- export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from './chunk-FDCVFCOQ.js';
31
- export { WorkOSAuthBridge } from './chunk-NIAVTSMB.js';
32
- export { useOAuthContext } from './chunk-QSVZP2NU.js';
33
- export { InitializationContext, InitializationProvider, useInitialization } from './chunk-QQOLC46E.js';
34
- export { useOrganization } from './chunk-DD3CCMCZ.js';
35
- export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from './chunk-4KAG5U7A.js';
18
+ export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck } from './chunk-2JBWPFHF.js';
19
+ export { useStableAccessToken } from './chunk-FWZJH3TL.js';
20
+ export { InitializationContext, InitializationProvider, useInitialization } from './chunk-NEK6JKPW.js';
21
+ export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from './chunk-L2CM2CUA.js';
36
22
  export { ElevasisServiceProvider, useElevasisServices } from './chunk-KA7LO7U5.js';
23
+ export { useOrganization } from './chunk-DD3CCMCZ.js';
37
24
  export { AuthProvider, useAuthContext } from './chunk-7PLEQFHO.js';
38
25
  export { RouterProvider, useRouterContext } from './chunk-Q7DJKLEN.js';
26
+
27
+ // src/theme/presets/utils.ts
28
+ function hexToRgb(hex) {
29
+ const h = hex.replace("#", "");
30
+ const full = h.length === 3 ? h.split("").map((c) => c + c).join("") : h;
31
+ return [parseInt(full.slice(0, 2), 16), parseInt(full.slice(2, 4), 16), parseInt(full.slice(4, 6), 16)];
32
+ }
33
+ function rgbToHsl(r, g, b) {
34
+ r /= 255;
35
+ g /= 255;
36
+ b /= 255;
37
+ const max = Math.max(r, g, b), min = Math.min(r, g, b);
38
+ const l = (max + min) / 2;
39
+ if (max === min) return [0, 0, l];
40
+ const d = max - min;
41
+ const s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
42
+ let h = 0;
43
+ if (max === r) h = ((g - b) / d + (g < b ? 6 : 0)) / 6;
44
+ else if (max === g) h = ((b - r) / d + 2) / 6;
45
+ else h = ((r - g) / d + 4) / 6;
46
+ return [h * 360, s, l];
47
+ }
48
+ function hslToHex(h, s, l) {
49
+ h /= 360;
50
+ const hue2rgb = (p, q, t) => {
51
+ if (t < 0) t += 1;
52
+ if (t > 1) t -= 1;
53
+ if (t < 1 / 6) return p + (q - p) * 6 * t;
54
+ if (t < 1 / 2) return q;
55
+ if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
56
+ return p;
57
+ };
58
+ let r, g, b;
59
+ if (s === 0) {
60
+ r = g = b = l;
61
+ } else {
62
+ const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
63
+ const p = 2 * l - q;
64
+ r = hue2rgb(p, q, h + 1 / 3);
65
+ g = hue2rgb(p, q, h);
66
+ b = hue2rgb(p, q, h - 1 / 3);
67
+ }
68
+ const toHex = (n) => Math.round(Math.min(255, Math.max(0, n * 255))).toString(16).padStart(2, "0");
69
+ return `#${toHex(r)}${toHex(g)}${toHex(b)}`;
70
+ }
71
+ function generateShades(hex) {
72
+ const [r, g, b] = hexToRgb(hex);
73
+ const [h, s, l] = rgbToHsl(r, g, b);
74
+ const targets = [
75
+ 0.95,
76
+ 0.88,
77
+ 0.78,
78
+ 0.65,
79
+ 0.55,
80
+ 0.48,
81
+ l,
82
+ Math.max(l - 0.08, 0.08),
83
+ Math.max(l - 0.16, 0.05),
84
+ Math.max(l - 0.24, 0.03)
85
+ ];
86
+ return targets.map((tl) => hslToHex(h, s, tl));
87
+ }
88
+
89
+ // src/theme/presets/default.ts
90
+ var defaultPreset = {
91
+ subtitleFontFamily: '"Inter", sans-serif',
92
+ fontImports: ["https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"],
93
+ light: {
94
+ primary: "#0099ff",
95
+ primaryContrast: "#ffffff",
96
+ background: "#ededf0",
97
+ surface: "#f5f5f5",
98
+ surfaceHover: "#f2f2f2",
99
+ text: "#212529",
100
+ textDimmed: "#495057",
101
+ textSubtle: "#868e96",
102
+ border: "#ddd",
103
+ error: "#dc3545",
104
+ warning: "#fd7e14",
105
+ success: "#28a745",
106
+ glassBackground: "rgba(252, 252, 252, 0.6)",
107
+ glassBlur: "blur(10px)",
108
+ shadow: "0px 3px 5px -4px rgba(0, 0, 0, 0.18)",
109
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 2px 4px rgba(0, 0, 0, 0.02), 0 4px 8px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.02)",
110
+ durationFast: "150ms",
111
+ durationNormal: "250ms",
112
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
113
+ },
114
+ dark: {
115
+ primary: "#0099ff",
116
+ primaryContrast: "#ffffff",
117
+ background: "#040404",
118
+ surface: "#111112",
119
+ surfaceHover: "#191919",
120
+ text: "#ffffff",
121
+ textDimmed: "#c1c2c5",
122
+ textSubtle: "#999999",
123
+ border: "#1C1C1C",
124
+ error: "#ff5252",
125
+ warning: "#ff9800",
126
+ success: "#4caf50",
127
+ glassBackground: "rgba(15, 15, 15, 0.6)",
128
+ glassBlur: "blur(10px)",
129
+ shadow: "0px 3px 6px -2px rgba(0, 0, 0, .9)",
130
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.2), 0 8px 16px rgba(0, 0, 0, 0.2)",
131
+ durationFast: "150ms",
132
+ durationNormal: "250ms",
133
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
134
+ }
135
+ };
136
+
137
+ // src/theme/presets/tactical.ts
138
+ var tacticalPreset = {
139
+ light: {
140
+ primary: "#0099ff",
141
+ primaryContrast: "#ffffff",
142
+ background: "#EAEBEE",
143
+ surface: "#F3F3F6",
144
+ surfaceHover: "#DFDFE4",
145
+ text: "#0F1319",
146
+ textDimmed: "#3B4559",
147
+ textSubtle: "#5D677B",
148
+ border: "#C5CCD6",
149
+ error: "#D32F2F",
150
+ warning: "#ED6C02",
151
+ success: "#2E7D32",
152
+ glassBackground: "rgba(243, 243, 246, 0.6)",
153
+ glassBlur: "blur(14px)",
154
+ shadow: "0px 2px 4px -2px rgba(15, 19, 25, 0.12)",
155
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(15, 19, 25, 0.06), 0 4px 8px rgba(15, 19, 25, 0.04)",
156
+ durationFast: "100ms",
157
+ durationNormal: "180ms",
158
+ easing: "cubic-bezier(0.22, 0, 0.1, 1)"
159
+ },
160
+ dark: {
161
+ primary: "#0099ff",
162
+ primaryContrast: "#ffffff",
163
+ background: "#020305",
164
+ surface: "#0E0F14",
165
+ surfaceHover: "#16171D",
166
+ text: "#EFF2F7",
167
+ textDimmed: "#B0BCD2",
168
+ textSubtle: "#8898AE",
169
+ border: "#181C2D",
170
+ error: "#FF4757",
171
+ warning: "#FFA502",
172
+ success: "#2ED573",
173
+ glassBackground: "rgba(13, 14, 18, 0.58)",
174
+ glassBlur: "blur(16px)",
175
+ shadow: "0px 2px 6px -2px rgba(0, 0, 0, 0.9)",
176
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.28), 0 8px 16px rgba(0, 0, 0, 0.18)",
177
+ durationFast: "100ms",
178
+ durationNormal: "180ms",
179
+ easing: "cubic-bezier(0.22, 0, 0.1, 1)"
180
+ },
181
+ subtitleFontFamily: '"Chakra Petch", sans-serif',
182
+ mantine: {
183
+ fontFamily: '"Chakra Petch", sans-serif',
184
+ headings: {
185
+ fontFamily: '"Chakra Petch", sans-serif'
186
+ }
187
+ },
188
+ fontImports: ["https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap"]
189
+ };
190
+
191
+ // src/theme/presets/regal.ts
192
+ var regalPreset = {
193
+ light: {
194
+ primary: "#B8922F",
195
+ primaryContrast: "#ffffff",
196
+ background: "#F0F0F2",
197
+ surface: "#F7F7F8",
198
+ surfaceHover: "#E9E9EB",
199
+ text: "#2E2E30",
200
+ textDimmed: "#50505A",
201
+ textSubtle: "#8E8E96",
202
+ border: "#CCCCD2",
203
+ error: "#A83232",
204
+ warning: "#B87A1A",
205
+ success: "#3A7A3A",
206
+ glassBackground: "rgba(247, 247, 248, 0.6)",
207
+ glassBlur: "blur(12px)",
208
+ shadow: "0px 2px 6px -2px rgba(20, 20, 20, 0.12)",
209
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(20, 20, 20, 0.06), 0 4px 8px rgba(20, 20, 20, 0.04)",
210
+ durationFast: "180ms",
211
+ durationNormal: "320ms",
212
+ easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
213
+ },
214
+ dark: {
215
+ primary: "#D4A843",
216
+ primaryContrast: "#1A1400",
217
+ background: "#000000",
218
+ surface: "#0E0E0E",
219
+ surfaceHover: "#181818",
220
+ text: "#F5EEE0",
221
+ textDimmed: "#C8BA98",
222
+ textSubtle: "#A89880",
223
+ border: "#1D1D1D",
224
+ error: "#E05252",
225
+ warning: "#D4943C",
226
+ success: "#4AA84A",
227
+ glassBackground: "rgba(14, 14, 14, 0.6)",
228
+ glassBlur: "blur(14px)",
229
+ shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
230
+ cardShadow: "inset 0 1px 0 rgba(212, 168, 67, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
231
+ durationFast: "180ms",
232
+ durationNormal: "320ms",
233
+ easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
234
+ },
235
+ subtitleFontFamily: '"Raleway", sans-serif',
236
+ mantine: {
237
+ defaultRadius: "xs",
238
+ fontFamily: '"Inter", sans-serif',
239
+ headings: {
240
+ fontFamily: '"Cinzel", serif',
241
+ fontWeight: "600"
242
+ }
243
+ },
244
+ fontImports: [
245
+ "https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&display=swap",
246
+ "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",
247
+ "https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap"
248
+ ]
249
+ };
250
+
251
+ // src/theme/presets/cyber-volt.ts
252
+ var cyberVoltPreset = {
253
+ light: {
254
+ primary: "#0097A7",
255
+ primaryContrast: "#ffffff",
256
+ background: "#E0E6EE",
257
+ surface: "#EAEDF3",
258
+ surfaceHover: "#D6DCE6",
259
+ text: "#0A0E14",
260
+ textDimmed: "#2E3A4D",
261
+ textSubtle: "#556680",
262
+ border: "#B0BCD0",
263
+ error: "#FF1744",
264
+ warning: "#FF9100",
265
+ success: "#00E676",
266
+ glassBackground: "rgba(234, 238, 244, 0.6)",
267
+ glassBlur: "blur(14px)",
268
+ shadow: "0px 2px 4px -2px rgba(0, 151, 167, 0.08)",
269
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04)",
270
+ durationFast: "80ms",
271
+ durationNormal: "160ms",
272
+ easing: "cubic-bezier(0.16, 1, 0.3, 1)"
273
+ },
274
+ dark: {
275
+ primary: "#00ACC1",
276
+ primaryContrast: "#ffffff",
277
+ background: "#030506",
278
+ surface: "#0E1520",
279
+ surfaceHover: "#16202E",
280
+ text: "#E0F7FA",
281
+ textDimmed: "#80DEEA",
282
+ textSubtle: "#68C8BE",
283
+ border: "#192232",
284
+ error: "#FF1744",
285
+ warning: "#FF9100",
286
+ success: "#00E676",
287
+ glassBackground: "rgba(12, 20, 30, 0.57)",
288
+ glassBlur: "blur(18px)",
289
+ shadow: "0px 2px 8px -2px rgba(0, 229, 255, 0.15)",
290
+ cardShadow: "inset 0 1px 0 rgba(0, 229, 255, 0.05), 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 229, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.25)",
291
+ durationFast: "80ms",
292
+ durationNormal: "160ms",
293
+ easing: "cubic-bezier(0.16, 1, 0.3, 1)"
294
+ },
295
+ subtitleFontFamily: '"Exo 2", sans-serif',
296
+ mantine: {
297
+ fontFamily: '"JetBrains Mono", monospace',
298
+ headings: {
299
+ fontFamily: '"Orbitron", sans-serif'
300
+ },
301
+ components: {
302
+ Title: {
303
+ styles: { root: { letterSpacing: "-0.05em" } }
304
+ }
305
+ }
306
+ },
307
+ fontImports: [
308
+ "https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap",
309
+ "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap",
310
+ "https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&display=swap"
311
+ ]
312
+ };
313
+
314
+ // src/theme/presets/aurora.ts
315
+ var auroraPreset = {
316
+ light: {
317
+ primary: "#00897B",
318
+ primaryContrast: "#ffffff",
319
+ background: "#EFF5F3",
320
+ surface: "#F5FAF8",
321
+ surfaceHover: "#E4EDEA",
322
+ text: "#1A2E28",
323
+ textDimmed: "#3D5E54",
324
+ textSubtle: "#507368",
325
+ border: "#C4D9D2",
326
+ error: "#E53935",
327
+ warning: "#FB8C00",
328
+ success: "#43A047",
329
+ glassBackground: "rgba(245, 250, 248, 0.6)",
330
+ glassBlur: "blur(12px)",
331
+ shadow: "0px 2px 6px -2px rgba(0, 137, 123, 0.08)",
332
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.03)",
333
+ durationFast: "160ms",
334
+ durationNormal: "280ms",
335
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
336
+ },
337
+ dark: {
338
+ primary: "#00A88A",
339
+ primaryContrast: "#ffffff",
340
+ background: "#020807",
341
+ surface: "#0C1612",
342
+ surfaceHover: "#1A2C28",
343
+ text: "#E0F2F1",
344
+ textDimmed: "#80CBC4",
345
+ textSubtle: "#68C8BE",
346
+ border: "#1A2D28",
347
+ error: "#FF5252",
348
+ warning: "#FFB74D",
349
+ success: "#69F0AE",
350
+ glassBackground: "rgba(12, 20, 18, 0.7)",
351
+ glassBlur: "blur(14px)",
352
+ shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.9)",
353
+ cardShadow: "inset 0 1px 0 rgba(29, 233, 182, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.18)",
354
+ durationFast: "160ms",
355
+ durationNormal: "280ms",
356
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
357
+ },
358
+ subtitleFontFamily: '"Nunito", sans-serif',
359
+ mantine: {
360
+ defaultRadius: "sm",
361
+ fontFamily: '"Nunito", sans-serif',
362
+ headings: {
363
+ fontFamily: '"Nunito", sans-serif',
364
+ fontWeight: "700"
365
+ }
366
+ },
367
+ fontImports: ["https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&display=swap"]
368
+ };
369
+
370
+ // src/theme/presets/rose-gold.ts
371
+ var roseGoldPreset = {
372
+ light: {
373
+ primary: "#A8695E",
374
+ primaryContrast: "#ffffff",
375
+ background: "#F4F0EE",
376
+ surface: "#FAF6F5",
377
+ surfaceHover: "#EDE6E4",
378
+ text: "#2D2325",
379
+ textDimmed: "#5A4448",
380
+ textSubtle: "#9A848A",
381
+ border: "#DDD0CC",
382
+ error: "#C62828",
383
+ warning: "#E65100",
384
+ success: "#2E7D32",
385
+ glassBackground: "rgba(250, 246, 245, 0.6)",
386
+ glassBlur: "blur(12px)",
387
+ shadow: "0px 2px 6px -2px rgba(192, 122, 110, 0.1)",
388
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(45, 35, 37, 0.05), 0 4px 8px rgba(45, 35, 37, 0.04)",
389
+ durationFast: "160ms",
390
+ durationNormal: "300ms",
391
+ easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
392
+ },
393
+ dark: {
394
+ primary: "#C8897C",
395
+ primaryContrast: "#2D1A16",
396
+ background: "#070405",
397
+ surface: "#161011",
398
+ surfaceHover: "#221A1C",
399
+ text: "#F5E8E6",
400
+ textDimmed: "#D8B8B2",
401
+ textSubtle: "#B89A94",
402
+ border: "#2A1E20",
403
+ error: "#EF5350",
404
+ warning: "#FF8A65",
405
+ success: "#66BB6A",
406
+ glassBackground: "rgba(22, 16, 17, 0.65)",
407
+ glassBlur: "blur(14px)",
408
+ shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
409
+ cardShadow: "inset 0 1px 0 rgba(232, 165, 152, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
410
+ durationFast: "160ms",
411
+ durationNormal: "300ms",
412
+ easing: "cubic-bezier(0.25, 0.1, 0.25, 1)"
413
+ },
414
+ subtitleFontFamily: '"Lora", serif',
415
+ mantine: {
416
+ defaultRadius: "sm",
417
+ fontFamily: '"DM Sans", sans-serif',
418
+ headings: {
419
+ fontFamily: '"Playfair Display", serif',
420
+ fontWeight: "600"
421
+ }
422
+ },
423
+ fontImports: [
424
+ "https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap",
425
+ "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap",
426
+ "https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap"
427
+ ]
428
+ };
429
+
430
+ // src/theme/presets/midnight.ts
431
+ var midnightPreset = {
432
+ light: {
433
+ primary: "#7C4DFF",
434
+ primaryContrast: "#ffffff",
435
+ background: "#EEEDF4",
436
+ surface: "#F5F4FA",
437
+ surfaceHover: "#E3E1ED",
438
+ text: "#1A1528",
439
+ textDimmed: "#4A4260",
440
+ textSubtle: "#7A7294",
441
+ border: "#CCC8DA",
442
+ error: "#D32F2F",
443
+ warning: "#F57C00",
444
+ success: "#388E3C",
445
+ glassBackground: "rgba(245, 244, 250, 0.6)",
446
+ glassBlur: "blur(12px)",
447
+ shadow: "0px 2px 6px -2px rgba(124, 77, 255, 0.08)",
448
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(26, 21, 40, 0.05), 0 4px 8px rgba(26, 21, 40, 0.04)",
449
+ durationFast: "140ms",
450
+ durationNormal: "260ms",
451
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
452
+ },
453
+ dark: {
454
+ primary: "#9575CD",
455
+ primaryContrast: "#1A1528",
456
+ background: "#030208",
457
+ surface: "#110F1B",
458
+ surfaceHover: "#1E1A2C",
459
+ text: "#EDE7F6",
460
+ textDimmed: "#C0AAE5",
461
+ textSubtle: "#A898D0",
462
+ border: "#1E1A30",
463
+ error: "#FF5252",
464
+ warning: "#FFB74D",
465
+ success: "#69F0AE",
466
+ glassBackground: "rgba(16, 14, 26, 0.65)",
467
+ glassBlur: "blur(16px)",
468
+ shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
469
+ cardShadow: "inset 0 1px 0 rgba(179, 136, 255, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
470
+ durationFast: "140ms",
471
+ durationNormal: "260ms",
472
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
473
+ },
474
+ subtitleFontFamily: '"Red Hat Display", sans-serif',
475
+ mantine: {
476
+ defaultRadius: "xs",
477
+ fontFamily: '"Space Grotesk", sans-serif',
478
+ headings: {
479
+ fontFamily: '"Raleway", sans-serif',
480
+ fontWeight: "600"
481
+ },
482
+ components: {
483
+ Title: {
484
+ styles: { root: { letterSpacing: "-0.02em" } }
485
+ }
486
+ }
487
+ },
488
+ fontImports: [
489
+ "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap",
490
+ "https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap",
491
+ "https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;600;700&display=swap"
492
+ ]
493
+ };
494
+
495
+ // src/theme/presets/ember.ts
496
+ var emberPreset = {
497
+ light: {
498
+ primary: "#D4603A",
499
+ primaryContrast: "#ffffff",
500
+ background: "#F3EFEB",
501
+ surface: "#F9F6F3",
502
+ surfaceHover: "#ECE6E0",
503
+ text: "#2C2118",
504
+ textDimmed: "#5E4A3A",
505
+ textSubtle: "#8D7A6A",
506
+ border: "#D6CABE",
507
+ error: "#C62828",
508
+ warning: "#E65100",
509
+ success: "#33691E",
510
+ glassBackground: "rgba(249, 246, 243, 0.6)",
511
+ glassBlur: "blur(12px)",
512
+ shadow: "0px 2px 6px -2px rgba(212, 96, 58, 0.08)",
513
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(44, 33, 24, 0.05), 0 4px 8px rgba(44, 33, 24, 0.04)",
514
+ durationFast: "150ms",
515
+ durationNormal: "280ms",
516
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
517
+ },
518
+ dark: {
519
+ primary: "#E87B55",
520
+ primaryContrast: "#1A0E08",
521
+ background: "#060302",
522
+ surface: "#15100D",
523
+ surfaceHover: "#1C1610",
524
+ text: "#F5EDE6",
525
+ textDimmed: "#D4B9A0",
526
+ textSubtle: "#B8A090",
527
+ border: "#2A211A",
528
+ error: "#EF5350",
529
+ warning: "#FF8A65",
530
+ success: "#8BC34A",
531
+ glassBackground: "rgba(20, 16, 12, 0.6)",
532
+ glassBlur: "blur(14px)",
533
+ shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
534
+ cardShadow: "inset 0 1px 0 rgba(232, 123, 85, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
535
+ durationFast: "150ms",
536
+ durationNormal: "280ms",
537
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
538
+ },
539
+ subtitleFontFamily: '"Source Serif 4", serif',
540
+ mantine: {
541
+ defaultRadius: "sm",
542
+ fontFamily: '"Source Sans 3", sans-serif',
543
+ headings: {
544
+ fontFamily: '"Libre Baskerville", serif',
545
+ fontWeight: "700"
546
+ }
547
+ },
548
+ fontImports: [
549
+ "https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap",
550
+ "https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap",
551
+ "https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;500;600;700&display=swap"
552
+ ]
553
+ };
554
+
555
+ // src/theme/presets/obsidian.ts
556
+ var obsidianPreset = {
557
+ light: {
558
+ primary: "#48484F",
559
+ primaryContrast: "#ffffff",
560
+ background: "#F2F2F4",
561
+ surface: "#FAFAFA",
562
+ surfaceHover: "#EDEDEF",
563
+ text: "#111114",
564
+ textDimmed: "#44444C",
565
+ textSubtle: "#78788A",
566
+ border: "#D8D8DC",
567
+ error: "#C62828",
568
+ warning: "#E65100",
569
+ success: "#2E7D32",
570
+ glassBackground: "rgba(250, 250, 250, 0.6)",
571
+ glassBlur: "blur(10px)",
572
+ shadow: "0px 2px 4px -2px rgba(0, 0, 0, 0.1)",
573
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.03)",
574
+ durationFast: "120ms",
575
+ durationNormal: "220ms",
576
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
577
+ },
578
+ dark: {
579
+ primary: "#808088",
580
+ primaryContrast: "#F0F0F2",
581
+ background: "#030304",
582
+ surface: "#111113",
583
+ surfaceHover: "#1C1C20",
584
+ text: "#F0F0F2",
585
+ textDimmed: "#B0B0B8",
586
+ textSubtle: "#A0A0A8",
587
+ border: "#1E1E22",
588
+ error: "#FF5252",
589
+ warning: "#FF9800",
590
+ success: "#4CAF50",
591
+ glassBackground: "rgba(16, 16, 17, 0.55)",
592
+ glassBlur: "blur(12px)",
593
+ shadow: "0px 3px 6px -2px rgba(0, 0, 0, 0.9)",
594
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.18)",
595
+ durationFast: "120ms",
596
+ durationNormal: "220ms",
597
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
598
+ },
599
+ subtitleFontFamily: '"DM Sans", sans-serif',
600
+ mantine: {
601
+ fontFamily: '"DM Sans", sans-serif',
602
+ headings: {
603
+ fontFamily: '"DM Mono", monospace',
604
+ fontWeight: "500"
605
+ }
606
+ },
607
+ fontImports: [
608
+ "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&display=swap",
609
+ "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap"
610
+ ]
611
+ };
612
+
613
+ // src/theme/presets/honey.ts
614
+ var honeyPreset = {
615
+ light: {
616
+ primary: "#A06A08",
617
+ primaryContrast: "#ffffff",
618
+ background: "#F5F0E8",
619
+ surface: "#FBF7F0",
620
+ surfaceHover: "#EDE5D8",
621
+ text: "#2A1F0A",
622
+ textDimmed: "#5C4820",
623
+ textSubtle: "#8A7450",
624
+ border: "#E0D0B0",
625
+ error: "#C62828",
626
+ warning: "#E65100",
627
+ success: "#33691E",
628
+ glassBackground: "rgba(251, 247, 240, 0.6)",
629
+ glassBlur: "blur(12px)",
630
+ shadow: "0px 2px 6px -2px rgba(160, 106, 8, 0.1)",
631
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(42, 31, 10, 0.05), 0 4px 8px rgba(42, 31, 10, 0.04)",
632
+ durationFast: "140ms",
633
+ durationNormal: "260ms",
634
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
635
+ },
636
+ dark: {
637
+ primary: "#E8A820",
638
+ primaryContrast: "#1A1200",
639
+ background: "#060400",
640
+ surface: "#141108",
641
+ surfaceHover: "#1C1808",
642
+ text: "#FDF0D0",
643
+ textDimmed: "#D8C070",
644
+ textSubtle: "#B8A060",
645
+ border: "#2A2210",
646
+ error: "#EF5350",
647
+ warning: "#FF8A65",
648
+ success: "#8BC34A",
649
+ glassBackground: "rgba(22, 19, 9, 0.6)",
650
+ glassBlur: "blur(14px)",
651
+ shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
652
+ cardShadow: "inset 0 1px 0 rgba(232, 168, 32, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
653
+ durationFast: "140ms",
654
+ durationNormal: "260ms",
655
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
656
+ },
657
+ subtitleFontFamily: '"Outfit", sans-serif',
658
+ mantine: {
659
+ defaultRadius: "sm",
660
+ fontFamily: '"Inter", sans-serif',
661
+ headings: {
662
+ fontFamily: '"Syne", sans-serif'
663
+ },
664
+ components: {
665
+ Title: {
666
+ styles: { root: { letterSpacing: "-0.06em" } }
667
+ }
668
+ }
669
+ },
670
+ fontImports: [
671
+ "https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&display=swap",
672
+ "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",
673
+ "https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap"
674
+ ]
675
+ };
676
+
677
+ // src/theme/presets/abyss.ts
678
+ var abyssPreset = {
679
+ light: {
680
+ primary: "#0A70B0",
681
+ primaryContrast: "#ffffff",
682
+ background: "#EDF1F5",
683
+ surface: "#F3F7FA",
684
+ surfaceHover: "#E0E8EE",
685
+ text: "#0A1828",
686
+ textDimmed: "#2A4060",
687
+ textSubtle: "#5A7890",
688
+ border: "#C0CED8",
689
+ error: "#D32F2F",
690
+ warning: "#F57C00",
691
+ success: "#388E3C",
692
+ glassBackground: "rgba(243, 247, 250, 0.6)",
693
+ glassBlur: "blur(12px)",
694
+ shadow: "0px 2px 6px -2px rgba(10, 112, 176, 0.08)",
695
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(10, 24, 40, 0.05), 0 4px 8px rgba(10, 24, 40, 0.04)",
696
+ durationFast: "130ms",
697
+ durationNormal: "240ms",
698
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
699
+ },
700
+ dark: {
701
+ primary: "#1090D8",
702
+ primaryContrast: "#ffffff",
703
+ background: "#010508",
704
+ surface: "#07101A",
705
+ surfaceHover: "#122838",
706
+ text: "#E4F0FC",
707
+ textDimmed: "#A0C8E8",
708
+ textSubtle: "#78A8C0",
709
+ border: "#0F2030",
710
+ error: "#FF5252",
711
+ warning: "#FFB74D",
712
+ success: "#69F0AE",
713
+ glassBackground: "rgba(5, 18, 26, 0.65)",
714
+ glassBlur: "blur(16px)",
715
+ shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
716
+ cardShadow: "inset 0 1px 0 rgba(16, 144, 216, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
717
+ durationFast: "130ms",
718
+ durationNormal: "240ms",
719
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
720
+ },
721
+ subtitleFontFamily: '"Outfit", sans-serif',
722
+ mantine: {
723
+ defaultRadius: "sm",
724
+ fontFamily: '"Outfit", sans-serif',
725
+ headings: {
726
+ fontFamily: '"Outfit", sans-serif',
727
+ fontWeight: "700"
728
+ }
729
+ },
730
+ fontImports: ["https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap"]
731
+ };
732
+
733
+ // src/theme/presets/canopy.ts
734
+ var canopyPreset = {
735
+ light: {
736
+ primary: "#2E7A40",
737
+ primaryContrast: "#ffffff",
738
+ background: "#EDF3EE",
739
+ surface: "#F4F8F5",
740
+ surfaceHover: "#E0EBE2",
741
+ text: "#0F2415",
742
+ textDimmed: "#2D5235",
743
+ textSubtle: "#5A7D62",
744
+ border: "#C0D4C4",
745
+ error: "#C62828",
746
+ warning: "#E65100",
747
+ success: "#33691E",
748
+ glassBackground: "rgba(244, 248, 245, 0.6)",
749
+ glassBlur: "blur(12px)",
750
+ shadow: "0px 2px 6px -2px rgba(46, 122, 64, 0.08)",
751
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(15, 36, 21, 0.05), 0 4px 8px rgba(15, 36, 21, 0.04)",
752
+ durationFast: "150ms",
753
+ durationNormal: "280ms",
754
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
755
+ },
756
+ dark: {
757
+ primary: "#4AA860",
758
+ primaryContrast: "#ffffff",
759
+ background: "#030705",
760
+ surface: "#0B150F",
761
+ surfaceHover: "#162818",
762
+ text: "#E0F0E4",
763
+ textDimmed: "#98C8A4",
764
+ textSubtle: "#80A090",
765
+ border: "#142018",
766
+ error: "#EF5350",
767
+ warning: "#FF8A65",
768
+ success: "#8BC34A",
769
+ glassBackground: "rgba(16, 23, 18, 0.6)",
770
+ glassBlur: "blur(14px)",
771
+ shadow: "0px 3px 8px -2px rgba(0, 0, 0, 0.95)",
772
+ cardShadow: "inset 0 1px 0 rgba(74, 168, 96, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2)",
773
+ durationFast: "150ms",
774
+ durationNormal: "280ms",
775
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
776
+ },
777
+ subtitleFontFamily: '"Lora", serif',
778
+ mantine: {
779
+ defaultRadius: "sm",
780
+ fontFamily: '"Lato", sans-serif',
781
+ headings: {
782
+ fontFamily: '"Fraunces", serif',
783
+ fontWeight: "600"
784
+ }
785
+ },
786
+ fontImports: [
787
+ "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&display=swap",
788
+ "https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap",
789
+ "https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap"
790
+ ]
791
+ };
792
+
793
+ // src/theme/presets/slate.ts
794
+ var slatePreset = {
795
+ light: {
796
+ primary: "#4A6E8E",
797
+ primaryContrast: "#ffffff",
798
+ background: "#ECEEF0",
799
+ surface: "#F3F4F6",
800
+ surfaceHover: "#E0E3E7",
801
+ text: "#161C22",
802
+ textDimmed: "#404C58",
803
+ textSubtle: "#6A7A88",
804
+ border: "#C8D0D8",
805
+ error: "#D32F2F",
806
+ warning: "#F57C00",
807
+ success: "#388E3C",
808
+ glassBackground: "rgba(243, 244, 246, 0.6)",
809
+ glassBlur: "blur(10px)",
810
+ shadow: "0px 2px 4px -2px rgba(74, 110, 142, 0.08)",
811
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(22, 28, 34, 0.05), 0 4px 8px rgba(22, 28, 34, 0.04)",
812
+ durationFast: "110ms",
813
+ durationNormal: "200ms",
814
+ easing: "cubic-bezier(0.22, 0, 0.1, 1)"
815
+ },
816
+ dark: {
817
+ primary: "#6A8FAD",
818
+ primaryContrast: "#0E1218",
819
+ background: "#010305",
820
+ surface: "#0E1218",
821
+ surfaceHover: "#1C2830",
822
+ text: "#E8F0F8",
823
+ textDimmed: "#A8C4DC",
824
+ textSubtle: "#80A0B0",
825
+ border: "#182028",
826
+ error: "#FF5252",
827
+ warning: "#FFB74D",
828
+ success: "#69F0AE",
829
+ glassBackground: "rgba(12, 16, 22, 0.65)",
830
+ glassBlur: "blur(14px)",
831
+ shadow: "0px 3px 6px -2px rgba(0, 0, 0, 0.9)",
832
+ cardShadow: "inset 0 1px 0 rgba(123, 158, 188, 0.04), 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.18)",
833
+ durationFast: "110ms",
834
+ durationNormal: "200ms",
835
+ easing: "cubic-bezier(0.22, 0, 0.1, 1)"
836
+ },
837
+ subtitleFontFamily: '"Quantico", sans-serif',
838
+ mantine: {
839
+ fontFamily: '"IBM Plex Sans", sans-serif',
840
+ headings: {
841
+ fontFamily: '"Quantico", sans-serif',
842
+ fontWeight: "600"
843
+ }
844
+ },
845
+ fontImports: [
846
+ "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap",
847
+ "https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap"
848
+ ]
849
+ };
850
+
851
+ // src/theme/presets/cyber-strike.ts
852
+ var cyberStrikePreset = {
853
+ light: {
854
+ primary: "#FF1744",
855
+ primaryContrast: "#ffffff",
856
+ background: "#EBE0E3",
857
+ surface: "#F3EAEB",
858
+ surfaceHover: "#E4D6DB",
859
+ text: "#140A0C",
860
+ textDimmed: "#4D2E35",
861
+ textSubtle: "#805560",
862
+ border: "#CCB0B8",
863
+ error: "#FF1744",
864
+ warning: "#FF9100",
865
+ success: "#00E676",
866
+ glassBackground: "rgba(242, 234, 236, 0.6)",
867
+ glassBlur: "blur(14px)",
868
+ shadow: "0px 2px 4px -2px rgba(255, 23, 68, 0.08)",
869
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04)",
870
+ durationFast: "80ms",
871
+ durationNormal: "160ms",
872
+ easing: "cubic-bezier(0.16, 1, 0.3, 1)"
873
+ },
874
+ dark: {
875
+ primary: "#FF1744",
876
+ primaryContrast: "#ffffff",
877
+ background: "#060404",
878
+ surface: "#180C10",
879
+ surfaceHover: "#26181E",
880
+ text: "#FAE0E4",
881
+ textDimmed: "#F0A0B0",
882
+ textSubtle: "#D08090",
883
+ border: "#33161D",
884
+ error: "#FF1744",
885
+ warning: "#FF9100",
886
+ success: "#00E676",
887
+ glassBackground: "rgba(23, 17, 21, 0.57)",
888
+ glassBlur: "blur(18px)",
889
+ shadow: "0px 2px 8px -2px rgba(255, 23, 68, 0.15)",
890
+ cardShadow: "inset 0 1px 0 rgba(255, 23, 68, 0.05), 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(255, 23, 68, 0.06), 0 8px 24px rgba(0, 0, 0, 0.25)",
891
+ durationFast: "80ms",
892
+ durationNormal: "160ms",
893
+ easing: "cubic-bezier(0.16, 1, 0.3, 1)"
894
+ },
895
+ subtitleFontFamily: '"Exo 2", sans-serif',
896
+ mantine: {
897
+ fontFamily: '"JetBrains Mono", monospace',
898
+ headings: {
899
+ fontFamily: '"Chakra Petch", sans-serif'
900
+ }
901
+ },
902
+ fontImports: [
903
+ "https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&display=swap",
904
+ "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap",
905
+ "https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&display=swap"
906
+ ]
907
+ };
908
+
909
+ // src/theme/presets/cyber-flux.ts
910
+ var cyberFluxPreset = {
911
+ light: {
912
+ primary: "#C49000",
913
+ primaryContrast: "#ffffff",
914
+ background: "#EBE8DF",
915
+ surface: "#F3EFEA",
916
+ surfaceHover: "#E4E0D5",
917
+ text: "#14120A",
918
+ textDimmed: "#4D462E",
919
+ textSubtle: "#807555",
920
+ border: "#CCC5B0",
921
+ error: "#FF1744",
922
+ warning: "#FF9100",
923
+ success: "#00E676",
924
+ glassBackground: "rgba(242, 240, 233, 0.6)",
925
+ glassBlur: "blur(14px)",
926
+ shadow: "0px 2px 4px -2px rgba(196, 144, 0, 0.08)",
927
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04)",
928
+ durationFast: "80ms",
929
+ durationNormal: "160ms",
930
+ easing: "cubic-bezier(0.16, 1, 0.3, 1)"
931
+ },
932
+ dark: {
933
+ primary: "#C8A600",
934
+ primaryContrast: "#141200",
935
+ background: "#050503",
936
+ surface: "#17140C",
937
+ surfaceHover: "#282318",
938
+ text: "#FAF5E0",
939
+ textDimmed: "#EAD580",
940
+ textSubtle: "#AC9E4D",
941
+ border: "#232105",
942
+ error: "#FF1744",
943
+ warning: "#FF9100",
944
+ success: "#00E676",
945
+ glassBackground: "rgba(21, 19, 12, 0.57)",
946
+ glassBlur: "blur(18px)",
947
+ shadow: "0px 2px 8px -2px rgba(255, 214, 0, 0.15)",
948
+ cardShadow: "inset 0 1px 0 rgba(255, 214, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(255, 214, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.25)",
949
+ durationFast: "80ms",
950
+ durationNormal: "160ms",
951
+ easing: "cubic-bezier(0.16, 1, 0.3, 1)"
952
+ },
953
+ subtitleFontFamily: '"Exo 2", sans-serif',
954
+ mantine: {
955
+ fontFamily: '"JetBrains Mono", monospace',
956
+ headings: {
957
+ fontFamily: '"Audiowide", sans-serif'
958
+ },
959
+ components: {
960
+ Title: {
961
+ styles: { root: { letterSpacing: "-0.05em" } }
962
+ }
963
+ }
964
+ },
965
+ fontImports: [
966
+ "https://fonts.googleapis.com/css2?family=Audiowide&display=swap",
967
+ "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap",
968
+ "https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&display=swap"
969
+ ]
970
+ };
971
+
972
+ // src/theme/presets/cyber-void.ts
973
+ var cyberVoidPreset = {
974
+ light: {
975
+ primary: "#2979FF",
976
+ primaryContrast: "#ffffff",
977
+ background: "#E0E5EE",
978
+ surface: "#EAEDF3",
979
+ surfaceHover: "#D6DBE5",
980
+ text: "#0A0D14",
981
+ textDimmed: "#2E374D",
982
+ textSubtle: "#556080",
983
+ border: "#B0B8CE",
984
+ error: "#FF1744",
985
+ warning: "#FF9100",
986
+ success: "#00E676",
987
+ glassBackground: "rgba(238, 241, 248, 0.6)",
988
+ glassBlur: "blur(14px)",
989
+ shadow: "0px 2px 4px -2px rgba(41, 121, 255, 0.08)",
990
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04)",
991
+ durationFast: "80ms",
992
+ durationNormal: "160ms",
993
+ easing: "cubic-bezier(0.16, 1, 0.3, 1)"
994
+ },
995
+ dark: {
996
+ primary: "#2979FF",
997
+ primaryContrast: "#ffffff",
998
+ background: "#030507",
999
+ surface: "#0E131E",
1000
+ surfaceHover: "#161E2C",
1001
+ text: "#E0EAFA",
1002
+ textDimmed: "#99BBEE",
1003
+ textSubtle: "#80A0D0",
1004
+ border: "#192033",
1005
+ error: "#FF1744",
1006
+ warning: "#FF9100",
1007
+ success: "#00E676",
1008
+ glassBackground: "rgba(14, 19, 30, 0.57)",
1009
+ glassBlur: "blur(18px)",
1010
+ shadow: "0px 2px 8px -2px rgba(41, 121, 255, 0.15)",
1011
+ cardShadow: "inset 0 1px 0 rgba(41, 121, 255, 0.05), 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(41, 121, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.25)",
1012
+ durationFast: "80ms",
1013
+ durationNormal: "160ms",
1014
+ easing: "cubic-bezier(0.16, 1, 0.3, 1)"
1015
+ },
1016
+ subtitleFontFamily: '"Exo 2", sans-serif',
1017
+ mantine: {
1018
+ fontFamily: '"JetBrains Mono", monospace',
1019
+ headings: {
1020
+ fontFamily: '"Share Tech Mono", monospace',
1021
+ fontWeight: "400"
1022
+ }
1023
+ },
1024
+ fontImports: [
1025
+ "https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap",
1026
+ "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap",
1027
+ "https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&display=swap"
1028
+ ]
1029
+ };
1030
+
1031
+ // src/theme/presets/index.ts
1032
+ var PRESETS = {
1033
+ default: defaultPreset,
1034
+ tactical: tacticalPreset,
1035
+ regal: regalPreset,
1036
+ "cyber-volt": cyberVoltPreset,
1037
+ aurora: auroraPreset,
1038
+ "rose-gold": roseGoldPreset,
1039
+ midnight: midnightPreset,
1040
+ ember: emberPreset,
1041
+ obsidian: obsidianPreset,
1042
+ honey: honeyPreset,
1043
+ abyss: abyssPreset,
1044
+ canopy: canopyPreset,
1045
+ slate: slatePreset,
1046
+ "cyber-strike": cyberStrikePreset,
1047
+ "cyber-flux": cyberFluxPreset,
1048
+ "cyber-void": cyberVoidPreset
1049
+ };
1050
+ function getPreset(name) {
1051
+ return PRESETS[name] ?? PRESETS.default;
1052
+ }
1053
+
1054
+ // src/theme/cssVariables.ts
1055
+ var TOKEN_VAR_MAP = {
1056
+ primary: "--color-primary",
1057
+ primaryContrast: "--color-primary-contrast",
1058
+ background: "--color-background",
1059
+ surface: "--color-surface",
1060
+ surfaceHover: "--color-surface-hover",
1061
+ text: "--color-text",
1062
+ textDimmed: "--color-text-dimmed",
1063
+ textSubtle: "--color-text-subtle",
1064
+ border: "--color-border",
1065
+ error: "--color-error",
1066
+ warning: "--color-warning",
1067
+ success: "--color-success",
1068
+ glassBackground: "--glass-background",
1069
+ glassBlur: "--glass-blur",
1070
+ shadow: "--standard-box-shadow",
1071
+ cardShadow: "--card-shadow",
1072
+ durationFast: "--duration-fast",
1073
+ durationNormal: "--duration-normal",
1074
+ easing: "--easing"
1075
+ };
1076
+ var FRAMEWORK_BRIDGE = {
1077
+ "--mantine-color-text": "var(--color-text)",
1078
+ "--mantine-color-body": "var(--color-background)",
1079
+ "--mantine-color-dimmed": "var(--color-text-dimmed)",
1080
+ // Primary color functional variants — used by Tabs, SegmentedControl, Badge, Button, etc.
1081
+ "--mantine-primary-color-filled": "var(--color-primary)",
1082
+ "--mantine-primary-color-filled-hover": "color-mix(in srgb, var(--color-primary) 90%, black)",
1083
+ "--mantine-primary-color-light": "color-mix(in srgb, var(--color-primary) 15%, transparent)",
1084
+ "--mantine-primary-color-light-hover": "color-mix(in srgb, var(--color-primary) 20%, transparent)",
1085
+ "--mantine-primary-color-light-color": "var(--color-primary)",
1086
+ "--mantine-primary-color-contrast": "var(--color-primary-contrast)",
1087
+ // Active/selected state — used by selectable cards, active filters, plan tiers, etc.
1088
+ "--active-border": "1px solid color-mix(in srgb, var(--color-primary) 40%, var(--color-border))",
1089
+ "--active-background": "color-mix(in srgb, var(--color-primary) 8%, var(--color-surface))"
1090
+ };
1091
+ function shadesToVars(shades) {
1092
+ const vars = {};
1093
+ for (let i = 0; i < shades.length; i++) {
1094
+ vars[`--mantine-color-primary-${i}`] = shades[i];
1095
+ }
1096
+ return vars;
1097
+ }
1098
+ function presetToVars(tokens) {
1099
+ const result = {};
1100
+ for (const [key, varName] of Object.entries(TOKEN_VAR_MAP)) {
1101
+ const value = tokens[key];
1102
+ if (value) result[varName] = value;
1103
+ }
1104
+ return result;
1105
+ }
1106
+ function mapTokens(tokens) {
1107
+ if (!tokens) return {};
1108
+ const result = {};
1109
+ for (const [key, varName] of Object.entries(TOKEN_VAR_MAP)) {
1110
+ const value = tokens[key];
1111
+ if (value) result[varName] = value;
1112
+ }
1113
+ return result;
1114
+ }
1115
+ function createCssVariablesResolver(tokens, preset) {
1116
+ const resolved = getPreset(preset ?? "default");
1117
+ const lightDefaults = presetToVars(resolved.light);
1118
+ const darkDefaults = presetToVars(resolved.dark);
1119
+ const flat = mapTokens(tokens);
1120
+ const light = mapTokens(tokens?.light);
1121
+ const dark = mapTokens(tokens?.dark);
1122
+ const lightPrimary = tokens?.light?.primary ?? tokens?.primary ?? resolved.light.primary;
1123
+ const darkPrimary = tokens?.dark?.primary ?? tokens?.primary ?? resolved.dark.primary;
1124
+ const lightShades = shadesToVars(generateShades(lightPrimary));
1125
+ const darkShades = shadesToVars(generateShades(darkPrimary));
1126
+ return () => ({
1127
+ variables: { ...FRAMEWORK_BRIDGE },
1128
+ light: { ...lightShades, ...lightDefaults, ...flat, ...light },
1129
+ dark: { ...darkShades, ...darkDefaults, ...flat, ...dark }
1130
+ });
1131
+ }
1132
+
1133
+ export { createCssVariablesResolver, generateShades, getPreset };