@ixo/ui 0.0.34 → 0.0.36

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 (51) hide show
  1. package/dist/.vite/manifest.json +31 -31
  2. package/dist/components/AppShellNavigation/components/MenuItem.d.ts +1 -0
  3. package/dist/components/AppShellNavigation/components/MenuItem.d.ts.map +1 -1
  4. package/dist/components/AppShellNavigation/index.d.ts.map +1 -1
  5. package/dist/{components-Bbc5HijA.js → components-B1a2iVqu.js} +89 -61
  6. package/dist/{components-Bbc5HijA.js.map → components-B1a2iVqu.js.map} +1 -1
  7. package/dist/{components-BpMWfEEt.cjs → components-DClyFU-M.cjs} +87 -59
  8. package/dist/{components-BpMWfEEt.cjs.map → components-DClyFU-M.cjs.map} +1 -1
  9. package/dist/export/components.cjs +1 -1
  10. package/dist/export/components.mjs +1 -1
  11. package/dist/{index-YrKDHLOm.cjs → index-B9pVBHoG.cjs} +3 -3
  12. package/dist/{index-YrKDHLOm.cjs.map → index-B9pVBHoG.cjs.map} +1 -1
  13. package/dist/{index-DthSPEUj.js → index-BBHzZvIm.js} +2 -2
  14. package/dist/{index-DthSPEUj.js.map → index-BBHzZvIm.js.map} +1 -1
  15. package/dist/{index-DYyekNVE.cjs → index-BCq1MsXT.cjs} +2 -2
  16. package/dist/{index-DYyekNVE.cjs.map → index-BCq1MsXT.cjs.map} +1 -1
  17. package/dist/{index-CJEzVPBB.cjs → index-BPMwSQiu.cjs} +2 -2
  18. package/dist/{index-CJEzVPBB.cjs.map → index-BPMwSQiu.cjs.map} +1 -1
  19. package/dist/{index-BYkENVo6.cjs → index-BSG0zFC9.cjs} +2 -2
  20. package/dist/{index-BYkENVo6.cjs.map → index-BSG0zFC9.cjs.map} +1 -1
  21. package/dist/{index-DiC6w4Dz.js → index-BUOaLr6a.js} +3 -3
  22. package/dist/{index-DiC6w4Dz.js.map → index-BUOaLr6a.js.map} +1 -1
  23. package/dist/{index-C5RwHoR5.cjs → index-BnNEw5sb.cjs} +2 -2
  24. package/dist/{index-C5RwHoR5.cjs.map → index-BnNEw5sb.cjs.map} +1 -1
  25. package/dist/{index-CcdgltF2.js → index-CHaUG4pj.js} +2 -2
  26. package/dist/{index-CcdgltF2.js.map → index-CHaUG4pj.js.map} +1 -1
  27. package/dist/{index-ChMy4OWq.cjs → index-CfGbTIXG.cjs} +3 -3
  28. package/dist/{index-ChMy4OWq.cjs.map → index-CfGbTIXG.cjs.map} +1 -1
  29. package/dist/{index-B91AEI-O.js → index-CgY82myI.js} +2 -2
  30. package/dist/{index-B91AEI-O.js.map → index-CgY82myI.js.map} +1 -1
  31. package/dist/{index-Cps8sTdh.js → index-CkY33lka.js} +3 -3
  32. package/dist/{index-Cps8sTdh.js.map → index-CkY33lka.js.map} +1 -1
  33. package/dist/{index-Dw-UB8QG.js → index-CrLkPKdH.js} +2 -2
  34. package/dist/{index-Dw-UB8QG.js.map → index-CrLkPKdH.js.map} +1 -1
  35. package/dist/{index-Tr9N7wIo.js → index-D0Hsuk8i.js} +2 -2
  36. package/dist/{index-Tr9N7wIo.js.map → index-D0Hsuk8i.js.map} +1 -1
  37. package/dist/{index-WpYDX7r4.js → index-D2vpQrea.js} +2 -2
  38. package/dist/{index-WpYDX7r4.js.map → index-D2vpQrea.js.map} +1 -1
  39. package/dist/{index-T_N7l0dY.cjs → index-DAeeijml.cjs} +2 -2
  40. package/dist/{index-T_N7l0dY.cjs.map → index-DAeeijml.cjs.map} +1 -1
  41. package/dist/{index-DmZxf_3K.cjs → index-DIjbP65y.cjs} +2 -2
  42. package/dist/{index-DmZxf_3K.cjs.map → index-DIjbP65y.cjs.map} +1 -1
  43. package/dist/{index-Cd9_EsL3.js → index-Dzht1xdr.js} +2 -2
  44. package/dist/{index-Cd9_EsL3.js.map → index-Dzht1xdr.js.map} +1 -1
  45. package/dist/{index-BJ_C_QL7.js → index-NInTEDOl.js} +2 -2
  46. package/dist/{index-BJ_C_QL7.js.map → index-NInTEDOl.js.map} +1 -1
  47. package/dist/{index-dOpxVj7U.cjs → index-cb7wQOdp.cjs} +2 -2
  48. package/dist/{index-dOpxVj7U.cjs.map → index-cb7wQOdp.cjs.map} +1 -1
  49. package/dist/{index-CrKmiIcJ.cjs → index-eldkvceu.cjs} +2 -2
  50. package/dist/{index-CrKmiIcJ.cjs.map → index-eldkvceu.cjs.map} +1 -1
  51. package/package.json +1 -1
@@ -29,8 +29,8 @@
29
29
  "_useUITheme-DqgAb7n1.cjs"
30
30
  ]
31
31
  },
32
- "_components-Bbc5HijA.js": {
33
- "file": "components-Bbc5HijA.js",
32
+ "_components-B1a2iVqu.js": {
33
+ "file": "components-B1a2iVqu.js",
34
34
  "name": "components",
35
35
  "imports": [
36
36
  "_UsersSolid-BAU7PbE4.js",
@@ -55,8 +55,8 @@
55
55
  "src/components/SodaCard/components/Actions/index.tsx"
56
56
  ]
57
57
  },
58
- "_components-BpMWfEEt.cjs": {
59
- "file": "components-BpMWfEEt.cjs",
58
+ "_components-DClyFU-M.cjs": {
59
+ "file": "components-DClyFU-M.cjs",
60
60
  "name": "components",
61
61
  "imports": [
62
62
  "_UsersSolid-D60imcQv.cjs",
@@ -103,18 +103,18 @@
103
103
  "_constants-B7xlU8b8.js"
104
104
  ]
105
105
  },
106
- "_index-DthSPEUj.js": {
107
- "file": "index-DthSPEUj.js",
106
+ "_index-BBHzZvIm.js": {
107
+ "file": "index-BBHzZvIm.js",
108
108
  "name": "index",
109
109
  "imports": [
110
- "_components-Bbc5HijA.js"
110
+ "_components-B1a2iVqu.js"
111
111
  ]
112
112
  },
113
- "_index-dOpxVj7U.cjs": {
114
- "file": "index-dOpxVj7U.cjs",
113
+ "_index-cb7wQOdp.cjs": {
114
+ "file": "index-cb7wQOdp.cjs",
115
115
  "name": "index",
116
116
  "imports": [
117
- "_components-BpMWfEEt.cjs"
117
+ "_components-DClyFU-M.cjs"
118
118
  ]
119
119
  },
120
120
  "_themes-BwGjuKnC.cjs": {
@@ -158,41 +158,41 @@
158
158
  "name": "utils"
159
159
  },
160
160
  "src/components/ActionCard/components/Footer/index.tsx": {
161
- "file": "index-ChMy4OWq.cjs",
161
+ "file": "index-CfGbTIXG.cjs",
162
162
  "name": "index",
163
163
  "src": "src/components/ActionCard/components/Footer/index.tsx",
164
164
  "isDynamicEntry": true,
165
165
  "imports": [
166
- "_index-dOpxVj7U.cjs",
167
- "_components-BpMWfEEt.cjs"
166
+ "_index-cb7wQOdp.cjs",
167
+ "_components-DClyFU-M.cjs"
168
168
  ]
169
169
  },
170
170
  "src/components/ActionCard/components/Header/index.tsx": {
171
- "file": "index-C5RwHoR5.cjs",
171
+ "file": "index-BnNEw5sb.cjs",
172
172
  "name": "index",
173
173
  "src": "src/components/ActionCard/components/Header/index.tsx",
174
174
  "isDynamicEntry": true,
175
175
  "imports": [
176
- "_components-BpMWfEEt.cjs",
176
+ "_components-DClyFU-M.cjs",
177
177
  "_UsersSolid-D60imcQv.cjs"
178
178
  ]
179
179
  },
180
180
  "src/components/ActionSheet/components/Badge/index.tsx": {
181
- "file": "index-CrKmiIcJ.cjs",
181
+ "file": "index-eldkvceu.cjs",
182
182
  "name": "index",
183
183
  "src": "src/components/ActionSheet/components/Badge/index.tsx",
184
184
  "isDynamicEntry": true,
185
185
  "imports": [
186
- "_components-BpMWfEEt.cjs"
186
+ "_components-DClyFU-M.cjs"
187
187
  ]
188
188
  },
189
189
  "src/components/Card/components/Header/index.tsx": {
190
- "file": "index-BYkENVo6.cjs",
190
+ "file": "index-BSG0zFC9.cjs",
191
191
  "name": "index",
192
192
  "src": "src/components/Card/components/Header/index.tsx",
193
193
  "isDynamicEntry": true,
194
194
  "imports": [
195
- "_components-BpMWfEEt.cjs"
195
+ "_components-DClyFU-M.cjs"
196
196
  ]
197
197
  },
198
198
  "src/components/Chart/components/LazyChart/index.tsx": {
@@ -202,31 +202,31 @@
202
202
  "isDynamicEntry": true
203
203
  },
204
204
  "src/components/SodaCard/components/Actions/index.tsx": {
205
- "file": "index-YrKDHLOm.cjs",
205
+ "file": "index-B9pVBHoG.cjs",
206
206
  "name": "index",
207
207
  "src": "src/components/SodaCard/components/Actions/index.tsx",
208
208
  "isDynamicEntry": true,
209
209
  "imports": [
210
- "_index-dOpxVj7U.cjs",
211
- "_components-BpMWfEEt.cjs"
210
+ "_index-cb7wQOdp.cjs",
211
+ "_components-DClyFU-M.cjs"
212
212
  ]
213
213
  },
214
214
  "src/components/SodaCard/components/Assets/index.tsx": {
215
- "file": "index-DYyekNVE.cjs",
215
+ "file": "index-BCq1MsXT.cjs",
216
216
  "name": "index",
217
217
  "src": "src/components/SodaCard/components/Assets/index.tsx",
218
218
  "isDynamicEntry": true,
219
219
  "imports": [
220
- "_components-BpMWfEEt.cjs"
220
+ "_components-DClyFU-M.cjs"
221
221
  ]
222
222
  },
223
223
  "src/components/SodaCard/components/Content/index.tsx": {
224
- "file": "index-CJEzVPBB.cjs",
224
+ "file": "index-BPMwSQiu.cjs",
225
225
  "name": "index",
226
226
  "src": "src/components/SodaCard/components/Content/index.tsx",
227
227
  "isDynamicEntry": true,
228
228
  "imports": [
229
- "_components-BpMWfEEt.cjs",
229
+ "_components-DClyFU-M.cjs",
230
230
  "_utils-BmyeZmSR.cjs"
231
231
  ]
232
232
  },
@@ -237,22 +237,22 @@
237
237
  "isDynamicEntry": true
238
238
  },
239
239
  "src/components/SodaCard/components/Header/index.tsx": {
240
- "file": "index-T_N7l0dY.cjs",
240
+ "file": "index-DAeeijml.cjs",
241
241
  "name": "index",
242
242
  "src": "src/components/SodaCard/components/Header/index.tsx",
243
243
  "isDynamicEntry": true,
244
244
  "imports": [
245
- "_components-BpMWfEEt.cjs",
245
+ "_components-DClyFU-M.cjs",
246
246
  "_constants-DFJRYpE2.cjs"
247
247
  ]
248
248
  },
249
249
  "src/components/SodaCard/components/MainAction/index.tsx": {
250
- "file": "index-DmZxf_3K.cjs",
250
+ "file": "index-DIjbP65y.cjs",
251
251
  "name": "index",
252
252
  "src": "src/components/SodaCard/components/MainAction/index.tsx",
253
253
  "isDynamicEntry": true,
254
254
  "imports": [
255
- "_components-BpMWfEEt.cjs"
255
+ "_components-DClyFU-M.cjs"
256
256
  ]
257
257
  },
258
258
  "src/components/SodaCard/components/Map/index.tsx": {
@@ -272,7 +272,7 @@
272
272
  "src": "src/export/components.ts",
273
273
  "isEntry": true,
274
274
  "imports": [
275
- "_components-BpMWfEEt.cjs"
275
+ "_components-DClyFU-M.cjs"
276
276
  ]
277
277
  },
278
278
  "src/export/hooks.ts": {
@@ -7,6 +7,7 @@ export type IMenuItem = {
7
7
  disabled?: boolean;
8
8
  isActive?: boolean;
9
9
  children?: IMenuItem[];
10
+ isChild?: boolean;
10
11
  actions?: {
11
12
  label: string;
12
13
  onClick: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShellNavigation/components/MenuItem.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;IACvB,OAAO,CAAC,EAAE;QACR,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,IAAI,EAAE,OAAO,CAAC;QACd,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,EAAE,CAAC;CACL,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAS,EAAE,EAAE;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,eAAe,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,oDAqFrJ"}
1
+ {"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/AppShellNavigation/components/MenuItem.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAGjD,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE;QACR,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,IAAI,EAAE,OAAO,CAAC;QACd,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,EAAE,CAAC;CACL,CAAC;AAQF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAS,EAAE,EAAE;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,eAAe,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,oDA2HrJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AppShellNavigation/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAA4C,MAAM,OAAO,CAAC;AAIlG,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACxE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EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,YAAY,CAAC;CAChC,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,SAAS,EACT,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,KAAK,EACL,cAAqB,EACrB,aAAa,EACb,WAAW,EACX,QAAQ,EACR,UAAU,EACV,cAAc,EACd,OAAO,EACP,QAAQ,EACR,eAAe,EAChB,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAAG,YAAY,CAkQzC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AppShellNavigation/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAA4C,MAAM,OAAO,CAAC;AAIlG,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAiB,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAkB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAG/D,KAAK,KAAK,GAAG;IACX,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,QAAQ,EAAE;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;KAC/B,CAAC;IACF,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE;QACX,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;QAC5B,OAAO,EAAE,MA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EACR,eAAe,EAChB,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAAG,YAAY,CAgQzC"}
@@ -2,9 +2,9 @@ import { jsx, Fragment, jsxs } from "@emotion/react/jsx-runtime";
2
2
  import { isString, toggle, get, isFunction, assign } from "radash";
3
3
  import { useTheme, jsx as jsx$1, keyframes, ThemeProvider } from "@emotion/react";
4
4
  import { g as getElementColor, A as AngleDownSolid, a as CheckSolid, C as Close, L as Loading, P as PlusSolid, S as SearchSolid, b as Assistant, c as ArrowUpSolid, E as EllipsisVSolid, d as ArrowLeftSolid, H as HistorySolid, U as User, e as AngleLeftSolid, M as MinusCircleSolid, f as SettingsBarSolid, G as Globe, D as Dashboard, h as Groups, i as UserCircleSolid, j as Assets$1, k as Claims, l as Accounts, m as LinkedResources, n as Proposals, I as ImpactCredits, o as GoTo, p as Share, q as PiePiece, r as ImpactCertificates, s as CommentDotsSolid, t as CommentAltSolid, u as MicrophoneSolid, v as Command, w as ArrowCircleRightSolid, x as Protocols, y as Investments, O as Oracles, z as Projects, B as Daos, F as Star, J as AngleRightSolid, K as Expand, N as LeafSolid, Q as ArrowDownSolid, R as ArrowRightSolid, T as Play, V as CheckCircle, W as Events, X as ThumbsUpSolid, Y as CommentsSolid, Z as CopySolid, _ as Hourglass, $ as Act, a0 as Info$1, a1 as ClaimsW, a2 as TachometerAltSolid, a3 as UserCogSolid, a4 as UsersSolid, a5 as EllipsisHSolid } from "./UsersSolid-BAU7PbE4.js";
5
- import { useState, useCallback, useRef, useEffect, Suspense, lazy, forwardRef, useId, useMemo, Fragment as Fragment$1, useLayoutEffect, useImperativeHandle, memo } from "react";
5
+ import { useState, useCallback, useRef, useEffect, Suspense, lazy, forwardRef, useMemo, useId, Fragment as Fragment$1, useLayoutEffect, useImperativeHandle, memo } from "react";
6
6
  import { T as TAG_SMALL_HEIGHT, D as DEFAULT_ICON_SIZE } from "./constants-B7xlU8b8.js";
7
- import { Accordion as Accordion$1, Box, Image, Popover, Text as Text$1, Badge as Badge$1, Center, AppShell, Skeleton, Stack as Stack$1, Tooltip as Tooltip$4, Divider } from "@mantine/core";
7
+ import { Accordion as Accordion$1, Box, Image, Popover, Text as Text$1, Badge as Badge$1, Center, AppShell, Skeleton, Stack as Stack$1, Tooltip as Tooltip$4, Divider, ScrollArea } from "@mantine/core";
8
8
  import { cx, css } from "@emotion/css";
9
9
  import { createPortal } from "react-dom";
10
10
  import DOMPurify from "dompurify";
@@ -774,8 +774,8 @@ function AccordionTable({
774
774
  }
775
775
  );
776
776
  }
777
- const Header$3 = lazy(() => import("./index-CcdgltF2.js"));
778
- const Footer = lazy(() => import("./index-Cps8sTdh.js"));
777
+ const Header$3 = lazy(() => import("./index-CHaUG4pj.js"));
778
+ const Footer = lazy(() => import("./index-CkY33lka.js"));
779
779
  function ActionCard({ header, content, footer, useHoverMode = false }) {
780
780
  const hasContent = !!content || !!footer;
781
781
  const initialVisibility = footer?.startHidden !== true;
@@ -859,7 +859,7 @@ function Loader({ size, color = "primary" }) {
859
859
  }
860
860
  const CARD_WIDTH$1 = 350;
861
861
  const CARD_HEADER_HEIGHT = 158;
862
- const Header$2 = lazy(() => import("./index-Tr9N7wIo.js"));
862
+ const Header$2 = lazy(() => import("./index-D0Hsuk8i.js"));
863
863
  function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
864
864
  const wrapperRef = useRef(null);
865
865
  const handleOnClick = useCallback(
@@ -1294,7 +1294,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
1294
1294
  document.body
1295
1295
  );
1296
1296
  }
1297
- const Badge = lazy(() => import("./index-BJ_C_QL7.js"));
1297
+ const Badge = lazy(() => import("./index-NInTEDOl.js"));
1298
1298
  function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
1299
1299
  const shadowScrollRef = useRef(null);
1300
1300
  const wrapperContentAreaRef = useRef(null);
@@ -2407,19 +2407,70 @@ function RoomCategory({ category }) {
2407
2407
  !value && /* @__PURE__ */ jsx(Stack$1, { gap: 1, children: category.rooms.map((room) => /* @__PURE__ */ jsx(RoomItem, { room }, room.id)) })
2408
2408
  ] });
2409
2409
  }
2410
+ function hasActiveDescendant(children) {
2411
+ if (!children || children.length === 0) return false;
2412
+ return children.some((child) => child.isActive === true || hasActiveDescendant(child.children));
2413
+ }
2410
2414
  function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2411
2415
  const { hovered, ref } = useHover();
2412
2416
  const theme = useUITheme();
2413
- const { value: isExpanded, toggle: toggle2 } = useToggle(false);
2414
2417
  const hasChildren = item.children && item.children.length > 0;
2418
+ const hasActiveChild = useMemo(() => hasActiveDescendant(item.children), [item.children]);
2419
+ const initialExpanded = item?.isActive === true || hasActiveChild;
2420
+ const { value: isExpanded, toggle: toggle2, set: setIsExpanded } = useToggle(initialExpanded);
2421
+ const prevHasActiveChildRef = useRef(hasActiveChild);
2422
+ const manuallyToggledRef = useRef(false);
2423
+ useEffect(() => {
2424
+ if (item?.isActive !== void 0) {
2425
+ setIsExpanded(item.isActive);
2426
+ manuallyToggledRef.current = false;
2427
+ }
2428
+ }, [item?.isActive, setIsExpanded]);
2429
+ useEffect(() => {
2430
+ if (hasActiveChild && !prevHasActiveChildRef.current) {
2431
+ if (!manuallyToggledRef.current || isExpanded) {
2432
+ setIsExpanded(true);
2433
+ }
2434
+ }
2435
+ prevHasActiveChildRef.current = hasActiveChild;
2436
+ }, [hasActiveChild, isExpanded, setIsExpanded]);
2415
2437
  const handleItemClick = () => {
2416
2438
  if (!!item?.disabled) return;
2417
2439
  onMenuItemClick(item);
2418
2440
  };
2419
2441
  const handleToggleClick = (e) => {
2420
2442
  e.stopPropagation();
2443
+ manuallyToggledRef.current = true;
2421
2444
  toggle2();
2422
2445
  };
2446
+ const shouldShowActiveStyle = item.isActive === true && !hasActiveChild;
2447
+ const renderIcon = () => {
2448
+ if (hasChildren && hovered) {
2449
+ return /* @__PURE__ */ jsx(
2450
+ Center,
2451
+ {
2452
+ onClick: handleToggleClick,
2453
+ p: 4,
2454
+ sx: {
2455
+ cursor: "pointer",
2456
+ borderRadius: 4,
2457
+ transform: isExpanded ? "rotate(-90deg)" : "rotate(0deg)",
2458
+ transition: "transform 0.2s ease",
2459
+ "&:hover": {
2460
+ backgroundColor: theme.neutral.transparent10
2461
+ }
2462
+ },
2463
+ children: /* @__PURE__ */ jsx(AngleLeftSolid, { size: 12, color: "secondary" })
2464
+ }
2465
+ );
2466
+ } else {
2467
+ if (typeof item.icon === "string") {
2468
+ return /* @__PURE__ */ jsx(Image, { w: 20, h: 20, src: item.icon, radius: "50%" });
2469
+ } else {
2470
+ return /* @__PURE__ */ jsx(item.icon, { size: 20, color: shouldShowActiveStyle ? "overPicture" : "secondary" });
2471
+ }
2472
+ }
2473
+ };
2423
2474
  return /* @__PURE__ */ jsxs(Stack$1, { gap: 1, children: [
2424
2475
  /* @__PURE__ */ jsxs(
2425
2476
  Flex,
@@ -2434,50 +2485,31 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2434
2485
  style: {
2435
2486
  cursor: "pointer",
2436
2487
  borderRadius: 8,
2437
- backgroundColor: item.isActive ? theme.neutral.transparent10 : hovered ? theme.neutral.transparent10 : "transparent",
2488
+ backgroundColor: shouldShowActiveStyle ? theme.neutral.transparent10 : hovered ? theme.neutral.transparent10 : "transparent",
2438
2489
  transform: hovered ? "translateX(4px)" : "translateX(0px)",
2439
2490
  transition: "all 0.2s ease"
2440
2491
  },
2441
2492
  onClick: handleItemClick,
2442
2493
  children: [
2443
2494
  /* @__PURE__ */ jsxs(Flex, { align: "center", gap: 8, children: [
2444
- typeof item.icon === "string" ? /* @__PURE__ */ jsx(Image, { w: 20, h: 20, src: item.icon, radius: "50%" }) : /* @__PURE__ */ jsx(item.icon, { size: 20, color: item.isActive ? "overPicture" : "secondary" }),
2445
- /* @__PURE__ */ jsx(Text$1, { fz: 14, fw: 500, c: item.isActive ? theme.neutral.lightGray : theme.text.secondary, style: { flex: 1 }, children: item.name }),
2495
+ renderIcon(),
2496
+ /* @__PURE__ */ jsx(Text$1, { fz: 14, fw: 500, c: shouldShowActiveStyle ? theme.neutral.lightGray : theme.text.secondary, style: { flex: 1 }, children: item.name }),
2446
2497
  item.badgeCount ? /* @__PURE__ */ jsx(Badge$1, { size: "xs", variant: "filled", ml: 4, style: { minWidth: "16px", height: "15px", padding: "0 4px", fontSize: "8px" }, children: item.badgeCount }) : null
2447
2498
  ] }),
2448
- /* @__PURE__ */ jsxs(Flex, { children: [
2449
- hasChildren && /* @__PURE__ */ jsx(
2450
- Center,
2451
- {
2452
- onClick: handleToggleClick,
2453
- p: 4,
2454
- sx: {
2455
- cursor: "pointer",
2456
- borderRadius: 4,
2457
- transform: isExpanded ? "rotate(-90deg)" : "rotate(0deg)",
2458
- transition: "transform 0.2s ease",
2459
- "&:hover": {
2460
- backgroundColor: theme.neutral.transparent10
2461
- }
2462
- },
2463
- children: /* @__PURE__ */ jsx(AngleLeftSolid, { size: 12, color: "secondary" })
2464
- }
2465
- ),
2466
- item?.actions && item.actions.length > 0 && /* @__PURE__ */ jsx(
2467
- Center,
2468
- {
2469
- sx: {
2470
- cursor: "pointer",
2471
- borderRadius: 4,
2472
- transition: "transform 0.2s ease",
2473
- "&:hover": {
2474
- backgroundColor: theme.neutral.transparent10
2475
- }
2476
- },
2477
- children: /* @__PURE__ */ jsx(MoreMenu, { items: item.actions, controlColor: "secondary" })
2478
- }
2479
- )
2480
- ] })
2499
+ /* @__PURE__ */ jsx(Flex, { children: item?.actions && item.actions.length > 0 && /* @__PURE__ */ jsx(
2500
+ Center,
2501
+ {
2502
+ sx: {
2503
+ cursor: "pointer",
2504
+ borderRadius: 4,
2505
+ transition: "transform 0.2s ease",
2506
+ "&:hover": {
2507
+ backgroundColor: theme.neutral.transparent10
2508
+ }
2509
+ },
2510
+ children: /* @__PURE__ */ jsx(MoreMenu, { items: item.actions, controlColor: "secondary" })
2511
+ }
2512
+ ) })
2481
2513
  ]
2482
2514
  }
2483
2515
  ),
@@ -2595,7 +2627,6 @@ function AppShellNavigation({
2595
2627
  document.body.style.cursor = "col-resize";
2596
2628
  document.body.style.userSelect = "none";
2597
2629
  } else {
2598
- console.count("2");
2599
2630
  clearNavbarListeners();
2600
2631
  }
2601
2632
  return () => clearNavbarListeners();
@@ -2681,23 +2712,20 @@ function AppShellNavigation({
2681
2712
  /* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 })
2682
2713
  ] }),
2683
2714
  /* @__PURE__ */ jsx(
2684
- Stack$1,
2715
+ ScrollArea,
2685
2716
  {
2686
- align: "center",
2687
- gap: 8,
2717
+ scrollbarSize: 0,
2688
2718
  style: {
2689
2719
  flex: 1,
2690
- overflowY: "auto",
2691
- maxHeight: "calc(100vh - 300px)",
2692
- scrollbarWidth: "none",
2693
- msOverflowStyle: "none"
2720
+ maxHeight: "calc(100vh - 360px)"
2694
2721
  },
2695
- sx: {
2696
- "&::-webkit-scrollbar": {
2697
- display: "none"
2722
+ viewportProps: {
2723
+ style: {
2724
+ paddingLeft: 8,
2725
+ paddingRight: 8
2698
2726
  }
2699
2727
  },
2700
- children: spaces.map(({ icon, id, name, onClick }) => /* @__PURE__ */ jsx(SpaceItem, { selectedSpace, icon, name, id, onClick }, id))
2728
+ children: /* @__PURE__ */ jsx(Stack$1, { align: "center", gap: 8, children: spaces.map(({ icon, id, name, onClick }) => /* @__PURE__ */ jsx(SpaceItem, { selectedSpace, icon, name, id, onClick }, id)) })
2701
2729
  }
2702
2730
  )
2703
2731
  ] }),
@@ -5763,13 +5791,13 @@ function ActionButton({ onClick, left, right }) {
5763
5791
  }
5764
5792
  );
5765
5793
  }
5766
- const MainAction = lazy(() => import("./index-WpYDX7r4.js"));
5767
- const Header$1 = lazy(() => import("./index-Dw-UB8QG.js"));
5768
- const Content = lazy(() => import("./index-B91AEI-O.js"));
5794
+ const MainAction = lazy(() => import("./index-D2vpQrea.js"));
5795
+ const Header$1 = lazy(() => import("./index-CrLkPKdH.js"));
5796
+ const Content = lazy(() => import("./index-CgY82myI.js"));
5769
5797
  const Map = lazy(() => import("./index-D5Ufmf-s.js"));
5770
5798
  const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
5771
- const Assets = lazy(() => import("./index-Cd9_EsL3.js"));
5772
- const Actions = lazy(() => import("./index-DiC6w4Dz.js"));
5799
+ const Assets = lazy(() => import("./index-Dzht1xdr.js"));
5800
+ const Actions = lazy(() => import("./index-BUOaLr6a.js"));
5773
5801
  const HOVER_BORDER_WIDTH = 1;
5774
5802
  function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
5775
5803
  const wrapperRef = useRef(null);
@@ -11084,4 +11112,4 @@ export {
11084
11112
  CardHero as y,
11085
11113
  CardSelector as z
11086
11114
  };
11087
- //# sourceMappingURL=components-Bbc5HijA.js.map
11115
+ //# sourceMappingURL=components-B1a2iVqu.js.map