@elevasis/ui 2.25.0 → 2.25.2
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.css +14 -2
- package/dist/app/index.d.ts +457 -357
- package/dist/app/index.js +8 -7
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.js +7 -7
- package/dist/{chunk-DDZOHLHB.js → chunk-26HQMR7S.js} +1 -1
- package/dist/{chunk-ZMXZ476Y.js → chunk-3AHEHVJ6.js} +3 -3
- package/dist/{chunk-LJWV4TWV.js → chunk-4ZFBVND2.js} +2 -2
- package/dist/{chunk-7D2HSSIW.js → chunk-7LJUTTXU.js} +5 -5
- package/dist/{chunk-ABV5LDDC.js → chunk-AZQY7AJR.js} +13 -24
- package/dist/{chunk-BIWHHWCJ.js → chunk-DWK2QIAK.js} +2 -1
- package/dist/{chunk-ZDKQNQ4X.js → chunk-GESXCQWY.js} +1 -1
- package/dist/{chunk-Z6FAH4XV.js → chunk-HKBEURCV.js} +1 -1
- package/dist/{chunk-HC2KV6BU.js → chunk-HOIT677G.js} +1 -1
- package/dist/chunk-IS53MXE4.js +230 -0
- package/dist/{chunk-WSC5LU3U.js → chunk-IX7LWINC.js} +6 -5
- package/dist/{chunk-AXXTN44Z.js → chunk-IYIZYMIE.js} +2 -2
- package/dist/{chunk-WWVSPOJY.js → chunk-JDQSCEEF.js} +1237 -642
- package/dist/{chunk-AZXSFDG2.js → chunk-JMI7L7Y7.js} +113 -63
- package/dist/{chunk-TSSKOQBX.js → chunk-KMAXFJPH.js} +2 -2
- package/dist/{chunk-HQ7M6PBW.js → chunk-KU7ZDWQ7.js} +1 -1
- package/dist/{chunk-ZGZZIR6K.js → chunk-L4RT57WU.js} +7 -7
- package/dist/{chunk-LK4MPIMK.js → chunk-MU4VPAMR.js} +2 -2
- package/dist/{chunk-3JCMO7SD.js → chunk-N55DVMAG.js} +1 -1
- package/dist/{chunk-EIOJNUPL.js → chunk-PNLJIPV5.js} +1 -1
- package/dist/{chunk-6Z3G4U2R.js → chunk-Q5BEODAT.js} +3 -2
- package/dist/{chunk-HVC2BTFO.js → chunk-QB2CC4VH.js} +1979 -257
- package/dist/{chunk-QJLRDTYS.js → chunk-RSG2O3HF.js} +932 -707
- package/dist/{chunk-M25JL54Z.js → chunk-RYTEQBAO.js} +1 -1
- package/dist/{chunk-XUYBOO32.js → chunk-U36X6NZM.js} +15 -7
- package/dist/{chunk-QSTH6T77.js → chunk-VKMNWHTL.js} +1 -1
- package/dist/{chunk-V3UOW2HG.js → chunk-VOVZLL23.js} +4 -4
- package/dist/{chunk-SLH2QLKV.js → chunk-WFTNY755.js} +1 -1
- package/dist/{chunk-DK2HVHCY.js → chunk-WKJ47GIW.js} +1 -1
- package/dist/chunk-X4WBGKJQ.js +138 -0
- package/dist/{chunk-QHSW4WHM.js → chunk-XTVZFT7U.js} +1 -1
- package/dist/components/index.css +14 -2
- package/dist/components/index.d.ts +478 -386
- package/dist/components/index.js +138 -336
- package/dist/components/navigation/index.css +14 -2
- package/dist/components/navigation/index.js +8 -8
- package/dist/features/auth/index.css +14 -2
- package/dist/features/auth/index.d.ts +369 -363
- package/dist/features/auth/index.js +7 -7
- package/dist/features/crm/index.css +14 -2
- package/dist/features/crm/index.d.ts +551 -360
- package/dist/features/crm/index.js +19 -19
- package/dist/features/dashboard/index.css +14 -2
- package/dist/features/dashboard/index.js +20 -20
- package/dist/features/delivery/index.css +14 -2
- package/dist/features/delivery/index.d.ts +363 -357
- package/dist/features/delivery/index.js +19 -19
- package/dist/features/lead-gen/index.css +14 -2
- package/dist/features/lead-gen/index.d.ts +160 -2
- package/dist/features/lead-gen/index.js +20 -19
- package/dist/features/monitoring/index.css +14 -2
- package/dist/features/monitoring/index.js +21 -21
- package/dist/features/monitoring/requests/index.css +14 -2
- package/dist/features/monitoring/requests/index.js +17 -17
- package/dist/features/operations/index.css +14 -2
- package/dist/features/operations/index.js +24 -23
- package/dist/features/seo/index.js +2 -2
- package/dist/features/settings/index.css +14 -2
- package/dist/features/settings/index.d.ts +369 -363
- package/dist/features/settings/index.js +19 -19
- package/dist/hooks/delivery/index.css +14 -2
- package/dist/hooks/delivery/index.d.ts +363 -357
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.css +14 -2
- package/dist/hooks/index.d.ts +746 -399
- package/dist/hooks/index.js +17 -17
- package/dist/hooks/published.css +14 -2
- package/dist/hooks/published.d.ts +746 -399
- package/dist/hooks/published.js +17 -17
- package/dist/index.css +14 -2
- package/dist/index.d.ts +862 -381
- package/dist/index.js +17 -17
- package/dist/initialization/index.d.ts +369 -363
- package/dist/initialization/index.js +4 -4
- package/dist/layout/index.d.ts +6 -0
- package/dist/layout/index.js +5 -5
- package/dist/organization/index.css +14 -2
- package/dist/organization/index.js +4 -4
- package/dist/profile/index.d.ts +369 -363
- package/dist/profile/index.js +2 -2
- package/dist/provider/ElevasisServiceContext.d.ts +1 -0
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.css +14 -2
- package/dist/provider/index.d.ts +503 -362
- package/dist/provider/index.js +14 -14
- package/dist/provider/published.css +14 -2
- package/dist/provider/published.d.ts +494 -359
- package/dist/provider/published.js +12 -12
- package/dist/supabase/index.d.ts +369 -357
- package/dist/test-utils/index.js +1 -1
- package/dist/typeform/index.js +49 -20
- package/dist/types/index.d.ts +382 -363
- package/package.json +4 -4
- package/dist/chunk-CEWTOKE7.js +0 -109
- /package/dist/{chunk-IRW7JMQ4.js → chunk-5WWZXCS5.js} +0 -0
- /package/dist/{chunk-QJ2KCHKX.js → chunk-E565XMTQ.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/ui",
|
|
3
|
-
"version": "2.25.
|
|
3
|
+
"version": "2.25.2",
|
|
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",
|
|
@@ -225,9 +225,9 @@
|
|
|
225
225
|
"@testing-library/jest-dom": "^6.9.1",
|
|
226
226
|
"msw": "^2.11.0",
|
|
227
227
|
"vitest": "^3.2.4",
|
|
228
|
-
"@repo/core": "0.15.
|
|
229
|
-
"@repo/
|
|
230
|
-
"@repo/
|
|
228
|
+
"@repo/core": "0.15.1",
|
|
229
|
+
"@repo/eslint-config": "0.0.0",
|
|
230
|
+
"@repo/typescript-config": "0.0.0"
|
|
231
231
|
},
|
|
232
232
|
"dependencies": {
|
|
233
233
|
"@dagrejs/dagre": "^1.1.4",
|
package/dist/chunk-CEWTOKE7.js
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { subshellNavItemIconSize } from './chunk-DT3QYZVU.js';
|
|
2
|
-
import { UnstyledButton, Stack, Group, Text } from '@mantine/core';
|
|
3
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var activeColor = "var(--color-primary)";
|
|
6
|
-
var defaultColor = "var(--color-text-subtle)";
|
|
7
|
-
var hoverColor = "var(--color-text)";
|
|
8
|
-
var activeBg = `color-mix(in srgb, ${activeColor} 10%, transparent)`;
|
|
9
|
-
var SubshellNavItem = ({
|
|
10
|
-
icon: Icon,
|
|
11
|
-
label,
|
|
12
|
-
isActive = false,
|
|
13
|
-
onClick,
|
|
14
|
-
description,
|
|
15
|
-
badge,
|
|
16
|
-
disabled = false
|
|
17
|
-
}) => {
|
|
18
|
-
return /* @__PURE__ */ jsx(
|
|
19
|
-
UnstyledButton,
|
|
20
|
-
{
|
|
21
|
-
onClick: disabled ? void 0 : onClick,
|
|
22
|
-
disabled,
|
|
23
|
-
style: {
|
|
24
|
-
width: "100%",
|
|
25
|
-
padding: "var(--mantine-spacing-xs)",
|
|
26
|
-
backgroundColor: isActive ? activeBg : "transparent",
|
|
27
|
-
borderRadius: "var(--mantine-radius-default)",
|
|
28
|
-
transition: `all var(--duration-fast) var(--easing)`,
|
|
29
|
-
cursor: disabled ? "not-allowed" : "pointer",
|
|
30
|
-
opacity: disabled ? 0.5 : 1
|
|
31
|
-
},
|
|
32
|
-
onMouseEnter: (e) => {
|
|
33
|
-
if (!isActive && !disabled) {
|
|
34
|
-
e.currentTarget.style.backgroundColor = "var(--color-surface-hover)";
|
|
35
|
-
const textElements = e.currentTarget.querySelectorAll("[data-text-element]");
|
|
36
|
-
textElements.forEach((el) => {
|
|
37
|
-
el.style.color = hoverColor;
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
onMouseLeave: (e) => {
|
|
42
|
-
if (!isActive && !disabled) {
|
|
43
|
-
e.currentTarget.style.backgroundColor = "transparent";
|
|
44
|
-
const textElements = e.currentTarget.querySelectorAll("[data-text-element]");
|
|
45
|
-
textElements.forEach((el) => {
|
|
46
|
-
el.style.color = defaultColor;
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
children: /* @__PURE__ */ jsxs(Stack, { gap: 2, children: [
|
|
51
|
-
/* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "nowrap", children: [
|
|
52
|
-
/* @__PURE__ */ jsx(
|
|
53
|
-
Icon,
|
|
54
|
-
{
|
|
55
|
-
size: subshellNavItemIconSize,
|
|
56
|
-
style: {
|
|
57
|
-
flexShrink: 0,
|
|
58
|
-
opacity: isActive ? 1 : 0.6,
|
|
59
|
-
color: isActive ? activeColor : defaultColor
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
),
|
|
63
|
-
/* @__PURE__ */ jsx(
|
|
64
|
-
Text,
|
|
65
|
-
{
|
|
66
|
-
size: "sm",
|
|
67
|
-
fw: isActive ? 600 : 400,
|
|
68
|
-
style: {
|
|
69
|
-
overflow: "hidden",
|
|
70
|
-
textOverflow: "ellipsis",
|
|
71
|
-
whiteSpace: "nowrap",
|
|
72
|
-
flex: 1,
|
|
73
|
-
fontFamily: "var(--elevasis-font-family-subtitle)",
|
|
74
|
-
color: isActive ? activeColor : defaultColor,
|
|
75
|
-
transition: `color var(--duration-fast) var(--easing)`
|
|
76
|
-
},
|
|
77
|
-
"data-text-element": true,
|
|
78
|
-
children: label
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
badge && /* @__PURE__ */ jsx("div", { style: { flexShrink: 0 }, children: badge })
|
|
82
|
-
] }),
|
|
83
|
-
description && /* @__PURE__ */ jsx(
|
|
84
|
-
Text,
|
|
85
|
-
{
|
|
86
|
-
size: "xs",
|
|
87
|
-
c: "dimmed",
|
|
88
|
-
style: {
|
|
89
|
-
paddingLeft: "22px",
|
|
90
|
-
lineHeight: 1.2,
|
|
91
|
-
color: isActive ? activeColor : defaultColor,
|
|
92
|
-
opacity: isActive ? 0.8 : 0.6,
|
|
93
|
-
transition: `all var(--duration-fast) var(--easing)`,
|
|
94
|
-
display: "-webkit-box",
|
|
95
|
-
WebkitLineClamp: 2,
|
|
96
|
-
WebkitBoxOrient: "vertical",
|
|
97
|
-
overflow: "hidden",
|
|
98
|
-
textOverflow: "ellipsis"
|
|
99
|
-
},
|
|
100
|
-
"data-text-element": true,
|
|
101
|
-
children: description
|
|
102
|
-
}
|
|
103
|
-
)
|
|
104
|
-
] })
|
|
105
|
-
}
|
|
106
|
-
);
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
export { SubshellNavItem };
|
|
File without changes
|
|
File without changes
|