@elevasis/ui 2.25.0 → 2.25.1

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.
Files changed (101) hide show
  1. package/dist/app/index.css +11 -0
  2. package/dist/app/index.d.ts +457 -357
  3. package/dist/app/index.js +8 -7
  4. package/dist/auth/index.js +4 -4
  5. package/dist/charts/index.js +7 -7
  6. package/dist/{chunk-DDZOHLHB.js → chunk-26HQMR7S.js} +1 -1
  7. package/dist/{chunk-ZMXZ476Y.js → chunk-3AHEHVJ6.js} +3 -3
  8. package/dist/{chunk-LJWV4TWV.js → chunk-4ZFBVND2.js} +2 -2
  9. package/dist/{chunk-7D2HSSIW.js → chunk-7LJUTTXU.js} +5 -5
  10. package/dist/{chunk-ABV5LDDC.js → chunk-AZQY7AJR.js} +13 -24
  11. package/dist/{chunk-BIWHHWCJ.js → chunk-DWK2QIAK.js} +2 -1
  12. package/dist/{chunk-ZDKQNQ4X.js → chunk-GESXCQWY.js} +1 -1
  13. package/dist/{chunk-Z6FAH4XV.js → chunk-HKBEURCV.js} +1 -1
  14. package/dist/{chunk-HC2KV6BU.js → chunk-HOIT677G.js} +1 -1
  15. package/dist/chunk-IS53MXE4.js +230 -0
  16. package/dist/{chunk-WSC5LU3U.js → chunk-IX7LWINC.js} +6 -5
  17. package/dist/{chunk-AXXTN44Z.js → chunk-IYIZYMIE.js} +2 -2
  18. package/dist/{chunk-WWVSPOJY.js → chunk-JDQSCEEF.js} +1237 -642
  19. package/dist/{chunk-AZXSFDG2.js → chunk-JMI7L7Y7.js} +113 -63
  20. package/dist/{chunk-TSSKOQBX.js → chunk-KMAXFJPH.js} +2 -2
  21. package/dist/{chunk-HQ7M6PBW.js → chunk-KU7ZDWQ7.js} +1 -1
  22. package/dist/{chunk-ZGZZIR6K.js → chunk-L4RT57WU.js} +7 -7
  23. package/dist/{chunk-LK4MPIMK.js → chunk-MU4VPAMR.js} +2 -2
  24. package/dist/{chunk-3JCMO7SD.js → chunk-N55DVMAG.js} +1 -1
  25. package/dist/{chunk-EIOJNUPL.js → chunk-PNLJIPV5.js} +1 -1
  26. package/dist/{chunk-6Z3G4U2R.js → chunk-Q5BEODAT.js} +3 -2
  27. package/dist/{chunk-HVC2BTFO.js → chunk-QB2CC4VH.js} +1979 -257
  28. package/dist/{chunk-QJLRDTYS.js → chunk-RSG2O3HF.js} +932 -707
  29. package/dist/{chunk-M25JL54Z.js → chunk-RYTEQBAO.js} +1 -1
  30. package/dist/{chunk-XUYBOO32.js → chunk-U36X6NZM.js} +15 -7
  31. package/dist/{chunk-QSTH6T77.js → chunk-VKMNWHTL.js} +1 -1
  32. package/dist/{chunk-V3UOW2HG.js → chunk-VOVZLL23.js} +4 -4
  33. package/dist/{chunk-SLH2QLKV.js → chunk-WFTNY755.js} +1 -1
  34. package/dist/{chunk-DK2HVHCY.js → chunk-WKJ47GIW.js} +1 -1
  35. package/dist/chunk-X4WBGKJQ.js +138 -0
  36. package/dist/{chunk-QHSW4WHM.js → chunk-XTVZFT7U.js} +1 -1
  37. package/dist/components/index.css +11 -0
  38. package/dist/components/index.d.ts +478 -386
  39. package/dist/components/index.js +138 -336
  40. package/dist/components/navigation/index.css +11 -0
  41. package/dist/components/navigation/index.js +8 -8
  42. package/dist/features/auth/index.css +11 -0
  43. package/dist/features/auth/index.d.ts +369 -363
  44. package/dist/features/auth/index.js +7 -7
  45. package/dist/features/crm/index.css +11 -0
  46. package/dist/features/crm/index.d.ts +551 -360
  47. package/dist/features/crm/index.js +19 -19
  48. package/dist/features/dashboard/index.css +11 -0
  49. package/dist/features/dashboard/index.js +20 -20
  50. package/dist/features/delivery/index.css +11 -0
  51. package/dist/features/delivery/index.d.ts +363 -357
  52. package/dist/features/delivery/index.js +19 -19
  53. package/dist/features/lead-gen/index.css +11 -0
  54. package/dist/features/lead-gen/index.d.ts +160 -2
  55. package/dist/features/lead-gen/index.js +20 -19
  56. package/dist/features/monitoring/index.css +11 -0
  57. package/dist/features/monitoring/index.js +21 -21
  58. package/dist/features/monitoring/requests/index.css +11 -0
  59. package/dist/features/monitoring/requests/index.js +17 -17
  60. package/dist/features/operations/index.css +11 -0
  61. package/dist/features/operations/index.js +24 -23
  62. package/dist/features/seo/index.js +2 -2
  63. package/dist/features/settings/index.css +11 -0
  64. package/dist/features/settings/index.d.ts +369 -363
  65. package/dist/features/settings/index.js +19 -19
  66. package/dist/hooks/delivery/index.css +11 -0
  67. package/dist/hooks/delivery/index.d.ts +363 -357
  68. package/dist/hooks/delivery/index.js +2 -2
  69. package/dist/hooks/index.css +11 -0
  70. package/dist/hooks/index.d.ts +746 -399
  71. package/dist/hooks/index.js +17 -17
  72. package/dist/hooks/published.css +11 -0
  73. package/dist/hooks/published.d.ts +746 -399
  74. package/dist/hooks/published.js +17 -17
  75. package/dist/index.css +11 -0
  76. package/dist/index.d.ts +862 -381
  77. package/dist/index.js +17 -17
  78. package/dist/initialization/index.d.ts +369 -363
  79. package/dist/initialization/index.js +4 -4
  80. package/dist/layout/index.d.ts +6 -0
  81. package/dist/layout/index.js +5 -5
  82. package/dist/organization/index.css +11 -0
  83. package/dist/organization/index.js +4 -4
  84. package/dist/profile/index.d.ts +369 -363
  85. package/dist/profile/index.js +2 -2
  86. package/dist/provider/ElevasisServiceContext.d.ts +1 -0
  87. package/dist/provider/ElevasisServiceContext.js +1 -1
  88. package/dist/provider/index.css +11 -0
  89. package/dist/provider/index.d.ts +503 -362
  90. package/dist/provider/index.js +14 -14
  91. package/dist/provider/published.css +11 -0
  92. package/dist/provider/published.d.ts +494 -359
  93. package/dist/provider/published.js +12 -12
  94. package/dist/supabase/index.d.ts +369 -357
  95. package/dist/test-utils/index.js +1 -1
  96. package/dist/typeform/index.js +49 -20
  97. package/dist/types/index.d.ts +382 -363
  98. package/package.json +4 -4
  99. package/dist/chunk-CEWTOKE7.js +0 -109
  100. /package/dist/{chunk-IRW7JMQ4.js → chunk-5WWZXCS5.js} +0 -0
  101. /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.0",
3
+ "version": "2.25.1",
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.0",
229
- "@repo/typescript-config": "0.0.0",
230
- "@repo/eslint-config": "0.0.0"
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",
@@ -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