@elevasis/ui 1.14.2 → 1.14.3

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.
@@ -1,9 +1,8 @@
1
1
  import { sidebarItemGap, sidebarSubLinkPaddingY, sidebarSubLinkPaddingX, sidebarSubLinkIndent, sidebarHoverDelay, sidebarTransitionDuration, sidebarCollapsedWidth, sidebarWidth, topbarHeight, sidebarToggleIconSize, sidebarSectionPadding, NavigationButton, sidebarGroupChevronSize, sidebarIconInnerSize, sidebarListItemIconSize } from './chunk-MYRCM7VD.js';
2
- import { ElevasisLoader } from './chunk-SZHARWKU.js';
3
2
  import { useAppearance } from './chunk-QJ2KCHKX.js';
4
3
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
5
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
- import { Collapse, HoverCard, Stack, Group, Text, UnstyledButton, Tooltip, ScrollArea, Menu, Avatar, Container, Loader, Title, Button, Box, Center, useMantineColorScheme, Switch, Code } from '@mantine/core';
5
+ import { Collapse, HoverCard, Stack, Group, Text, UnstyledButton, Tooltip, ScrollArea, Menu, Avatar, Container, Title, Button, Box, Center, useMantineColorScheme, Switch, Code } from '@mantine/core';
7
6
  import { IconLayoutSidebarLeftExpand, IconLayoutSidebarLeftCollapse, IconUser, IconLogout, IconAlertCircle, IconChevronDown, IconChevronRight, IconMoonStars, IconSun } from '@tabler/icons-react';
8
7
  import { createContext, memo, useEffect, createElement, useContext, useState } from 'react';
9
8
 
@@ -110,7 +109,8 @@ var AppShellCenteredContainer = ({ children }) => {
110
109
  );
111
110
  };
112
111
  var AppShellLoader = () => {
113
- return /* @__PURE__ */ jsx(AppShellCenteredContainer, { children: /* @__PURE__ */ jsx(Loader, { size: "xl", loaders: { elevasis: ElevasisLoader }, type: "elevasis" }) });
112
+ const { loader } = useAppearance();
113
+ return /* @__PURE__ */ jsx(AppShellCenteredContainer, { children: loader });
114
114
  };
115
115
  var AppShellError = ({ message, retry }) => {
116
116
  return /* @__PURE__ */ jsxs(AppShellCenteredContainer, { children: [
@@ -1,6 +1,6 @@
1
1
  import { useCyberColors, EmptyState, CyberLegendItem, CyberAreaChart, APIErrorAlert, CardHeader, StatsCardSkeleton, TrendIndicator, DetailCardSkeleton, ContextViewer, JsonViewer, StyledMarkdown, PageTitleCaption, StatCard, CyberDonut, CollapsibleSection, ListSkeleton } from '../chunk-HGUJ6SSM.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-HGUJ6SSM.js';
3
- import { SubshellLoader, SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer, PageContainer, AppShellLoader, SubshellSidebarSection, CollapsibleSidebarGroup, SidebarListItem } from '../chunk-YKHTHRLN.js';
3
+ import { SubshellLoader, SubshellContainer, SubshellSidebar, SubshellRightSideContainer, SubshellContentContainer, PageContainer, AppShellLoader, SubshellSidebarSection, CollapsibleSidebarGroup, SidebarListItem } from '../chunk-Y5CWAXPF.js';
4
4
  export { NavigationButton } from '../chunk-MYRCM7VD.js';
5
5
  import { useUpdateApiKey, useDeleteApiKey, useCreateApiKey, useListApiKeys, useDeleteCredential, useCreateCredential, useCredentials, useActivateDeployment, useDeactivateDeployment, useDeleteDeployment, useListDeployments, MEMBERSHIP_STATUS_COLORS, transformMembershipToTableRow, showApiErrorNotification, showSuccessNotification, CredentialSchemas, showErrorNotification } from '../chunk-VPQU5BRN.js';
6
6
  export { showApiErrorNotification, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification } from '../chunk-VPQU5BRN.js';
@@ -16,11 +16,10 @@ 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-QDHIJVQ2.js';
19
+ import '../chunk-LTVTSDWO.js';
20
+ export { ElevasisLoader } from '../chunk-SZHARWKU.js';
20
21
  import '../chunk-6ZNKDPAO.js';
21
22
  import '../chunk-TBRTRBJV.js';
22
- import { ElevasisLoader } from '../chunk-SZHARWKU.js';
23
- export { ElevasisLoader } from '../chunk-SZHARWKU.js';
24
23
  import '../chunk-BUN337J3.js';
25
24
  import { useAppearance } from '../chunk-QJ2KCHKX.js';
26
25
  import '../chunk-HGNP6EVB.js';
@@ -4049,11 +4048,12 @@ function BaseExecutionLogsHeader({
4049
4048
  ] });
4050
4049
  }
4051
4050
  function BaseExecutionLogsStates({ executionId, isLoading, execution }) {
4051
+ const { loader } = useAppearance();
4052
4052
  if (!executionId) {
4053
4053
  return /* @__PURE__ */ jsx(Center, { h: "100%", children: /* @__PURE__ */ jsx(Text, { c: "dimmed", children: "Select an execution to view details" }) });
4054
4054
  }
4055
4055
  if (isLoading) {
4056
- return /* @__PURE__ */ jsx(Center, { h: "100%", children: /* @__PURE__ */ jsx(Loader, { size: "lg", loaders: { elevasis: ElevasisLoader }, type: "elevasis" }) });
4056
+ return /* @__PURE__ */ jsx(Center, { h: "100%", children: loader });
4057
4057
  }
4058
4058
  if (!execution) {
4059
4059
  return /* @__PURE__ */ jsx(Center, { h: "100%", children: /* @__PURE__ */ jsx(Text, { c: "dimmed", children: "Execution not found" }) });
@@ -5,10 +5,10 @@ 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-QDHIJVQ2.js';
8
+ import '../chunk-LTVTSDWO.js';
9
+ import '../chunk-SZHARWKU.js';
9
10
  import '../chunk-6ZNKDPAO.js';
10
11
  import '../chunk-TBRTRBJV.js';
11
- import '../chunk-SZHARWKU.js';
12
12
  import '../chunk-BUN337J3.js';
13
13
  import '../chunk-QJ2KCHKX.js';
14
14
  import '../chunk-HGNP6EVB.js';
@@ -4,10 +4,10 @@ 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-QDHIJVQ2.js';
7
+ import '../chunk-LTVTSDWO.js';
8
+ import '../chunk-SZHARWKU.js';
8
9
  import '../chunk-6ZNKDPAO.js';
9
10
  import '../chunk-TBRTRBJV.js';
10
- import '../chunk-SZHARWKU.js';
11
11
  import '../chunk-BUN337J3.js';
12
12
  import '../chunk-QJ2KCHKX.js';
13
13
  import '../chunk-HGNP6EVB.js';
package/dist/index.js CHANGED
@@ -11,10 +11,10 @@ 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-QDHIJVQ2.js';
14
+ export { ElevasisUIProvider } from './chunk-LTVTSDWO.js';
15
+ import './chunk-SZHARWKU.js';
15
16
  export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride, PRESETS as presets, usePresetsContext } from './chunk-6ZNKDPAO.js';
16
17
  import './chunk-TBRTRBJV.js';
17
- import './chunk-SZHARWKU.js';
18
18
  export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from './chunk-BUN337J3.js';
19
19
  export { AppearanceProvider, useAppearance } from './chunk-QJ2KCHKX.js';
20
20
  export { OrganizationProvider } from './chunk-HGNP6EVB.js';
@@ -1,7 +1,6 @@
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, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-YKHTHRLN.js';
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, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-Y5CWAXPF.js';
2
2
  export { sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarListItemIconSize, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, topbarHeight } from '../chunk-MYRCM7VD.js';
3
3
  import '../chunk-LHQTTUL2.js';
4
4
  export { AppBackground, FilmGrain, FloatingOrbs, PerspectiveGrid, RadiantGlow } from '../chunk-TBRTRBJV.js';
5
- import '../chunk-SZHARWKU.js';
6
5
  import '../chunk-QJ2KCHKX.js';
7
6
  import '../chunk-Q7DJKLEN.js';
@@ -1,7 +1,7 @@
1
- export { ElevasisUIProvider } from '../chunk-QDHIJVQ2.js';
1
+ export { ElevasisUIProvider } from '../chunk-LTVTSDWO.js';
2
+ import '../chunk-SZHARWKU.js';
2
3
  import '../chunk-6ZNKDPAO.js';
3
4
  import '../chunk-TBRTRBJV.js';
4
- import '../chunk-SZHARWKU.js';
5
5
  export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-BUN337J3.js';
6
6
  export { AppearanceProvider, useAppearance } from '../chunk-QJ2KCHKX.js';
7
7
  import '../chunk-HGNP6EVB.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/ui",
3
- "version": "1.14.2",
3
+ "version": "1.14.3",
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",
@@ -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
- }
@@ -1,6 +1,6 @@
1
+ import { ElevasisLoader } from './chunk-SZHARWKU.js';
1
2
  import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-6ZNKDPAO.js';
2
3
  import { AppBackground } from './chunk-TBRTRBJV.js';
3
- import { ElevasisLoader } from './chunk-SZHARWKU.js';
4
4
  import { ElevasisCoreProvider } from './chunk-BUN337J3.js';
5
5
  import { AppearanceProvider } from './chunk-QJ2KCHKX.js';
6
6
  import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-FCFLBMVI.js';