@elevasis/ui 2.0.0 → 2.0.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 (54) hide show
  1. package/dist/auth/index.js +1 -2
  2. package/dist/charts/index.js +7 -9
  3. package/dist/{chunk-FW4S3Z5I.js → chunk-2DSYC52I.js} +3 -3
  4. package/dist/{chunk-ZWY3A6ZU.js → chunk-CTU2JO57.js} +31 -31
  5. package/dist/{chunk-QJ2S46NI.js → chunk-DT3QYZVU.js} +2 -2
  6. package/dist/{chunk-QTD5HPKD.js → chunk-EIHG5JZN.js} +1 -1
  7. package/dist/{chunk-JHVKGZ2P.js → chunk-KFICYU6S.js} +3 -4
  8. package/dist/{chunk-R2BQITMQ.js → chunk-MELNDAZY.js} +20 -110
  9. package/dist/{chunk-RWQIFKMJ.js → chunk-MTJ43R2E.js} +10 -2
  10. package/dist/{chunk-45MS3IAW.js → chunk-MZPVNRPL.js} +136 -28
  11. package/dist/{chunk-NNKKBSJN.js → chunk-NYBEU5TE.js} +1 -1
  12. package/dist/{chunk-2IJCM3VQ.js → chunk-OCP2MBTY.js} +134 -118
  13. package/dist/{chunk-KP6LNTMH.js → chunk-OKKGD3S6.js} +3 -3
  14. package/dist/{chunk-BYZ7VTSH.js → chunk-PRLXFMNP.js} +2 -2
  15. package/dist/{chunk-T2X3WHQS.js → chunk-QRHLV74B.js} +23 -18
  16. package/dist/{chunk-5COLSYBE.js → chunk-RX4UWZZR.js} +1 -1
  17. package/dist/{chunk-C27LLJM6.js → chunk-SMJLS23U.js} +2 -2
  18. package/dist/{chunk-F2J7675J.js → chunk-TQ3HK7ZR.js} +633 -7
  19. package/dist/{chunk-EINVPEHK.js → chunk-TZOGB3X4.js} +2 -2
  20. package/dist/{chunk-TXPUIHX2.js → chunk-X7CHQ3RE.js} +1 -1
  21. package/dist/{chunk-MCA6LOGM.js → chunk-Y3D3WFJG.js} +54 -5
  22. package/dist/{chunk-YYBM5LNJ.js → chunk-YEX4MQSY.js} +1 -1
  23. package/dist/components/index.d.ts +24 -16
  24. package/dist/components/index.js +102 -271
  25. package/dist/features/auth/index.js +3 -4
  26. package/dist/features/dashboard/index.d.ts +15 -4
  27. package/dist/features/dashboard/index.js +15 -18
  28. package/dist/features/monitoring/index.css +127 -127
  29. package/dist/features/monitoring/index.d.ts +1 -0
  30. package/dist/features/monitoring/index.js +17 -19
  31. package/dist/features/operations/index.d.ts +173 -56
  32. package/dist/features/operations/index.js +19 -20
  33. package/dist/features/settings/index.d.ts +1 -0
  34. package/dist/features/settings/index.js +15 -17
  35. package/dist/hooks/index.css +127 -127
  36. package/dist/hooks/index.js +12 -9
  37. package/dist/hooks/published.css +127 -127
  38. package/dist/hooks/published.js +11 -8
  39. package/dist/index.css +118 -118
  40. package/dist/index.d.ts +14 -2
  41. package/dist/index.js +13 -12
  42. package/dist/layout/index.d.ts +20 -44
  43. package/dist/layout/index.js +6 -6
  44. package/dist/provider/index.css +127 -59
  45. package/dist/provider/index.d.ts +14 -2
  46. package/dist/provider/index.js +10 -6
  47. package/dist/provider/published.css +126 -0
  48. package/dist/provider/published.d.ts +14 -2
  49. package/dist/provider/published.js +8 -3
  50. package/dist/theme/index.js +2 -2
  51. package/package.json +3 -3
  52. package/dist/chunk-ALA56RGZ.js +0 -13
  53. package/dist/chunk-JQ4AKYUD.js +0 -635
  54. package/dist/chunk-SZHARWKU.js +0 -15
@@ -1,3 +1,130 @@
1
+ /* src/components/display/StatCard.module.css */
2
+ .heroCard {
3
+ background: var(--glass-background);
4
+ backdrop-filter: var(--glass-blur);
5
+ border: 1px solid var(--color-border);
6
+ }
7
+ .iconRing {
8
+ position: relative;
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ width: 46px;
13
+ height: 46px;
14
+ border-radius: 50%;
15
+ background: color-mix(in srgb, var(--color-primary) 12%, transparent);
16
+ border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
17
+ color: var(--color-primary);
18
+ flex-shrink: 0;
19
+ box-shadow: 0 0 12px color-mix(in srgb, var(--color-primary) 15%, transparent);
20
+ }
21
+ .iconRingSm {
22
+ position: relative;
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: center;
26
+ width: 36px;
27
+ height: 36px;
28
+ border-radius: 50%;
29
+ background: color-mix(in srgb, var(--color-primary) 12%, transparent);
30
+ border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
31
+ color: var(--color-primary);
32
+ flex-shrink: 0;
33
+ box-shadow: 0 0 8px color-mix(in srgb, var(--color-primary) 12%, transparent);
34
+ }
35
+ .heroValue {
36
+ font-family: var(--elevasis-font-family-subtitle);
37
+ font-size: 1.85rem;
38
+ font-weight: 800;
39
+ line-height: 1;
40
+ letter-spacing: -0.02em;
41
+ font-variant-numeric: tabular-nums;
42
+ }
43
+ [data-mantine-color-scheme=dark] .heroValue {
44
+ text-shadow: 0 0 20px color-mix(in srgb, var(--color-primary) 20%, transparent);
45
+ }
46
+ .heroValueSm {
47
+ font-family: var(--elevasis-font-family-subtitle);
48
+ font-size: 1.35rem;
49
+ font-weight: 700;
50
+ line-height: 1;
51
+ letter-spacing: -0.02em;
52
+ font-variant-numeric: tabular-nums;
53
+ }
54
+ .heroLabel {
55
+ font-size: 0.68rem;
56
+ font-weight: 700;
57
+ text-transform: uppercase;
58
+ letter-spacing: 0.12em;
59
+ color: var(--color-text-dimmed);
60
+ }
61
+ .heroLabelSm {
62
+ font-size: 0.62rem;
63
+ font-weight: 700;
64
+ text-transform: uppercase;
65
+ letter-spacing: 0.12em;
66
+ color: var(--color-text-dimmed);
67
+ }
68
+
69
+ /* src/components/display/ElevasisLoader.module.css */
70
+ .wrapper {
71
+ display: inline-flex;
72
+ align-items: center;
73
+ justify-content: center;
74
+ width: var(--loader-size);
75
+ height: var(--loader-size);
76
+ overflow: visible;
77
+ }
78
+ .loader {
79
+ width: 100%;
80
+ height: 100%;
81
+ display: block;
82
+ overflow: visible;
83
+ }
84
+ .chevron {
85
+ stroke: var(--loader-color);
86
+ stroke-width: 2;
87
+ stroke-linecap: square;
88
+ stroke-linejoin: miter;
89
+ fill: none;
90
+ opacity: 0.15;
91
+ animation: chevronPulse 2s ease-in-out infinite;
92
+ filter: drop-shadow(0 0 1.5px var(--loader-color));
93
+ }
94
+ [data-mantine-color-scheme=light] .chevron {
95
+ filter: none;
96
+ }
97
+ .c1 {
98
+ animation-delay: 0s;
99
+ }
100
+ .c2 {
101
+ animation-delay: 0.2s;
102
+ }
103
+ .c3 {
104
+ animation-delay: 0.4s;
105
+ }
106
+ @keyframes chevronPulse {
107
+ 0%, 100% {
108
+ opacity: 0.12;
109
+ filter: drop-shadow(0 0 1px var(--loader-color));
110
+ }
111
+ 40%, 60% {
112
+ opacity: 1;
113
+ filter: drop-shadow(0 0 3px var(--loader-color));
114
+ }
115
+ }
116
+ [data-mantine-color-scheme=light] .chevron {
117
+ animation-name: chevronPulseLight;
118
+ }
119
+ @keyframes chevronPulseLight {
120
+ 0%, 100% {
121
+ opacity: 0.2;
122
+ }
123
+ 40%, 60% {
124
+ opacity: 1;
125
+ }
126
+ }
127
+
1
128
  /* src/theme/custom.css */
2
129
  .mantine-Button-root[data-variant=default] {
3
130
  background-color: var(--color-surface);
@@ -69,62 +196,3 @@
69
196
  .recharts-surface:focus {
70
197
  outline: none;
71
198
  }
72
-
73
- /* src/components/display/ElevasisLoader.module.css */
74
- .wrapper {
75
- display: inline-flex;
76
- align-items: center;
77
- justify-content: center;
78
- width: var(--loader-size);
79
- height: var(--loader-size);
80
- overflow: visible;
81
- }
82
- .loader {
83
- width: 100%;
84
- height: 100%;
85
- display: block;
86
- overflow: visible;
87
- }
88
- .chevron {
89
- stroke: var(--loader-color);
90
- stroke-width: 2;
91
- stroke-linecap: square;
92
- stroke-linejoin: miter;
93
- fill: none;
94
- opacity: 0.15;
95
- animation: chevronPulse 2s ease-in-out infinite;
96
- filter: drop-shadow(0 0 1.5px var(--loader-color));
97
- }
98
- [data-mantine-color-scheme=light] .chevron {
99
- filter: none;
100
- }
101
- .c1 {
102
- animation-delay: 0s;
103
- }
104
- .c2 {
105
- animation-delay: 0.2s;
106
- }
107
- .c3 {
108
- animation-delay: 0.4s;
109
- }
110
- @keyframes chevronPulse {
111
- 0%, 100% {
112
- opacity: 0.12;
113
- filter: drop-shadow(0 0 1px var(--loader-color));
114
- }
115
- 40%, 60% {
116
- opacity: 1;
117
- filter: drop-shadow(0 0 3px var(--loader-color));
118
- }
119
- }
120
- [data-mantine-color-scheme=light] .chevron {
121
- animation-name: chevronPulseLight;
122
- }
123
- @keyframes chevronPulseLight {
124
- 0%, 100% {
125
- opacity: 0.2;
126
- }
127
- 40%, 60% {
128
- opacity: 1;
129
- }
130
- }
@@ -311,6 +311,7 @@ interface FeatureNavLink {
311
311
  link: string;
312
312
  featureKey?: string;
313
313
  onClick?: () => void;
314
+ links?: FeatureNavLink[];
314
315
  }
315
316
  interface FeatureNavEntry {
316
317
  label: string;
@@ -329,6 +330,14 @@ interface FeatureModule {
329
330
  sidebar?: FeatureSidebarComponent;
330
331
  subshellRoutes?: string[];
331
332
  }
333
+ type FeatureRouteState = 'enabled' | 'disabled' | 'missing';
334
+ interface FeatureRouteResolution {
335
+ state: FeatureRouteState;
336
+ path: string;
337
+ feature?: FeatureModule;
338
+ navEntry?: FeatureNavEntry;
339
+ navLink?: FeatureNavLink;
340
+ }
332
341
  interface FeatureRegistry {
333
342
  features: FeatureModule[];
334
343
  }
@@ -337,6 +346,7 @@ interface ElevasisFeaturesProviderProps {
337
346
  timeRange?: TimeRange;
338
347
  operationsApiUrl?: string;
339
348
  operationsSSEManager?: SSEConnectionManagerLike;
349
+ disabledSubsectionPaths?: string[];
340
350
  children: ReactNode;
341
351
  }
342
352
  interface ElevasisFeaturesContextValue {
@@ -346,13 +356,15 @@ interface ElevasisFeaturesContextValue {
346
356
  timeRange?: TimeRange;
347
357
  operationsApiUrl?: string;
348
358
  operationsSSEManager?: SSEConnectionManagerLike;
359
+ disabledSubsectionPaths: string[];
349
360
  isFeatureEnabled: (key: string) => boolean;
350
361
  getFeature: (key: string) => FeatureModule | undefined;
362
+ resolveNavRoute: (path: string) => FeatureRouteResolution;
351
363
  }
352
364
 
353
365
  declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
354
366
  declare function useOptionalElevasisFeatures(): ElevasisFeaturesContextValue | null;
355
- declare function ElevasisFeaturesProvider({ features, timeRange, operationsApiUrl, operationsSSEManager, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
367
+ declare function ElevasisFeaturesProvider({ features, timeRange, operationsApiUrl, operationsSSEManager, disabledSubsectionPaths, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
356
368
 
357
369
  declare function FeatureShell({ children }: {
358
370
  children: ReactNode;
@@ -421,4 +433,4 @@ interface ElevasisUIProviderProps extends Omit<ElevasisCoreProviderProps, 'theme
421
433
  declare function ElevasisUIProvider({ theme, children, ...coreProps }: ElevasisUIProviderProps): react_jsx_runtime.JSX.Element;
422
434
 
423
435
  export { AppearanceProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, NotificationProvider, useAppearance, useElevasisFeatures, useElevasisServices, useNotificationAdapter, useOptionalElevasisFeatures };
424
- export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureModule, FeatureNavEntry, FeatureNavLink, FeatureRegistry, FeatureSidebarComponent, NotificationAdapter, PresetName, WithSchemes };
436
+ export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureModule, FeatureNavEntry, FeatureNavLink, FeatureRegistry, FeatureRouteResolution, FeatureRouteState, FeatureSidebarComponent, NotificationAdapter, PresetName, WithSchemes };
@@ -1,17 +1,21 @@
1
- export { ElevasisUIProvider } from '../chunk-FW4S3Z5I.js';
2
- import '../chunk-SZHARWKU.js';
3
- import '../chunk-TXPUIHX2.js';
1
+ export { ElevasisUIProvider } from '../chunk-2DSYC52I.js';
2
+ import '../chunk-X7CHQ3RE.js';
4
3
  import '../chunk-CYXZHBP4.js';
5
- export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from '../chunk-45MS3IAW.js';
6
- import '../chunk-5COLSYBE.js';
4
+ export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from '../chunk-MZPVNRPL.js';
5
+ import '../chunk-RX4UWZZR.js';
6
+ import '../chunk-Y3D3WFJG.js';
7
+ import '../chunk-3KMDHCAR.js';
8
+ import '../chunk-NYBEU5TE.js';
7
9
  import '../chunk-NVOCKXUQ.js';
8
10
  import '../chunk-2IFYDILW.js';
11
+ import '../chunk-ELJIFLCB.js';
9
12
  import '../chunk-W4VYXIN7.js';
10
13
  export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
11
- import '../chunk-QJ2S46NI.js';
14
+ import '../chunk-DT3QYZVU.js';
12
15
  import '../chunk-SLVC5OJ2.js';
13
16
  import '../chunk-RNP5R5I3.js';
14
17
  import '../chunk-IOKL7BKE.js';
18
+ import '../chunk-MTJ43R2E.js';
15
19
  import '../chunk-TUXTSEAF.js';
16
20
  import '../chunk-DD3CCMCZ.js';
17
21
  export { ElevasisServiceProvider, useElevasisServices } from '../chunk-QEPXAWE2.js';
@@ -0,0 +1,126 @@
1
+ /* src/components/display/StatCard.module.css */
2
+ .heroCard {
3
+ background: var(--glass-background);
4
+ backdrop-filter: var(--glass-blur);
5
+ border: 1px solid var(--color-border);
6
+ }
7
+ .iconRing {
8
+ position: relative;
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ width: 46px;
13
+ height: 46px;
14
+ border-radius: 50%;
15
+ background: color-mix(in srgb, var(--color-primary) 12%, transparent);
16
+ border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
17
+ color: var(--color-primary);
18
+ flex-shrink: 0;
19
+ box-shadow: 0 0 12px color-mix(in srgb, var(--color-primary) 15%, transparent);
20
+ }
21
+ .iconRingSm {
22
+ position: relative;
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: center;
26
+ width: 36px;
27
+ height: 36px;
28
+ border-radius: 50%;
29
+ background: color-mix(in srgb, var(--color-primary) 12%, transparent);
30
+ border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
31
+ color: var(--color-primary);
32
+ flex-shrink: 0;
33
+ box-shadow: 0 0 8px color-mix(in srgb, var(--color-primary) 12%, transparent);
34
+ }
35
+ .heroValue {
36
+ font-family: var(--elevasis-font-family-subtitle);
37
+ font-size: 1.85rem;
38
+ font-weight: 800;
39
+ line-height: 1;
40
+ letter-spacing: -0.02em;
41
+ font-variant-numeric: tabular-nums;
42
+ }
43
+ [data-mantine-color-scheme=dark] .heroValue {
44
+ text-shadow: 0 0 20px color-mix(in srgb, var(--color-primary) 20%, transparent);
45
+ }
46
+ .heroValueSm {
47
+ font-family: var(--elevasis-font-family-subtitle);
48
+ font-size: 1.35rem;
49
+ font-weight: 700;
50
+ line-height: 1;
51
+ letter-spacing: -0.02em;
52
+ font-variant-numeric: tabular-nums;
53
+ }
54
+ .heroLabel {
55
+ font-size: 0.68rem;
56
+ font-weight: 700;
57
+ text-transform: uppercase;
58
+ letter-spacing: 0.12em;
59
+ color: var(--color-text-dimmed);
60
+ }
61
+ .heroLabelSm {
62
+ font-size: 0.62rem;
63
+ font-weight: 700;
64
+ text-transform: uppercase;
65
+ letter-spacing: 0.12em;
66
+ color: var(--color-text-dimmed);
67
+ }
68
+
69
+ /* src/components/display/ElevasisLoader.module.css */
70
+ .wrapper {
71
+ display: inline-flex;
72
+ align-items: center;
73
+ justify-content: center;
74
+ width: var(--loader-size);
75
+ height: var(--loader-size);
76
+ overflow: visible;
77
+ }
78
+ .loader {
79
+ width: 100%;
80
+ height: 100%;
81
+ display: block;
82
+ overflow: visible;
83
+ }
84
+ .chevron {
85
+ stroke: var(--loader-color);
86
+ stroke-width: 2;
87
+ stroke-linecap: square;
88
+ stroke-linejoin: miter;
89
+ fill: none;
90
+ opacity: 0.15;
91
+ animation: chevronPulse 2s ease-in-out infinite;
92
+ filter: drop-shadow(0 0 1.5px var(--loader-color));
93
+ }
94
+ [data-mantine-color-scheme=light] .chevron {
95
+ filter: none;
96
+ }
97
+ .c1 {
98
+ animation-delay: 0s;
99
+ }
100
+ .c2 {
101
+ animation-delay: 0.2s;
102
+ }
103
+ .c3 {
104
+ animation-delay: 0.4s;
105
+ }
106
+ @keyframes chevronPulse {
107
+ 0%, 100% {
108
+ opacity: 0.12;
109
+ filter: drop-shadow(0 0 1px var(--loader-color));
110
+ }
111
+ 40%, 60% {
112
+ opacity: 1;
113
+ filter: drop-shadow(0 0 3px var(--loader-color));
114
+ }
115
+ }
116
+ [data-mantine-color-scheme=light] .chevron {
117
+ animation-name: chevronPulseLight;
118
+ }
119
+ @keyframes chevronPulseLight {
120
+ 0%, 100% {
121
+ opacity: 0.2;
122
+ }
123
+ 40%, 60% {
124
+ opacity: 1;
125
+ }
126
+ }
@@ -310,6 +310,7 @@ interface FeatureNavLink {
310
310
  link: string;
311
311
  featureKey?: string;
312
312
  onClick?: () => void;
313
+ links?: FeatureNavLink[];
313
314
  }
314
315
  interface FeatureNavEntry {
315
316
  label: string;
@@ -328,6 +329,14 @@ interface FeatureModule {
328
329
  sidebar?: FeatureSidebarComponent;
329
330
  subshellRoutes?: string[];
330
331
  }
332
+ type FeatureRouteState = 'enabled' | 'disabled' | 'missing';
333
+ interface FeatureRouteResolution {
334
+ state: FeatureRouteState;
335
+ path: string;
336
+ feature?: FeatureModule;
337
+ navEntry?: FeatureNavEntry;
338
+ navLink?: FeatureNavLink;
339
+ }
331
340
  interface FeatureRegistry {
332
341
  features: FeatureModule[];
333
342
  }
@@ -336,6 +345,7 @@ interface ElevasisFeaturesProviderProps {
336
345
  timeRange?: TimeRange;
337
346
  operationsApiUrl?: string;
338
347
  operationsSSEManager?: SSEConnectionManagerLike;
348
+ disabledSubsectionPaths?: string[];
339
349
  children: ReactNode;
340
350
  }
341
351
  interface ElevasisFeaturesContextValue {
@@ -345,13 +355,15 @@ interface ElevasisFeaturesContextValue {
345
355
  timeRange?: TimeRange;
346
356
  operationsApiUrl?: string;
347
357
  operationsSSEManager?: SSEConnectionManagerLike;
358
+ disabledSubsectionPaths: string[];
348
359
  isFeatureEnabled: (key: string) => boolean;
349
360
  getFeature: (key: string) => FeatureModule | undefined;
361
+ resolveNavRoute: (path: string) => FeatureRouteResolution;
350
362
  }
351
363
 
352
364
  declare function useElevasisFeatures(): ElevasisFeaturesContextValue;
353
365
  declare function useOptionalElevasisFeatures(): ElevasisFeaturesContextValue | null;
354
- declare function ElevasisFeaturesProvider({ features, timeRange, operationsApiUrl, operationsSSEManager, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
366
+ declare function ElevasisFeaturesProvider({ features, timeRange, operationsApiUrl, operationsSSEManager, disabledSubsectionPaths, children }: ElevasisFeaturesProviderProps): react_jsx_runtime.JSX.Element;
355
367
 
356
368
  declare function FeatureShell({ children }: {
357
369
  children: ReactNode;
@@ -399,4 +411,4 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
399
411
  declare function ElevasisServiceProvider({ apiRequest, organizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
400
412
 
401
413
  export { AppearanceProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, FeatureShell, NotificationProvider, useAppearance, useElevasisFeatures, useElevasisServices, useNotificationAdapter, useOptionalElevasisFeatures };
402
- export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisTokenOverrides, FeatureModule, FeatureNavEntry, FeatureNavLink, FeatureRegistry, FeatureSidebarComponent, NotificationAdapter, WithSchemes };
414
+ export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisTokenOverrides, FeatureModule, FeatureNavEntry, FeatureNavLink, FeatureRegistry, FeatureRouteResolution, FeatureRouteState, FeatureSidebarComponent, NotificationAdapter, WithSchemes };
@@ -1,13 +1,18 @@
1
- export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from '../chunk-45MS3IAW.js';
2
- import '../chunk-5COLSYBE.js';
1
+ export { ElevasisCoreProvider, ElevasisFeaturesProvider, FeatureShell, NotificationProvider, useElevasisFeatures, useNotificationAdapter, useOptionalElevasisFeatures } from '../chunk-MZPVNRPL.js';
2
+ import '../chunk-RX4UWZZR.js';
3
+ import '../chunk-Y3D3WFJG.js';
4
+ import '../chunk-3KMDHCAR.js';
5
+ import '../chunk-NYBEU5TE.js';
3
6
  import '../chunk-NVOCKXUQ.js';
4
7
  import '../chunk-2IFYDILW.js';
8
+ import '../chunk-ELJIFLCB.js';
5
9
  import '../chunk-W4VYXIN7.js';
6
10
  export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
7
- import '../chunk-QJ2S46NI.js';
11
+ import '../chunk-DT3QYZVU.js';
8
12
  import '../chunk-SLVC5OJ2.js';
9
13
  import '../chunk-RNP5R5I3.js';
10
14
  import '../chunk-IOKL7BKE.js';
15
+ import '../chunk-MTJ43R2E.js';
11
16
  import '../chunk-TUXTSEAF.js';
12
17
  import '../chunk-DD3CCMCZ.js';
13
18
  export { ElevasisServiceProvider, useElevasisServices } from '../chunk-QEPXAWE2.js';
@@ -1,3 +1,3 @@
1
- export { useAvailablePresets } from '../chunk-QTD5HPKD.js';
2
- export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from '../chunk-TXPUIHX2.js';
1
+ export { useAvailablePresets } from '../chunk-EIHG5JZN.js';
2
+ export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from '../chunk-X7CHQ3RE.js';
3
3
  import '../chunk-CYXZHBP4.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
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/eslint-config": "0.0.0",
243
- "@repo/typescript-config": "0.0.0"
242
+ "@repo/typescript-config": "0.0.0",
243
+ "@repo/eslint-config": "0.0.0"
244
244
  },
245
245
  "dependencies": {
246
246
  "@dagrejs/dagre": "^1.1.4",
@@ -1,13 +0,0 @@
1
- import { useAuthContext } from './chunk-BRJ3QZ4E.js';
2
- import { useRef, useCallback } from 'react';
3
-
4
- function useStableAccessToken() {
5
- const { getAccessToken } = useAuthContext();
6
- const getAccessTokenRef = useRef(getAccessToken);
7
- getAccessTokenRef.current = getAccessToken;
8
- return useCallback(() => {
9
- return getAccessTokenRef.current();
10
- }, []);
11
- }
12
-
13
- export { useStableAccessToken };