@elevasis/ui 2.21.0 → 2.22.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.
Files changed (81) hide show
  1. package/dist/app/index.js +2 -2
  2. package/dist/{chunk-DMYELNGA.js → chunk-3HEUGBOT.js} +1 -1
  3. package/dist/{chunk-KVW56ERD.js → chunk-AXXTN44Z.js} +5 -3
  4. package/dist/{chunk-7GG6OSD7.js → chunk-B4FHWKEF.js} +3354 -2918
  5. package/dist/{chunk-XLZZOFGM.js → chunk-BSZRKBAW.js} +275 -76
  6. package/dist/{chunk-CZK67OHH.js → chunk-COG4ABRI.js} +3 -3
  7. package/dist/{chunk-S7RL77QS.js → chunk-DDZOHLHB.js} +1 -1
  8. package/dist/{chunk-I5WRKH25.js → chunk-GJ7EIABJ.js} +1 -1
  9. package/dist/{chunk-LQU62KHD.js → chunk-IBUYJXA3.js} +1209 -705
  10. package/dist/{chunk-EDX6WIN3.js → chunk-IOTLB6ND.js} +3 -3
  11. package/dist/{chunk-GBMNCNHX.js → chunk-KVJ3LFH2.js} +3 -1
  12. package/dist/{chunk-VQESMHQV.js → chunk-LJWV4TWV.js} +1 -2
  13. package/dist/{chunk-EGKNRM6P.js → chunk-LKVBEE63.js} +2 -2
  14. package/dist/{chunk-BJWIKEQG.js → chunk-LVJGPE6H.js} +6 -14
  15. package/dist/{chunk-TIIPYB2Z.js → chunk-QZJM3RYI.js} +1 -1
  16. package/dist/{chunk-7YQKVWSD.js → chunk-SQ5JGELM.js} +25 -5
  17. package/dist/{chunk-RX4UWZZR.js → chunk-TKAYX2SP.js} +8 -3
  18. package/dist/{chunk-ATEHYDL3.js → chunk-WWJ6S2HQ.js} +6 -2
  19. package/dist/{chunk-Q5HC6ENG.js → chunk-XOTJNW4Q.js} +1 -1
  20. package/dist/{chunk-ULZ2B3NC.js → chunk-ZBCTB5CA.js} +1 -1
  21. package/dist/components/index.css +85 -85
  22. package/dist/components/index.d.ts +1646 -1381
  23. package/dist/components/index.js +236 -30
  24. package/dist/components/navigation/index.css +589 -0
  25. package/dist/components/navigation/index.js +3 -3
  26. package/dist/features/auth/index.css +2 -2
  27. package/dist/features/auth/index.d.ts +184 -3
  28. package/dist/features/crm/index.css +2 -2
  29. package/dist/features/crm/index.d.ts +189 -3
  30. package/dist/features/crm/index.js +10 -10
  31. package/dist/features/dashboard/index.css +2 -2
  32. package/dist/features/dashboard/index.js +9 -9
  33. package/dist/features/delivery/index.css +85 -85
  34. package/dist/features/delivery/index.d.ts +189 -3
  35. package/dist/features/delivery/index.js +10 -10
  36. package/dist/features/lead-gen/index.css +2 -2
  37. package/dist/features/lead-gen/index.d.ts +5 -0
  38. package/dist/features/lead-gen/index.js +10 -10
  39. package/dist/features/monitoring/index.css +85 -85
  40. package/dist/features/monitoring/index.d.ts +6 -1
  41. package/dist/features/monitoring/index.js +11 -11
  42. package/dist/features/monitoring/requests/index.css +2 -2
  43. package/dist/features/monitoring/requests/index.d.ts +5 -0
  44. package/dist/features/monitoring/requests/index.js +9 -9
  45. package/dist/features/operations/index.css +2 -2
  46. package/dist/features/operations/index.d.ts +7 -4
  47. package/dist/features/operations/index.js +12 -12
  48. package/dist/features/seo/index.d.ts +5 -0
  49. package/dist/features/settings/index.css +2 -2
  50. package/dist/features/settings/index.d.ts +210 -9
  51. package/dist/features/settings/index.js +11 -11
  52. package/dist/graph/index.css +2 -2
  53. package/dist/hooks/delivery/index.css +2 -2
  54. package/dist/hooks/delivery/index.d.ts +184 -3
  55. package/dist/hooks/index.css +85 -85
  56. package/dist/hooks/index.d.ts +1815 -1515
  57. package/dist/hooks/index.js +8 -8
  58. package/dist/hooks/published.css +85 -85
  59. package/dist/hooks/published.d.ts +1815 -1515
  60. package/dist/hooks/published.js +8 -8
  61. package/dist/index.css +12 -12
  62. package/dist/index.d.ts +322 -16
  63. package/dist/index.js +9 -9
  64. package/dist/initialization/index.d.ts +184 -3
  65. package/dist/layout/index.js +2 -2
  66. package/dist/organization/index.css +589 -0
  67. package/dist/organization/index.js +1 -1
  68. package/dist/profile/index.d.ts +184 -3
  69. package/dist/provider/index.css +384 -0
  70. package/dist/provider/index.d.ts +6 -0
  71. package/dist/provider/index.js +7 -7
  72. package/dist/provider/published.css +463 -0
  73. package/dist/provider/published.d.ts +6 -0
  74. package/dist/provider/published.js +4 -4
  75. package/dist/supabase/index.d.ts +359 -6
  76. package/dist/test-utils/index.d.ts +46 -2
  77. package/dist/test-utils/index.js +102 -1
  78. package/dist/theme/index.js +2 -2
  79. package/dist/types/index.d.ts +195 -6
  80. package/package.json +2 -2
  81. /package/dist/{chunk-6GUW5GGF.js → chunk-6Z3G4U2R.js} +0 -0
@@ -3,9 +3,9 @@ import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
3
3
  import { SubshellNavItem } from './chunk-CEWTOKE7.js';
4
4
  import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
5
5
  import { FilterBar } from './chunk-PDHTXPSF.js';
6
- import { CustomModal } from './chunk-GBMNCNHX.js';
7
- import { useDealTasksDue, useDealsLookup, useCreateDealTask, useDealsSummary, useDeleteDeal, usePaginationState, useDeals, useTableSort, sortData, useTableSelection, useDealDetail, useCompany } from './chunk-7GG6OSD7.js';
8
- import { SubshellContentContainer } from './chunk-RX4UWZZR.js';
6
+ import { CustomModal } from './chunk-KVJ3LFH2.js';
7
+ import { useDealTasksDue, useDealsLookup, useCreateDealTask, useDealsSummary, useDeleteDeal, usePaginationState, useDeals, useTableSort, sortData, useTableSelection, useDealDetail, useCompany } from './chunk-B4FHWKEF.js';
8
+ import { SubshellContentContainer } from './chunk-TKAYX2SP.js';
9
9
  import { CenteredErrorState, CardHeader, PageTitleCaption, EmptyState, ActivityTimeline } from './chunk-XUYBOO32.js';
10
10
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
11
11
  import { PAGE_SIZE_DEFAULT, formatTimeAgo } from './chunk-SGXXJE52.js';
@@ -3,8 +3,10 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
3
  import { cloneElement } from 'react';
4
4
 
5
5
  // src/components/modal/CustomModal.tsx
6
+ var FULL_SIZE = "80%";
6
7
  var CustomModal = ({ children, opened, onClose, loading, style, size }) => {
7
8
  const canClose = loading === true ? false : true;
9
+ const resolvedSize = size === "full" ? FULL_SIZE : size;
8
10
  return /* @__PURE__ */ jsx(
9
11
  Modal,
10
12
  {
@@ -16,7 +18,7 @@ var CustomModal = ({ children, opened, onClose, loading, style, size }) => {
16
18
  closeOnEscape: canClose,
17
19
  centered: true,
18
20
  style,
19
- size,
21
+ size: resolvedSize,
20
22
  children
21
23
  }
22
24
  );
@@ -38,7 +38,6 @@ function createFeatureAccessHook({
38
38
  };
39
39
  };
40
40
  }
41
- var createUseFeatureAccess = createFeatureAccessHook;
42
41
 
43
42
  // ../core/src/organization-model/helpers.ts
44
43
  function defaultPathFor(id) {
@@ -333,4 +332,4 @@ function ElevasisFeaturesProvider({
333
332
  return /* @__PURE__ */ jsx(ElevasisFeaturesContext.Provider, { value, children });
334
333
  }
335
334
 
336
- export { ElevasisFeaturesProvider, createFeatureAccessHook, createUseFeatureAccess, useElevasisFeatures, useOptionalElevasisFeatures };
335
+ export { ElevasisFeaturesProvider, createFeatureAccessHook, useElevasisFeatures, useOptionalElevasisFeatures };
@@ -2,9 +2,9 @@ import { ResourceHealthChart } from './chunk-LGKLC5MG.js';
2
2
  import { useCyberColors, HeroStatsRow } from './chunk-TSSKOQBX.js';
3
3
  import { AppShellCenteredContainer, AppShellLoader } from './chunk-M25JL54Z.js';
4
4
  import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-E4WQGJNS.js';
5
- import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-7GG6OSD7.js';
5
+ import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-B4FHWKEF.js';
6
6
  import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-22UVE3RA.js';
7
- import { glassBase } from './chunk-Q5HC6ENG.js';
7
+ import { glassBase } from './chunk-XOTJNW4Q.js';
8
8
  import { GlowDot, CardHeader, EmptyState, PageTitleCaption, TabCountBadge } from './chunk-XUYBOO32.js';
9
9
  import { formatTimeAgo, getTimeRangeDates, formatRelativeTime } from './chunk-SGXXJE52.js';
10
10
  import { ResourceStatusColors } from './chunk-KRWALB24.js';
@@ -4,10 +4,10 @@ import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
4
4
  import { SubshellNavItem } from './chunk-CEWTOKE7.js';
5
5
  import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
6
6
  import { FilterBar } from './chunk-PDHTXPSF.js';
7
- import { CustomModal } from './chunk-GBMNCNHX.js';
8
- import { useProjectRealtime, useTableSort, sortData, usePaginationState, useTableSelection, useProjectActivities } from './chunk-7GG6OSD7.js';
7
+ import { CustomModal } from './chunk-KVJ3LFH2.js';
8
+ import { useProjectRealtime, useTableSort, sortData, usePaginationState, useTableSelection, useProjectActivities } from './chunk-B4FHWKEF.js';
9
9
  import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote, showApiErrorNotification, projectKeys } from './chunk-Z6FAH4XV.js';
10
- import { SubshellContentContainer } from './chunk-RX4UWZZR.js';
10
+ import { SubshellContentContainer } from './chunk-TKAYX2SP.js';
11
11
  import { StatusBadge, EmptyState, PageTitleCaption, CenteredErrorState, StatCard, CardHeader } from './chunk-XUYBOO32.js';
12
12
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
13
13
  import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-SGXXJE52.js';
@@ -1097,7 +1097,7 @@ function renderMilestoneBullet(status) {
1097
1097
  function getMilestoneSurfaceStyles(status) {
1098
1098
  const normalizedStatus = status ?? "upcoming";
1099
1099
  const accent = normalizedStatus === "completed" ? "var(--color-primary)" : normalizedStatus === "in_progress" ? "color-mix(in srgb, var(--color-primary) 72%, white)" : "color-mix(in srgb, var(--color-primary) 36%, var(--color-border))";
1100
- const background = normalizedStatus === "completed" ? "var(--color-primary)" : normalizedStatus === "in_progress" ? "linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 3%, transparent) 0%, transparent 100%)" : "linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 1.5%, transparent) 0%, transparent 100%)";
1100
+ const background = normalizedStatus === "completed" ? "linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 1.5%, transparent) 0%, transparent 100%)" : normalizedStatus === "in_progress" ? "linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 3%, transparent) 0%, transparent 100%)" : "linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 1.5%, transparent) 0%, transparent 100%)";
1101
1101
  return {
1102
1102
  accent,
1103
1103
  background
@@ -1482,7 +1482,7 @@ function ProjectDetailPage({ projectId, onBack, backLabel = "Projects" }) {
1482
1482
  {
1483
1483
  fw: 700,
1484
1484
  size: "lg",
1485
- c: milestone.status === "completed" ? "var(--color-background)" : "var(--color-text)",
1485
+ c: "var(--color-text)",
1486
1486
  children: milestone.name
1487
1487
  }
1488
1488
  ),
@@ -1501,15 +1501,7 @@ function ProjectDetailPage({ projectId, onBack, backLabel = "Projects" }) {
1501
1501
  }
1502
1502
  )
1503
1503
  ] }),
1504
- milestone.description && /* @__PURE__ */ jsx(
1505
- Text,
1506
- {
1507
- size: "sm",
1508
- c: milestone.status === "completed" ? "color-mix(in srgb, var(--color-background) 82%, transparent)" : "var(--color-text-dimmed)",
1509
- maw: 900,
1510
- children: milestone.description
1511
- }
1512
- )
1504
+ milestone.description && /* @__PURE__ */ jsx(Text, { size: "sm", c: "var(--color-text-dimmed)", maw: 900, children: milestone.description })
1513
1505
  ] }),
1514
1506
  /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "wrap", children: [
1515
1507
  milestone.due_date && /* @__PURE__ */ jsxs(
@@ -1,4 +1,4 @@
1
- import { usePresetsContext } from './chunk-Q5HC6ENG.js';
1
+ import { usePresetsContext } from './chunk-XOTJNW4Q.js';
2
2
  import { useMemo } from 'react';
3
3
 
4
4
  var BUILT_IN_NAMES = /* @__PURE__ */ new Set([
@@ -1,10 +1,16 @@
1
1
  import { useUserProfile } from './chunk-QHSW4WHM.js';
2
2
  import { useAuthContext } from './chunk-BRJ3QZ4E.js';
3
3
  import { useState, useRef, useEffect, useCallback } from 'react';
4
- import { Button, Loader, Menu, Text, Badge } from '@mantine/core';
5
- import { IconChevronDown, IconBuilding, IconCheck } from '@tabler/icons-react';
4
+ import { Badge, Group, Button, Loader, Menu, Text } from '@mantine/core';
5
+ import { IconLock, IconChevronDown, IconBuilding, IconCheck } from '@tabler/icons-react';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
7
 
8
+ function RoleBadge({ name, isSystem }) {
9
+ return /* @__PURE__ */ jsx(Badge, { color: isSystem ? "gray" : "primary", variant: "light", children: /* @__PURE__ */ jsxs(Group, { gap: 4, wrap: "nowrap", children: [
10
+ isSystem && /* @__PURE__ */ jsx(IconLock, { size: 10 }),
11
+ name
12
+ ] }) });
13
+ }
8
14
  function OrganizationSwitcher({
9
15
  currentOrganization,
10
16
  memberships,
@@ -64,7 +70,14 @@ function OrganizationSwitcher({
64
70
  Menu.Item,
65
71
  {
66
72
  leftSection: /* @__PURE__ */ jsx(IconBuilding, { size: 14 }),
67
- rightSection: /* @__PURE__ */ jsx(Badge, { size: "xs", variant: "light", children: membership.role.slug }),
73
+ rightSection: /* @__PURE__ */ jsx(
74
+ RoleBadge,
75
+ {
76
+ slug: membership.role.slug,
77
+ name: membership.role.slug.charAt(0).toUpperCase() + membership.role.slug.slice(1),
78
+ isSystem: true
79
+ }
80
+ ),
68
81
  onClick: () => {
69
82
  const workosOrgId = membership.organization?.workos_org_id;
70
83
  if (!workosOrgId) {
@@ -84,7 +97,14 @@ function OrganizationSwitcher({
84
97
  Menu.Item,
85
98
  {
86
99
  leftSection: /* @__PURE__ */ jsx(IconBuilding, { size: 14 }),
87
- rightSection: /* @__PURE__ */ jsx(Badge, { size: "xs", variant: "light", children: membership.role.slug }),
100
+ rightSection: /* @__PURE__ */ jsx(
101
+ RoleBadge,
102
+ {
103
+ slug: membership.role.slug,
104
+ name: membership.role.slug.charAt(0).toUpperCase() + membership.role.slug.slice(1),
105
+ isSystem: true
106
+ }
107
+ ),
88
108
  onClick: () => {
89
109
  const workosOrgId = membership.organization?.workos_org_id;
90
110
  if (!workosOrgId) {
@@ -346,4 +366,4 @@ function createUseOrgInitialization(useOrganizations, useApiClient) {
346
366
  };
347
367
  }
348
368
 
349
- export { OrganizationSwitcher, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations };
369
+ export { OrganizationSwitcher, RoleBadge, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations };
@@ -79,9 +79,11 @@ var SubshellSidebar = ({
79
79
  borderRight: "1px solid var(--color-border)",
80
80
  boxShadow: "var(--card-shadow)",
81
81
  clipPath: "inset(-100px -100px -100px 0)",
82
- minHeight: `calc(100vh - ${topbarHeight}px)`,
82
+ height: `calc(100vh - ${topbarHeight}px)`,
83
+ minHeight: 0,
83
84
  marginTop: `${topbarHeight}px`,
84
- fontFamily: "var(--elevasis-font-family-subtitle)"
85
+ fontFamily: "var(--elevasis-font-family-subtitle)",
86
+ overflow: "hidden"
85
87
  },
86
88
  children
87
89
  }
@@ -94,7 +96,8 @@ var SubshellSidebar = ({
94
96
  position: "relative",
95
97
  flexShrink: 0,
96
98
  marginTop: `${topbarHeight}px`,
97
- minHeight: `calc(100vh - ${topbarHeight}px)`
99
+ height: `calc(100vh - ${topbarHeight}px)`,
100
+ minHeight: 0
98
101
  },
99
102
  children: [
100
103
  /* @__PURE__ */ jsx(
@@ -123,6 +126,8 @@ var SubshellSidebar = ({
123
126
  style: {
124
127
  width: `${width}px`,
125
128
  flexShrink: 0,
129
+ height: "100%",
130
+ minHeight: 0,
126
131
  display: "flex",
127
132
  flexDirection: "column",
128
133
  opacity: isOpen ? 1 : 0,
@@ -1,9 +1,9 @@
1
1
  import { CyberAreaChart, CostTrendChart, ActivityTrendChart } from './chunk-TSSKOQBX.js';
2
2
  import { AppShellLoader } from './chunk-M25JL54Z.js';
3
3
  import { FilterBar } from './chunk-PDHTXPSF.js';
4
- import { CustomModal } from './chunk-GBMNCNHX.js';
4
+ import { CustomModal } from './chunk-KVJ3LFH2.js';
5
5
  import { formatDuration } from './chunk-E4WQGJNS.js';
6
- import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useTimeRangeDates, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-7GG6OSD7.js';
6
+ import { useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useExecutionLogsFilters, useExecutionLogs, useExecutionHealth, useErrorAnalysis, useTimeRangeDates, useErrorDetail, useResolveErrorsByExecution, useResources, useCostTrends, useCostSummary, useCostByModel, useCostBreakdown, useActivityFilters, useActivityTrend, useActivities, useNotifications, useMarkAllAsRead, useTestNotification } from './chunk-B4FHWKEF.js';
7
7
  import { CenteredErrorState, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, EmptyState, PageTitleCaption, JsonViewer } from './chunk-XUYBOO32.js';
8
8
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
9
9
  import { formatBucketTime, PAGE_SIZE_DEFAULT, getTimeRangeDates } from './chunk-SGXXJE52.js';
@@ -175,6 +175,7 @@ var activityTypeLabels = {
175
175
  webhook_executed: "Webhook Out",
176
176
  webhook_failed: "Webhook Fail",
177
177
  credential_change: "Credential",
178
+ credential_read: "Credential Read",
178
179
  api_key_change: "API Key",
179
180
  deployment_change: "Deployment",
180
181
  membership_change: "Membership"
@@ -243,6 +244,7 @@ var activityTypeOptions = [
243
244
  { value: "webhook_executed", label: "Webhook Executed" },
244
245
  { value: "webhook_failed", label: "Webhook Failed" },
245
246
  { value: "credential_change", label: "Credential Changes" },
247
+ { value: "credential_read", label: "Credential Reads" },
246
248
  { value: "api_key_change", label: "API Key Changes" },
247
249
  { value: "deployment_change", label: "Deployment Changes" },
248
250
  { value: "membership_change", label: "Membership Changes" }
@@ -323,6 +325,7 @@ function getNavigationPath(activity) {
323
325
  case "hitl_action":
324
326
  return "/command-queue";
325
327
  case "credential_change":
328
+ case "credential_read":
326
329
  return "/settings/credentials";
327
330
  case "api_key_change":
328
331
  return "/settings/api-keys";
@@ -1599,6 +1602,7 @@ function getNavigationPath2(activity) {
1599
1602
  case "hitl_action":
1600
1603
  return "/operations/command-queue";
1601
1604
  case "credential_change":
1605
+ case "credential_read":
1602
1606
  return "/settings/credentials";
1603
1607
  case "api_key_change":
1604
1608
  return "/settings/api-keys";
@@ -129,7 +129,7 @@ var tacticalPreset = {
129
129
  Fragment,
130
130
  null,
131
131
  createElement(AppBackground, {
132
- gridGlowColor: "color-mix(in srgb, #5A6070 30%, transparent)",
132
+ gridGlowColor: "color-mix(in srgb, #5A5A5A 30%, transparent)",
133
133
  gridGlowIntensity: 50
134
134
  }),
135
135
  createElement(AmbientBloomGrid, { intensity: 0.07, color: "#5A6070", size: 1.2 })
@@ -1,4 +1,4 @@
1
- import { ElevasisFeaturesProvider } from './chunk-VQESMHQV.js';
1
+ import { ElevasisFeaturesProvider } from './chunk-LJWV4TWV.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
 
4
4
  function createTestFeaturesProvider({
@@ -125,83 +125,14 @@
125
125
  }
126
126
  }
127
127
 
128
- /* src/theme/custom.css */
129
- .mantine-Button-root[data-variant=default] {
130
- background-color: var(--color-surface);
131
- backdrop-filter: var(--glass-blur);
132
- -webkit-backdrop-filter: var(--glass-blur);
133
- border: 1px solid var(--color-border);
134
- color: var(--color-text);
135
- }
136
- .mantine-Button-root[data-variant=default]:hover {
137
- background-color: var(--color-surface-hover);
138
- }
139
- .mantine-Accordion-control:hover {
140
- background-color: var(--color-surface-hover);
141
- }
142
- .mantine-Menu-item:hover:not([data-disabled]) {
143
- background-color: var(--color-surface-hover);
144
- }
145
- .mantine-Select-option:hover {
146
- background-color: var(--color-surface-hover) !important;
147
- }
148
- [data-mantine-color-scheme=dark] .mantine-Tabs-root {
149
- --tab-border-color: var(--color-border);
150
- }
151
- .mantine-Tabs-tab:hover {
152
- background-color: var(--color-surface-hover);
153
- }
154
- .mantine-Pagination-control:not([data-active]) {
155
- background: var(--color-surface);
156
- }
157
- ::-webkit-scrollbar {
158
- width: 5px;
159
- height: 5px;
160
- }
161
- ::-webkit-scrollbar-track {
162
- background: transparent;
163
- }
164
- ::-webkit-scrollbar-thumb {
165
- background: color-mix(in srgb, var(--color-text-subtle) 50%, var(--color-border));
166
- border-radius: 4px;
167
- }
168
- ::-webkit-scrollbar-thumb:hover {
169
- background: var(--color-text-subtle);
170
- }
171
- .mantine-Checkbox-input {
172
- background-color: var(--color-surface);
173
- border-color: var(--color-border);
174
- }
175
- .mantine-Checkbox-input:checked {
176
- background-color: var(--color-primary);
177
- border-color: var(--color-primary);
178
- }
179
- .mantine-Switch-root:has(input:not(:checked)) .mantine-Switch-track {
180
- background-color: var(--color-surface-hover);
181
- border-color: var(--color-border);
182
- }
183
- .mantine-Timeline-root {
184
- --tl-color: var(--color-primary);
185
- }
186
- .mantine-Timeline-item {
187
- --item-border-color: var(--color-border);
188
- }
189
- .mantine-Timeline-itemBullet {
190
- border-color: var(--color-border);
191
- }
192
- .mantine-Timeline-itemBullet:where([data-with-child]) {
193
- background-color: var(--color-primary);
194
- border-color: var(--color-primary);
195
- }
196
- .recharts-surface:focus {
197
- outline: none;
198
- }
199
- .hide-scrollbar {
200
- scrollbar-width: none;
201
- -ms-overflow-style: none;
128
+ /* src/graph/Graph.globals.css */
129
+ .elevasis-graph-root .react-flow__node.selected,
130
+ .elevasis-graph-root .react-flow__node:focus,
131
+ .elevasis-graph-root .react-flow__node:focus-visible {
132
+ outline: none !important;
202
133
  }
203
- .hide-scrollbar::-webkit-scrollbar {
204
- display: none;
134
+ .elevasis-graph-root .react-flow__node.selected > * {
135
+ box-shadow: none;
205
136
  }
206
137
 
207
138
  /* src/graph/Graph.module.css */
@@ -309,7 +240,7 @@
309
240
  transparent 1px),
310
241
  radial-gradient(
311
242
  ellipse at 50% 50%,
312
- color-mix(in srgb, var(--color-primary) 5%, transparent) 0%,
243
+ color-mix(in srgb, var(--color-primary) 1.25%, transparent) 0%,
313
244
  transparent 70%);
314
245
  background-color: color-mix(in srgb, var(--color-background) 50%, var(--glass-background));
315
246
  backdrop-filter: var(--glass-blur);
@@ -328,7 +259,7 @@
328
259
  transparent 1px),
329
260
  radial-gradient(
330
261
  ellipse at 50% 50%,
331
- color-mix(in srgb, var(--color-primary) 9%, transparent) 0%,
262
+ color-mix(in srgb, var(--color-primary) 2.25%, transparent) 0%,
332
263
  transparent 70%);
333
264
  background-size:
334
265
  40px 40px,
@@ -578,12 +509,81 @@
578
509
  }
579
510
  }
580
511
 
581
- /* src/graph/Graph.globals.css */
582
- .elevasis-graph-root .react-flow__node.selected,
583
- .elevasis-graph-root .react-flow__node:focus,
584
- .elevasis-graph-root .react-flow__node:focus-visible {
585
- outline: none !important;
512
+ /* src/theme/custom.css */
513
+ .mantine-Button-root[data-variant=default] {
514
+ background-color: var(--color-surface);
515
+ backdrop-filter: var(--glass-blur);
516
+ -webkit-backdrop-filter: var(--glass-blur);
517
+ border: 1px solid var(--color-border);
518
+ color: var(--color-text);
586
519
  }
587
- .elevasis-graph-root .react-flow__node.selected > * {
588
- box-shadow: none;
520
+ .mantine-Button-root[data-variant=default]:hover {
521
+ background-color: var(--color-surface-hover);
522
+ }
523
+ .mantine-Accordion-control:hover {
524
+ background-color: var(--color-surface-hover);
525
+ }
526
+ .mantine-Menu-item:hover:not([data-disabled]) {
527
+ background-color: var(--color-surface-hover);
528
+ }
529
+ .mantine-Select-option:hover {
530
+ background-color: var(--color-surface-hover) !important;
531
+ }
532
+ [data-mantine-color-scheme=dark] .mantine-Tabs-root {
533
+ --tab-border-color: var(--color-border);
534
+ }
535
+ .mantine-Tabs-tab:hover {
536
+ background-color: var(--color-surface-hover);
537
+ }
538
+ .mantine-Pagination-control:not([data-active]) {
539
+ background: var(--color-surface);
540
+ }
541
+ ::-webkit-scrollbar {
542
+ width: 5px;
543
+ height: 5px;
544
+ }
545
+ ::-webkit-scrollbar-track {
546
+ background: transparent;
547
+ }
548
+ ::-webkit-scrollbar-thumb {
549
+ background: color-mix(in srgb, var(--color-text-subtle) 50%, var(--color-border));
550
+ border-radius: 4px;
551
+ }
552
+ ::-webkit-scrollbar-thumb:hover {
553
+ background: var(--color-text-subtle);
554
+ }
555
+ .mantine-Checkbox-input {
556
+ background-color: var(--color-surface);
557
+ border-color: var(--color-border);
558
+ }
559
+ .mantine-Checkbox-input:checked {
560
+ background-color: var(--color-primary);
561
+ border-color: var(--color-primary);
562
+ }
563
+ .mantine-Switch-root:has(input:not(:checked)) .mantine-Switch-track {
564
+ background-color: var(--color-surface-hover);
565
+ border-color: var(--color-border);
566
+ }
567
+ .mantine-Timeline-root {
568
+ --tl-color: var(--color-primary);
569
+ }
570
+ .mantine-Timeline-item {
571
+ --item-border-color: var(--color-border);
572
+ }
573
+ .mantine-Timeline-itemBullet {
574
+ border-color: var(--color-border);
575
+ }
576
+ .mantine-Timeline-itemBullet:where([data-with-child]) {
577
+ background-color: var(--color-primary);
578
+ border-color: var(--color-primary);
579
+ }
580
+ .recharts-surface:focus {
581
+ outline: none;
582
+ }
583
+ .hide-scrollbar {
584
+ scrollbar-width: none;
585
+ -ms-overflow-style: none;
586
+ }
587
+ .hide-scrollbar::-webkit-scrollbar {
588
+ display: none;
589
589
  }