@elevasis/ui 2.56.0 → 2.58.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/app/index.js +2 -2
- package/dist/auth/index.js +2 -2
- package/dist/charts/index.js +2 -2
- package/dist/{chunk-E6NSKXYN.js → chunk-T73S4G4P.js} +22 -17
- package/dist/{chunk-36IF4TXC.js → chunk-WZ3PL4O7.js} +311 -372
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/navigation/index.js +2 -2
- package/dist/features/auth/index.js +3 -3
- package/dist/features/clients/index.js +2 -2
- package/dist/features/crm/index.js +2 -2
- package/dist/features/dashboard/index.js +2 -2
- package/dist/features/delivery/index.js +2 -2
- package/dist/features/knowledge/index.js +2 -2
- package/dist/features/lead-gen/index.js +2 -2
- package/dist/features/monitoring/index.js +2 -2
- package/dist/features/monitoring/requests/index.js +3 -3
- package/dist/features/operations/index.d.ts +28 -21
- package/dist/features/operations/index.js +2 -2
- package/dist/features/public-agent-chat/index.js +1 -1
- package/dist/features/settings/index.js +2 -2
- package/dist/hooks/access/index.js +2 -2
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/published.js +2 -2
- package/dist/index.js +2 -2
- package/dist/knowledge/index.js +3 -3
- package/dist/layout/index.js +2 -2
- package/dist/organization/index.js +2 -2
- package/dist/provider/index.js +2 -2
- package/dist/provider/published.js +2 -2
- package/package.json +2 -2
package/dist/app/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useSessionCheck, AppErrorBoundary, SidebarProvider, ElevasisSystemsProvider, useElevasisSystems, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer, SystemShell, ElevasisUIProvider } from '../chunk-
|
|
1
|
+
import { useSessionCheck, AppErrorBoundary, SidebarProvider, ElevasisSystemsProvider, useElevasisSystems, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer, SystemShell, ElevasisUIProvider } from '../chunk-WZ3PL4O7.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../chunk-S3XR4II4.js';
|
|
|
12
12
|
import { useInitialization } from '../chunk-LO7GWG24.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-T73S4G4P.js';
|
|
16
16
|
import { TanStackRouterBridge, ScrollToTop } from '../chunk-2IFYDILW.js';
|
|
17
17
|
import '../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../chunk-HENXLGVD.js';
|
package/dist/auth/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-
|
|
1
|
+
export { AccessGuard, AccessKeys, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-WZ3PL4O7.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../chunk-LO7GWG24.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-T73S4G4P.js';
|
|
16
16
|
import '../chunk-2IFYDILW.js';
|
|
17
17
|
import '../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../chunk-HENXLGVD.js';
|
package/dist/charts/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-
|
|
1
|
+
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-WZ3PL4O7.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -12,7 +12,7 @@ import '../chunk-S3XR4II4.js';
|
|
|
12
12
|
import '../chunk-LO7GWG24.js';
|
|
13
13
|
import '../chunk-DD3CCMCZ.js';
|
|
14
14
|
import '../chunk-M7WWRZ5Z.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-T73S4G4P.js';
|
|
16
16
|
import '../chunk-2IFYDILW.js';
|
|
17
17
|
import '../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../chunk-HENXLGVD.js';
|
|
@@ -108,15 +108,18 @@ var ChatInputArea = memo(function ChatInputArea2({
|
|
|
108
108
|
[onSend]
|
|
109
109
|
);
|
|
110
110
|
const canSend = isConnected && !isDisabled && !isProcessing && input.trim();
|
|
111
|
-
return /* @__PURE__ */ jsx(Stack, { gap: 4, pt: 6, children: /* @__PURE__ */ jsxs(
|
|
111
|
+
return /* @__PURE__ */ jsx(Stack, { gap: 4, pt: 6, px: "sm", pb: "sm", style: { flexShrink: 0 }, children: /* @__PURE__ */ jsxs(
|
|
112
112
|
"div",
|
|
113
113
|
{
|
|
114
114
|
style: {
|
|
115
115
|
display: "flex",
|
|
116
116
|
gap: "10px",
|
|
117
117
|
alignItems: "flex-end",
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
// Solid, opaque input surface. The theme's --color-surface is only ~20%
|
|
119
|
+
// opaque (glassy) and renders as "no bg" over the dark canvas, so derive
|
|
120
|
+
// an opaque, slightly-lifted fill from tokens instead.
|
|
121
|
+
background: "color-mix(in srgb, var(--color-text) 7%, var(--color-background))",
|
|
122
|
+
border: focused ? "1px solid color-mix(in srgb, var(--color-primary) 50%, var(--color-border))" : "1px solid color-mix(in srgb, var(--color-text) 14%, var(--color-border))",
|
|
120
123
|
borderRadius: "14px",
|
|
121
124
|
padding: "6px 6px 6px 16px",
|
|
122
125
|
transition: "border-color 180ms, box-shadow 180ms",
|
|
@@ -660,8 +663,16 @@ function ChatInterface({
|
|
|
660
663
|
scrollContainerRef.current.scrollTop = scrollContainerRef.current.scrollHeight;
|
|
661
664
|
}
|
|
662
665
|
}, [visibleMessages.length, isConnected, isProcessing]);
|
|
663
|
-
|
|
664
|
-
|
|
666
|
+
const isPanel = messageAreaVariant === "grid";
|
|
667
|
+
const layout = {
|
|
668
|
+
flex: 1,
|
|
669
|
+
minHeight: 0,
|
|
670
|
+
display: "flex",
|
|
671
|
+
flexDirection: "column",
|
|
672
|
+
overflow: "hidden"
|
|
673
|
+
};
|
|
674
|
+
const body = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
675
|
+
/* @__PURE__ */ jsx(ScrollableContainer, { containerRef: scrollContainerRef, children: /* @__PURE__ */ jsx(
|
|
665
676
|
MessageAreaContent,
|
|
666
677
|
{
|
|
667
678
|
isConnected,
|
|
@@ -698,33 +709,27 @@ function ChatInterface({
|
|
|
698
709
|
}
|
|
699
710
|
)
|
|
700
711
|
] });
|
|
712
|
+
return /* @__PURE__ */ jsx(Stack, { className, gap: 0, style: { height: "100%", overflow: "hidden", ...style }, children: isPanel ? /* @__PURE__ */ jsx(Paper, { withBorder: true, p: 0, style: layout, children: body }) : /* @__PURE__ */ jsx("div", { style: layout, children: body }) });
|
|
701
713
|
}
|
|
702
714
|
function ScrollableContainer({
|
|
703
715
|
children,
|
|
704
|
-
containerRef
|
|
705
|
-
variant
|
|
716
|
+
containerRef
|
|
706
717
|
}) {
|
|
707
|
-
const isGrid = variant === "grid";
|
|
708
718
|
return /* @__PURE__ */ jsx(
|
|
709
719
|
"div",
|
|
710
720
|
{
|
|
711
721
|
ref: containerRef,
|
|
712
722
|
style: {
|
|
713
723
|
flex: 1,
|
|
724
|
+
minHeight: 0,
|
|
714
725
|
display: "flex",
|
|
715
726
|
flexDirection: "column",
|
|
716
727
|
overflowY: "auto",
|
|
717
728
|
overflowX: "hidden",
|
|
718
729
|
scrollBehavior: "smooth",
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
"linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 5%, transparent) 1px, transparent 1px)",
|
|
723
|
-
"radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--color-primary) 5%, transparent) 0%, transparent 70%)"
|
|
724
|
-
].join(", ") : void 0,
|
|
725
|
-
backgroundSize: isGrid ? "40px 40px, 40px 40px, 100% 100%" : void 0,
|
|
726
|
-
borderRadius: "var(--mantine-radius-sm)",
|
|
727
|
-
padding: "8px",
|
|
730
|
+
// Transparent — the panel surface now lives on the unified wrapper so the
|
|
731
|
+
// message stream and input share one container.
|
|
732
|
+
padding: "12px",
|
|
728
733
|
// Custom scrollbar styling
|
|
729
734
|
scrollbarWidth: "thin",
|
|
730
735
|
scrollbarColor: "color-mix(in srgb, var(--color-text-subtle) 50%, var(--color-border)) transparent"
|