@elevasis/ui 1.21.0 → 1.23.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 (47) hide show
  1. package/dist/charts/index.js +2 -2
  2. package/dist/{chunk-CYJILY7M.js → chunk-5266RV46.js} +2 -2
  3. package/dist/{chunk-V422ET6W.js → chunk-7TLPKXC2.js} +2 -2
  4. package/dist/{chunk-UZWZY7TJ.js → chunk-HOYZWSNV.js} +90 -79
  5. package/dist/{chunk-BC6TJEON.js → chunk-IAZT3VO6.js} +157 -38
  6. package/dist/{chunk-2WLVOFK7.js → chunk-MRBYKPRI.js} +4 -3
  7. package/dist/{chunk-FVBYSDM4.js → chunk-N5SDJP44.js} +1 -1
  8. package/dist/{chunk-3DIU726S.js → chunk-NVSKJG3L.js} +25 -4
  9. package/dist/{chunk-NL6EFQYE.js → chunk-PCOE5EBU.js} +4 -4
  10. package/dist/{chunk-MOBXWBES.js → chunk-QGQECEOT.js} +458 -411
  11. package/dist/{chunk-CRFV2TVK.js → chunk-U3LCNE7V.js} +2 -2
  12. package/dist/{chunk-ST2RSBQ3.js → chunk-VDGE7JR6.js} +3 -3
  13. package/dist/components/index.css +0 -3
  14. package/dist/components/index.d.ts +37 -37
  15. package/dist/components/index.js +13 -15
  16. package/dist/features/auth/index.css +0 -3
  17. package/dist/features/dashboard/index.css +0 -3
  18. package/dist/features/dashboard/index.js +6 -7
  19. package/dist/features/monitoring/index.css +0 -3
  20. package/dist/features/monitoring/index.js +7 -8
  21. package/dist/features/operations/index.css +0 -3
  22. package/dist/features/operations/index.js +8 -9
  23. package/dist/features/settings/index.css +0 -3
  24. package/dist/features/settings/index.js +6 -7
  25. package/dist/hooks/index.css +0 -3
  26. package/dist/hooks/index.d.ts +1 -1
  27. package/dist/hooks/index.js +3 -4
  28. package/dist/hooks/published.css +0 -3
  29. package/dist/hooks/published.d.ts +1 -1
  30. package/dist/hooks/published.js +3 -4
  31. package/dist/index.css +0 -3
  32. package/dist/index.d.ts +2 -2
  33. package/dist/index.js +4 -5
  34. package/dist/layout/index.d.ts +1 -1
  35. package/dist/layout/index.js +1 -2
  36. package/dist/provider/index.css +0 -3
  37. package/dist/provider/index.d.ts +1 -1
  38. package/dist/provider/index.js +3 -4
  39. package/dist/provider/published.d.ts +1 -1
  40. package/dist/theme/index.d.ts +1 -1
  41. package/dist/theme/index.js +3 -3
  42. package/dist/types/index.d.ts +1 -1
  43. package/package.json +3 -3
  44. package/dist/chunk-R3R367QY.js +0 -14
  45. package/dist/theme/presets/synapse.d.ts +0 -10
  46. package/dist/theme/presets/synapse.d.ts.map +0 -1
  47. package/dist/theme/presets/synapse.js +0 -75
@@ -41,7 +41,7 @@ interface ThemePreset {
41
41
  */
42
42
  loader?: ReactNode;
43
43
  }
44
- type PresetName = 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'honey' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-chrome' | 'cyber-void' | 'nirvana' | 'wave' | 'synapse' | 'cortex' | 'helios' | 'graphite';
44
+ type PresetName = 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-chrome' | 'cyber-void' | 'nirvana' | 'wave' | 'synapse' | 'cortex' | 'helios' | 'graphite' | 'quarry';
45
45
 
46
46
  interface ApiErrorDetails {
47
47
  method: string;
@@ -96,7 +96,7 @@ interface ThemePreset {
96
96
  */
97
97
  loader?: ReactNode;
98
98
  }
99
- type PresetName = 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'honey' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-chrome' | 'cyber-void' | 'nirvana' | 'wave' | 'synapse' | 'cortex' | 'helios' | 'graphite';
99
+ type PresetName = 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-chrome' | 'cyber-void' | 'nirvana' | 'wave' | 'synapse' | 'cortex' | 'helios' | 'graphite' | 'quarry';
100
100
 
101
101
  /** 10-shade color tuple (light → dark), compatible with Mantine's color format. */
102
102
  type ColorShadesTuple = [string, string, string, string, string, string, string, string, string, string];
@@ -1,3 +1,3 @@
1
- export { useAvailablePresets } from '../chunk-2WLVOFK7.js';
2
- export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from '../chunk-MOBXWBES.js';
3
- import '../chunk-3DIU726S.js';
1
+ export { useAvailablePresets } from '../chunk-MRBYKPRI.js';
2
+ export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from '../chunk-QGQECEOT.js';
3
+ import '../chunk-NVSKJG3L.js';
@@ -2978,7 +2978,7 @@ interface MembershipFeatureConfig {
2978
2978
  */
2979
2979
  interface UserConfig {
2980
2980
  theme?: {
2981
- preset?: 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-punk' | 'cyber-void' | 'nirvana' | 'wave' | 'synapse' | 'cortex' | 'helios' | 'graphite' | 'canyon' | 'nord' | 'catppuccin' | 'tokyo-night' | 'gruvbox';
2981
+ preset?: 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-chrome' | 'cyber-void' | 'nirvana' | 'wave' | 'synapse' | 'cortex' | 'helios' | 'graphite' | 'quarry' | 'canyon' | 'nord' | 'catppuccin' | 'tokyo-night' | 'gruvbox';
2982
2982
  colorScheme?: 'light' | 'dark' | 'auto';
2983
2983
  };
2984
2984
  onboarding?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "1.21.0",
3
+ "version": "1.23.0",
4
4
  "description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -239,8 +239,8 @@
239
239
  "typescript": "5.9.2",
240
240
  "vite": "^7.0.0",
241
241
  "@repo/core": "0.0.0",
242
- "@repo/typescript-config": "0.0.0",
243
- "@repo/eslint-config": "0.0.0"
242
+ "@repo/eslint-config": "0.0.0",
243
+ "@repo/typescript-config": "0.0.0"
244
244
  },
245
245
  "dependencies": {
246
246
  "@dagrejs/dagre": "^1.1.4",
@@ -1,14 +0,0 @@
1
- import { PerspectiveGrid, RadiantGlow, FloatingOrbs, FilmGrain } from './chunk-3DIU726S.js';
2
- import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
-
4
- function AppBackground({ children }) {
5
- return /* @__PURE__ */ jsxs(Fragment, { children: [
6
- /* @__PURE__ */ jsx(PerspectiveGrid, {}),
7
- /* @__PURE__ */ jsx(RadiantGlow, {}),
8
- /* @__PURE__ */ jsx(FloatingOrbs, {}),
9
- /* @__PURE__ */ jsx(FilmGrain, {}),
10
- children
11
- ] });
12
- }
13
-
14
- export { AppBackground };
@@ -1,10 +0,0 @@
1
- import type { ThemePreset } from './types';
2
- /**
3
- * Synapse preset — scientific / neural network aesthetic:
4
- * - Space Grotesk headings / Inter body
5
- * - Cyan `#22D3EE` brand accent on near-black background
6
- * - Drifting constellation canvas background (canvas-based particle network)
7
- * - Clean, cerebral feel with subtle glass surfaces
8
- */
9
- export declare const synapsePreset: ThemePreset;
10
- //# sourceMappingURL=synapse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"synapse.d.ts","sourceRoot":"","sources":["../../../src/theme/presets/synapse.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,EAAE,WAuE3B,CAAA"}
@@ -1,75 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AmbientBloom } from '../../components/layout/backgrounds/AmbientBloom';
3
- import { ConstellationBackground } from '../../components/layout/backgrounds/ConstellationBackground';
4
- /**
5
- * Synapse preset — scientific / neural network aesthetic:
6
- * - Space Grotesk headings / Inter body
7
- * - Cyan `#22D3EE` brand accent on near-black background
8
- * - Drifting constellation canvas background (canvas-based particle network)
9
- * - Clean, cerebral feel with subtle glass surfaces
10
- */
11
- export const synapsePreset = {
12
- subtitleFontFamily: '"Space Grotesk", sans-serif',
13
- fontImports: [
14
- 'https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap',
15
- 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'
16
- ],
17
- colors: ['#22D3EE', '#020305', '#F0FAFB'],
18
- background: (_jsxs(_Fragment, { children: [_jsx(ConstellationBackground, {}), _jsx(AmbientBloom, { intensity: 0.12 })] })),
19
- light: {
20
- primary: '#0891B2',
21
- primaryContrast: '#ffffff',
22
- background: '#F0FAFB',
23
- surface: 'transparent',
24
- surfaceHover: 'rgba(8, 145, 178, 0.08)',
25
- text: '#04141A',
26
- textDimmed: '#1A3D48',
27
- textSubtle: '#547078',
28
- border: 'rgba(4, 20, 26, 0.11)',
29
- error: '#DC2626',
30
- warning: '#F59E0B',
31
- success: '#16A34A',
32
- glassBackground: 'rgba(240, 250, 251, 0.42)',
33
- glassBlur: 'blur(20px) saturate(180%)',
34
- shadow: '0px 1px 2px rgba(4, 20, 26, 0.04), 0px 8px 24px -8px rgba(8, 145, 178, 0.14)',
35
- cardShadow: 'inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(4, 20, 26, 0.04), 0 8px 24px -8px rgba(8, 145, 178, 0.12), 0 24px 48px -16px rgba(8, 145, 178, 0.08)',
36
- durationFast: '120ms',
37
- durationNormal: '220ms',
38
- easing: 'cubic-bezier(0.22, 0, 0.1, 1)',
39
- destructiveFg: '#ffffff',
40
- fontHeading: '"Space Grotesk", sans-serif',
41
- fontSans: '"Inter", sans-serif'
42
- },
43
- dark: {
44
- primary: '#0A8A9E',
45
- primaryContrast: '#ffffff',
46
- background: '#000000',
47
- surface: 'transparent',
48
- surfaceHover: 'rgba(34, 211, 238, 0.06)',
49
- text: '#ECFEFF',
50
- textDimmed: '#A5F3FC',
51
- textSubtle: '#5F8A94',
52
- border: 'rgba(34, 211, 238, 0.1)',
53
- error: '#F87171',
54
- warning: '#FBBF24',
55
- success: '#4ADE80',
56
- glassBackground: 'rgba(6, 12, 16, 0.2)',
57
- glassBlur: 'blur(20px) saturate(180%)',
58
- 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)',
59
- cardShadow: 'inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 0 0 1px rgba(34, 211, 238, 0.06), 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)',
60
- durationFast: '120ms',
61
- durationNormal: '220ms',
62
- easing: 'cubic-bezier(0.22, 0, 0.1, 1)',
63
- destructiveFg: '#ffffff',
64
- fontHeading: '"Space Grotesk", sans-serif',
65
- fontSans: '"Inter", sans-serif'
66
- },
67
- framework: {
68
- fontFamily: '"Inter", sans-serif',
69
- defaultRadius: 'md',
70
- headings: {
71
- fontFamily: '"Space Grotesk", sans-serif',
72
- fontWeight: '600'
73
- }
74
- }
75
- };