@elevasis/ui 2.3.0 → 2.4.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-F6RBK7NJ.js → chunk-22UVE3RA.js} +1 -1
- package/dist/{chunk-OCP2MBTY.js → chunk-27COZ5AH.js} +3 -118
- package/dist/chunk-2DZACNOX.js +1111 -0
- package/dist/chunk-3ONP2CEB.js +1842 -0
- package/dist/{chunk-ZY4MWZW2.js → chunk-5XGBMKUY.js} +3 -3
- package/dist/chunk-BZZCNLT6.js +12 -0
- package/dist/{chunk-SWIAK47F.js → chunk-G3G2QEB6.js} +5 -5
- package/dist/chunk-IDACMRGQ.js +115 -0
- package/dist/{chunk-2XWEOJSX.js → chunk-IPRMGSCV.js} +1 -1
- package/dist/chunk-J5KWNRSD.js +45 -0
- package/dist/{chunk-NKV5MEWQ.js → chunk-KRTZTBVP.js} +10 -8
- package/dist/{chunk-Q3FTQP2M.js → chunk-PEZ4WOPF.js} +1 -1
- package/dist/chunk-TUMSNGTX.js +35 -0
- package/dist/{chunk-PEATQEEP.js → chunk-WN764MR7.js} +2 -2
- package/dist/chunk-WSL5MNAI.js +955 -0
- package/dist/{chunk-IWFIKQR5.js → chunk-ZG7MLOBE.js} +1 -1
- package/dist/components/index.css +10 -14
- package/dist/components/index.js +46 -3922
- package/dist/features/auth/index.css +10 -14
- package/dist/features/crm/index.css +589 -0
- package/dist/features/crm/index.d.ts +2833 -0
- package/dist/features/crm/index.js +33 -0
- package/dist/features/dashboard/index.css +10 -14
- package/dist/features/dashboard/index.js +5 -5
- package/dist/features/delivery/index.css +589 -0
- package/dist/features/delivery/index.d.ts +2648 -0
- package/dist/features/delivery/index.js +33 -0
- package/dist/features/lead-gen/index.css +589 -0
- package/dist/features/lead-gen/index.d.ts +451 -0
- package/dist/features/lead-gen/index.js +42 -0
- package/dist/features/monitoring/index.css +10 -14
- package/dist/features/monitoring/index.js +6 -6
- package/dist/features/operations/index.css +10 -14
- package/dist/features/operations/index.js +10 -8
- package/dist/features/seo/index.d.ts +41 -0
- package/dist/features/seo/index.js +5 -0
- package/dist/features/settings/index.css +10 -14
- package/dist/features/settings/index.js +4 -4
- package/dist/graph/index.css +0 -14
- package/dist/graph/index.js +1 -1
- package/dist/hooks/index.css +10 -14
- package/dist/hooks/index.js +3 -3
- package/dist/hooks/published.css +10 -14
- package/dist/hooks/published.js +2 -2
- package/dist/index.css +10 -14
- package/dist/index.js +4 -4
- package/dist/layout/index.js +3 -1
- package/package.json +19 -3
|
@@ -85,7 +85,7 @@ function useConnectionHighlight(nodes, edges) {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
// src/graph/Graph.module.css.js
|
|
88
|
-
var Graph_module_css_default = { "livePulse": "livePulse", "graphContainer": "graphContainer", "
|
|
88
|
+
var Graph_module_css_default = { "livePulse": "livePulse", "graphContainer": "graphContainer", "node": "node", "nodeCard": "nodeCard", "nodeCardSelected": "nodeCardSelected", "nodeAgent": "nodeAgent", "nodeWorkflow": "nodeWorkflow", "nodeTrigger": "nodeTrigger", "nodeIntegration": "nodeIntegration", "nodeExternal": "nodeExternal", "nodeHuman": "nodeHuman", "nodePrimary": "nodePrimary", "handle": "handle", "nodeIcon": "nodeIcon", "badge": "badge", "badgeProd": "badgeProd", "edge": "edge", "edgeAnimated": "edgeAnimated", "edgeGlow": "edgeGlow", "edgeHighlighted": "edgeHighlighted", "edgeLabel": "edgeLabel", "legend": "legend", "legendDot": "legendDot", "nodeHighlighted": "nodeHighlighted", "nodeDimmed": "nodeDimmed", "edgeDimmed": "edgeDimmed", "edgeLabelDimmed": "edgeLabelDimmed" };
|
|
89
89
|
|
|
90
90
|
// src/graph/hooks/useGraphHighlighting.ts
|
|
91
91
|
function useGraphHighlighting(layoutNodes, layoutEdges) {
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { UnstyledButton, Stack, Group, Text, Box, ThemeIcon, Center, Container, Collapse } from '@mantine/core';
|
|
1
|
+
import { subshellNavItemIconSize, sidebarIconSize, sidebarIconStroke, sidebarIconInnerSize } from './chunk-DT3QYZVU.js';
|
|
2
|
+
import { UnstyledButton, Stack, Group, Text, Box, ThemeIcon } from '@mantine/core';
|
|
4
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
5
|
-
import { IconChevronDown, IconChevronRight } from '@tabler/icons-react';
|
|
6
4
|
|
|
7
5
|
var activeColor = "var(--color-primary)";
|
|
8
6
|
var defaultColor = "var(--color-text-subtle)";
|
|
@@ -154,118 +152,5 @@ var SubshellSidebarSection = ({
|
|
|
154
152
|
}
|
|
155
153
|
);
|
|
156
154
|
};
|
|
157
|
-
function SubshellLoader() {
|
|
158
|
-
const { loader } = useAppearance();
|
|
159
|
-
return /* @__PURE__ */ jsx(Center, { mih: "calc(100vh - 70px)", children: loader });
|
|
160
|
-
}
|
|
161
|
-
var PageContainer = ({ children }) => {
|
|
162
|
-
return (
|
|
163
|
-
// Add padding to the top of the container to adjust for the topbar height
|
|
164
|
-
/* @__PURE__ */ jsx(Container, { size: "xl", p: 0, w: "100%", children: /* @__PURE__ */ jsx(Stack, { gap: "lg", children }) })
|
|
165
|
-
);
|
|
166
|
-
};
|
|
167
|
-
var activeColor2 = "var(--color-primary)";
|
|
168
|
-
var defaultTextColor = "var(--color-text)";
|
|
169
|
-
var subtleColor = "var(--color-text-subtle)";
|
|
170
|
-
var activeBg2 = `color-mix(in srgb, ${activeColor2} 10%, transparent)`;
|
|
171
|
-
var CollapsibleSidebarGroup = ({
|
|
172
|
-
icon: Icon,
|
|
173
|
-
label,
|
|
174
|
-
isExpanded,
|
|
175
|
-
onToggle,
|
|
176
|
-
isActive = false,
|
|
177
|
-
badge,
|
|
178
|
-
children,
|
|
179
|
-
onLabelClick,
|
|
180
|
-
emptyMessage = "No items",
|
|
181
|
-
isEmpty = false,
|
|
182
|
-
isLoading = false,
|
|
183
|
-
loadingComponent
|
|
184
|
-
}) => {
|
|
185
|
-
const showActiveStyle = !isExpanded && isActive;
|
|
186
|
-
const iconColor = showActiveStyle ? activeColor2 : subtleColor;
|
|
187
|
-
const textColor = showActiveStyle ? activeColor2 : defaultTextColor;
|
|
188
|
-
const fontWeight = showActiveStyle ? 600 : 500;
|
|
189
|
-
const handleLabelClick = (e) => {
|
|
190
|
-
if (onLabelClick) {
|
|
191
|
-
e.stopPropagation();
|
|
192
|
-
onLabelClick();
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
return /* @__PURE__ */ jsxs(Box, { children: [
|
|
196
|
-
/* @__PURE__ */ jsx(
|
|
197
|
-
UnstyledButton,
|
|
198
|
-
{
|
|
199
|
-
onClick: onToggle,
|
|
200
|
-
style: {
|
|
201
|
-
display: "flex",
|
|
202
|
-
alignItems: "center",
|
|
203
|
-
width: "100%",
|
|
204
|
-
padding: "var(--mantine-spacing-xs)",
|
|
205
|
-
color: textColor,
|
|
206
|
-
backgroundColor: showActiveStyle ? activeBg2 : "transparent",
|
|
207
|
-
transition: `all var(--duration-fast) var(--easing)`,
|
|
208
|
-
cursor: "pointer",
|
|
209
|
-
overflow: "hidden"
|
|
210
|
-
},
|
|
211
|
-
onMouseEnter: (e) => {
|
|
212
|
-
if (!showActiveStyle) {
|
|
213
|
-
e.currentTarget.style.backgroundColor = "var(--color-surface-hover)";
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
onMouseLeave: (e) => {
|
|
217
|
-
if (!showActiveStyle) {
|
|
218
|
-
e.currentTarget.style.backgroundColor = "transparent";
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
children: /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "nowrap", style: { width: "100%" }, children: [
|
|
222
|
-
/* @__PURE__ */ jsx(Box, { style: { flexShrink: 0, color: iconColor }, children: isExpanded ? /* @__PURE__ */ jsx(IconChevronDown, { size: sidebarGroupChevronSize }) : /* @__PURE__ */ jsx(IconChevronRight, { size: sidebarGroupChevronSize }) }),
|
|
223
|
-
/* @__PURE__ */ jsx(
|
|
224
|
-
Box,
|
|
225
|
-
{
|
|
226
|
-
style: { flexShrink: 0, color: iconColor, cursor: onLabelClick ? "pointer" : "inherit" },
|
|
227
|
-
onClick: onLabelClick ? handleLabelClick : void 0,
|
|
228
|
-
children: /* @__PURE__ */ jsx(Icon, { size: sidebarIconInnerSize, color: activeColor2 })
|
|
229
|
-
}
|
|
230
|
-
),
|
|
231
|
-
/* @__PURE__ */ jsx(
|
|
232
|
-
Text,
|
|
233
|
-
{
|
|
234
|
-
size: "sm",
|
|
235
|
-
fw: fontWeight,
|
|
236
|
-
style: {
|
|
237
|
-
fontFamily: "var(--elevasis-font-family-subtitle)",
|
|
238
|
-
color: textColor,
|
|
239
|
-
transition: `color var(--duration-fast) var(--easing)`,
|
|
240
|
-
overflow: "hidden",
|
|
241
|
-
textOverflow: "ellipsis",
|
|
242
|
-
whiteSpace: "nowrap",
|
|
243
|
-
flex: 1,
|
|
244
|
-
cursor: onLabelClick ? "pointer" : "inherit"
|
|
245
|
-
},
|
|
246
|
-
onClick: onLabelClick ? handleLabelClick : void 0,
|
|
247
|
-
children: label
|
|
248
|
-
}
|
|
249
|
-
),
|
|
250
|
-
badge && /* @__PURE__ */ jsx(Box, { style: { flexShrink: 0 }, children: badge })
|
|
251
|
-
] })
|
|
252
|
-
}
|
|
253
|
-
),
|
|
254
|
-
/* @__PURE__ */ jsx(Collapse, { in: isExpanded, children: /* @__PURE__ */ jsx(
|
|
255
|
-
Stack,
|
|
256
|
-
{
|
|
257
|
-
gap: 0,
|
|
258
|
-
mt: "xs",
|
|
259
|
-
ml: "xs",
|
|
260
|
-
style: {
|
|
261
|
-
borderLeft: `1px solid color-mix(in srgb, var(--color-primary) 40%, transparent)`,
|
|
262
|
-
marginLeft: "calc(var(--mantine-spacing-xs) + 6px)",
|
|
263
|
-
paddingLeft: "calc(var(--mantine-spacing-xs) - 2px)"
|
|
264
|
-
},
|
|
265
|
-
children: isLoading ? loadingComponent : isEmpty ? /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", style: { padding: "6px 8px" }, children: emptyMessage }) : children
|
|
266
|
-
}
|
|
267
|
-
) })
|
|
268
|
-
] });
|
|
269
|
-
};
|
|
270
155
|
|
|
271
|
-
export {
|
|
156
|
+
export { SubshellNavItem, SubshellSidebarSection };
|