@wealthx/shadcn 1.5.33 → 1.5.35
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/.turbo/turbo-build.log +72 -72
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-RSEVIQEO.mjs → chunk-E432NK23.mjs} +41 -36
- package/dist/{chunk-EEI4FLEE.mjs → chunk-WLELT6L7.mjs} +345 -272
- package/dist/components/ui/ai-conversations/index.js +417 -350
- package/dist/components/ui/ai-conversations/index.mjs +1 -1
- package/dist/components/ui/sidebar-nav.js +39 -34
- package/dist/components/ui/sidebar-nav.mjs +1 -1
- package/dist/index.js +4435 -4363
- package/dist/index.mjs +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/ui/ai-conversations/bubble.tsx +240 -0
- package/src/components/ui/ai-conversations/index.tsx +9 -8
- package/src/components/ui/ai-conversations/thread.tsx +11 -163
- package/src/components/ui/sidebar-nav.tsx +96 -75
- package/src/styles/styles-css.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -14,7 +14,7 @@ npm warn Unknown project config "auto-install-peers". This will stop working in
|
|
|
14
14
|
npm warn Unknown project config "public-hoist-pattern". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
|
|
15
15
|
[3m[1m[34m≈[39m[22m[23m tailwindcss [34mv4.2.2[39m
|
|
16
16
|
|
|
17
|
-
Done in [
|
|
17
|
+
Done in [33m344ms[39m
|
|
18
18
|
Built dist/styles.css and src/styles/styles-css.ts
|
|
19
19
|
warning package.json: No license field
|
|
20
20
|
$ tsup
|
|
@@ -36,24 +36,24 @@ $ tsup
|
|
|
36
36
|
[32mESM[39m [1mdist/chunk-5SAYZ4CI.mjs [22m[32m1.14 KB[39m
|
|
37
37
|
[32mESM[39m [1mdist/chunk-I2EKKSEF.mjs [22m[32m4.94 KB[39m
|
|
38
38
|
[32mESM[39m [1mdist/index.mjs [22m[32m19.95 KB[39m
|
|
39
|
-
[32mESM[39m [1mdist/chunk-
|
|
39
|
+
[32mESM[39m [1mdist/chunk-WLELT6L7.mjs [22m[32m66.27 KB[39m
|
|
40
40
|
[32mESM[39m [1mdist/chunk-SCGCGVDN.mjs [22m[32m29.13 KB[39m
|
|
41
41
|
[32mESM[39m [1mdist/chunk-FYZBGWYR.mjs [22m[32m21.58 KB[39m
|
|
42
42
|
[32mESM[39m [1mdist/chunk-FGMDBJCF.mjs [22m[32m5.12 KB[39m
|
|
43
43
|
[32mESM[39m [1mdist/chunk-6UKOJLXO.mjs [22m[32m5.55 KB[39m
|
|
44
44
|
[32mESM[39m [1mdist/chunk-77L3UPBW.mjs [22m[32m5.11 KB[39m
|
|
45
45
|
[32mESM[39m [1mdist/chunk-H5ZD63NT.mjs [22m[32m6.28 KB[39m
|
|
46
|
-
[32mESM[39m [1mdist/chunk-ZGQIVGIN.mjs [22m[32m1.27 KB[39m
|
|
47
46
|
[32mESM[39m [1mdist/chunk-BZWQU52U.mjs [22m[32m38.22 KB[39m
|
|
47
|
+
[32mESM[39m [1mdist/chunk-ZGQIVGIN.mjs [22m[32m1.27 KB[39m
|
|
48
48
|
[32mESM[39m [1mdist/chunk-AZGLSIHF.mjs [22m[32m4.02 KB[39m
|
|
49
49
|
[32mESM[39m [1mdist/chunk-WZ6UJCBL.mjs [22m[32m1.24 KB[39m
|
|
50
50
|
[32mESM[39m [1mdist/chunk-LSSIWLYU.mjs [22m[32m6.20 KB[39m
|
|
51
51
|
[32mESM[39m [1mdist/chunk-3Z75IKFO.mjs [22m[32m741.00 B[39m
|
|
52
52
|
[32mESM[39m [1mdist/chunk-MD66TGX7.mjs [22m[32m13.27 KB[39m
|
|
53
|
-
[32mESM[39m [1mdist/chunk-
|
|
53
|
+
[32mESM[39m [1mdist/chunk-E432NK23.mjs [22m[32m16.31 KB[39m
|
|
54
54
|
[32mESM[39m [1mdist/chunk-JUMEIPII.mjs [22m[32m9.37 KB[39m
|
|
55
|
-
[32mESM[39m [1mdist/chunk-HONTZFLO.mjs [22m[32m3.96 KB[39m
|
|
56
55
|
[32mESM[39m [1mdist/chunk-OSSS56CB.mjs [22m[32m9.02 KB[39m
|
|
56
|
+
[32mESM[39m [1mdist/chunk-HONTZFLO.mjs [22m[32m3.96 KB[39m
|
|
57
57
|
[32mESM[39m [1mdist/chunk-PCULNQWA.mjs [22m[32m3.99 KB[39m
|
|
58
58
|
[32mESM[39m [1mdist/chunk-C7ZTZTEW.mjs [22m[32m7.43 KB[39m
|
|
59
59
|
[32mESM[39m [1mdist/chunk-VLVEZHFE.mjs [22m[32m5.28 KB[39m
|
|
@@ -174,10 +174,10 @@ $ tsup
|
|
|
174
174
|
[32mESM[39m [1mdist/chunk-5FHBC6DY.mjs [22m[32m2.10 KB[39m
|
|
175
175
|
[32mESM[39m [1mdist/chunk-MN5NYQCL.mjs [22m[32m931.00 B[39m
|
|
176
176
|
[32mESM[39m [1mdist/chunk-NOOEKOWY.mjs [22m[32m3.63 KB[39m
|
|
177
|
-
[32mESM[39m [1mdist/
|
|
177
|
+
[32mESM[39m [1mdist/chunk-R4HCRDU5.mjs [22m[32m1.56 KB[39m
|
|
178
178
|
[32mESM[39m [1mdist/chunk-AFML43VJ.mjs [22m[32m988.00 B[39m
|
|
179
179
|
[32mESM[39m [1mdist/chunk-WNQUEZJF.mjs [22m[32m1.85 KB[39m
|
|
180
|
-
[32mESM[39m [1mdist/
|
|
180
|
+
[32mESM[39m [1mdist/components/ui/ai-builder/index.mjs [22m[32m1.32 KB[39m
|
|
181
181
|
[32mESM[39m [1mdist/components/ui/transactions-expense-categories-doughnut-chart.mjs [22m[32m531.00 B[39m
|
|
182
182
|
[32mESM[39m [1mdist/components/ui/transactions-income-expense-bar-chart.mjs [22m[32m513.00 B[39m
|
|
183
183
|
[32mESM[39m [1mdist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs [22m[32m521.00 B[39m
|
|
@@ -260,6 +260,9 @@ $ tsup
|
|
|
260
260
|
[32mESM[39m [1mdist/components/ui/financial-primitives.mjs [22m[32m508.00 B[39m
|
|
261
261
|
[32mESM[39m [1mdist/components/ui/financial-sections.mjs [22m[32m807.00 B[39m
|
|
262
262
|
[32mESM[39m [1mdist/components/ui/form-primitives.mjs [22m[32m467.00 B[39m
|
|
263
|
+
[32mESM[39m [1mdist/components/ui/frontend-signup-steps.mjs [22m[32m1013.00 B[39m
|
|
264
|
+
[32mESM[39m [1mdist/components/ui/income-bar-chart.mjs [22m[32m475.00 B[39m
|
|
265
|
+
[32mESM[39m [1mdist/components/ui/income-sources-card.mjs [22m[32m3.89 KB[39m
|
|
263
266
|
[32mESM[39m [1mdist/components/ui/income-summary-component.mjs [22m[32m3.18 KB[39m
|
|
264
267
|
[32mESM[39m [1mdist/components/ui/income-work-details.mjs [22m[32m866.00 B[39m
|
|
265
268
|
[32mESM[39m [1mdist/components/ui/empty.mjs [22m[32m300.00 B[39m
|
|
@@ -284,8 +287,8 @@ $ tsup
|
|
|
284
287
|
[32mESM[39m [1mdist/components/ui/currency-input.mjs [22m[32m333.00 B[39m
|
|
285
288
|
[32mESM[39m [1mdist/components/ui/dashboard-expense-categories.mjs [22m[32m6.88 KB[39m
|
|
286
289
|
[32mESM[39m [1mdist/components/ui/dashboard-transactions-table.mjs [22m[32m5.92 KB[39m
|
|
287
|
-
[32mESM[39m [1mdist/components/ui/date-picker.mjs [22m[32m432.00 B[39m
|
|
288
290
|
[32mESM[39m [1mdist/components/ui/data-table.mjs [22m[32m757.00 B[39m
|
|
291
|
+
[32mESM[39m [1mdist/components/ui/date-picker.mjs [22m[32m432.00 B[39m
|
|
289
292
|
[32mESM[39m [1mdist/components/ui/cashflow-bar-chart.mjs [22m[32m479.00 B[39m
|
|
290
293
|
[32mESM[39m [1mdist/components/ui/category-edit-dialog.mjs [22m[32m448.00 B[39m
|
|
291
294
|
[32mESM[39m [1mdist/components/ui/chat-widget-primitives.mjs [22m[32m527.00 B[39m
|
|
@@ -309,6 +312,7 @@ $ tsup
|
|
|
309
312
|
[32mESM[39m [1mdist/components/ui/bank-statement-pdf-viewer.mjs [22m[32m386.00 B[39m
|
|
310
313
|
[32mESM[39m [1mdist/components/ui/banking-accounts-connect.mjs [22m[32m4.53 KB[39m
|
|
311
314
|
[32mESM[39m [1mdist/components/ui/borrowing-capacity-atoms.mjs [22m[32m389.00 B[39m
|
|
315
|
+
[32mESM[39m [1mdist/components/ui/borrowing-capacity-card.mjs [22m[32m3.45 KB[39m
|
|
312
316
|
[32mESM[39m [1mdist/components/ui/auth-page-layout.mjs [22m[32m160.00 B[39m
|
|
313
317
|
[32mESM[39m [1mdist/components/ui/avatar.mjs [22m[32m310.00 B[39m
|
|
314
318
|
[32mESM[39m [1mdist/components/ui/backoffice-alert-history-chart.mjs [22m[32m501.00 B[39m
|
|
@@ -331,7 +335,6 @@ $ tsup
|
|
|
331
335
|
[32mESM[39m [1mdist/components/ui/application-mobile-layout.mjs [22m[32m178.00 B[39m
|
|
332
336
|
[32mESM[39m [1mdist/components/ui/appointment-action-dialogs.mjs [22m[32m732.00 B[39m
|
|
333
337
|
[32mESM[39m [1mdist/components/ui/appointment-availability-settings.mjs [22m[32m815.00 B[39m
|
|
334
|
-
[32mESM[39m [1mdist/components/ui/borrowing-capacity-card.mjs [22m[32m3.45 KB[39m
|
|
335
338
|
[32mESM[39m [1mdist/components/ui/appointment-book-dialog.mjs [22m[32m874.00 B[39m
|
|
336
339
|
[32mESM[39m [1mdist/components/ui/appointment-calendar-view.mjs [22m[32m423.00 B[39m
|
|
337
340
|
[32mESM[39m [1mdist/components/ui/add-column-modal.mjs [22m[32m440.00 B[39m
|
|
@@ -345,32 +348,29 @@ $ tsup
|
|
|
345
348
|
[32mESM[39m [1mdist/components/ui/about-you-form.mjs [22m[32m11.05 KB[39m
|
|
346
349
|
[32mESM[39m [1mdist/components/ui/accordion.mjs [22m[32m264.00 B[39m
|
|
347
350
|
[32mESM[39m [1mdist/components/ui/account-list-carousel.mjs [22m[32m275.00 B[39m
|
|
348
|
-
[32mESM[39m [1mdist/components/ui/income-bar-chart.mjs [22m[32m475.00 B[39m
|
|
349
|
-
[32mESM[39m [1mdist/components/ui/frontend-signup-steps.mjs [22m[32m1013.00 B[39m
|
|
350
|
-
[32mESM[39m [1mdist/components/ui/income-sources-card.mjs [22m[32m3.89 KB[39m
|
|
351
351
|
[32mESM[39m [1mdist/components/ui/ai-conversations/index.mjs [22m[32m1.13 KB[39m
|
|
352
352
|
[32mESM[39m [1mdist/components/ui/contact-alert-dialog/index.mjs [22m[32m925.00 B[39m
|
|
353
353
|
[32mESM[39m [1mdist/components/ui/resource-center/index.mjs [22m[32m803.00 B[39m
|
|
354
|
-
[32mESM[39m ⚡️ Build success in
|
|
354
|
+
[32mESM[39m ⚡️ Build success in 764ms
|
|
355
355
|
[32mCJS[39m [1mdist/lib/colors.js [22m[32m4.33 KB[39m
|
|
356
|
-
[32mCJS[39m [1mdist/lib/typography.js [22m[32m5.74 KB[39m
|
|
357
356
|
[32mCJS[39m [1mdist/lib/theme-provider.js [22m[32m8.19 KB[39m
|
|
357
|
+
[32mCJS[39m [1mdist/lib/typography.js [22m[32m5.74 KB[39m
|
|
358
358
|
[32mCJS[39m [1mdist/lib/utils.js [22m[32m2.02 KB[39m
|
|
359
|
-
[32mCJS[39m [1mdist/components/ui/about-you-form.js [22m[32m41.82 KB[39m
|
|
360
359
|
[32mCJS[39m [1mdist/components/ui/accordion.js [22m[32m5.75 KB[39m
|
|
361
|
-
[32mCJS[39m [1mdist/components/ui/add-column-modal.js [22m[32m26.55 KB[39m
|
|
362
360
|
[32mCJS[39m [1mdist/components/ui/account-list-carousel.js [22m[32m11.56 KB[39m
|
|
361
|
+
[32mCJS[39m [1mdist/components/ui/about-you-form.js [22m[32m41.82 KB[39m
|
|
362
|
+
[32mCJS[39m [1mdist/components/ui/add-column-modal.js [22m[32m26.55 KB[39m
|
|
363
|
+
[32mCJS[39m [1mdist/components/ui/add-lead-modal.js [22m[32m39.94 KB[39m
|
|
363
364
|
[32mCJS[39m [1mdist/components/ui/advisor-card.js [22m[32m25.41 KB[39m
|
|
364
365
|
[32mCJS[39m [1mdist/components/ui/agent-evaluation-toast.js [22m[32m11.15 KB[39m
|
|
365
366
|
[32mCJS[39m [1mdist/components/ui/ai-assistant-drawer.js [22m[32m28.64 KB[39m
|
|
366
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
367
|
-
[32mCJS[39m [1mdist/components/ui/alert.js [22m[32m5.17 KB[39m
|
|
367
|
+
[32mCJS[39m [1mdist/components/ui/alert-dialog.js [22m[32m16.03 KB[39m
|
|
368
368
|
[32mCJS[39m [1mdist/components/ui/applicant-document-checklist.js [22m[32m13.68 KB[39m
|
|
369
|
+
[32mCJS[39m [1mdist/components/ui/alert.js [22m[32m5.17 KB[39m
|
|
369
370
|
[32mCJS[39m [1mdist/components/ui/applicant-expenses-section.js [22m[32m17.30 KB[39m
|
|
370
371
|
[32mCJS[39m [1mdist/components/ui/applicant-navigation-bar.js [22m[32m11.35 KB[39m
|
|
371
372
|
[32mCJS[39m [1mdist/components/ui/applicant-switcher.js [22m[32m9.80 KB[39m
|
|
372
373
|
[32mCJS[39m [1mdist/components/ui/application-mobile-layout.js [22m[32m2.58 KB[39m
|
|
373
|
-
[32mCJS[39m [1mdist/components/ui/alert-dialog.js [22m[32m16.03 KB[39m
|
|
374
374
|
[32mCJS[39m [1mdist/components/ui/appointment-action-dialogs.js [22m[32m47.44 KB[39m
|
|
375
375
|
[32mCJS[39m [1mdist/components/ui/appointment-availability-settings.js [22m[32m68.75 KB[39m
|
|
376
376
|
[32mCJS[39m [1mdist/components/ui/appointment-book-dialog.js [22m[32m77.68 KB[39m
|
|
@@ -379,37 +379,37 @@ $ tsup
|
|
|
379
379
|
[32mCJS[39m [1mdist/components/ui/appointment-gmail-connect.js [22m[32m21.35 KB[39m
|
|
380
380
|
[32mCJS[39m [1mdist/components/ui/appointment-mini-card.js [22m[32m12.50 KB[39m
|
|
381
381
|
[32mCJS[39m [1mdist/components/ui/appointment-time-slot-picker.js [22m[32m11.33 KB[39m
|
|
382
|
+
[32mCJS[39m [1mdist/components/ui/appointment-upcoming-card.js [22m[32m56.49 KB[39m
|
|
383
|
+
[32mCJS[39m [1mdist/components/ui/asset-accordion.js [22m[32m19.18 KB[39m
|
|
382
384
|
[32mCJS[39m [1mdist/components/ui/assets-liabilities-side-card.js [22m[32m12.56 KB[39m
|
|
385
|
+
[32mCJS[39m [1mdist/components/ui/auth-logo.js [22m[32m3.33 KB[39m
|
|
383
386
|
[32mCJS[39m [1mdist/components/ui/auth-page-layout.js [22m[32m3.49 KB[39m
|
|
384
387
|
[32mCJS[39m [1mdist/components/ui/avatar.js [22m[32m6.33 KB[39m
|
|
385
388
|
[32mCJS[39m [1mdist/components/ui/backoffice-alert-history-chart.js [22m[32m21.53 KB[39m
|
|
386
389
|
[32mCJS[39m [1mdist/components/ui/backoffice-alert-matching-chart.js [22m[32m27.13 KB[39m
|
|
387
390
|
[32mCJS[39m [1mdist/components/ui/backoffice-alerts-chart.js [22m[32m27.04 KB[39m
|
|
388
|
-
[32mCJS[39m [1mdist/components/ui/backoffice-connections-chart.js [22m[32m27.69 KB[39m
|
|
389
|
-
[32mCJS[39m [1mdist/components/ui/backoffice-contact-history-chart.js [22m[32m23.06 KB[39m
|
|
390
391
|
[32mCJS[39m [1mdist/components/ui/backoffice-contact-matching-chart.js [22m[32m27.60 KB[39m
|
|
391
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
392
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
393
|
-
[32mCJS[39m [1mdist/components/ui/auth-logo.js [22m[32m3.33 KB[39m
|
|
392
|
+
[32mCJS[39m [1mdist/components/ui/backoffice-contact-history-chart.js [22m[32m23.06 KB[39m
|
|
393
|
+
[32mCJS[39m [1mdist/components/ui/backoffice-connections-chart.js [22m[32m27.69 KB[39m
|
|
394
394
|
[32mCJS[39m [1mdist/components/ui/badge.js [22m[32m7.01 KB[39m
|
|
395
395
|
[32mCJS[39m [1mdist/components/ui/backoffice-signup-steps.js [22m[32m73.94 KB[39m
|
|
396
|
+
[32mCJS[39m [1mdist/components/ui/bank-statement-document-table.js [22m[32m19.39 KB[39m
|
|
396
397
|
[32mCJS[39m [1mdist/components/ui/bank-statement-generate-dialog.js [22m[32m64.30 KB[39m
|
|
397
398
|
[32mCJS[39m [1mdist/components/ui/bank-statement-pdf-viewer.js [22m[32m21.20 KB[39m
|
|
398
|
-
[32mCJS[39m [1mdist/components/ui/bank-statement-document-table.js [22m[32m19.39 KB[39m
|
|
399
399
|
[32mCJS[39m [1mdist/components/ui/banking-accounts-connect.js [22m[32m13.77 KB[39m
|
|
400
400
|
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-atoms.js [22m[32m14.71 KB[39m
|
|
401
401
|
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-card.js [22m[32m31.33 KB[39m
|
|
402
|
-
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-line-chart.js [22m[32m23.32 KB[39m
|
|
403
402
|
[32mCJS[39m [1mdist/components/ui/broker-info-panel.js [22m[32m10.73 KB[39m
|
|
404
403
|
[32mCJS[39m [1mdist/components/ui/button.js [22m[32m8.76 KB[39m
|
|
405
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
404
|
+
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-line-chart.js [22m[32m23.32 KB[39m
|
|
406
405
|
[32mCJS[39m [1mdist/components/ui/calculator-section.js [22m[32m28.15 KB[39m
|
|
407
406
|
[32mCJS[39m [1mdist/components/ui/calendar.js [22m[32m16.87 KB[39m
|
|
408
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
407
|
+
[32mCJS[39m [1mdist/components/ui/calculator-input-item.js [22m[32m3.20 KB[39m
|
|
409
408
|
[32mCJS[39m [1mdist/components/ui/card.js [22m[32m5.54 KB[39m
|
|
410
409
|
[32mCJS[39m [1mdist/components/ui/cashflow-bar-chart.js [22m[32m22.72 KB[39m
|
|
411
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
410
|
+
[32mCJS[39m [1mdist/components/ui/cash-balance-line-chart.js [22m[32m22.28 KB[39m
|
|
412
411
|
[32mCJS[39m [1mdist/components/ui/chat-widget-primitives.js [22m[32m21.40 KB[39m
|
|
412
|
+
[32mCJS[39m [1mdist/components/ui/category-edit-dialog.js [22m[32m28.68 KB[39m
|
|
413
413
|
[32mCJS[39m [1mdist/components/ui/chat-widget.js [22m[32m47.90 KB[39m
|
|
414
414
|
[32mCJS[39m [1mdist/components/ui/checkbox.js [22m[32m7.11 KB[39m
|
|
415
415
|
[32mCJS[39m [1mdist/components/ui/chip.js [22m[32m11.82 KB[39m
|
|
@@ -422,114 +422,114 @@ $ tsup
|
|
|
422
422
|
[32mCJS[39m [1mdist/components/ui/csv-import-modal.js [22m[32m20.83 KB[39m
|
|
423
423
|
[32mCJS[39m [1mdist/components/ui/dashboard-transactions-table.js [22m[32m41.30 KB[39m
|
|
424
424
|
[32mCJS[39m [1mdist/components/ui/date-picker.js [22m[32m23.77 KB[39m
|
|
425
|
-
[32mCJS[39m [1mdist/components/ui/debt-accordion.js [22m[32m19.84 KB[39m
|
|
426
425
|
[32mCJS[39m [1mdist/components/ui/data-table.js [22m[32m41.53 KB[39m
|
|
427
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
426
|
+
[32mCJS[39m [1mdist/components/ui/debt-accordion.js [22m[32m19.84 KB[39m
|
|
428
427
|
[32mCJS[39m [1mdist/components/ui/delete-contact-component.js [22m[32m17.52 KB[39m
|
|
428
|
+
[32mCJS[39m [1mdist/components/ui/document-checklist-template.js [22m[32m26.15 KB[39m
|
|
429
429
|
[32mCJS[39m [1mdist/components/ui/drawer.js [22m[32m8.55 KB[39m
|
|
430
|
-
[32mCJS[39m [1mdist/components/ui/dynamic-tabs.js [22m[32m10.53 KB[39m
|
|
431
430
|
[32mCJS[39m [1mdist/components/ui/dropdown-menu.js [22m[32m13.57 KB[39m
|
|
431
|
+
[32mCJS[39m [1mdist/components/ui/dynamic-tabs.js [22m[32m10.53 KB[39m
|
|
432
|
+
[32mCJS[39m [1mdist/components/ui/editable-money-item.js [22m[32m11.37 KB[39m
|
|
432
433
|
[32mCJS[39m [1mdist/components/ui/empty.js [22m[32m5.93 KB[39m
|
|
433
434
|
[32mCJS[39m [1mdist/components/ui/expense-bar-chart.js [22m[32m22.36 KB[39m
|
|
434
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
435
|
+
[32mCJS[39m [1mdist/components/ui/expense-detail-item.js [22m[32m19.01 KB[39m
|
|
435
436
|
[32mCJS[39m [1mdist/components/ui/expense-work-details.js [22m[32m46.89 KB[39m
|
|
436
437
|
[32mCJS[39m [1mdist/components/ui/field.js [22m[32m12.09 KB[39m
|
|
437
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
438
|
+
[32mCJS[39m [1mdist/components/ui/dialog.js [22m[32m16.06 KB[39m
|
|
438
439
|
[32mCJS[39m [1mdist/components/ui/file-preview-dialog.js [22m[32m42.41 KB[39m
|
|
439
440
|
[32mCJS[39m [1mdist/components/ui/financial-cards.js [22m[32m50.63 KB[39m
|
|
440
|
-
[32mCJS[39m [1mdist/components/ui/financial-drawers.js [22m[32m25.49 KB[39m
|
|
441
441
|
[32mCJS[39m [1mdist/components/ui/financial-primitives.js [22m[32m8.00 KB[39m
|
|
442
|
+
[32mCJS[39m [1mdist/components/ui/financial-drawers.js [22m[32m25.49 KB[39m
|
|
442
443
|
[32mCJS[39m [1mdist/components/ui/financial-sections.js [22m[32m56.07 KB[39m
|
|
443
444
|
[32mCJS[39m [1mdist/components/ui/form-primitives.js [22m[32m23.29 KB[39m
|
|
444
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
445
|
+
[32mCJS[39m [1mdist/components/ui/frontend-signup-steps.js [22m[32m50.74 KB[39m
|
|
445
446
|
[32mCJS[39m [1mdist/components/ui/income-bar-chart.js [22m[32m22.32 KB[39m
|
|
447
|
+
[32mCJS[39m [1mdist/components/ui/income-summary-component.js [22m[32m14.73 KB[39m
|
|
446
448
|
[32mCJS[39m [1mdist/components/ui/income-sources-card.js [22m[32m9.81 KB[39m
|
|
447
449
|
[32mCJS[39m [1mdist/components/ui/incoming-outgoings-card.js [22m[32m7.52 KB[39m
|
|
450
|
+
[32mCJS[39m [1mdist/components/ui/input-group.js [22m[32m16.63 KB[39m
|
|
448
451
|
[32mCJS[39m [1mdist/components/ui/input-otp.js [22m[32m6.49 KB[39m
|
|
449
|
-
[32mCJS[39m [1mdist/components/ui/income-summary-component.js [22m[32m14.73 KB[39m
|
|
450
452
|
[32mCJS[39m [1mdist/components/ui/input.js [22m[32m3.88 KB[39m
|
|
451
453
|
[32mCJS[39m [1mdist/components/ui/integration-card.js [22m[32m13.13 KB[39m
|
|
452
454
|
[32mCJS[39m [1mdist/components/ui/interest-rate-input.js [22m[32m16.38 KB[39m
|
|
453
455
|
[32mCJS[39m [1mdist/components/ui/interest-rate-section.js [22m[32m13.80 KB[39m
|
|
454
456
|
[32mCJS[39m [1mdist/components/ui/interest-rate-used.js [22m[32m6.83 KB[39m
|
|
455
|
-
[32mCJS[39m [1mdist/components/ui/label.js [22m[32m3.97 KB[39m
|
|
456
457
|
[32mCJS[39m [1mdist/components/ui/income-work-details.js [22m[32m58.65 KB[39m
|
|
457
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
458
|
-
[32mCJS[39m [1mdist/components/ui/input-group.js [22m[32m16.63 KB[39m
|
|
458
|
+
[32mCJS[39m [1mdist/components/ui/label.js [22m[32m3.97 KB[39m
|
|
459
459
|
[32mCJS[39m [1mdist/components/ui/loan-applicant-invite.js [22m[32m12.23 KB[39m
|
|
460
460
|
[32mCJS[39m [1mdist/components/ui/loan-application-badge.js [22m[32m8.18 KB[39m
|
|
461
|
-
[32mCJS[39m [1mdist/components/ui/loan-entry-shell.js [22m[32m3.66 KB[39m
|
|
462
461
|
[32mCJS[39m [1mdist/components/ui/loan-application-cards.js [22m[32m14.53 KB[39m
|
|
463
|
-
[32mCJS[39m [1mdist/components/ui/loan-
|
|
462
|
+
[32mCJS[39m [1mdist/components/ui/loan-entry-shell.js [22m[32m3.66 KB[39m
|
|
464
463
|
[32mCJS[39m [1mdist/components/ui/loan-financials.js [22m[32m15.65 KB[39m
|
|
464
|
+
[32mCJS[39m [1mdist/components/ui/loan-option-card.js [22m[32m3.10 KB[39m
|
|
465
465
|
[32mCJS[39m [1mdist/components/ui/loan-option-group.js [22m[32m9.49 KB[39m
|
|
466
466
|
[32mCJS[39m [1mdist/components/ui/loan-steps.js [22m[32m39.22 KB[39m
|
|
467
|
-
[32mCJS[39m [1mdist/components/ui/loan-
|
|
467
|
+
[32mCJS[39m [1mdist/components/ui/loan-applicant-information.js [22m[32m13.38 KB[39m
|
|
468
|
+
[32mCJS[39m [1mdist/components/ui/kanban-column.js [22m[32m67.37 KB[39m
|
|
468
469
|
[32mCJS[39m [1mdist/components/ui/money-input-with-slider.js [22m[32m6.93 KB[39m
|
|
469
470
|
[32mCJS[39m [1mdist/components/ui/money-item-with-color-indicator.js [22m[32m11.75 KB[39m
|
|
471
|
+
[32mCJS[39m [1mdist/components/ui/loan-wizard-shell.js [22m[32m18.81 KB[39m
|
|
470
472
|
[32mCJS[39m [1mdist/components/ui/onboarding-layout.js [22m[32m20.35 KB[39m
|
|
471
473
|
[32mCJS[39m [1mdist/components/ui/opportunity-card.js [22m[32m54.35 KB[39m
|
|
472
|
-
[32mCJS[39m [1mdist/components/ui/kanban-column.js [22m[32m67.37 KB[39m
|
|
473
|
-
[32mCJS[39m [1mdist/components/ui/page-header.js [22m[32m2.79 KB[39m
|
|
474
|
-
[32mCJS[39m [1mdist/components/ui/pagination.js [22m[32m23.77 KB[39m
|
|
475
|
-
[32mCJS[39m [1mdist/components/ui/password-strength-tooltip.js [22m[32m6.72 KB[39m
|
|
476
474
|
[32mCJS[39m [1mdist/components/ui/opportunity-edit-modals.js [22m[32m145.54 KB[39m
|
|
475
|
+
[32mCJS[39m [1mdist/components/ui/opportunity-summary-tab.js [22m[32m222.08 KB[39m
|
|
476
|
+
[32mCJS[39m [1mdist/components/ui/page-header.js [22m[32m2.79 KB[39m
|
|
477
477
|
[32mCJS[39m [1mdist/components/ui/page-top-bar.js [22m[32m2.60 KB[39m
|
|
478
|
+
[32mCJS[39m [1mdist/components/ui/pagination.js [22m[32m23.77 KB[39m
|
|
478
479
|
[32mCJS[39m [1mdist/components/ui/pipeline-alerts.js [22m[32m3.53 KB[39m
|
|
480
|
+
[32mCJS[39m [1mdist/components/ui/password-strength-tooltip.js [22m[32m6.72 KB[39m
|
|
479
481
|
[32mCJS[39m [1mdist/components/ui/pipeline-chart.js [22m[32m10.60 KB[39m
|
|
480
482
|
[32mCJS[39m [1mdist/components/ui/pipeline-board.js [22m[32m77.70 KB[39m
|
|
481
483
|
[32mCJS[39m [1mdist/components/ui/pipeline-dialogs.js [22m[32m48.11 KB[39m
|
|
482
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
484
|
+
[32mCJS[39m [1mdist/components/ui/pipeline-primitives.js [22m[32m13.90 KB[39m
|
|
483
485
|
[32mCJS[39m [1mdist/components/ui/popover.js [22m[32m7.55 KB[39m
|
|
484
486
|
[32mCJS[39m [1mdist/components/ui/progress.js [22m[32m3.94 KB[39m
|
|
487
|
+
[32mCJS[39m [1mdist/components/ui/property-debt-equity-doughnut-chart.js [22m[32m19.25 KB[39m
|
|
485
488
|
[32mCJS[39m [1mdist/components/ui/property-asset-card.js [22m[32m17.81 KB[39m
|
|
486
|
-
[32mCJS[39m [1mdist/components/ui/property-cashflow-doughnut-chart.js [22m[32m19.37 KB[39m
|
|
487
489
|
[32mCJS[39m [1mdist/components/ui/property-list-carousel.js [22m[32m11.25 KB[39m
|
|
488
|
-
[32mCJS[39m [1mdist/components/ui/property-
|
|
490
|
+
[32mCJS[39m [1mdist/components/ui/property-cashflow-doughnut-chart.js [22m[32m19.37 KB[39m
|
|
489
491
|
[32mCJS[39m [1mdist/components/ui/property-mobile-estimate-line-chart.js [22m[32m23.44 KB[39m
|
|
490
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
492
|
+
[32mCJS[39m [1mdist/components/ui/property-report-dialog.js [22m[32m44.36 KB[39m
|
|
491
493
|
[32mCJS[39m [1mdist/components/ui/radio-group.js [22m[32m7.16 KB[39m
|
|
492
494
|
[32mCJS[39m [1mdist/components/ui/review-alerts-dialog.js [22m[32m22.24 KB[39m
|
|
493
|
-
[32mCJS[39m [1mdist/components/ui/property-report-dialog.js [22m[32m44.36 KB[39m
|
|
494
495
|
[32mCJS[39m [1mdist/components/ui/savings-goal-modal.js [22m[32m43.50 KB[39m
|
|
495
|
-
[32mCJS[39m [1mdist/components/ui/scenario-drawer.js [22m[32m29.79 KB[39m
|
|
496
|
-
[32mCJS[39m [1mdist/components/ui/select.js [22m[32m11.96 KB[39m
|
|
497
496
|
[32mCJS[39m [1mdist/components/ui/scenario-item.js [22m[32m9.28 KB[39m
|
|
498
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
497
|
+
[32mCJS[39m [1mdist/components/ui/scenario-list.js [22m[32m19.00 KB[39m
|
|
498
|
+
[32mCJS[39m [1mdist/components/ui/select.js [22m[32m11.96 KB[39m
|
|
499
499
|
[32mCJS[39m [1mdist/components/ui/selectable-card.js [22m[32m5.32 KB[39m
|
|
500
|
+
[32mCJS[39m [1mdist/components/ui/separator.js [22m[32m3.58 KB[39m
|
|
501
|
+
[32mCJS[39m [1mdist/components/ui/scenario-drawer.js [22m[32m29.79 KB[39m
|
|
502
|
+
[32mCJS[39m [1mdist/components/ui/sidebar-nav.js [22m[32m31.00 KB[39m
|
|
500
503
|
[32mCJS[39m [1mdist/components/ui/sheet.js [22m[32m8.69 KB[39m
|
|
501
|
-
[32mCJS[39m [1mdist/components/ui/share-details-dialog.js [22m[32m37.63 KB[39m
|
|
502
|
-
[32mCJS[39m [1mdist/components/ui/sidebar-nav.js [22m[32m30.59 KB[39m
|
|
503
|
-
[32mCJS[39m [1mdist/components/ui/skeleton.js [22m[32m3.24 KB[39m
|
|
504
|
-
[32mCJS[39m [1mdist/components/ui/signup-shell.js [22m[32m13.58 KB[39m
|
|
505
|
-
[32mCJS[39m [1mdist/components/ui/sonner.js [22m[32m3.35 KB[39m
|
|
506
504
|
[32mCJS[39m [1mdist/components/ui/signup-form-primitives.js [22m[32m30.75 KB[39m
|
|
505
|
+
[32mCJS[39m [1mdist/components/ui/signup-shell.js [22m[32m13.58 KB[39m
|
|
506
|
+
[32mCJS[39m [1mdist/components/ui/skeleton.js [22m[32m3.24 KB[39m
|
|
507
507
|
[32mCJS[39m [1mdist/components/ui/slider.js [22m[32m4.60 KB[39m
|
|
508
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
509
|
-
[32mCJS[39m [1mdist/components/ui/stage-timeline.js [22m[32m24.60 KB[39m
|
|
508
|
+
[32mCJS[39m [1mdist/components/ui/sonner.js [22m[32m3.35 KB[39m
|
|
510
509
|
[32mCJS[39m [1mdist/components/ui/spinner.js [22m[32m3.73 KB[39m
|
|
511
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
510
|
+
[32mCJS[39m [1mdist/components/ui/stage-timeline.js [22m[32m24.60 KB[39m
|
|
512
511
|
[32mCJS[39m [1mdist/components/ui/submission-confirmation-card.js [22m[32m10.88 KB[39m
|
|
513
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
512
|
+
[32mCJS[39m [1mdist/components/ui/switch.js [22m[32m6.96 KB[39m
|
|
513
|
+
[32mCJS[39m [1mdist/components/ui/stepper.js [22m[32m9.15 KB[39m
|
|
514
514
|
[32mCJS[39m [1mdist/components/ui/table.js [22m[32m6.25 KB[39m
|
|
515
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
515
|
+
[32mCJS[39m [1mdist/components/ui/tabs.js [22m[32m7.02 KB[39m
|
|
516
516
|
[32mCJS[39m [1mdist/components/ui/textarea.js [22m[32m3.77 KB[39m
|
|
517
517
|
[32mCJS[39m [1mdist/components/ui/toggle-group.js [22m[32m7.34 KB[39m
|
|
518
518
|
[32mCJS[39m [1mdist/components/ui/toggle.js [22m[32m4.61 KB[39m
|
|
519
|
+
[32mCJS[39m [1mdist/components/ui/tooltip.js [22m[32m5.77 KB[39m
|
|
519
520
|
[32mCJS[39m [1mdist/components/ui/top-three-product.js [22m[32m15.24 KB[39m
|
|
520
521
|
[32mCJS[39m [1mdist/components/ui/transactions-expense-categories-doughnut-chart.js [22m[32m19.64 KB[39m
|
|
521
|
-
[32mCJS[39m [1mdist/components/ui/transactions-income-expense-bar-chart.js [22m[32m19.06 KB[39m
|
|
522
522
|
[32mCJS[39m [1mdist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js [22m[32m19.64 KB[39m
|
|
523
523
|
[32mCJS[39m [1mdist/components/ui/transactions-summary-block.js [22m[32m3.15 KB[39m
|
|
524
|
+
[32mCJS[39m [1mdist/components/ui/transactions-income-expense-bar-chart.js [22m[32m19.06 KB[39m
|
|
524
525
|
[32mCJS[39m [1mdist/components/ui/two-fa-setup-form.js [22m[32m24.49 KB[39m
|
|
525
526
|
[32mCJS[39m [1mdist/components/ui/upload-card.js [22m[32m5.43 KB[39m
|
|
526
527
|
[32mCJS[39m [1mdist/components/ui/video-background.js [22m[32m3.25 KB[39m
|
|
527
528
|
[32mCJS[39m [1mdist/components/ui/ai-builder/index.js [22m[32m87.01 KB[39m
|
|
528
|
-
[32mCJS[39m [1mdist/components/ui/ai-conversations/index.js [22m[
|
|
529
|
-
[32mCJS[39m [1mdist/components/ui/resource-center/index.js [22m[32m45.50 KB[39m
|
|
530
|
-
[32mCJS[39m [1mdist/components/ui/tooltip.js [22m[32m5.77 KB[39m
|
|
529
|
+
[32mCJS[39m [1mdist/components/ui/ai-conversations/index.js [22m[32m110.61 KB[39m
|
|
531
530
|
[32mCJS[39m [1mdist/components/ui/contact-alert-dialog/index.js [22m[32m67.83 KB[39m
|
|
532
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
531
|
+
[32mCJS[39m [1mdist/components/ui/resource-center/index.js [22m[32m45.50 KB[39m
|
|
532
|
+
[32mCJS[39m [1mdist/components/ui/share-details-dialog.js [22m[32m37.63 KB[39m
|
|
533
533
|
[32mCJS[39m [1mdist/index.js [22m[32m1.14 MB[39m
|
|
534
|
-
[32mCJS[39m ⚡️ Build success in
|
|
535
|
-
Done in
|
|
534
|
+
[32mCJS[39m ⚡️ Build success in 819ms
|
|
535
|
+
Done in 3.90s.
|
package/CHANGELOG.md
CHANGED
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
ChevronRight,
|
|
28
28
|
Info,
|
|
29
29
|
LogOut,
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
Pin,
|
|
31
|
+
PinOff
|
|
32
32
|
} from "lucide-react";
|
|
33
33
|
import { Accordion as AccordionPrimitive } from "@base-ui/react/accordion";
|
|
34
34
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -230,42 +230,53 @@ function CollapsibleNavItem({
|
|
|
230
230
|
function SidebarNav({
|
|
231
231
|
items,
|
|
232
232
|
userName = "Anonymous User",
|
|
233
|
-
collapsed = false,
|
|
234
233
|
logo,
|
|
235
234
|
logoCollapsed,
|
|
236
235
|
metricsGroups,
|
|
237
236
|
onNavigate,
|
|
238
237
|
onLogout,
|
|
239
|
-
|
|
238
|
+
defaultLocked = false,
|
|
239
|
+
onLockedChange,
|
|
240
240
|
className
|
|
241
241
|
}) {
|
|
242
|
+
const [isLocked, setIsLocked] = React.useState(defaultLocked);
|
|
243
|
+
const [isHovered, setIsHovered] = React.useState(false);
|
|
244
|
+
const isExpanded = isLocked || isHovered;
|
|
242
245
|
const [userMenuOpen, setUserMenuOpen] = React.useState(false);
|
|
243
246
|
const navScrollRef = React.useRef(null);
|
|
244
247
|
const expandedScrollRef = React.useRef(0);
|
|
248
|
+
const handleLockToggle = () => {
|
|
249
|
+
const next = !isLocked;
|
|
250
|
+
setIsLocked(next);
|
|
251
|
+
onLockedChange == null ? void 0 : onLockedChange(next);
|
|
252
|
+
};
|
|
245
253
|
React.useEffect(() => {
|
|
246
|
-
if (
|
|
247
|
-
}, [
|
|
254
|
+
if (!isExpanded) setUserMenuOpen(false);
|
|
255
|
+
}, [isExpanded]);
|
|
248
256
|
React.useLayoutEffect(() => {
|
|
249
257
|
const nav = navScrollRef.current;
|
|
250
258
|
if (!nav) return;
|
|
251
|
-
if (
|
|
259
|
+
if (isExpanded) {
|
|
252
260
|
nav.scrollTop = expandedScrollRef.current;
|
|
253
261
|
}
|
|
254
262
|
return () => {
|
|
255
|
-
if (
|
|
263
|
+
if (isExpanded && nav) {
|
|
256
264
|
expandedScrollRef.current = nav.scrollTop;
|
|
257
265
|
}
|
|
258
266
|
};
|
|
259
|
-
}, [
|
|
267
|
+
}, [isExpanded]);
|
|
260
268
|
return /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(
|
|
261
269
|
"nav",
|
|
262
270
|
{
|
|
263
271
|
"data-slot": "sidebar-nav",
|
|
264
|
-
"data-
|
|
272
|
+
"data-expanded": isExpanded,
|
|
273
|
+
"data-locked": isLocked,
|
|
274
|
+
onMouseEnter: () => setIsHovered(true),
|
|
275
|
+
onMouseLeave: () => setIsHovered(false),
|
|
265
276
|
className: cn(
|
|
266
277
|
"flex h-full flex-col bg-brand-secondary text-brand-secondary-foreground",
|
|
267
278
|
"transition-all duration-200 ease-in-out",
|
|
268
|
-
|
|
279
|
+
isExpanded ? "w-[279px]" : "w-14",
|
|
269
280
|
className
|
|
270
281
|
),
|
|
271
282
|
children: [
|
|
@@ -277,7 +288,7 @@ function SidebarNav({
|
|
|
277
288
|
alt: "Logo",
|
|
278
289
|
className: cn(
|
|
279
290
|
"h-8 w-auto object-contain object-left px-5 transition-opacity duration-200",
|
|
280
|
-
|
|
291
|
+
!isExpanded ? "opacity-0" : "opacity-100"
|
|
281
292
|
)
|
|
282
293
|
}
|
|
283
294
|
),
|
|
@@ -288,7 +299,7 @@ function SidebarNav({
|
|
|
288
299
|
alt: "Logo",
|
|
289
300
|
className: cn(
|
|
290
301
|
"absolute inset-y-0 left-0 right-0 m-auto h-8 w-8 object-contain transition-opacity duration-200",
|
|
291
|
-
|
|
302
|
+
!isExpanded ? "opacity-100" : "opacity-0"
|
|
292
303
|
)
|
|
293
304
|
}
|
|
294
305
|
)
|
|
@@ -298,7 +309,7 @@ function SidebarNav({
|
|
|
298
309
|
"div",
|
|
299
310
|
{
|
|
300
311
|
className: cn(
|
|
301
|
-
|
|
312
|
+
!isExpanded ? "opacity-0 pointer-events-none" : "opacity-100"
|
|
302
313
|
),
|
|
303
314
|
children: /* @__PURE__ */ jsx(
|
|
304
315
|
Accordion,
|
|
@@ -355,12 +366,12 @@ function SidebarNav({
|
|
|
355
366
|
)
|
|
356
367
|
}
|
|
357
368
|
),
|
|
358
|
-
/* @__PURE__ */ jsx(NavTooltip, { label: userName, collapsed, children: /* @__PURE__ */ jsx(
|
|
369
|
+
/* @__PURE__ */ jsx(NavTooltip, { label: userName, collapsed: !isExpanded, children: /* @__PURE__ */ jsx(
|
|
359
370
|
"div",
|
|
360
371
|
{
|
|
361
372
|
className: cn(
|
|
362
373
|
"absolute inset-0 flex items-center justify-center transition-opacity duration-200",
|
|
363
|
-
|
|
374
|
+
!isExpanded ? "opacity-100" : "opacity-0 pointer-events-none"
|
|
364
375
|
),
|
|
365
376
|
children: /* @__PURE__ */ jsx("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center font-semibold text-xs bg-primary text-primary-foreground", children: getInitials(userName) })
|
|
366
377
|
}
|
|
@@ -369,7 +380,7 @@ function SidebarNav({
|
|
|
369
380
|
!!(metricsGroups == null ? void 0 : metricsGroups.length) && /* @__PURE__ */ jsx(
|
|
370
381
|
Accordion,
|
|
371
382
|
{
|
|
372
|
-
value:
|
|
383
|
+
value: isExpanded ? ["metrics"] : [],
|
|
373
384
|
onValueChange: () => {
|
|
374
385
|
},
|
|
375
386
|
children: /* @__PURE__ */ jsx(AccordionItem, { className: "border-none", value: "metrics", children: /* @__PURE__ */ jsx(AccordionContent, { className: "p-0 text-inherit", children: metricsGroups.map((group, i) => /* @__PURE__ */ jsx(MetricsGroup, { group }, i)) }) })
|
|
@@ -380,7 +391,7 @@ function SidebarNav({
|
|
|
380
391
|
CollapsibleNavItem,
|
|
381
392
|
{
|
|
382
393
|
item,
|
|
383
|
-
collapsed,
|
|
394
|
+
collapsed: !isExpanded,
|
|
384
395
|
onNavigate
|
|
385
396
|
},
|
|
386
397
|
item.href
|
|
@@ -388,45 +399,39 @@ function SidebarNav({
|
|
|
388
399
|
SidebarNavItemView,
|
|
389
400
|
{
|
|
390
401
|
item,
|
|
391
|
-
collapsed,
|
|
402
|
+
collapsed: !isExpanded,
|
|
392
403
|
onNavigate
|
|
393
404
|
},
|
|
394
405
|
item.href
|
|
395
406
|
)
|
|
396
407
|
) }),
|
|
397
|
-
|
|
408
|
+
/* @__PURE__ */ jsx("div", { className: "mt-auto border-t border-white/15 bg-white/10", children: /* @__PURE__ */ jsx(
|
|
398
409
|
NavTooltip,
|
|
399
410
|
{
|
|
400
|
-
label:
|
|
401
|
-
collapsed,
|
|
411
|
+
label: isLocked ? "Unpin sidebar" : "Pin sidebar open",
|
|
412
|
+
collapsed: !isExpanded,
|
|
402
413
|
children: /* @__PURE__ */ jsxs(
|
|
403
414
|
Button,
|
|
404
415
|
{
|
|
405
416
|
type: "button",
|
|
406
417
|
variant: "ghost",
|
|
407
|
-
onClick:
|
|
418
|
+
onClick: handleLockToggle,
|
|
408
419
|
className: cn(
|
|
409
|
-
"h-12 w-full
|
|
420
|
+
"h-12 w-full items-center gap-3 py-3 transition-colors",
|
|
410
421
|
"text-brand-secondary-foreground/80 hover:bg-white/10 hover:text-brand-secondary-foreground",
|
|
411
|
-
|
|
422
|
+
isExpanded ? "justify-start px-3" : "justify-center px-2",
|
|
423
|
+
isLocked && "text-primary"
|
|
412
424
|
),
|
|
413
425
|
children: [
|
|
414
|
-
|
|
415
|
-
|
|
426
|
+
isLocked ? /* @__PURE__ */ jsx(Pin, { size: 24, strokeWidth: 1.75, className: "shrink-0" }) : /* @__PURE__ */ jsx(
|
|
427
|
+
PinOff,
|
|
416
428
|
{
|
|
417
429
|
size: 24,
|
|
418
430
|
strokeWidth: 1.75,
|
|
419
|
-
className: "shrink-0"
|
|
420
|
-
}
|
|
421
|
-
) : /* @__PURE__ */ jsx(
|
|
422
|
-
PanelLeftClose,
|
|
423
|
-
{
|
|
424
|
-
size: 24,
|
|
425
|
-
strokeWidth: 1.75,
|
|
426
|
-
className: "shrink-0"
|
|
431
|
+
className: "shrink-0 opacity-60"
|
|
427
432
|
}
|
|
428
433
|
),
|
|
429
|
-
|
|
434
|
+
isExpanded && /* @__PURE__ */ jsx("span", { className: "text-sm", children: isLocked ? "Pinned" : "Pin sidebar" })
|
|
430
435
|
]
|
|
431
436
|
}
|
|
432
437
|
)
|