@elevasis/ui 1.13.0 → 1.14.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.
- package/dist/{chunk-HLZMP7GN.js → chunk-BUN337J3.js} +1 -9
- package/dist/{chunk-4HLCZVS6.js → chunk-F5BVI434.js} +10 -3
- package/dist/{chunk-4TWGUI3L.js → chunk-LP6CQOHV.js} +1 -1
- package/dist/{chunk-7RAT54LF.js → chunk-M3WZAG5D.js} +1 -1
- package/dist/{chunk-C27S6IIV.js → chunk-MJ7SDCIL.js} +2 -2
- package/dist/chunk-QJ2KCHKX.js +17 -0
- package/dist/{chunk-HRG3KPL6.js → chunk-TBRTRBJV.js} +3 -15
- package/dist/components/index.js +8 -7
- package/dist/hooks/index.css +45 -45
- package/dist/hooks/index.js +6 -5
- package/dist/hooks/published.css +45 -45
- package/dist/hooks/published.js +5 -4
- package/dist/index.css +45 -45
- package/dist/index.d.ts +18 -20
- package/dist/index.js +6 -5
- package/dist/layout/index.js +3 -2
- package/dist/provider/index.css +45 -45
- package/dist/provider/index.d.ts +18 -20
- package/dist/provider/index.js +4 -3
- package/dist/provider/published.d.ts +13 -19
- package/dist/provider/published.js +2 -3
- package/package.json +1 -1
- package/dist/provider/published.css +0 -44
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { AppBackground, AppearanceProvider } from './chunk-HRG3KPL6.js';
|
|
2
|
-
import { ElevasisLoader } from './chunk-SZHARWKU.js';
|
|
3
1
|
import { OrganizationProvider } from './chunk-HGNP6EVB.js';
|
|
4
2
|
import { ApiClientProvider, useApiClient } from './chunk-RULQSZYX.js';
|
|
5
3
|
import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-FCFLBMVI.js';
|
|
@@ -10,7 +8,6 @@ import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
|
10
8
|
import { createContext, lazy, useContext, Suspense, useRef } from 'react';
|
|
11
9
|
import { jsx } from 'react/jsx-runtime';
|
|
12
10
|
import { QueryClientProvider, QueryClient } from '@tanstack/react-query';
|
|
13
|
-
import { Loader } from '@mantine/core';
|
|
14
11
|
|
|
15
12
|
var consoleAdapter = {
|
|
16
13
|
success(title, message) {
|
|
@@ -72,7 +69,6 @@ function ElevasisCoreProvider({
|
|
|
72
69
|
apiUrl,
|
|
73
70
|
onError,
|
|
74
71
|
notifications,
|
|
75
|
-
appearance,
|
|
76
72
|
children
|
|
77
73
|
}) {
|
|
78
74
|
if (auth.mode === "apiKey") {
|
|
@@ -81,13 +77,9 @@ function ElevasisCoreProvider({
|
|
|
81
77
|
);
|
|
82
78
|
}
|
|
83
79
|
const resolvedQueryClient = queryClient ?? getDefaultQueryClient();
|
|
84
|
-
const resolvedAppearance = {
|
|
85
|
-
background: appearance?.background ?? /* @__PURE__ */ jsx(AppBackground, {}),
|
|
86
|
-
loader: appearance?.loader ?? /* @__PURE__ */ jsx(Loader, { size: "xl", loaders: { elevasis: ElevasisLoader }, type: "elevasis" })
|
|
87
|
-
};
|
|
88
80
|
const content = apiUrl ? /* @__PURE__ */ jsx(ServiceStack, { apiUrl, onError, notifications, children }) : children;
|
|
89
81
|
const AuthInner = /* @__PURE__ */ jsx(Suspense, { fallback: null, children: /* @__PURE__ */ jsx(LazyCoreAuthKitInner, { auth, children: content }) });
|
|
90
|
-
return /* @__PURE__ */ jsx(QueryClientProvider, { client: resolvedQueryClient, children:
|
|
82
|
+
return /* @__PURE__ */ jsx(QueryClientProvider, { client: resolvedQueryClient, children: AuthInner });
|
|
91
83
|
}
|
|
92
84
|
function ServiceStack({
|
|
93
85
|
apiUrl,
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-WNRHQAJA.js';
|
|
2
|
-
import {
|
|
2
|
+
import { AppBackground } from './chunk-TBRTRBJV.js';
|
|
3
|
+
import { ElevasisLoader } from './chunk-SZHARWKU.js';
|
|
4
|
+
import { ElevasisCoreProvider } from './chunk-BUN337J3.js';
|
|
5
|
+
import { AppearanceProvider } from './chunk-QJ2KCHKX.js';
|
|
3
6
|
import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-FCFLBMVI.js';
|
|
4
7
|
import { useMemo, useEffect } from 'react';
|
|
5
|
-
import { mergeThemeOverrides, MantineProvider } from '@mantine/core';
|
|
8
|
+
import { Loader, mergeThemeOverrides, MantineProvider } from '@mantine/core';
|
|
6
9
|
import '@mantine/core/styles.css';
|
|
7
10
|
import '@mantine/notifications/styles.css';
|
|
8
11
|
import { notifications } from '@mantine/notifications';
|
|
@@ -36,6 +39,10 @@ var mantineAdapter = {
|
|
|
36
39
|
function ElevasisUIProvider({ theme, children, ...coreProps }) {
|
|
37
40
|
const resolvedColorScheme = theme?.colorScheme ?? "dark";
|
|
38
41
|
const activePresets = theme?.presets ?? PRESETS;
|
|
42
|
+
const resolvedAppearance = {
|
|
43
|
+
background: theme?.background ?? /* @__PURE__ */ jsx(AppBackground, {}),
|
|
44
|
+
loader: theme?.loader ?? /* @__PURE__ */ jsx(Loader, { size: "xl", loaders: { elevasis: ElevasisLoader }, type: "elevasis" })
|
|
45
|
+
};
|
|
39
46
|
const preset = useMemo(() => getPreset(theme?.preset ?? "default", theme?.presets), [theme?.preset, theme?.presets]);
|
|
40
47
|
useEffect(() => {
|
|
41
48
|
if (!preset.fontImports?.length) return;
|
|
@@ -80,7 +87,7 @@ function ElevasisUIProvider({ theme, children, ...coreProps }) {
|
|
|
80
87
|
theme: resolvedTheme,
|
|
81
88
|
defaultColorScheme: resolvedColorScheme,
|
|
82
89
|
cssVariablesResolver,
|
|
83
|
-
children: /* @__PURE__ */ jsx(PresetsProvider, { value: activePresets, children: /* @__PURE__ */ jsx(ElevasisCoreProvider, { notifications: mantineAdapter, ...coreProps, children }) })
|
|
90
|
+
children: /* @__PURE__ */ jsx(PresetsProvider, { value: activePresets, children: /* @__PURE__ */ jsx(AppearanceProvider, { value: resolvedAppearance, children: /* @__PURE__ */ jsx(ElevasisCoreProvider, { notifications: mantineAdapter, ...coreProps, children }) }) })
|
|
84
91
|
}
|
|
85
92
|
);
|
|
86
93
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getTimeRangeDates, observabilityKeys } from './chunk-EQNXEBGZ.js';
|
|
2
2
|
import { useSupabase } from './chunk-NJJ3NQ7B.js';
|
|
3
3
|
import { GRAPH_CONSTANTS } from './chunk-F6RBK7NJ.js';
|
|
4
|
-
import { useNotificationAdapter } from './chunk-
|
|
4
|
+
import { useNotificationAdapter } from './chunk-BUN337J3.js';
|
|
5
5
|
import { HTTP_HEADERS } from './chunk-RULQSZYX.js';
|
|
6
6
|
import { STALE_TIME_MONITORING, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, STALE_TIME_DEFAULT, STALE_TIME_ADMIN } from './chunk-FCFLBMVI.js';
|
|
7
7
|
import { useStableAccessToken } from './chunk-ALA56RGZ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NavigationButton } from './chunk-YHTK43DV.js';
|
|
2
|
-
import { useAppearance } from './chunk-HRG3KPL6.js';
|
|
3
2
|
import { ElevasisLoader } from './chunk-SZHARWKU.js';
|
|
3
|
+
import { useAppearance } from './chunk-QJ2KCHKX.js';
|
|
4
4
|
import { useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
import { Collapse, HoverCard, Stack, Group, Text, UnstyledButton, Tooltip, ScrollArea, Menu, Avatar, Container, Loader, Title, Button, Box, Center, useMantineColorScheme, Switch, Code } from '@mantine/core';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CredentialNameSchema, UuidSchema, useErrorNotification } from './chunk-
|
|
1
|
+
import { CredentialNameSchema, UuidSchema, useErrorNotification } from './chunk-LP6CQOHV.js';
|
|
2
2
|
import { getTimeRangeDates } from './chunk-EQNXEBGZ.js';
|
|
3
|
-
import { useNotificationAdapter } from './chunk-
|
|
3
|
+
import { useNotificationAdapter } from './chunk-BUN337J3.js';
|
|
4
4
|
import { GC_TIME_SHORT, STALE_TIME_MONITORING, GC_TIME_MEDIUM, STALE_TIME_DEFAULT, getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-FCFLBMVI.js';
|
|
5
5
|
import { useElevasisServices } from './chunk-BK4EIWNU.js';
|
|
6
6
|
import { z } from 'zod';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createContext, useContext } from 'react';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
// src/provider/AppearanceContext.tsx
|
|
5
|
+
var AppearanceContext = createContext(null);
|
|
6
|
+
function AppearanceProvider({ value, children }) {
|
|
7
|
+
return /* @__PURE__ */ jsx(AppearanceContext.Provider, { value, children });
|
|
8
|
+
}
|
|
9
|
+
function useAppearance() {
|
|
10
|
+
const ctx = useContext(AppearanceContext);
|
|
11
|
+
if (!ctx) {
|
|
12
|
+
throw new Error("useAppearance must be used within an AppearanceProvider (ElevasisCoreProvider)");
|
|
13
|
+
}
|
|
14
|
+
return ctx;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { AppearanceProvider, useAppearance };
|
|
@@ -1,19 +1,7 @@
|
|
|
1
|
-
import { createContext, useContext } from 'react';
|
|
2
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
1
|
import { useComputedColorScheme } from '@mantine/core';
|
|
2
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
4
3
|
|
|
5
|
-
// src/
|
|
6
|
-
var AppearanceContext = createContext(null);
|
|
7
|
-
function AppearanceProvider({ value, children }) {
|
|
8
|
-
return /* @__PURE__ */ jsx(AppearanceContext.Provider, { value, children });
|
|
9
|
-
}
|
|
10
|
-
function useAppearance() {
|
|
11
|
-
const ctx = useContext(AppearanceContext);
|
|
12
|
-
if (!ctx) {
|
|
13
|
-
throw new Error("useAppearance must be used within an AppearanceProvider (ElevasisCoreProvider)");
|
|
14
|
-
}
|
|
15
|
-
return ctx;
|
|
16
|
-
}
|
|
4
|
+
// src/components/layout/backgrounds/PerspectiveGrid.tsx
|
|
17
5
|
function PerspectiveGrid({
|
|
18
6
|
glowColor = "rgba(123, 123, 123, 0.1)",
|
|
19
7
|
className
|
|
@@ -292,4 +280,4 @@ function AppBackground({ children }) {
|
|
|
292
280
|
] });
|
|
293
281
|
}
|
|
294
282
|
|
|
295
|
-
export { AppBackground,
|
|
283
|
+
export { AppBackground, FilmGrain, FloatingOrbs, PerspectiveGrid, RadiantGlow };
|
package/dist/components/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useCyberColors, EmptyState, CyberLegendItem, CyberAreaChart, APIErrorAlert, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, ContextViewer, JsonViewer, StyledMarkdown, PageTitleCaption, StatCard, CyberDonut, CollapsibleSection, ListSkeleton } from '../chunk-RM6ACTB3.js';
|
|
2
2
|
export { APIErrorAlert, CardHeader, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StyledMarkdown, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition } from '../chunk-RM6ACTB3.js';
|
|
3
|
-
import { SubshellLoader, SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer, PageContainer, AppShellLoader, SubshellSidebarSection, CollapsibleSidebarGroup, SidebarListItem } from '../chunk-
|
|
3
|
+
import { SubshellLoader, SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer, PageContainer, AppShellLoader, SubshellSidebarSection, CollapsibleSidebarGroup, SidebarListItem } from '../chunk-M3WZAG5D.js';
|
|
4
4
|
export { NavigationButton } from '../chunk-YHTK43DV.js';
|
|
5
|
-
import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useDeleteCredential, useCreateCredential, useCredentials, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, showApiErrorNotification, showSuccessNotification, CredentialSchemas, showErrorNotification } from '../chunk-
|
|
6
|
-
export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-
|
|
7
|
-
import { useCommandViewLayout, useResourcesHealth, useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useMarkAllAsRead, useNotificationCount, useNotifications, useSubmitAction, useDeleteTask, useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useCommandQueueTotals } from '../chunk-
|
|
5
|
+
import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useDeleteCredential, useCreateCredential, useCredentials, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, showApiErrorNotification, showSuccessNotification, CredentialSchemas, showErrorNotification } from '../chunk-MJ7SDCIL.js';
|
|
6
|
+
export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-MJ7SDCIL.js';
|
|
7
|
+
import { useCommandViewLayout, useResourcesHealth, useResolveError, useResolveAllErrors, usePaginationState, useErrorDetails, useMarkAsRead, useMarkAllAsRead, useNotificationCount, useNotifications, useSubmitAction, useDeleteTask, useErrorDetail, useExecution, useArchivedLogs, useDeleteExecution, useRetryExecution, useCancelExecution, useDeploymentDocs, useResources, useCreateSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useCancelSchedule, useDeleteSchedule, useCommandQueueTotals } from '../chunk-LP6CQOHV.js';
|
|
8
8
|
import { getTimeRangeDates, formatBucketTime } from '../chunk-EQNXEBGZ.js';
|
|
9
9
|
import '../chunk-NJJ3NQ7B.js';
|
|
10
10
|
import '../chunk-LHQTTUL2.js';
|
|
@@ -16,12 +16,13 @@ import { ResourceStatusColors, toWorkflowLogMessages } from '../chunk-ELJIFLCB.j
|
|
|
16
16
|
import '../chunk-GU46QC4Z.js';
|
|
17
17
|
import '../chunk-CKFTPEBC.js';
|
|
18
18
|
import '../chunk-RNP5R5I3.js';
|
|
19
|
-
import '../chunk-
|
|
19
|
+
import '../chunk-F5BVI434.js';
|
|
20
20
|
import '../chunk-WNRHQAJA.js';
|
|
21
|
-
import '../chunk-
|
|
22
|
-
import { useAppearance } from '../chunk-HRG3KPL6.js';
|
|
21
|
+
import '../chunk-TBRTRBJV.js';
|
|
23
22
|
import { ElevasisLoader } from '../chunk-SZHARWKU.js';
|
|
24
23
|
export { ElevasisLoader } from '../chunk-SZHARWKU.js';
|
|
24
|
+
import '../chunk-BUN337J3.js';
|
|
25
|
+
import { useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
25
26
|
import '../chunk-HGNP6EVB.js';
|
|
26
27
|
import '../chunk-RULQSZYX.js';
|
|
27
28
|
import { getResourceIcon, getResourceColor, formatChartAxisDate, PAGE_SIZE_DEFAULT, getErrorInfo, formatErrorMessage, formatDateTime } from '../chunk-FCFLBMVI.js';
|
package/dist/hooks/index.css
CHANGED
|
@@ -1,48 +1,3 @@
|
|
|
1
|
-
/* src/components/display/ElevasisLoader.module.css */
|
|
2
|
-
.wrapper {
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
width: var(--loader-size);
|
|
7
|
-
height: var(--loader-size);
|
|
8
|
-
overflow: visible;
|
|
9
|
-
}
|
|
10
|
-
.loader {
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
display: block;
|
|
14
|
-
overflow: visible;
|
|
15
|
-
}
|
|
16
|
-
.chevron {
|
|
17
|
-
stroke: var(--loader-color);
|
|
18
|
-
stroke-width: 2;
|
|
19
|
-
stroke-linecap: square;
|
|
20
|
-
stroke-linejoin: miter;
|
|
21
|
-
fill: none;
|
|
22
|
-
opacity: 0.15;
|
|
23
|
-
animation: chevronPulse 2s ease-in-out infinite;
|
|
24
|
-
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
25
|
-
}
|
|
26
|
-
.c1 {
|
|
27
|
-
animation-delay: 0s;
|
|
28
|
-
}
|
|
29
|
-
.c2 {
|
|
30
|
-
animation-delay: 0.2s;
|
|
31
|
-
}
|
|
32
|
-
.c3 {
|
|
33
|
-
animation-delay: 0.4s;
|
|
34
|
-
}
|
|
35
|
-
@keyframes chevronPulse {
|
|
36
|
-
0%, 100% {
|
|
37
|
-
opacity: 0.12;
|
|
38
|
-
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
39
|
-
}
|
|
40
|
-
40%, 60% {
|
|
41
|
-
opacity: 1;
|
|
42
|
-
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
1
|
/* src/theme/custom.css */
|
|
47
2
|
.mantine-Accordion-control:hover {
|
|
48
3
|
background-color: var(--color-surface-hover);
|
|
@@ -108,6 +63,51 @@
|
|
|
108
63
|
outline: none;
|
|
109
64
|
}
|
|
110
65
|
|
|
66
|
+
/* src/components/display/ElevasisLoader.module.css */
|
|
67
|
+
.wrapper {
|
|
68
|
+
display: inline-flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
width: var(--loader-size);
|
|
72
|
+
height: var(--loader-size);
|
|
73
|
+
overflow: visible;
|
|
74
|
+
}
|
|
75
|
+
.loader {
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
78
|
+
display: block;
|
|
79
|
+
overflow: visible;
|
|
80
|
+
}
|
|
81
|
+
.chevron {
|
|
82
|
+
stroke: var(--loader-color);
|
|
83
|
+
stroke-width: 2;
|
|
84
|
+
stroke-linecap: square;
|
|
85
|
+
stroke-linejoin: miter;
|
|
86
|
+
fill: none;
|
|
87
|
+
opacity: 0.15;
|
|
88
|
+
animation: chevronPulse 2s ease-in-out infinite;
|
|
89
|
+
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
90
|
+
}
|
|
91
|
+
.c1 {
|
|
92
|
+
animation-delay: 0s;
|
|
93
|
+
}
|
|
94
|
+
.c2 {
|
|
95
|
+
animation-delay: 0.2s;
|
|
96
|
+
}
|
|
97
|
+
.c3 {
|
|
98
|
+
animation-delay: 0.4s;
|
|
99
|
+
}
|
|
100
|
+
@keyframes chevronPulse {
|
|
101
|
+
0%, 100% {
|
|
102
|
+
opacity: 0.12;
|
|
103
|
+
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
104
|
+
}
|
|
105
|
+
40%, 60% {
|
|
106
|
+
opacity: 1;
|
|
107
|
+
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
111
|
/* src/graph/Graph.module.css */
|
|
112
112
|
@keyframes edgeFlow {
|
|
113
113
|
0% {
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-
|
|
2
|
-
export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from '../chunk-
|
|
1
|
+
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-MJ7SDCIL.js';
|
|
2
|
+
export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from '../chunk-LP6CQOHV.js';
|
|
3
3
|
export { observabilityKeys, useErrorTrends } from '../chunk-EQNXEBGZ.js';
|
|
4
4
|
import '../chunk-NJJ3NQ7B.js';
|
|
5
5
|
import '../chunk-F6RBK7NJ.js';
|
|
6
6
|
import '../chunk-GU46QC4Z.js';
|
|
7
7
|
import '../chunk-RNP5R5I3.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-F5BVI434.js';
|
|
9
9
|
import '../chunk-WNRHQAJA.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-HRG3KPL6.js';
|
|
10
|
+
import '../chunk-TBRTRBJV.js';
|
|
12
11
|
import '../chunk-SZHARWKU.js';
|
|
12
|
+
import '../chunk-BUN337J3.js';
|
|
13
|
+
import '../chunk-QJ2KCHKX.js';
|
|
13
14
|
import '../chunk-HGNP6EVB.js';
|
|
14
15
|
import '../chunk-RULQSZYX.js';
|
|
15
16
|
export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-FCFLBMVI.js';
|
package/dist/hooks/published.css
CHANGED
|
@@ -1,48 +1,3 @@
|
|
|
1
|
-
/* src/components/display/ElevasisLoader.module.css */
|
|
2
|
-
.wrapper {
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
width: var(--loader-size);
|
|
7
|
-
height: var(--loader-size);
|
|
8
|
-
overflow: visible;
|
|
9
|
-
}
|
|
10
|
-
.loader {
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
display: block;
|
|
14
|
-
overflow: visible;
|
|
15
|
-
}
|
|
16
|
-
.chevron {
|
|
17
|
-
stroke: var(--loader-color);
|
|
18
|
-
stroke-width: 2;
|
|
19
|
-
stroke-linecap: square;
|
|
20
|
-
stroke-linejoin: miter;
|
|
21
|
-
fill: none;
|
|
22
|
-
opacity: 0.15;
|
|
23
|
-
animation: chevronPulse 2s ease-in-out infinite;
|
|
24
|
-
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
25
|
-
}
|
|
26
|
-
.c1 {
|
|
27
|
-
animation-delay: 0s;
|
|
28
|
-
}
|
|
29
|
-
.c2 {
|
|
30
|
-
animation-delay: 0.2s;
|
|
31
|
-
}
|
|
32
|
-
.c3 {
|
|
33
|
-
animation-delay: 0.4s;
|
|
34
|
-
}
|
|
35
|
-
@keyframes chevronPulse {
|
|
36
|
-
0%, 100% {
|
|
37
|
-
opacity: 0.12;
|
|
38
|
-
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
39
|
-
}
|
|
40
|
-
40%, 60% {
|
|
41
|
-
opacity: 1;
|
|
42
|
-
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
1
|
/* src/theme/custom.css */
|
|
47
2
|
.mantine-Accordion-control:hover {
|
|
48
3
|
background-color: var(--color-surface-hover);
|
|
@@ -108,6 +63,51 @@
|
|
|
108
63
|
outline: none;
|
|
109
64
|
}
|
|
110
65
|
|
|
66
|
+
/* src/components/display/ElevasisLoader.module.css */
|
|
67
|
+
.wrapper {
|
|
68
|
+
display: inline-flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
width: var(--loader-size);
|
|
72
|
+
height: var(--loader-size);
|
|
73
|
+
overflow: visible;
|
|
74
|
+
}
|
|
75
|
+
.loader {
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
78
|
+
display: block;
|
|
79
|
+
overflow: visible;
|
|
80
|
+
}
|
|
81
|
+
.chevron {
|
|
82
|
+
stroke: var(--loader-color);
|
|
83
|
+
stroke-width: 2;
|
|
84
|
+
stroke-linecap: square;
|
|
85
|
+
stroke-linejoin: miter;
|
|
86
|
+
fill: none;
|
|
87
|
+
opacity: 0.15;
|
|
88
|
+
animation: chevronPulse 2s ease-in-out infinite;
|
|
89
|
+
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
90
|
+
}
|
|
91
|
+
.c1 {
|
|
92
|
+
animation-delay: 0s;
|
|
93
|
+
}
|
|
94
|
+
.c2 {
|
|
95
|
+
animation-delay: 0.2s;
|
|
96
|
+
}
|
|
97
|
+
.c3 {
|
|
98
|
+
animation-delay: 0.4s;
|
|
99
|
+
}
|
|
100
|
+
@keyframes chevronPulse {
|
|
101
|
+
0%, 100% {
|
|
102
|
+
opacity: 0.12;
|
|
103
|
+
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
104
|
+
}
|
|
105
|
+
40%, 60% {
|
|
106
|
+
opacity: 1;
|
|
107
|
+
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
111
|
/* src/graph/Graph.module.css */
|
|
112
112
|
@keyframes edgeFlow {
|
|
113
113
|
0% {
|
package/dist/hooks/published.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from '../chunk-
|
|
1
|
+
export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from '../chunk-LP6CQOHV.js';
|
|
2
2
|
export { observabilityKeys, useErrorTrends } from '../chunk-EQNXEBGZ.js';
|
|
3
3
|
import '../chunk-NJJ3NQ7B.js';
|
|
4
4
|
import '../chunk-F6RBK7NJ.js';
|
|
5
5
|
import '../chunk-GU46QC4Z.js';
|
|
6
6
|
import '../chunk-RNP5R5I3.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-F5BVI434.js';
|
|
8
8
|
import '../chunk-WNRHQAJA.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-HRG3KPL6.js';
|
|
9
|
+
import '../chunk-TBRTRBJV.js';
|
|
11
10
|
import '../chunk-SZHARWKU.js';
|
|
11
|
+
import '../chunk-BUN337J3.js';
|
|
12
|
+
import '../chunk-QJ2KCHKX.js';
|
|
12
13
|
import '../chunk-HGNP6EVB.js';
|
|
13
14
|
import '../chunk-RULQSZYX.js';
|
|
14
15
|
export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-FCFLBMVI.js';
|
package/dist/index.css
CHANGED
|
@@ -386,51 +386,6 @@
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
/* src/components/display/ElevasisLoader.module.css */
|
|
390
|
-
.wrapper {
|
|
391
|
-
display: inline-flex;
|
|
392
|
-
align-items: center;
|
|
393
|
-
justify-content: center;
|
|
394
|
-
width: var(--loader-size);
|
|
395
|
-
height: var(--loader-size);
|
|
396
|
-
overflow: visible;
|
|
397
|
-
}
|
|
398
|
-
.loader {
|
|
399
|
-
width: 100%;
|
|
400
|
-
height: 100%;
|
|
401
|
-
display: block;
|
|
402
|
-
overflow: visible;
|
|
403
|
-
}
|
|
404
|
-
.chevron {
|
|
405
|
-
stroke: var(--loader-color);
|
|
406
|
-
stroke-width: 2;
|
|
407
|
-
stroke-linecap: square;
|
|
408
|
-
stroke-linejoin: miter;
|
|
409
|
-
fill: none;
|
|
410
|
-
opacity: 0.15;
|
|
411
|
-
animation: chevronPulse 2s ease-in-out infinite;
|
|
412
|
-
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
413
|
-
}
|
|
414
|
-
.c1 {
|
|
415
|
-
animation-delay: 0s;
|
|
416
|
-
}
|
|
417
|
-
.c2 {
|
|
418
|
-
animation-delay: 0.2s;
|
|
419
|
-
}
|
|
420
|
-
.c3 {
|
|
421
|
-
animation-delay: 0.4s;
|
|
422
|
-
}
|
|
423
|
-
@keyframes chevronPulse {
|
|
424
|
-
0%, 100% {
|
|
425
|
-
opacity: 0.12;
|
|
426
|
-
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
427
|
-
}
|
|
428
|
-
40%, 60% {
|
|
429
|
-
opacity: 1;
|
|
430
|
-
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
389
|
/* src/theme/custom.css */
|
|
435
390
|
.mantine-Accordion-control:hover {
|
|
436
391
|
background-color: var(--color-surface-hover);
|
|
@@ -495,3 +450,48 @@
|
|
|
495
450
|
.recharts-surface:focus {
|
|
496
451
|
outline: none;
|
|
497
452
|
}
|
|
453
|
+
|
|
454
|
+
/* src/components/display/ElevasisLoader.module.css */
|
|
455
|
+
.wrapper {
|
|
456
|
+
display: inline-flex;
|
|
457
|
+
align-items: center;
|
|
458
|
+
justify-content: center;
|
|
459
|
+
width: var(--loader-size);
|
|
460
|
+
height: var(--loader-size);
|
|
461
|
+
overflow: visible;
|
|
462
|
+
}
|
|
463
|
+
.loader {
|
|
464
|
+
width: 100%;
|
|
465
|
+
height: 100%;
|
|
466
|
+
display: block;
|
|
467
|
+
overflow: visible;
|
|
468
|
+
}
|
|
469
|
+
.chevron {
|
|
470
|
+
stroke: var(--loader-color);
|
|
471
|
+
stroke-width: 2;
|
|
472
|
+
stroke-linecap: square;
|
|
473
|
+
stroke-linejoin: miter;
|
|
474
|
+
fill: none;
|
|
475
|
+
opacity: 0.15;
|
|
476
|
+
animation: chevronPulse 2s ease-in-out infinite;
|
|
477
|
+
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
478
|
+
}
|
|
479
|
+
.c1 {
|
|
480
|
+
animation-delay: 0s;
|
|
481
|
+
}
|
|
482
|
+
.c2 {
|
|
483
|
+
animation-delay: 0.2s;
|
|
484
|
+
}
|
|
485
|
+
.c3 {
|
|
486
|
+
animation-delay: 0.4s;
|
|
487
|
+
}
|
|
488
|
+
@keyframes chevronPulse {
|
|
489
|
+
0%, 100% {
|
|
490
|
+
opacity: 0.12;
|
|
491
|
+
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
492
|
+
}
|
|
493
|
+
40%, 60% {
|
|
494
|
+
opacity: 1;
|
|
495
|
+
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
496
|
+
}
|
|
497
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -95,18 +95,6 @@ declare function NotificationProvider({ adapter, children }: {
|
|
|
95
95
|
*/
|
|
96
96
|
declare function useNotificationAdapter(): NotificationAdapter;
|
|
97
97
|
|
|
98
|
-
interface AppearanceConfig {
|
|
99
|
-
/** Background layers rendered behind app content. Defaults to Elevasis background. */
|
|
100
|
-
background?: ReactNode;
|
|
101
|
-
/** Loader element rendered during loading states. Defaults to Elevasis chevron loader. */
|
|
102
|
-
loader?: ReactNode;
|
|
103
|
-
}
|
|
104
|
-
declare function AppearanceProvider({ value, children }: {
|
|
105
|
-
value: Required<AppearanceConfig>;
|
|
106
|
-
children: ReactNode;
|
|
107
|
-
}): react_jsx_runtime.JSX.Element;
|
|
108
|
-
declare function useAppearance(): Required<AppearanceConfig>;
|
|
109
|
-
|
|
110
98
|
/** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
|
|
111
99
|
type WithSchemes<T> = T & {
|
|
112
100
|
light?: T;
|
|
@@ -226,12 +214,6 @@ interface ElevasisCoreProviderProps {
|
|
|
226
214
|
* Headless/SDK consumers can pass a custom adapter or omit for console output.
|
|
227
215
|
*/
|
|
228
216
|
notifications?: NotificationAdapter;
|
|
229
|
-
/**
|
|
230
|
-
* Appearance configuration for background and loader.
|
|
231
|
-
* When omitted, defaults to the Elevasis background (PerspectiveGrid + RadiantGlow +
|
|
232
|
-
* FloatingOrbs + FilmGrain) and the Elevasis chevron loader.
|
|
233
|
-
*/
|
|
234
|
-
appearance?: AppearanceConfig;
|
|
235
217
|
/**
|
|
236
218
|
* Whether to inject CSS variables, `data-elevasis-scheme` attribute, and font links.
|
|
237
219
|
* Set to `false` when the consumer has its own complete design system and only
|
|
@@ -5405,7 +5387,19 @@ declare function TanStackRouterBridge({ children }: {
|
|
|
5405
5387
|
* </ElevasisCoreProvider>
|
|
5406
5388
|
* ```
|
|
5407
5389
|
*/
|
|
5408
|
-
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications,
|
|
5390
|
+
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
5391
|
+
|
|
5392
|
+
interface AppearanceConfig {
|
|
5393
|
+
/** Background layers rendered behind app content. Defaults to Elevasis background. */
|
|
5394
|
+
background?: ReactNode;
|
|
5395
|
+
/** Loader element rendered during loading states. Defaults to Elevasis chevron loader. */
|
|
5396
|
+
loader?: ReactNode;
|
|
5397
|
+
}
|
|
5398
|
+
declare function AppearanceProvider({ value, children }: {
|
|
5399
|
+
value: Required<AppearanceConfig>;
|
|
5400
|
+
children: ReactNode;
|
|
5401
|
+
}): react_jsx_runtime.JSX.Element;
|
|
5402
|
+
declare function useAppearance(): Required<AppearanceConfig>;
|
|
5409
5403
|
|
|
5410
5404
|
/**
|
|
5411
5405
|
* Hook to access the ElevasisServiceProvider context.
|
|
@@ -5438,11 +5432,15 @@ declare function ElevasisServiceProvider({ apiRequest, organizationId, isReady,
|
|
|
5438
5432
|
|
|
5439
5433
|
/**
|
|
5440
5434
|
* Mantine-specific theme config — extends the headless core config with
|
|
5441
|
-
* a full Mantine theme override escape hatch.
|
|
5435
|
+
* visual appearance and a full Mantine theme override escape hatch.
|
|
5442
5436
|
*/
|
|
5443
5437
|
interface ElevasisThemeConfig extends ElevasisCoreThemeConfig {
|
|
5444
5438
|
/** Full Mantine theme override — merged on top of Elevasis defaults. */
|
|
5445
5439
|
mantine?: MantineThemeOverride;
|
|
5440
|
+
/** Background layers rendered behind app content. Defaults to Elevasis background (PerspectiveGrid + RadiantGlow + FloatingOrbs + FilmGrain). */
|
|
5441
|
+
background?: ReactNode;
|
|
5442
|
+
/** Loader element rendered during loading states. Defaults to Elevasis chevron loader (xl). */
|
|
5443
|
+
loader?: ReactNode;
|
|
5446
5444
|
}
|
|
5447
5445
|
/**
|
|
5448
5446
|
* Props for ElevasisUIProvider (Mantine variant).
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { useAvailablePresets } from './chunk-ZVVYGKE4.js';
|
|
2
2
|
import './chunk-XCYKC6OZ.js';
|
|
3
|
-
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-
|
|
4
|
-
export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from './chunk-
|
|
3
|
+
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteDeployment, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useOrganizationMembers, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateMemberConfig, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from './chunk-MJ7SDCIL.js';
|
|
4
|
+
export { OperationsService, createUseFeatureAccess, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateSchedule, useCreateSession, useDashboardMetrics, useDeleteExecution, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGraphStats, useListSchedules, useMarkAllAsRead, useMarkAsRead, useNotificationCount, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateSchedule, useWarningNotification } from './chunk-LP6CQOHV.js';
|
|
5
5
|
export { observabilityKeys, useErrorTrends } from './chunk-EQNXEBGZ.js';
|
|
6
6
|
import './chunk-NJJ3NQ7B.js';
|
|
7
7
|
export { TanStackRouterBridge } from './chunk-LHQTTUL2.js';
|
|
@@ -11,11 +11,12 @@ import './chunk-ELJIFLCB.js';
|
|
|
11
11
|
export { createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-GU46QC4Z.js';
|
|
12
12
|
export { createUseAppInitialization } from './chunk-CKFTPEBC.js';
|
|
13
13
|
import './chunk-RNP5R5I3.js';
|
|
14
|
-
export { ElevasisUIProvider } from './chunk-
|
|
14
|
+
export { ElevasisUIProvider } from './chunk-F5BVI434.js';
|
|
15
15
|
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from './chunk-WNRHQAJA.js';
|
|
16
|
-
|
|
17
|
-
export { AppearanceProvider, useAppearance } from './chunk-HRG3KPL6.js';
|
|
16
|
+
import './chunk-TBRTRBJV.js';
|
|
18
17
|
import './chunk-SZHARWKU.js';
|
|
18
|
+
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-BUN337J3.js';
|
|
19
|
+
export { AppearanceProvider, useAppearance } from './chunk-QJ2KCHKX.js';
|
|
19
20
|
export { OrganizationProvider } from './chunk-HGNP6EVB.js';
|
|
20
21
|
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-RULQSZYX.js';
|
|
21
22
|
export { APIClientError, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, OAUTH_POPUP_CHECK_INTERVAL, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, suppressKnownWarnings, validateEmail } from './chunk-FCFLBMVI.js';
|
package/dist/layout/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, LinksGroup, PageContainer, Sidebar, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarSection, Topbar, TopbarContainer, Vignette, sidebarCollapsedWidth, sidebarHoverDelay, sidebarTransitionDuration, sidebarWidth, subsidebarWidth, topbarHeight, useSidebar, useSidebarCollapse } from '../chunk-
|
|
1
|
+
export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, LinksGroup, PageContainer, Sidebar, SidebarListItem, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarSection, Topbar, TopbarContainer, Vignette, sidebarCollapsedWidth, sidebarHoverDelay, sidebarTransitionDuration, sidebarWidth, subsidebarWidth, topbarHeight, useSidebar, useSidebarCollapse } from '../chunk-M3WZAG5D.js';
|
|
2
2
|
import '../chunk-YHTK43DV.js';
|
|
3
3
|
import '../chunk-LHQTTUL2.js';
|
|
4
|
-
export { AppBackground, FilmGrain, FloatingOrbs, PerspectiveGrid, RadiantGlow } from '../chunk-
|
|
4
|
+
export { AppBackground, FilmGrain, FloatingOrbs, PerspectiveGrid, RadiantGlow } from '../chunk-TBRTRBJV.js';
|
|
5
5
|
import '../chunk-SZHARWKU.js';
|
|
6
|
+
import '../chunk-QJ2KCHKX.js';
|
|
6
7
|
import '../chunk-Q7DJKLEN.js';
|
package/dist/provider/index.css
CHANGED
|
@@ -1,48 +1,3 @@
|
|
|
1
|
-
/* src/components/display/ElevasisLoader.module.css */
|
|
2
|
-
.wrapper {
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
width: var(--loader-size);
|
|
7
|
-
height: var(--loader-size);
|
|
8
|
-
overflow: visible;
|
|
9
|
-
}
|
|
10
|
-
.loader {
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
display: block;
|
|
14
|
-
overflow: visible;
|
|
15
|
-
}
|
|
16
|
-
.chevron {
|
|
17
|
-
stroke: var(--loader-color);
|
|
18
|
-
stroke-width: 2;
|
|
19
|
-
stroke-linecap: square;
|
|
20
|
-
stroke-linejoin: miter;
|
|
21
|
-
fill: none;
|
|
22
|
-
opacity: 0.15;
|
|
23
|
-
animation: chevronPulse 2s ease-in-out infinite;
|
|
24
|
-
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
25
|
-
}
|
|
26
|
-
.c1 {
|
|
27
|
-
animation-delay: 0s;
|
|
28
|
-
}
|
|
29
|
-
.c2 {
|
|
30
|
-
animation-delay: 0.2s;
|
|
31
|
-
}
|
|
32
|
-
.c3 {
|
|
33
|
-
animation-delay: 0.4s;
|
|
34
|
-
}
|
|
35
|
-
@keyframes chevronPulse {
|
|
36
|
-
0%, 100% {
|
|
37
|
-
opacity: 0.12;
|
|
38
|
-
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
39
|
-
}
|
|
40
|
-
40%, 60% {
|
|
41
|
-
opacity: 1;
|
|
42
|
-
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
1
|
/* src/theme/custom.css */
|
|
47
2
|
.mantine-Accordion-control:hover {
|
|
48
3
|
background-color: var(--color-surface-hover);
|
|
@@ -107,3 +62,48 @@
|
|
|
107
62
|
.recharts-surface:focus {
|
|
108
63
|
outline: none;
|
|
109
64
|
}
|
|
65
|
+
|
|
66
|
+
/* src/components/display/ElevasisLoader.module.css */
|
|
67
|
+
.wrapper {
|
|
68
|
+
display: inline-flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
width: var(--loader-size);
|
|
72
|
+
height: var(--loader-size);
|
|
73
|
+
overflow: visible;
|
|
74
|
+
}
|
|
75
|
+
.loader {
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
78
|
+
display: block;
|
|
79
|
+
overflow: visible;
|
|
80
|
+
}
|
|
81
|
+
.chevron {
|
|
82
|
+
stroke: var(--loader-color);
|
|
83
|
+
stroke-width: 2;
|
|
84
|
+
stroke-linecap: square;
|
|
85
|
+
stroke-linejoin: miter;
|
|
86
|
+
fill: none;
|
|
87
|
+
opacity: 0.15;
|
|
88
|
+
animation: chevronPulse 2s ease-in-out infinite;
|
|
89
|
+
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
90
|
+
}
|
|
91
|
+
.c1 {
|
|
92
|
+
animation-delay: 0s;
|
|
93
|
+
}
|
|
94
|
+
.c2 {
|
|
95
|
+
animation-delay: 0.2s;
|
|
96
|
+
}
|
|
97
|
+
.c3 {
|
|
98
|
+
animation-delay: 0.4s;
|
|
99
|
+
}
|
|
100
|
+
@keyframes chevronPulse {
|
|
101
|
+
0%, 100% {
|
|
102
|
+
opacity: 0.12;
|
|
103
|
+
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
104
|
+
}
|
|
105
|
+
40%, 60% {
|
|
106
|
+
opacity: 1;
|
|
107
|
+
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
108
|
+
}
|
|
109
|
+
}
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -88,18 +88,6 @@ declare function NotificationProvider({ adapter, children }: {
|
|
|
88
88
|
*/
|
|
89
89
|
declare function useNotificationAdapter(): NotificationAdapter;
|
|
90
90
|
|
|
91
|
-
interface AppearanceConfig {
|
|
92
|
-
/** Background layers rendered behind app content. Defaults to Elevasis background. */
|
|
93
|
-
background?: ReactNode;
|
|
94
|
-
/** Loader element rendered during loading states. Defaults to Elevasis chevron loader. */
|
|
95
|
-
loader?: ReactNode;
|
|
96
|
-
}
|
|
97
|
-
declare function AppearanceProvider({ value, children }: {
|
|
98
|
-
value: Required<AppearanceConfig>;
|
|
99
|
-
children: ReactNode;
|
|
100
|
-
}): react_jsx_runtime.JSX.Element;
|
|
101
|
-
declare function useAppearance(): Required<AppearanceConfig>;
|
|
102
|
-
|
|
103
91
|
/** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
|
|
104
92
|
type WithSchemes<T> = T & {
|
|
105
93
|
light?: T;
|
|
@@ -219,12 +207,6 @@ interface ElevasisCoreProviderProps {
|
|
|
219
207
|
* Headless/SDK consumers can pass a custom adapter or omit for console output.
|
|
220
208
|
*/
|
|
221
209
|
notifications?: NotificationAdapter;
|
|
222
|
-
/**
|
|
223
|
-
* Appearance configuration for background and loader.
|
|
224
|
-
* When omitted, defaults to the Elevasis background (PerspectiveGrid + RadiantGlow +
|
|
225
|
-
* FloatingOrbs + FilmGrain) and the Elevasis chevron loader.
|
|
226
|
-
*/
|
|
227
|
-
appearance?: AppearanceConfig;
|
|
228
210
|
/**
|
|
229
211
|
* Whether to inject CSS variables, `data-elevasis-scheme` attribute, and font links.
|
|
230
212
|
* Set to `false` when the consumer has its own complete design system and only
|
|
@@ -274,7 +256,19 @@ interface ElevasisServiceProviderProps {
|
|
|
274
256
|
* </ElevasisCoreProvider>
|
|
275
257
|
* ```
|
|
276
258
|
*/
|
|
277
|
-
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications,
|
|
259
|
+
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
260
|
+
|
|
261
|
+
interface AppearanceConfig {
|
|
262
|
+
/** Background layers rendered behind app content. Defaults to Elevasis background. */
|
|
263
|
+
background?: ReactNode;
|
|
264
|
+
/** Loader element rendered during loading states. Defaults to Elevasis chevron loader. */
|
|
265
|
+
loader?: ReactNode;
|
|
266
|
+
}
|
|
267
|
+
declare function AppearanceProvider({ value, children }: {
|
|
268
|
+
value: Required<AppearanceConfig>;
|
|
269
|
+
children: ReactNode;
|
|
270
|
+
}): react_jsx_runtime.JSX.Element;
|
|
271
|
+
declare function useAppearance(): Required<AppearanceConfig>;
|
|
278
272
|
|
|
279
273
|
/**
|
|
280
274
|
* Hook to access the ElevasisServiceProvider context.
|
|
@@ -307,11 +301,15 @@ declare function ElevasisServiceProvider({ apiRequest, organizationId, isReady,
|
|
|
307
301
|
|
|
308
302
|
/**
|
|
309
303
|
* Mantine-specific theme config — extends the headless core config with
|
|
310
|
-
* a full Mantine theme override escape hatch.
|
|
304
|
+
* visual appearance and a full Mantine theme override escape hatch.
|
|
311
305
|
*/
|
|
312
306
|
interface ElevasisThemeConfig extends ElevasisCoreThemeConfig {
|
|
313
307
|
/** Full Mantine theme override — merged on top of Elevasis defaults. */
|
|
314
308
|
mantine?: MantineThemeOverride;
|
|
309
|
+
/** Background layers rendered behind app content. Defaults to Elevasis background (PerspectiveGrid + RadiantGlow + FloatingOrbs + FilmGrain). */
|
|
310
|
+
background?: ReactNode;
|
|
311
|
+
/** Loader element rendered during loading states. Defaults to Elevasis chevron loader (xl). */
|
|
312
|
+
loader?: ReactNode;
|
|
315
313
|
}
|
|
316
314
|
/**
|
|
317
315
|
* Props for ElevasisUIProvider (Mantine variant).
|
package/dist/provider/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { ElevasisUIProvider } from '../chunk-
|
|
1
|
+
export { ElevasisUIProvider } from '../chunk-F5BVI434.js';
|
|
2
2
|
import '../chunk-WNRHQAJA.js';
|
|
3
|
-
|
|
4
|
-
export { AppearanceProvider, useAppearance } from '../chunk-HRG3KPL6.js';
|
|
3
|
+
import '../chunk-TBRTRBJV.js';
|
|
5
4
|
import '../chunk-SZHARWKU.js';
|
|
5
|
+
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-BUN337J3.js';
|
|
6
|
+
export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
6
7
|
import '../chunk-HGNP6EVB.js';
|
|
7
8
|
import '../chunk-RULQSZYX.js';
|
|
8
9
|
import '../chunk-FCFLBMVI.js';
|
|
@@ -87,18 +87,6 @@ declare function NotificationProvider({ adapter, children }: {
|
|
|
87
87
|
*/
|
|
88
88
|
declare function useNotificationAdapter(): NotificationAdapter;
|
|
89
89
|
|
|
90
|
-
interface AppearanceConfig {
|
|
91
|
-
/** Background layers rendered behind app content. Defaults to Elevasis background. */
|
|
92
|
-
background?: ReactNode;
|
|
93
|
-
/** Loader element rendered during loading states. Defaults to Elevasis chevron loader. */
|
|
94
|
-
loader?: ReactNode;
|
|
95
|
-
}
|
|
96
|
-
declare function AppearanceProvider({ value, children }: {
|
|
97
|
-
value: Required<AppearanceConfig>;
|
|
98
|
-
children: ReactNode;
|
|
99
|
-
}): react_jsx_runtime.JSX.Element;
|
|
100
|
-
declare function useAppearance(): Required<AppearanceConfig>;
|
|
101
|
-
|
|
102
90
|
/** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
|
|
103
91
|
type WithSchemes<T> = T & {
|
|
104
92
|
light?: T;
|
|
@@ -218,12 +206,6 @@ interface ElevasisCoreProviderProps {
|
|
|
218
206
|
* Headless/SDK consumers can pass a custom adapter or omit for console output.
|
|
219
207
|
*/
|
|
220
208
|
notifications?: NotificationAdapter;
|
|
221
|
-
/**
|
|
222
|
-
* Appearance configuration for background and loader.
|
|
223
|
-
* When omitted, defaults to the Elevasis background (PerspectiveGrid + RadiantGlow +
|
|
224
|
-
* FloatingOrbs + FilmGrain) and the Elevasis chevron loader.
|
|
225
|
-
*/
|
|
226
|
-
appearance?: AppearanceConfig;
|
|
227
209
|
/**
|
|
228
210
|
* Whether to inject CSS variables, `data-elevasis-scheme` attribute, and font links.
|
|
229
211
|
* Set to `false` when the consumer has its own complete design system and only
|
|
@@ -273,7 +255,19 @@ interface ElevasisServiceProviderProps {
|
|
|
273
255
|
* </ElevasisCoreProvider>
|
|
274
256
|
* ```
|
|
275
257
|
*/
|
|
276
|
-
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications,
|
|
258
|
+
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
259
|
+
|
|
260
|
+
interface AppearanceConfig {
|
|
261
|
+
/** Background layers rendered behind app content. Defaults to Elevasis background. */
|
|
262
|
+
background?: ReactNode;
|
|
263
|
+
/** Loader element rendered during loading states. Defaults to Elevasis chevron loader. */
|
|
264
|
+
loader?: ReactNode;
|
|
265
|
+
}
|
|
266
|
+
declare function AppearanceProvider({ value, children }: {
|
|
267
|
+
value: Required<AppearanceConfig>;
|
|
268
|
+
children: ReactNode;
|
|
269
|
+
}): react_jsx_runtime.JSX.Element;
|
|
270
|
+
declare function useAppearance(): Required<AppearanceConfig>;
|
|
277
271
|
|
|
278
272
|
/**
|
|
279
273
|
* Hook to access the ElevasisServiceProvider context.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-
|
|
2
|
-
export { AppearanceProvider, useAppearance } from '../chunk-
|
|
3
|
-
import '../chunk-SZHARWKU.js';
|
|
1
|
+
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-BUN337J3.js';
|
|
2
|
+
export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
|
|
4
3
|
import '../chunk-HGNP6EVB.js';
|
|
5
4
|
import '../chunk-RULQSZYX.js';
|
|
6
5
|
import '../chunk-FCFLBMVI.js';
|
package/package.json
CHANGED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* src/components/display/ElevasisLoader.module.css */
|
|
2
|
-
.wrapper {
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
width: var(--loader-size);
|
|
7
|
-
height: var(--loader-size);
|
|
8
|
-
overflow: visible;
|
|
9
|
-
}
|
|
10
|
-
.loader {
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
display: block;
|
|
14
|
-
overflow: visible;
|
|
15
|
-
}
|
|
16
|
-
.chevron {
|
|
17
|
-
stroke: var(--loader-color);
|
|
18
|
-
stroke-width: 2;
|
|
19
|
-
stroke-linecap: square;
|
|
20
|
-
stroke-linejoin: miter;
|
|
21
|
-
fill: none;
|
|
22
|
-
opacity: 0.15;
|
|
23
|
-
animation: chevronPulse 2s ease-in-out infinite;
|
|
24
|
-
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
25
|
-
}
|
|
26
|
-
.c1 {
|
|
27
|
-
animation-delay: 0s;
|
|
28
|
-
}
|
|
29
|
-
.c2 {
|
|
30
|
-
animation-delay: 0.2s;
|
|
31
|
-
}
|
|
32
|
-
.c3 {
|
|
33
|
-
animation-delay: 0.4s;
|
|
34
|
-
}
|
|
35
|
-
@keyframes chevronPulse {
|
|
36
|
-
0%, 100% {
|
|
37
|
-
opacity: 0.12;
|
|
38
|
-
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
39
|
-
}
|
|
40
|
-
40%, 60% {
|
|
41
|
-
opacity: 1;
|
|
42
|
-
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
43
|
-
}
|
|
44
|
-
}
|