@elevasis/ui 1.24.3 → 1.25.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 (41) hide show
  1. package/dist/charts/index.js +2 -2
  2. package/dist/{chunk-H3MU3WTM.js → chunk-3EVTCVKR.js} +2 -2
  3. package/dist/{chunk-ZDKC3V7C.js → chunk-7RS6VTAV.js} +56 -57
  4. package/dist/{chunk-TQBM3OEW.js → chunk-BS4J2LAW.js} +1 -1
  5. package/dist/{chunk-JR2C4XAN.js → chunk-CYXZHBP4.js} +202 -295
  6. package/dist/{chunk-OH74INP2.js → chunk-FEZZ3IDU.js} +434 -314
  7. package/dist/{chunk-IAZT3VO6.js → chunk-G25YWGUL.js} +4 -1
  8. package/dist/{chunk-BGTZFEKR.js → chunk-HYYI4ZFT.js} +6 -252
  9. package/dist/{chunk-CTF6FS2M.js → chunk-L3GVDMCA.js} +211 -1
  10. package/dist/{chunk-VMMNFRAO.js → chunk-QNABH7YG.js} +3 -3
  11. package/dist/{chunk-JTUX5FDC.js → chunk-R565P6XC.js} +691 -2
  12. package/dist/{chunk-WY5IJI37.js → chunk-RIL2CDFE.js} +2 -2
  13. package/dist/{chunk-TML32XBW.js → chunk-RMPXGBNI.js} +2 -2
  14. package/dist/{chunk-UG5565XQ.js → chunk-US4JUSI3.js} +3 -3
  15. package/dist/components/index.d.ts +3005 -192
  16. package/dist/components/index.js +1539 -24
  17. package/dist/features/auth/index.d.ts +108 -9
  18. package/dist/features/dashboard/index.js +7 -7
  19. package/dist/features/monitoring/index.js +8 -8
  20. package/dist/features/operations/index.d.ts +8 -2
  21. package/dist/features/operations/index.js +52 -55
  22. package/dist/features/settings/index.d.ts +108 -9
  23. package/dist/features/settings/index.js +27 -10
  24. package/dist/hooks/index.d.ts +3279 -185
  25. package/dist/hooks/index.js +4 -4
  26. package/dist/hooks/published.d.ts +108 -9
  27. package/dist/hooks/published.js +3 -3
  28. package/dist/index.d.ts +3285 -187
  29. package/dist/index.js +5 -5
  30. package/dist/initialization/index.d.ts +108 -9
  31. package/dist/layout/index.d.ts +60 -3
  32. package/dist/layout/index.js +2 -2
  33. package/dist/profile/index.d.ts +108 -9
  34. package/dist/provider/index.d.ts +6 -2
  35. package/dist/provider/index.js +3 -3
  36. package/dist/provider/published.d.ts +6 -2
  37. package/dist/supabase/index.d.ts +210 -18
  38. package/dist/theme/index.d.ts +6 -2
  39. package/dist/theme/index.js +3 -3
  40. package/dist/types/index.d.ts +108 -9
  41. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-UG5565XQ.js';
2
- import { CardHeader, EmptyState } from './chunk-IAZT3VO6.js';
1
+ import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-US4JUSI3.js';
2
+ import { CardHeader, EmptyState } from './chunk-G25YWGUL.js';
3
3
  import { useResourcesHealth } from './chunk-QDO6NF2I.js';
4
4
  import { getTimeRangeDates, formatBucketTime } from './chunk-LXHZYSMQ.js';
5
5
  import { Paper, Center, Loader, Group } from '@mantine/core';
@@ -1,6 +1,6 @@
1
1
  import { ElevasisLoader } from './chunk-SZHARWKU.js';
2
- import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-OH74INP2.js';
3
- import { AppBackground } from './chunk-JR2C4XAN.js';
2
+ import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-FEZZ3IDU.js';
3
+ import { AppBackground } from './chunk-CYXZHBP4.js';
4
4
  import { ElevasisCoreProvider } from './chunk-R7WLWGPO.js';
5
5
  import { AppearanceProvider } from './chunk-QJ2KCHKX.js';
6
6
  import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-IOKL7BKE.js';
@@ -1,4 +1,4 @@
1
- import { CardHeader, APIErrorAlert, TrendIndicator, EmptyState, StatCard } from './chunk-IAZT3VO6.js';
1
+ import { CardHeader, CenteredErrorState, TrendIndicator, EmptyState, StatCard } from './chunk-G25YWGUL.js';
2
2
  import { getTimeRangeLabel, getTimeRangeDates, useErrorTrends, formatBucketTime } from './chunk-LXHZYSMQ.js';
3
3
  import { useRef, useState, useLayoutEffect, useEffect, useMemo, useCallback } from 'react';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -677,7 +677,7 @@ function CostTrendChart({ data, summaryData, isLoading, error }) {
677
677
  URL.revokeObjectURL(url);
678
678
  };
679
679
  if (error) {
680
- return /* @__PURE__ */ jsx(APIErrorAlert, { error, title: "Failed to load cost trends" });
680
+ return /* @__PURE__ */ jsx(Paper, { withBorder: true, children: /* @__PURE__ */ jsx(CenteredErrorState, { error, title: "Failed to load cost trends" }) });
681
681
  }
682
682
  if (isLoading) {
683
683
  return /* @__PURE__ */ jsx(Paper, { withBorder: true, children: /* @__PURE__ */ jsx(Center, { p: "xl", children: /* @__PURE__ */ jsx(Loader, {}) }) });
@@ -853,7 +853,7 @@ function CombinedTrendChart({
853
853
  });
854
854
  const xTickFormatter = useCallback((value) => formatBucketTime(value, granularity), [granularity]);
855
855
  if (error) {
856
- return /* @__PURE__ */ jsx(APIErrorAlert, { error, title: "Failed to load trend data" });
856
+ return /* @__PURE__ */ jsx(Paper, { withBorder: true, children: /* @__PURE__ */ jsx(CenteredErrorState, { error, title: "Failed to load trend data" }) });
857
857
  }
858
858
  if (isLoading) {
859
859
  return /* @__PURE__ */ jsx(Paper, { withBorder: true, children: /* @__PURE__ */ jsx(Center, { p: "xl", children: /* @__PURE__ */ jsx(Loader, {}) }) });