@elevasis/ui 2.11.0 → 2.13.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 (49) hide show
  1. package/dist/app/index.js +5 -5
  2. package/dist/{chunk-23PZ57GB.js → chunk-2CGYLRTX.js} +1 -1
  3. package/dist/{chunk-DJBORKTR.js → chunk-5IBTTMWX.js} +3 -3
  4. package/dist/{chunk-BLQLWIOW.js → chunk-67BKMKFG.js} +9 -9
  5. package/dist/{chunk-KDAOCM66.js → chunk-6RWMRQN5.js} +1 -1
  6. package/dist/{chunk-BDENEI4Q.js → chunk-6WPKE7C3.js} +135 -90
  7. package/dist/{chunk-L34DFR2K.js → chunk-BSW5MUAQ.js} +4 -4
  8. package/dist/{chunk-V7XHGJQZ.js → chunk-FL67C3WY.js} +6 -1
  9. package/dist/{chunk-DOFVHWAP.js → chunk-FT27I4S7.js} +82 -2
  10. package/dist/{chunk-AQDBRRZD.js → chunk-H333SX3N.js} +1 -1
  11. package/dist/{chunk-YEX4MQSY.js → chunk-M25JL54Z.js} +3 -3
  12. package/dist/{chunk-TNOIOBYI.js → chunk-NLFAEJDH.js} +2 -2
  13. package/dist/{chunk-BSCTPKXM.js → chunk-PCK553L4.js} +8 -3
  14. package/dist/{chunk-24UMQV5B.js → chunk-R73EHHPN.js} +143 -78
  15. package/dist/{chunk-XYSMBMAR.js → chunk-T7R5P5JJ.js} +3 -3
  16. package/dist/{chunk-F4TPY6YL.js → chunk-WLOQ4IBG.js} +9 -3
  17. package/dist/{chunk-R7WLWGPO.js → chunk-ZB5GAV7J.js} +1 -1
  18. package/dist/components/index.d.ts +178 -0
  19. package/dist/components/index.js +19 -19
  20. package/dist/features/auth/index.d.ts +88 -0
  21. package/dist/features/auth/index.js +2 -2
  22. package/dist/features/crm/index.d.ts +90 -0
  23. package/dist/features/crm/index.js +7 -7
  24. package/dist/features/dashboard/index.js +8 -8
  25. package/dist/features/delivery/index.d.ts +135 -26
  26. package/dist/features/delivery/index.js +7 -7
  27. package/dist/features/lead-gen/index.js +11 -11
  28. package/dist/features/monitoring/index.js +9 -9
  29. package/dist/features/monitoring/requests/index.d.ts +125 -0
  30. package/dist/features/operations/index.js +10 -10
  31. package/dist/features/settings/index.d.ts +88 -0
  32. package/dist/features/settings/index.js +9 -9
  33. package/dist/hooks/index.d.ts +318 -3
  34. package/dist/hooks/index.js +6 -6
  35. package/dist/hooks/published.d.ts +318 -3
  36. package/dist/hooks/published.js +6 -6
  37. package/dist/index.d.ts +318 -3
  38. package/dist/index.js +7 -7
  39. package/dist/initialization/index.d.ts +88 -0
  40. package/dist/layout/index.d.ts +9 -2
  41. package/dist/layout/index.js +2 -2
  42. package/dist/organization/index.js +1 -1
  43. package/dist/profile/index.d.ts +88 -0
  44. package/dist/provider/index.js +5 -5
  45. package/dist/provider/published.js +2 -2
  46. package/dist/supabase/index.d.ts +172 -0
  47. package/dist/theme/index.js +3 -3
  48. package/dist/types/index.d.ts +89 -1
  49. package/package.json +7 -3
@@ -1,4 +1,4 @@
1
- import { AppBackground, AmbientBloomGrid, CyberBackground, FloatingMotes, WaveBackground } from './chunk-F4TPY6YL.js';
1
+ import { AppBackground, AmbientBloomGrid, CyberBackground, FloatingMotes, WaveBackground } from './chunk-WLOQ4IBG.js';
2
2
  import { createElement, Fragment, createContext, useRef, useEffect, useContext } from 'react';
3
3
  import { jsxs, Fragment as Fragment$1, jsx } from 'react/jsx-runtime';
4
4
  import { Tooltip, Text, Tabs, Table, Stack, SimpleGrid, Select, Combobox, SegmentedControl, ScrollArea, Paper, Popover, Notification, Modal, Menu, Input, HoverCard, Group, Grid, Flex, Code, Divider, Card, Button, Accordion, createTheme } from '@mantine/core';
@@ -108,14 +108,14 @@ var defaultPreset = {
108
108
  text: "#ffffff",
109
109
  textDimmed: "#c1c2c5",
110
110
  textSubtle: "#ABABAB",
111
- border: "rgba(255, 255, 255, 0.07)",
111
+ border: "rgba(255, 255, 255, 0.06)",
112
112
  error: "#ff5252",
113
113
  warning: "#ff9800",
114
114
  success: "#4caf50",
115
115
  glassBackground: "rgba(15, 15, 17, 0.55)",
116
116
  glassBlur: "blur(22px) saturate(160%)",
117
117
  shadow: "0px 1px 2px rgba(0, 0, 0, 0.5), 0px 8px 24px -8px rgba(0, 0, 0, 0.5), 0px 20px 48px -16px rgba(0, 0, 0, 0.35)",
118
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.02), inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 2px 8px rgba(0, 0, 0, 0.3), 0 12px 32px -8px rgba(0, 0, 0, 0.4), 0 32px 64px -16px rgba(0, 0, 0, 0.3)",
118
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 2px 8px rgba(0, 0, 0, 0.5), 0 12px 32px -8px rgba(0, 0, 0, 0.4), 0 32px 64px -16px rgba(0, 0, 0, 0.3)",
119
119
  durationFast: "150ms",
120
120
  durationNormal: "250ms",
121
121
  easing: "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -128,7 +128,10 @@ var tacticalPreset = {
128
128
  background: createElement(
129
129
  Fragment,
130
130
  null,
131
- createElement(AppBackground),
131
+ createElement(AppBackground, {
132
+ gridGlowColor: "color-mix(in srgb, #5A6070 30%, transparent)",
133
+ gridGlowIntensity: 50
134
+ }),
132
135
  createElement(AmbientBloomGrid, { intensity: 0.07, color: "#5A6070", size: 1.2 })
133
136
  ),
134
137
  light: {
@@ -173,7 +176,7 @@ var tacticalPreset = {
173
176
  glassBackground: "rgba(15, 16, 18, 0.55)",
174
177
  glassBlur: "blur(24px) saturate(170%)",
175
178
  shadow: "0px 1px 2px rgba(0, 0, 0, 0.5), 0px 12px 32px -8px rgba(0, 0, 0, 0.6)",
176
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 0 8px -6px rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.3), 0 12px 32px -8px rgba(0, 0, 0, 0.4), 0 32px 64px -16px rgba(0, 0, 0, 0.3)",
179
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 8px -6px rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.5), 0 12px 32px -8px rgba(0, 0, 0, 0.5), 0 22px 24px -16px rgba(0, 0, 0, 0.3)",
177
180
  durationFast: "100ms",
178
181
  durationNormal: "180ms",
179
182
  easing: "cubic-bezier(0.22, 0, 0.1, 1)",
@@ -225,7 +228,7 @@ var regalPreset = {
225
228
  primary: "#C0A558",
226
229
  primaryContrast: "#0A0A0A",
227
230
  background: "#020203",
228
- surface: "rgba(16, 17, 20, 0)",
231
+ surface: "rgba(16, 17, 20, .2)",
229
232
  surfaceHover: "rgba(180, 180, 188, 0.08)",
230
233
  elevatedSurface: "rgba(16, 16, 19, 0.85)",
231
234
  text: "#F0F0F2",
@@ -238,7 +241,7 @@ var regalPreset = {
238
241
  glassBackground: "rgba(16, 17, 20, 0.45)",
239
242
  glassBlur: "blur(18px) saturate(180%)",
240
243
  shadow: "0px 1px 2px rgba(0, 0, 0, 0.5), 0px 8px 24px -8px rgba(0, 0, 0, 0.5), 0px 20px 48px -16px rgba(0, 0, 0, 0.35)",
241
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 2px 8px rgba(0, 0, 0, 0.3), 0 12px 32px -8px rgba(0, 0, 0, 0.4), 0 32px 40px -16px rgba(0, 0, 0, 0.2)",
244
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.01), 0 2px 8px rgba(0, 0, 0, 0.5), 0 12px 32px -8px rgba(0, 0, 0, 0.4), 0 32px 40px -16px rgba(0, 0, 0, 0.2)",
242
245
  durationFast: "180ms",
243
246
  durationNormal: "320ms",
244
247
  easing: "cubic-bezier(0.25, 0.1, 0.25, 1)",
@@ -267,7 +270,7 @@ var cyberVoltPreset = {
267
270
  null,
268
271
  createElement(CyberBackground, {
269
272
  variant: "void",
270
- perspectiveGridRadialGlowIntensity: 6,
273
+ perspectiveGridRadialGlowIntensity: 5,
271
274
  perspectiveGridLineIntensity: 70
272
275
  }),
273
276
  createElement(AmbientBloomGrid, { intensity: 0.09, size: 1.35 })
@@ -300,21 +303,21 @@ var cyberVoltPreset = {
300
303
  dark: {
301
304
  primary: "#00A8BD",
302
305
  primaryContrast: "#001418",
303
- background: "#050708",
304
- surface: "rgba(0, 60, 80, 0.04)",
306
+ background: "#040607",
307
+ surface: "rgba(0, 60, 80, 0.03)",
305
308
  surfaceHover: "rgba(0, 229, 255, 0.06)",
306
309
  elevatedSurface: "rgba(16, 19, 21, 0.85)",
307
310
  text: "#E0F7FA",
308
311
  textDimmed: "#80DEEA",
309
312
  textSubtle: "#82BEC8",
310
- border: "rgba(0, 229, 255, 0.08)",
313
+ border: "rgba(0, 229, 255, 0.09)",
311
314
  error: "#FF1744",
312
315
  warning: "#FF9100",
313
316
  success: "#00E676",
314
- glassBackground: "rgba(11, 19, 25, 0.32)",
317
+ glassBackground: "rgba(13, 21, 27, 0.32)",
315
318
  glassBlur: "blur(14px) saturate(180%)",
316
319
  shadow: "0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.4)",
317
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 0 0 1px rgba(0, 229, 255, 0.06), 0 4px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.35), 0 14px 28px -10px rgba(0, 0, 0, 0.45), 0 24px 48px -18px rgba(0, 0, 0, 0.25)",
320
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(0, 229, 255, 0.06), 0 4px 4px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.45), 0 14px 28px -10px rgba(0, 0, 0, 0.45), 0 14px 28px -18px rgba(0, 0, 0, 0.25)",
318
321
  durationFast: "80ms",
319
322
  durationNormal: "160ms",
320
323
  easing: "cubic-bezier(0.16, 1, 0.3, 1)",
@@ -823,8 +826,8 @@ var midnightPreset = {
823
826
  fontSans: '"Inter", sans-serif'
824
827
  },
825
828
  dark: {
826
- primary: "#7888A8",
827
- primaryContrast: "#F1F5F9",
829
+ primary: "#4E6288",
830
+ primaryContrast: "#ffffff",
828
831
  background: "#0A0E18",
829
832
  surface: "rgba(138, 130, 169, 0.0)",
830
833
  surfaceHover: "rgba(120, 136, 168, 0.09)",
@@ -867,11 +870,11 @@ var titaniumPreset = {
867
870
  beam: {
868
871
  width: "260vmax",
869
872
  height: "32vmax",
870
- intensity: 0.85
873
+ intensity: 0.95
871
874
  }
872
875
  }),
873
876
  light: {
874
- primary: "#6B7280",
877
+ primary: "#4A5260",
875
878
  primaryContrast: "#ffffff",
876
879
  background: "#F1F2F4",
877
880
  surface: "transparent",
@@ -896,8 +899,8 @@ var titaniumPreset = {
896
899
  fontSans: '"DM Sans", sans-serif'
897
900
  },
898
901
  dark: {
899
- primary: "#A8B0BC",
900
- primaryContrast: "#0E0F11",
902
+ primary: "#5A6472",
903
+ primaryContrast: "#ffffff",
901
904
  background: "#0C0D0F",
902
905
  surface: "rgba(20, 22, 26, 0)",
903
906
  surfaceHover: "rgba(168, 176, 188, 0.10)",
@@ -1083,7 +1086,7 @@ var canopyPreset = {
1083
1086
  glassBackground: "rgba(27, 30, 25, 0.3)",
1084
1087
  glassBlur: "blur(12px) saturate(180%)",
1085
1088
  shadow: "0px 1px 2px rgba(0, 0, 0, 0.5), 0px 12px 32px -8px rgba(0, 0, 0, 0.6)",
1086
- cardShadow: "inset 0 1px 0 rgba(74, 168, 96, 0.1), inset 0 0 0 1px rgba(74, 168, 96, 0.04), 0 2px 8px rgba(0, 0, 0, 0.5), 0 12px 22px -8px rgba(0, 0, 0, 0.5), 0 12px 24px -16px rgba(0, 0, 0, 0.2)",
1089
+ cardShadow: "inset 0 1px 0 rgba(74, 168, 96, 0.1), inset 0 0 0 1px rgba(74, 168, 96, 0.04), 0 4px 10px rgba(0, 0, 0, 0.45), 0 12px 28px -8px rgba(0, 0, 0, 0.5), 0 12px 24px -16px rgba(0, 0, 0, 0.2)",
1087
1090
  durationFast: "150ms",
1088
1091
  durationNormal: "280ms",
1089
1092
  easing: "cubic-bezier(0.4, 0, 0.2, 1)",
@@ -1149,7 +1152,7 @@ var slatePreset = {
1149
1152
  glassBackground: "rgba(14, 17, 22, 0.58)",
1150
1153
  glassBlur: "blur(22px) saturate(160%)",
1151
1154
  shadow: "0px 1px 2px rgba(0, 0, 0, 0.5), 0px 12px 32px -8px rgba(0, 0, 0, 0.6)",
1152
- cardShadow: "inset 0 1px 0 rgba(123, 158, 188, 0.08), inset 0 0 0 1px rgba(123, 158, 188, 0.04), 0 2px 8px rgba(0, 0, 0, 0.4), 0 12px 32px -8px rgba(0, 0, 0, 0.5), 0 32px 64px -16px rgba(0, 0, 0, 0.4)",
1155
+ cardShadow: "inset 0 1px 0 rgba(123, 158, 188, 0.1), inset 0 0 0 1px rgba(123, 158, 188, 0.04), 0 2px 8px rgba(0, 0, 0, 0.5), 0 12px 32px -8px rgba(0, 0, 0, 0.5), 0 32px 64px -16px rgba(0, 0, 0, 0.4)",
1153
1156
  durationFast: "110ms",
1154
1157
  durationNormal: "200ms",
1155
1158
  easing: "cubic-bezier(0.22, 0, 0.1, 1)",
@@ -1177,9 +1180,9 @@ var cyberStrikePreset = {
1177
1180
  createElement(CyberBackground, {
1178
1181
  variant: "strike",
1179
1182
  perspectiveGridRadialGlowIntensity: 4,
1180
- perspectiveGridLineIntensity: 80
1183
+ perspectiveGridLineIntensity: 55
1181
1184
  }),
1182
- createElement(AmbientBloomGrid, { intensity: 0.07, size: 1.3 })
1185
+ createElement(AmbientBloomGrid, { intensity: 0.06, size: 1.3 })
1183
1186
  ),
1184
1187
  light: {
1185
1188
  primary: "#D41840",
@@ -1210,20 +1213,20 @@ var cyberStrikePreset = {
1210
1213
  primary: "#D41840",
1211
1214
  primaryContrast: "#ffffff",
1212
1215
  background: "#060303",
1213
- surface: "rgba(80, 20, 30, 0.04)",
1216
+ surface: "rgba(80, 20, 30, 0.06)",
1214
1217
  surfaceHover: "rgba(212, 24, 64, 0.06)",
1215
1218
  elevatedSurface: "rgba(16, 12, 12, 0.82)",
1216
1219
  text: "#FAE0E4",
1217
1220
  textDimmed: "#F0A0B0",
1218
1221
  textSubtle: "#C99CA4",
1219
- border: "rgba(230, 165, 170, 0.09)",
1222
+ border: "rgba(230, 165, 170, 0.12)",
1220
1223
  error: "#D41840",
1221
1224
  warning: "#FF9100",
1222
1225
  success: "#00E676",
1223
- glassBackground: "rgba(18, 19, 20, 0.33)",
1226
+ glassBackground: "rgba(18, 19, 20, 0.36)",
1224
1227
  glassBlur: "blur(16px) saturate(190%)",
1225
1228
  shadow: "0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 24px -8px rgba(0, 0, 0, 0.5), 0 20px 48px -16px rgba(0, 0, 0, 0.4)",
1226
- cardShadow: "inset 0 1px 0 rgba(230, 200, 210, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 4px 6px rgba(0, 0, 0, 0.4), 0 10px 24px -10px rgba(0, 0, 0, .6), 0 28px 24px -16px rgba(0, 0, 0, 0.12)",
1229
+ cardShadow: "inset 0 1px 0 rgba(230, 200, 210, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 4px 6px rgba(0, 0, 0, 0.45), 0 10px 24px -10px rgba(0, 0, 0, .6), 0 20px 20px -16px rgba(0, 0, 0, 0.25)",
1227
1230
  durationFast: "80ms",
1228
1231
  durationNormal: "160ms",
1229
1232
  easing: "cubic-bezier(0.16, 1, 0.3, 1)",
@@ -1254,7 +1257,7 @@ var cyberChromePreset = {
1254
1257
  perspectiveGridRadialGlowIntensity: 8,
1255
1258
  perspectiveGridLineIntensity: 80
1256
1259
  }),
1257
- createElement(AmbientBloomGrid, { intensity: 0.1, size: 1.3 })
1260
+ createElement(AmbientBloomGrid, { intensity: 0.07, size: 1.3 })
1258
1261
  ),
1259
1262
  light: {
1260
1263
  primary: "#64748B",
@@ -1291,14 +1294,14 @@ var cyberChromePreset = {
1291
1294
  text: "#E8EEF5",
1292
1295
  textDimmed: "#B4C0CC",
1293
1296
  textSubtle: "#9EABBC",
1294
- border: "rgba(122, 142, 166, 0.1)",
1297
+ border: "rgba(122, 142, 166, 0.12)",
1295
1298
  error: "#FF1744",
1296
1299
  warning: "#FF9100",
1297
1300
  success: "#00E676",
1298
1301
  glassBackground: "rgba(20, 24, 30, 0.3)",
1299
1302
  glassBlur: "blur(12px) saturate(185%)",
1300
1303
  shadow: "0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.4)",
1301
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.03), inset 0 0 0 1px rgba(122, 142, 166, 0.04), 0 1px 2px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.35), 0 14px 28px -10px rgba(0, 0, 0, 0.45), 0 24px 48px -18px rgba(0, 0, 0, 0.35)",
1304
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(122, 142, 166, 0.04), 0 1px 2px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.45), 0 14px 20px -10px rgba(0, 0, 0, 0.45), 0 24px 28px -18px rgba(0, 0, 0, 0.25)",
1302
1305
  durationFast: "80ms",
1303
1306
  durationNormal: "160ms",
1304
1307
  easing: "cubic-bezier(0.16, 1, 0.3, 1)",
@@ -1364,8 +1367,8 @@ var cyberVoidPreset = {
1364
1367
  dark: {
1365
1368
  primary: "#2468E0",
1366
1369
  primaryContrast: "#ffffff",
1367
- background: "#050709",
1368
- surface: "rgba(30, 55, 120, 0.02)",
1370
+ background: "#040608",
1371
+ surface: "rgba(30, 55, 130, 0.04)",
1369
1372
  surfaceHover: "rgba(36, 104, 224, 0.08)",
1370
1373
  elevatedSurface: "rgba(16, 19, 24, 0.85)",
1371
1374
  text: "#E0EAFA",
@@ -1375,10 +1378,10 @@ var cyberVoidPreset = {
1375
1378
  error: "#FF1744",
1376
1379
  warning: "#FF9100",
1377
1380
  success: "#00E676",
1378
- glassBackground: "rgba(20, 22, 22, 0.25)",
1381
+ glassBackground: "rgba(19, 21, 21, 0.34)",
1379
1382
  glassBlur: "blur(14px) saturate(180%)",
1380
1383
  shadow: "0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.4)",
1381
- cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 0 0 1px rgba(36, 104, 224, 0.06), 0 4px 4px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.35), 0 14px 28px -10px rgba(0, 0, 0, 0.45), 0 24px 20px -16px rgba(0, 0, 0, 0.05)",
1384
+ cardShadow: "inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(36, 104, 224, 0.06), 0 4px 4px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.45), 0 14px 28px -10px rgba(0, 0, 0, 0.5), 0 24px 20px -16px rgba(0, 0, 0, 0.2)",
1382
1385
  durationFast: "80ms",
1383
1386
  durationNormal: "160ms",
1384
1387
  easing: "cubic-bezier(0.16, 1, 0.3, 1)",
@@ -1574,25 +1577,57 @@ var LIGHT_PALETTE = {
1574
1577
  coreBrightenG: -10,
1575
1578
  coreBrightenB: -10
1576
1579
  };
1580
+ var POOL_SIZE = 140;
1581
+ var particlePool = null;
1582
+ var randVelocity = () => (Math.random() - 0.5) * 0.28;
1583
+ var randRadius = () => Math.random() < 0.12 ? 1.8 + Math.random() * 1.6 : 0.6 + Math.random() * 1.1;
1584
+ function ensurePool(width, height) {
1585
+ if (particlePool) {
1586
+ for (const p of particlePool) {
1587
+ p.x = (p.x % width + width) % width;
1588
+ p.y = (p.y % height + height) % height;
1589
+ }
1590
+ return particlePool;
1591
+ }
1592
+ particlePool = Array.from({ length: POOL_SIZE }, () => ({
1593
+ x: Math.random() * width,
1594
+ y: Math.random() * height,
1595
+ vx: randVelocity(),
1596
+ vy: randVelocity(),
1597
+ radius: randRadius(),
1598
+ pulse: Math.random() * Math.PI * 2,
1599
+ pulseSpeed: 8e-3 + Math.random() * 0.018,
1600
+ hueShift: Math.random()
1601
+ }));
1602
+ return particlePool;
1603
+ }
1577
1604
  function ConstellationBackground({
1578
1605
  darkPalette = DARK_PALETTE,
1579
1606
  lightPalette = LIGHT_PALETTE,
1580
- particles = true
1607
+ particles = true,
1608
+ count = 140,
1609
+ scale = 1,
1610
+ brightness = 1
1581
1611
  } = {}) {
1582
1612
  const canvasRef = useRef(null);
1583
1613
  const darkPaletteRef = useRef(darkPalette);
1584
1614
  const lightPaletteRef = useRef(lightPalette);
1585
1615
  const showParticlesRef = useRef(particles);
1616
+ const countRef = useRef(count);
1617
+ const scaleRef = useRef(scale);
1618
+ const brightnessRef = useRef(brightness);
1586
1619
  darkPaletteRef.current = darkPalette;
1587
1620
  lightPaletteRef.current = lightPalette;
1588
1621
  showParticlesRef.current = particles;
1622
+ countRef.current = count;
1623
+ scaleRef.current = scale;
1624
+ brightnessRef.current = brightness;
1589
1625
  const redrawRef = useRef(null);
1590
1626
  useEffect(() => {
1591
1627
  const canvas = canvasRef.current;
1592
1628
  if (!canvas) return;
1593
1629
  const ctx = canvas.getContext("2d");
1594
1630
  if (!ctx) return;
1595
- const PARTICLE_COUNT = 140;
1596
1631
  const CONNECTION_DISTANCE = 160;
1597
1632
  const readScheme = () => {
1598
1633
  if (typeof document === "undefined") return "dark";
@@ -1615,18 +1650,7 @@ function ConstellationBackground({
1615
1650
  ctx.scale(dpr, dpr);
1616
1651
  };
1617
1652
  setSize();
1618
- const randVelocity = () => (Math.random() - 0.5) * 0.28;
1619
- const particles2 = Array.from({ length: PARTICLE_COUNT }, () => ({
1620
- x: Math.random() * width,
1621
- y: Math.random() * height,
1622
- vx: randVelocity(),
1623
- vy: randVelocity(),
1624
- // Mostly small nodes with occasional larger "stars"
1625
- radius: Math.random() < 0.12 ? 1.8 + Math.random() * 1.6 : 0.6 + Math.random() * 1.1,
1626
- pulse: Math.random() * Math.PI * 2,
1627
- pulseSpeed: 8e-3 + Math.random() * 0.018,
1628
- hueShift: Math.random()
1629
- }));
1653
+ const pool = ensurePool(width, height);
1630
1654
  const lerpColor = (t) => {
1631
1655
  const { paletteA: A, paletteB: B, paletteC: C } = palette;
1632
1656
  if (t < 0.5) {
@@ -1638,6 +1662,8 @@ function ConstellationBackground({
1638
1662
  };
1639
1663
  const drawFrame = () => {
1640
1664
  palette = readScheme() === "light" ? lightPaletteRef.current : darkPaletteRef.current;
1665
+ const activeCount = Math.min(countRef.current, pool.length);
1666
+ const s = scaleRef.current;
1641
1667
  ctx.clearRect(0, 0, width, height);
1642
1668
  const gradient = ctx.createRadialGradient(
1643
1669
  width / 2,
@@ -1653,8 +1679,12 @@ function ConstellationBackground({
1653
1679
  ctx.fillStyle = gradient;
1654
1680
  ctx.fillRect(0, 0, width, height);
1655
1681
  if (!showParticlesRef.current) return;
1682
+ const br = brightnessRef.current;
1683
+ const lineOpacity = palette.lineOpacity * br;
1684
+ const haloOpacity = palette.haloOpacity * br;
1685
+ const coreOpacity = palette.coreOpacity * br;
1656
1686
  ctx.globalCompositeOperation = palette.compositeOp;
1657
- for (const p of particles2) {
1687
+ for (const p of pool) {
1658
1688
  p.x += p.vx;
1659
1689
  p.y += p.vy;
1660
1690
  p.pulse += p.pulseSpeed;
@@ -1663,17 +1693,17 @@ function ConstellationBackground({
1663
1693
  if (p.y < 0) p.y += height;
1664
1694
  if (p.y > height) p.y -= height;
1665
1695
  }
1666
- for (let i = 0; i < particles2.length; i++) {
1667
- for (let j = i + 1; j < particles2.length; j++) {
1668
- const a = particles2[i];
1669
- const b = particles2[j];
1696
+ for (let i = 0; i < activeCount; i++) {
1697
+ for (let j = i + 1; j < activeCount; j++) {
1698
+ const a = pool[i];
1699
+ const b = pool[j];
1670
1700
  const dx = a.x - b.x;
1671
1701
  const dy = a.y - b.y;
1672
1702
  const distSq = dx * dx + dy * dy;
1673
1703
  if (distSq < CONNECTION_DISTANCE * CONNECTION_DISTANCE) {
1674
1704
  const dist = Math.sqrt(distSq);
1675
1705
  const t = 1 - dist / CONNECTION_DISTANCE;
1676
- const opacity = t * t * palette.lineOpacity;
1706
+ const opacity = t * t * lineOpacity;
1677
1707
  const [r, g, bl] = lerpColor((a.hueShift + b.hueShift) / 2);
1678
1708
  ctx.beginPath();
1679
1709
  ctx.strokeStyle = `rgba(${r | 0}, ${g | 0}, ${bl | 0}, ${opacity})`;
@@ -1684,16 +1714,18 @@ function ConstellationBackground({
1684
1714
  }
1685
1715
  }
1686
1716
  }
1687
- for (const p of particles2) {
1717
+ for (let i = 0; i < activeCount; i++) {
1718
+ const p = pool[i];
1688
1719
  const pulseScale = 0.8 + Math.sin(p.pulse) * 0.25;
1689
1720
  const [r, g, bl] = lerpColor(p.hueShift);
1690
- const glowRadius = p.radius * 5 * pulseScale;
1721
+ const scaledRadius = p.radius * s;
1722
+ const glowRadius = scaledRadius * 5 * pulseScale;
1691
1723
  const ri = r | 0;
1692
1724
  const gi = g | 0;
1693
1725
  const bi = bl | 0;
1694
1726
  const haloGradient = ctx.createRadialGradient(p.x, p.y, 0, p.x, p.y, glowRadius);
1695
- haloGradient.addColorStop(0, `rgba(${ri}, ${gi}, ${bi}, ${palette.haloOpacity})`);
1696
- haloGradient.addColorStop(0.4, `rgba(${ri}, ${gi}, ${bi}, ${palette.haloOpacity * 0.35})`);
1727
+ haloGradient.addColorStop(0, `rgba(${ri}, ${gi}, ${bi}, ${haloOpacity})`);
1728
+ haloGradient.addColorStop(0.4, `rgba(${ri}, ${gi}, ${bi}, ${haloOpacity * 0.35})`);
1697
1729
  haloGradient.addColorStop(1, `rgba(${ri}, ${gi}, ${bi}, 0)`);
1698
1730
  ctx.fillStyle = haloGradient;
1699
1731
  ctx.beginPath();
@@ -1702,9 +1734,9 @@ function ConstellationBackground({
1702
1734
  const cr = Math.max(0, Math.min(255, r + palette.coreBrightenR)) | 0;
1703
1735
  const cg = Math.max(0, Math.min(255, g + palette.coreBrightenG)) | 0;
1704
1736
  const cb = Math.max(0, Math.min(255, bl + palette.coreBrightenB)) | 0;
1705
- ctx.fillStyle = `rgba(${cr}, ${cg}, ${cb}, ${palette.coreOpacity})`;
1737
+ ctx.fillStyle = `rgba(${cr}, ${cg}, ${cb}, ${coreOpacity})`;
1706
1738
  ctx.beginPath();
1707
- ctx.arc(p.x, p.y, p.radius * pulseScale, 0, Math.PI * 2);
1739
+ ctx.arc(p.x, p.y, scaledRadius * pulseScale, 0, Math.PI * 2);
1708
1740
  ctx.fill();
1709
1741
  }
1710
1742
  ctx.globalCompositeOperation = "source-over";
@@ -1772,7 +1804,7 @@ var synapsePreset = {
1772
1804
  ],
1773
1805
  colors: ["#22D3EE", "#020305", "#F0FAFB"],
1774
1806
  background: /* @__PURE__ */ jsxs(Fragment$1, { children: [
1775
- /* @__PURE__ */ jsx(ConstellationBackground, { particles: false }),
1807
+ /* @__PURE__ */ jsx(ConstellationBackground, { count: 35, brightness: 1 }),
1776
1808
  /* @__PURE__ */ jsx(FloatingMotes, {}),
1777
1809
  /* @__PURE__ */ jsx(AmbientBloom, { intensity: 0.12 })
1778
1810
  ] }),
@@ -1843,9 +1875,9 @@ var CORTEX_DARK = {
1843
1875
  // lighter slate-blue
1844
1876
  paletteC: [60, 130, 175],
1845
1877
  // muted teal-blue
1846
- lineOpacity: 0.22,
1847
- haloOpacity: 0.22,
1848
- coreOpacity: 0.8,
1878
+ lineOpacity: 0.42,
1879
+ haloOpacity: 0.4,
1880
+ coreOpacity: 0.92,
1849
1881
  compositeOp: "lighter",
1850
1882
  coreBrightenR: 10,
1851
1883
  coreBrightenG: 15,
@@ -1875,7 +1907,16 @@ var cortexPreset = {
1875
1907
  ],
1876
1908
  colors: ["#5A78B4", "#02050E", "#F3F5FA"],
1877
1909
  background: /* @__PURE__ */ jsxs(Fragment$1, { children: [
1878
- /* @__PURE__ */ jsx(ConstellationBackground, { darkPalette: CORTEX_DARK, lightPalette: CORTEX_LIGHT, particles: false }),
1910
+ /* @__PURE__ */ jsx(
1911
+ ConstellationBackground,
1912
+ {
1913
+ darkPalette: CORTEX_DARK,
1914
+ lightPalette: CORTEX_LIGHT,
1915
+ count: 35,
1916
+ scale: 0.85,
1917
+ brightness: 1
1918
+ }
1919
+ ),
1879
1920
  /* @__PURE__ */ jsx(FloatingMotes, {}),
1880
1921
  /* @__PURE__ */ jsx(AmbientBloom, { intensity: 0.12 })
1881
1922
  ] }),
@@ -1905,10 +1946,10 @@ var cortexPreset = {
1905
1946
  fontSans: '"Inter", sans-serif'
1906
1947
  },
1907
1948
  dark: {
1908
- primary: "#6282A8",
1909
- primaryContrast: "#F1F5F9",
1949
+ primary: "#3F5C84",
1950
+ primaryContrast: "#ffffff",
1910
1951
  background: "#000000",
1911
- surface: "rgba(10, 14, 20, 0)",
1952
+ surface: "rgba(12, 16, 22, 0.04)",
1912
1953
  surfaceHover: "rgba(98, 130, 168, 0.09)",
1913
1954
  elevatedSurface: "rgba(12, 18, 32, 0.82)",
1914
1955
  text: "#EBF4FF",
@@ -1918,10 +1959,10 @@ var cortexPreset = {
1918
1959
  error: "#F87171",
1919
1960
  warning: "#FBBF24",
1920
1961
  success: "#4ADE80",
1921
- glassBackground: "rgba(10, 14, 20, 0.18)",
1962
+ glassBackground: "rgba(12, 16, 22, 0.18)",
1922
1963
  glassBlur: "blur(15px) saturate(195%)",
1923
1964
  shadow: "0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3), 0 16px 36px -14px rgba(0, 0, 0, 0.4)",
1924
- cardShadow: "inset 0 1px 0 rgba(180, 200, 230, 0.04), inset 0 0 0 1px rgba(148, 163, 184, 0.04), 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.3), 0 14px 28px -10px rgba(0, 0, 0, 0.4), 0 24px 48px -18px rgba(0, 0, 0, 0.25)",
1965
+ cardShadow: "inset 0 1px 0 rgba(180, 200, 230, 0.1), inset 0 0 0 1px rgba(148, 163, 184, 0.04), 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.35), 0 14px 28px -10px rgba(0, 0, 0, 0.4), 0 24px 28px -16px rgba(0, 0, 0, 0.25)",
1925
1966
  durationFast: "120ms",
1926
1967
  durationNormal: "220ms",
1927
1968
  easing: "cubic-bezier(0.22, 0, 0.1, 1)",
@@ -1946,9 +1987,9 @@ var HELIOS_DARK = {
1946
1987
  // pale warm yellow
1947
1988
  paletteC: [205, 180, 110],
1948
1989
  // muted honey (not brown)
1949
- lineOpacity: 0.22,
1950
- haloOpacity: 0.22,
1951
- coreOpacity: 0.8,
1990
+ lineOpacity: 0.38,
1991
+ haloOpacity: 0.36,
1992
+ coreOpacity: 0.9,
1952
1993
  compositeOp: "lighter",
1953
1994
  coreBrightenR: 25,
1954
1995
  coreBrightenG: 22,
@@ -1978,7 +2019,16 @@ var heliosPreset = {
1978
2019
  ],
1979
2020
  colors: ["#D4B456", "#0A0805", "#FAF7F0"],
1980
2021
  background: /* @__PURE__ */ jsxs(Fragment$1, { children: [
1981
- /* @__PURE__ */ jsx(ConstellationBackground, { darkPalette: HELIOS_DARK, lightPalette: HELIOS_LIGHT, particles: false }),
2022
+ /* @__PURE__ */ jsx(
2023
+ ConstellationBackground,
2024
+ {
2025
+ darkPalette: HELIOS_DARK,
2026
+ lightPalette: HELIOS_LIGHT,
2027
+ count: 35,
2028
+ scale: 0.9,
2029
+ brightness: 1
2030
+ }
2031
+ ),
1982
2032
  /* @__PURE__ */ jsx(FloatingMotes, {}),
1983
2033
  /* @__PURE__ */ jsx(AmbientBloom, { intensity: 0.07 })
1984
2034
  ] }),
@@ -2049,9 +2099,9 @@ var GRAPHITE_DARK = {
2049
2099
  // gray-300
2050
2100
  paletteC: [107, 114, 128],
2051
2101
  // gray-500
2052
- lineOpacity: 0.2,
2053
- haloOpacity: 0.18,
2054
- coreOpacity: 0.75,
2102
+ lineOpacity: 0.52,
2103
+ haloOpacity: 0.48,
2104
+ coreOpacity: 0.94,
2055
2105
  compositeOp: "lighter",
2056
2106
  coreBrightenR: 12,
2057
2107
  coreBrightenG: 12,
@@ -2081,7 +2131,16 @@ var graphitePreset = {
2081
2131
  ],
2082
2132
  colors: ["#9CA3AF", "#08090B", "#F8F9FA"],
2083
2133
  background: /* @__PURE__ */ jsxs(Fragment$1, { children: [
2084
- /* @__PURE__ */ jsx(ConstellationBackground, { darkPalette: GRAPHITE_DARK, lightPalette: GRAPHITE_LIGHT, particles: false }),
2134
+ /* @__PURE__ */ jsx(
2135
+ ConstellationBackground,
2136
+ {
2137
+ darkPalette: GRAPHITE_DARK,
2138
+ lightPalette: GRAPHITE_LIGHT,
2139
+ count: 35,
2140
+ scale: 0.7,
2141
+ brightness: 1
2142
+ }
2143
+ ),
2085
2144
  /* @__PURE__ */ jsx(FloatingMotes, {}),
2086
2145
  /* @__PURE__ */ jsx(AmbientBloom, { intensity: 0.1 })
2087
2146
  ] }),
@@ -2337,6 +2396,12 @@ var PRESETS = {
2337
2396
  description: "Aggressive dystopian neon",
2338
2397
  colors: ["#FF1744", "#140A0C", "#F2E8EA"]
2339
2398
  }
2399
+ // 'cyber-jade': {
2400
+ // ...cyberJadePreset,
2401
+ // label: 'Cyber-Jade',
2402
+ // description: 'Phosphor-green terminal HUD',
2403
+ // colors: ['#3DF58A', '#040907', '#F2F8F4']
2404
+ // }
2340
2405
  // honey: {
2341
2406
  // ...honeyPreset,
2342
2407
  // label: 'Honey',
@@ -1,8 +1,8 @@
1
1
  import { FilterBar } from './chunk-PDHTXPSF.js';
2
2
  import { CustomModal } from './chunk-GBMNCNHX.js';
3
- import { AppShellLoader } from './chunk-YEX4MQSY.js';
4
- import { useAvailablePresets } from './chunk-KDAOCM66.js';
5
- import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useResources, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas, showErrorNotification } from './chunk-DOFVHWAP.js';
3
+ import { AppShellLoader } from './chunk-M25JL54Z.js';
4
+ import { useAvailablePresets } from './chunk-6RWMRQN5.js';
5
+ import { useDeleteCredential, useCreateCredential, useCredentials, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, useUserMemberships, useUpdateWebhookEndpoint, useResources, useDeleteWebhookEndpoint, useCreateWebhookEndpoint, useListWebhookEndpoints, useUpdateMemberConfig, useOrganizationMembers, useUpdateCredential, CredentialSchemas, showErrorNotification } from './chunk-FT27I4S7.js';
6
6
  import { ListSkeleton, EmptyState, PageTitleCaption, CardHeader, APIErrorAlert, StatCard } from './chunk-SQQGLGHW.js';
7
7
  import { formatDateTime, OAUTH_POPUP_CHECK_INTERVAL, OAUTH_FLOW_TIMEOUT } from './chunk-IOKL7BKE.js';
8
8
  import { useInitialization } from './chunk-TUXTSEAF.js';
@@ -120,11 +120,13 @@ function PerspectiveGrid({
120
120
  lineColor: lineColorProp,
121
121
  prominentGlow = false,
122
122
  lineIntensity = 100,
123
+ glowIntensity = 100,
123
124
  className
124
125
  }) {
125
126
  const rawLineColor = lineColorProp ?? "color-mix(in srgb, var(--color-text-subtle) 7%, transparent)";
126
127
  const lineColor = lineIntensity < 100 ? `color-mix(in srgb, ${rawLineColor} ${lineIntensity}%, transparent)` : rawLineColor;
127
- const glowColor = glowColorProp ?? (prominentGlow ? PROMINENT_DEFAULT_GLOW : SUBTLE_DEFAULT_GLOW);
128
+ const rawGlowColor = glowColorProp ?? (prominentGlow ? PROMINENT_DEFAULT_GLOW : SUBTLE_DEFAULT_GLOW);
129
+ const glowColor = glowIntensity < 100 ? `color-mix(in srgb, ${rawGlowColor} ${glowIntensity}%, transparent)` : rawGlowColor;
128
130
  const glowHeight = prominentGlow ? "70%" : "60%";
129
131
  const glowGradient = prominentGlow ? `radial-gradient(ellipse 100% 80% at 50% 110%, ${glowColor} -10%, transparent 50%)` : `radial-gradient(ellipse 90% 75% at 50% 112%, ${glowColor} -15%, transparent 45%)`;
130
132
  return /* @__PURE__ */ jsxs(
@@ -389,9 +391,13 @@ function FilmGrain({ darkOpacity = 0.02, lightOpacity = 0.06, className }) {
389
391
  }
390
392
  );
391
393
  }
392
- function AppBackground({ children }) {
394
+ function AppBackground({
395
+ children,
396
+ gridGlowColor,
397
+ gridGlowIntensity
398
+ }) {
393
399
  return /* @__PURE__ */ jsxs(Fragment, { children: [
394
- /* @__PURE__ */ jsx(PerspectiveGrid, {}),
400
+ /* @__PURE__ */ jsx(PerspectiveGrid, { glowColor: gridGlowColor, glowIntensity: gridGlowIntensity }),
395
401
  /* @__PURE__ */ jsx(RadiantGlow, {}),
396
402
  /* @__PURE__ */ jsx(FloatingOrbs, {}),
397
403
  /* @__PURE__ */ jsx(FilmGrain, {}),
@@ -1,5 +1,5 @@
1
1
  import { ApiClientProvider, useApiClient } from './chunk-NVOCKXUQ.js';
2
- import { OrganizationProvider } from './chunk-V7XHGJQZ.js';
2
+ import { OrganizationProvider } from './chunk-FL67C3WY.js';
3
3
  import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-IOKL7BKE.js';
4
4
  import { InitializationProvider } from './chunk-TUXTSEAF.js';
5
5
  import { useOrganization } from './chunk-DD3CCMCZ.js';