@trinityui/design-system 2.2.1 → 2.2.3

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 (41) hide show
  1. package/CHANGELOG.md +114 -0
  2. package/dist/Legend.js +12 -15
  3. package/dist/app-shell.js +145 -163
  4. package/dist/charts.js +2820 -2777
  5. package/dist/components/AI/AIChat.d.ts.map +1 -1
  6. package/dist/components/AI/AIMessage.d.ts.map +1 -1
  7. package/dist/components/AI/AISources.d.ts.map +1 -1
  8. package/dist/components/AI/ChatHeader.d.ts.map +1 -1
  9. package/dist/components/AI/ChatHistoryList.d.ts.map +1 -1
  10. package/dist/components/AI/ChatThread.d.ts.map +1 -1
  11. package/dist/components/AI/InsightEngineInput.d.ts.map +1 -1
  12. package/dist/components/AppLayout/InsightEnginePanel.d.ts.map +1 -1
  13. package/dist/components/AppLayout/ThreadHistorySidebar.d.ts.map +1 -1
  14. package/dist/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  15. package/dist/components/Combobox/Combobox.d.ts.map +1 -1
  16. package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -1
  17. package/dist/components/DataCard/DataCard.d.ts.map +1 -1
  18. package/dist/components/DataTable/CellRenderers.d.ts.map +1 -1
  19. package/dist/components/DockLayout/DockLayout.d.ts.map +1 -1
  20. package/dist/components/IllustratedMessage.d.ts.map +1 -1
  21. package/dist/components/MentionsInput/MentionsInput.d.ts +1 -1
  22. package/dist/components/MentionsInput/MentionsInput.d.ts.map +1 -1
  23. package/dist/components/PageHeader/PageHeader.d.ts.map +1 -1
  24. package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts.map +1 -1
  25. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
  26. package/dist/components/StatusIndicator/Legend.d.ts.map +1 -1
  27. package/dist/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
  28. package/dist/components/Timeline/Timeline.d.ts.map +1 -1
  29. package/dist/components/TopNavHeader.d.ts.map +1 -1
  30. package/dist/components/TopNavWithSidebar.d.ts.map +1 -1
  31. package/dist/components/TransferList/TransferList.d.ts.map +1 -1
  32. package/dist/components/navigation/components.d.ts.map +1 -1
  33. package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts.map +1 -1
  34. package/dist/components/templates/Settings/SettingsTemplate.d.ts.map +1 -1
  35. package/dist/data-table2.js +1383 -1382
  36. package/dist/data.js +5 -5
  37. package/dist/essentials.js +4 -4
  38. package/dist/forms.js +292 -339
  39. package/dist/index.js +15472 -15476
  40. package/dist/trinity.css +1 -1
  41. package/package.json +32 -32
package/dist/app-shell.js CHANGED
@@ -6,7 +6,7 @@ import Le from "@mui/icons-material/Search";
6
6
  import sr from "@mui/icons-material/Clear";
7
7
  import Or from "@mui/icons-material/Apps";
8
8
  import cr from "@mui/icons-material/KeyboardArrowDown";
9
- import Sr from "@mui/icons-material/HelpOutline";
9
+ import Sr from "@mui/icons-material/HelpOutlined";
10
10
  import zr from "@mui/icons-material/NotificationsNone";
11
11
  import Fr from "@mui/icons-material/Logout";
12
12
  import $e from "@mui/icons-material/OpenInNew";
@@ -137,8 +137,8 @@ import Qt from "@mui/icons-material/Timeline";
137
137
  import Zt from "@mui/icons-material/ThumbUpOutlined";
138
138
  import qt from "@mui/icons-material/ThumbDownOutlined";
139
139
  import { ThumbsDown as Yt, ThumbsUp as Xt, Star as Wr, Paperclip as eo, Zap as ro, Cpu as Jt, Mic as ei, Activity as ri, Award as oi, Shield as ni, Layers as ti, Box as ii, Package as ai, Gift as li, Moon as si, Sun as ci, Power as di, Battery as pi, WifiOff as hi, Wifi as mi, DownloadCloud as ui, UploadCloud as gi, Cloud as fi, ExternalLink as xi, Terminal as bi, Code as yi, VolumeX as vi, Volume2 as Ci, SkipBack as wi, SkipForward as ki, Square as Si, Pause as zi, Play as Fi, Sidebar as Ii, Minimize as Ai, Maximize as Ri, Columns as Wi, List as Di, Grid as oo, EyeOff as Ei, Eye as Pi, Globe as Hi, MapPin as $i, Clock as Mi, Calendar as Ti, Tag as Bi, Flag as Li, Bookmark as Oi, Heart as no, Database as Vi, TrendingDown as ji, TrendingUp as to, PieChart as Ui, BarChart2 as Ni, Key as Gi, Unlock as _i, Lock as Ki, LogIn as Qi, LogOut as Zi, Settings as qi, UserMinus as Yi, UserPlus as Xi, Users as Ji, User as ea, Link as ra, FileText as oa, Music as na, Video as ta, Image as ia, FolderPlus as aa, Folder as la, File as sa, BellOff as ca, Bell as da, Send as pa, MessageSquare as ha, Phone as ma, Mail as ua, CheckCircle as io, HelpCircle as ga, Info as fa, AlertTriangle as xa, AlertCircle as ba, Check as ya, ZoomOut as va, ZoomIn as Ca, Search as wa, ArrowUp as ao, Filter as ka, Printer as Sa, Share2 as za, Upload as Fa, Download as Ia, RefreshCw as Aa, RotateCw as Ra, RotateCcw as Wa, Scissors as Da, Clipboard as Ea, Copy as Pa, Save as Ha, Trash2 as $a, Edit2 as Ma, Minus as Ta, Plus as Ba, MoreHorizontal as La, MoreVertical as Oa, ChevronDown as Va, ChevronUp as ja, ChevronRight as Ua, ChevronLeft as Na, ArrowDown as Ga, ArrowRight as _a, ArrowLeft as Ka, X as Qa, Menu as Za, Home as qa } from "react-feather";
140
- import Ya from "@mui/icons-material/ChatBubbleOutline";
141
- import Xa from "@mui/icons-material/DeleteOutline";
140
+ import Ya from "@mui/icons-material/ChatBubbleOutlined";
141
+ import Xa from "@mui/icons-material/DeleteOutlined";
142
142
  const r = {
143
143
  // Color Primitives
144
144
  colors: {
@@ -2249,7 +2249,7 @@ const il = {
2249
2249
  yr,
2250
2250
  {
2251
2251
  placeholder: "Search",
2252
- inputProps: { "aria-label": "search" },
2252
+ slotProps: { input: { "aria-label": "search" } },
2253
2253
  value: pe,
2254
2254
  onChange: De,
2255
2255
  onKeyPress: _e,
@@ -2322,11 +2322,10 @@ const il = {
2322
2322
  vertical: "top",
2323
2323
  horizontal: "right"
2324
2324
  },
2325
- MenuListProps: {
2325
+ slotProps: { list: {
2326
2326
  "aria-label": "Client selection",
2327
2327
  role: "listbox"
2328
- },
2329
- PaperProps: {
2328
+ }, paper: {
2330
2329
  sx: {
2331
2330
  mt: 1,
2332
2331
  minWidth: 220,
@@ -2334,7 +2333,7 @@ const il = {
2334
2333
  // 12px
2335
2334
  boxShadow: h.effects.shadow.floating
2336
2335
  }
2337
- },
2336
+ } },
2338
2337
  children: [
2339
2338
  /* @__PURE__ */ e(
2340
2339
  u,
@@ -2395,7 +2394,7 @@ const il = {
2395
2394
  vertical: "top",
2396
2395
  horizontal: "right"
2397
2396
  },
2398
- PaperProps: {
2397
+ slotProps: { paper: {
2399
2398
  sx: {
2400
2399
  mt: 1,
2401
2400
  minWidth: 240,
@@ -2403,7 +2402,7 @@ const il = {
2403
2402
  // 12px
2404
2403
  boxShadow: h.effects.shadow.floating
2405
2404
  }
2406
- },
2405
+ } },
2407
2406
  children: [
2408
2407
  /* @__PURE__ */ a(
2409
2408
  ce,
@@ -2412,7 +2411,7 @@ const il = {
2412
2411
  onClick: () => Se("trinity-edge"),
2413
2412
  children: [
2414
2413
  /* @__PURE__ */ a(l, { sx: { flex: 1 }, children: [
2415
- /* @__PURE__ */ e(u, { variant: "subtitle2", fontWeight: 600, children: "TrinityEDGE" }),
2414
+ /* @__PURE__ */ e(u, { variant: "subtitle2", sx: { fontWeight: 600 }, children: "TrinityEDGE" }),
2416
2415
  /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", children: "Apps Access" })
2417
2416
  ] }),
2418
2417
  /* @__PURE__ */ e($e, { fontSize: "small", sx: { color: "text.secondary", ml: 2 } })
@@ -2516,7 +2515,7 @@ const il = {
2516
2515
  vertical: "top",
2517
2516
  horizontal: "right"
2518
2517
  },
2519
- PaperProps: {
2518
+ slotProps: { paper: {
2520
2519
  sx: {
2521
2520
  mt: 1,
2522
2521
  minWidth: 240,
@@ -2524,7 +2523,7 @@ const il = {
2524
2523
  // 12px
2525
2524
  boxShadow: h.effects.shadow.floating
2526
2525
  }
2527
- },
2526
+ } },
2528
2527
  children: [
2529
2528
  /* @__PURE__ */ a(l, { sx: { px: 2, py: 1.5, display: "flex", alignItems: "center", gap: 1.5 }, children: [
2530
2529
  /* @__PURE__ */ e(
@@ -2544,7 +2543,7 @@ const il = {
2544
2543
  }
2545
2544
  ),
2546
2545
  /* @__PURE__ */ a(l, { children: [
2547
- /* @__PURE__ */ e(u, { variant: "subtitle2", fontWeight: 600, children: p }),
2546
+ /* @__PURE__ */ e(u, { variant: "subtitle2", sx: { fontWeight: 600 }, children: p }),
2548
2547
  /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", children: g })
2549
2548
  ] })
2550
2549
  ] }),
@@ -2612,7 +2611,7 @@ const il = {
2612
2611
  yr,
2613
2612
  {
2614
2613
  placeholder: "Search...",
2615
- inputProps: { "aria-label": "search" },
2614
+ slotProps: { input: { "aria-label": "search" } },
2616
2615
  value: pe,
2617
2616
  onChange: De,
2618
2617
  onKeyPress: (M) => {
@@ -2814,7 +2813,7 @@ const il = {
2814
2813
  yr,
2815
2814
  {
2816
2815
  placeholder: "Search",
2817
- inputProps: { "aria-label": "search" },
2816
+ slotProps: { input: { "aria-label": "search" } },
2818
2817
  value: me,
2819
2818
  onChange: Qr,
2820
2819
  onKeyPress: Mo,
@@ -2880,9 +2879,9 @@ const il = {
2880
2879
  onClose: Pe,
2881
2880
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
2882
2881
  transformOrigin: { vertical: "top", horizontal: "right" },
2883
- PaperProps: {
2882
+ slotProps: { paper: {
2884
2883
  sx: { mt: 1, minWidth: 220, borderRadius: h.borders.radiusPx.lg, boxShadow: h.effects.shadow.floating }
2885
- },
2884
+ } },
2886
2885
  children: [
2887
2886
  /* @__PURE__ */ e(u, { variant: "subtitle2", sx: { px: 2, py: 1.5, fontWeight: h.typography.label.medium.fontWeight }, children: "Switch Clients" }),
2888
2887
  Array.isArray(s) && s.map((R) => /* @__PURE__ */ e(
@@ -2921,13 +2920,13 @@ const il = {
2921
2920
  onClose: _r,
2922
2921
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
2923
2922
  transformOrigin: { vertical: "top", horizontal: "right" },
2924
- PaperProps: {
2923
+ slotProps: { paper: {
2925
2924
  sx: { mt: 1, minWidth: 240, borderRadius: h.borders.radiusPx.lg, boxShadow: h.effects.shadow.floating }
2926
- },
2925
+ } },
2927
2926
  children: [
2928
2927
  /* @__PURE__ */ a(ce, { sx: { py: 1.5 }, onClick: () => Kr("trinity-edge"), children: [
2929
2928
  /* @__PURE__ */ a(l, { sx: { flex: 1 }, children: [
2930
- /* @__PURE__ */ e(u, { variant: "subtitle2", fontWeight: h.typography.label.medium.fontWeight, children: "TrinityEDGE" }),
2929
+ /* @__PURE__ */ e(u, { variant: "subtitle2", sx: { fontWeight: h.typography.label.medium.fontWeight }, children: "TrinityEDGE" }),
2931
2930
  /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", children: "Apps Access" })
2932
2931
  ] }),
2933
2932
  /* @__PURE__ */ e($e, { fontSize: "small", sx: { color: "text.secondary", ml: 2 } })
@@ -3000,9 +2999,9 @@ const il = {
3000
2999
  onClose: Gr,
3001
3000
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
3002
3001
  transformOrigin: { vertical: "top", horizontal: "right" },
3003
- PaperProps: {
3002
+ slotProps: { paper: {
3004
3003
  sx: { mt: 1, minWidth: 240, borderRadius: h.borders.radiusPx.lg, boxShadow: h.effects.shadow.floating }
3005
- },
3004
+ } },
3006
3005
  children: [
3007
3006
  /* @__PURE__ */ a(l, { sx: { px: 2, py: 1.5, display: "flex", alignItems: "center", gap: 1.5 }, children: [
3008
3007
  /* @__PURE__ */ e(
@@ -3022,7 +3021,7 @@ const il = {
3022
3021
  }
3023
3022
  ),
3024
3023
  /* @__PURE__ */ a(l, { children: [
3025
- /* @__PURE__ */ e(u, { variant: "subtitle2", fontWeight: h.typography.heading.h6.fontWeight, children: p }),
3024
+ /* @__PURE__ */ e(u, { variant: "subtitle2", sx: { fontWeight: h.typography.heading.h6.fontWeight }, children: p }),
3026
3025
  /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", children: g })
3027
3026
  ] })
3028
3027
  ] }),
@@ -3088,7 +3087,7 @@ const il = {
3088
3087
  yr,
3089
3088
  {
3090
3089
  placeholder: "Search...",
3091
- inputProps: { "aria-label": "search" },
3090
+ slotProps: { input: { "aria-label": "search" } },
3092
3091
  value: me,
3093
3092
  onChange: Qr,
3094
3093
  onKeyPress: (R) => {
@@ -3157,7 +3156,7 @@ const il = {
3157
3156
  borderColor: "divider"
3158
3157
  },
3159
3158
  children: [
3160
- /* @__PURE__ */ e(u, { variant: "subtitle1", fontWeight: 600, children: "Navigation" }),
3159
+ /* @__PURE__ */ e(u, { variant: "subtitle1", sx: { fontWeight: 600 }, children: "Navigation" }),
3161
3160
  /* @__PURE__ */ e(A, { onClick: Qe, "aria-label": "Close navigation", children: /* @__PURE__ */ e(fr, {}) })
3162
3161
  ]
3163
3162
  }
@@ -3236,11 +3235,12 @@ const il = {
3236
3235
  he,
3237
3236
  {
3238
3237
  primary: R.label,
3239
- primaryTypographyProps: {
3240
- fontSize: h.typography.body.small.fontSize,
3241
- // 14px
3242
- fontWeight: Me ? h.typography.label.medium.fontWeight : h.typography.body.medium.fontWeight
3243
- }
3238
+ slotProps: { primary: {
3239
+ sx: {
3240
+ fontSize: h.typography.body.small.fontSize,
3241
+ fontWeight: Me ? h.typography.label.medium.fontWeight : h.typography.body.medium.fontWeight
3242
+ }
3243
+ } }
3244
3244
  }
3245
3245
  )
3246
3246
  ]
@@ -3364,7 +3364,7 @@ const cp = $.forwardRef(
3364
3364
  ul,
3365
3365
  {
3366
3366
  placeholder: n,
3367
- inputProps: { "aria-label": "search" },
3367
+ slotProps: { input: { "aria-label": "search" } },
3368
3368
  value: t,
3369
3369
  onChange: s,
3370
3370
  onKeyPress: c,
@@ -3413,18 +3413,17 @@ const cp = $.forwardRef(
3413
3413
  vertical: "top",
3414
3414
  horizontal: "right"
3415
3415
  },
3416
- MenuListProps: {
3416
+ slotProps: { list: {
3417
3417
  "aria-label": "Client selection",
3418
3418
  role: "listbox"
3419
- },
3420
- PaperProps: {
3419
+ }, paper: {
3421
3420
  sx: {
3422
3421
  mt: 1,
3423
3422
  minWidth: 220,
3424
3423
  borderRadius: h.borders.radiusPx.lg,
3425
3424
  boxShadow: h.shadows.dropdown
3426
3425
  }
3427
- },
3426
+ } },
3428
3427
  children: [
3429
3428
  /* @__PURE__ */ e(
3430
3429
  u,
@@ -3478,14 +3477,14 @@ const cp = $.forwardRef(
3478
3477
  vertical: "top",
3479
3478
  horizontal: "right"
3480
3479
  },
3481
- PaperProps: {
3480
+ slotProps: { paper: {
3482
3481
  sx: {
3483
3482
  mt: 1,
3484
3483
  minWidth: 280,
3485
3484
  borderRadius: h.borders.radiusPx.lg,
3486
3485
  boxShadow: h.shadows.dropdown
3487
3486
  }
3488
- },
3487
+ } },
3489
3488
  children: [
3490
3489
  /* @__PURE__ */ e(
3491
3490
  u,
@@ -3552,14 +3551,14 @@ const cp = $.forwardRef(
3552
3551
  vertical: "top",
3553
3552
  horizontal: "right"
3554
3553
  },
3555
- PaperProps: {
3554
+ slotProps: { paper: {
3556
3555
  sx: {
3557
3556
  mt: 1,
3558
3557
  minWidth: 280,
3559
3558
  borderRadius: h.borders.radiusPx.lg,
3560
3559
  boxShadow: h.shadows.dropdown
3561
3560
  }
3562
- },
3561
+ } },
3563
3562
  children: [
3564
3563
  /* @__PURE__ */ a(l, { sx: { px: 2, py: 1.5 }, children: [
3565
3564
  /* @__PURE__ */ e(u, { variant: "subtitle2", sx: { fontWeight: 600 }, children: i }),
@@ -4220,33 +4219,33 @@ const Eo = Bo(void 0), Sl = () => {
4220
4219
  function({ title: t = "AI-generated content", description: i, modelName: n, confidence: s, lastUpdated: c, details: d, actions: p, sx: g }, m) {
4221
4220
  return /* @__PURE__ */ e(l, { ref: m, sx: { p: 2, ...g }, children: /* @__PURE__ */ a(P, { spacing: 2, children: [
4222
4221
  /* @__PURE__ */ a(l, { children: [
4223
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 1, sx: { mb: 0.5 }, children: [
4222
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 1, sx: { mb: 0.5, alignItems: "center" }, children: [
4224
4223
  /* @__PURE__ */ e(Cl, { size: "2xs", clickable: !1, showPopover: !1 }),
4225
- /* @__PURE__ */ e(u, { variant: "subtitle2", fontWeight: 600, children: t })
4224
+ /* @__PURE__ */ e(u, { variant: "subtitle2", sx: { fontWeight: 600 }, children: t })
4226
4225
  ] }),
4227
4226
  i && /* @__PURE__ */ e(u, { variant: "body2", color: "text.secondary", children: i })
4228
4227
  ] }),
4229
4228
  (n || s !== void 0 || c || d) && /* @__PURE__ */ a(l, { children: [
4230
4229
  /* @__PURE__ */ e(we, { sx: { my: 1 } }),
4231
4230
  /* @__PURE__ */ a(P, { spacing: 1, children: [
4232
- n && /* @__PURE__ */ a(P, { direction: "row", justifyContent: "space-between", children: [
4231
+ n && /* @__PURE__ */ a(P, { direction: "row", sx: { justifyContent: "space-between" }, children: [
4233
4232
  /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", children: "Model" }),
4234
- /* @__PURE__ */ e(u, { variant: "caption", fontWeight: 500, children: n })
4233
+ /* @__PURE__ */ e(u, { variant: "caption", sx: { fontWeight: 500 }, children: n })
4235
4234
  ] }),
4236
- s !== void 0 && /* @__PURE__ */ a(P, { direction: "row", justifyContent: "space-between", children: [
4235
+ s !== void 0 && /* @__PURE__ */ a(P, { direction: "row", sx: { justifyContent: "space-between" }, children: [
4237
4236
  /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", children: "Confidence" }),
4238
- /* @__PURE__ */ a(u, { variant: "caption", fontWeight: 500, children: [
4237
+ /* @__PURE__ */ a(u, { variant: "caption", sx: { fontWeight: 500 }, children: [
4239
4238
  s,
4240
4239
  "%"
4241
4240
  ] })
4242
4241
  ] }),
4243
- c && /* @__PURE__ */ a(P, { direction: "row", justifyContent: "space-between", children: [
4242
+ c && /* @__PURE__ */ a(P, { direction: "row", sx: { justifyContent: "space-between" }, children: [
4244
4243
  /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", children: "Last updated" }),
4245
- /* @__PURE__ */ e(u, { variant: "caption", fontWeight: 500, children: c })
4244
+ /* @__PURE__ */ e(u, { variant: "caption", sx: { fontWeight: 500 }, children: c })
4246
4245
  ] }),
4247
- d?.map((y, b) => /* @__PURE__ */ a(P, { direction: "row", justifyContent: "space-between", children: [
4246
+ d?.map((y, b) => /* @__PURE__ */ a(P, { direction: "row", sx: { justifyContent: "space-between" }, children: [
4248
4247
  /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", children: y.label }),
4249
- /* @__PURE__ */ e(u, { variant: "caption", fontWeight: 500, children: y.value })
4248
+ /* @__PURE__ */ e(u, { variant: "caption", sx: { fontWeight: 500 }, children: y.value })
4250
4249
  ] }, b))
4251
4250
  ] })
4252
4251
  ] }),
@@ -4315,9 +4314,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
4315
4314
  {
4316
4315
  direction: "row",
4317
4316
  spacing: so,
4318
- justifyContent: "flex-end",
4319
- alignItems: "flex-start",
4320
- sx: { py: x.sm, ...W },
4317
+ sx: { py: x.sm, ...W, justifyContent: "flex-end", alignItems: "flex-start" },
4321
4318
  children: [
4322
4319
  /* @__PURE__ */ e(
4323
4320
  Ge,
@@ -4330,7 +4327,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
4330
4327
  backgroundColor: "action.hover",
4331
4328
  maxWidth: "75%"
4332
4329
  },
4333
- children: /* @__PURE__ */ e(u, { variant: "body2", color: "text.primary", fontWeight: 500, children: t })
4330
+ children: /* @__PURE__ */ e(u, { variant: "body2", color: "text.primary", sx: { fontWeight: 500 }, children: t })
4334
4331
  }
4335
4332
  ),
4336
4333
  c || _
@@ -4339,7 +4336,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
4339
4336
  );
4340
4337
  const re = g || m || y || b;
4341
4338
  return /* @__PURE__ */ a(l, { ref: H, sx: { py: x.sm, ...W }, children: [
4342
- /* @__PURE__ */ a(P, { direction: "row", spacing: so, alignItems: "flex-start", children: [
4339
+ /* @__PURE__ */ a(P, { direction: "row", spacing: so, sx: { alignItems: "flex-start" }, children: [
4343
4340
  /* @__PURE__ */ e(l, { sx: { flexShrink: 0 }, children: E }),
4344
4341
  /* @__PURE__ */ e(l, { sx: { flex: 1, minWidth: 0 }, children: s ? /* @__PURE__ */ e(Po, { text: "Searching..." }) : /* @__PURE__ */ e(
4345
4342
  u,
@@ -4536,12 +4533,12 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
4536
4533
  onChange: k,
4537
4534
  onKeyDown: W,
4538
4535
  disabled: c || g,
4539
- InputProps: {
4536
+ slotProps: { input: {
4540
4537
  disableUnderline: !0,
4541
4538
  sx: {
4542
4539
  fontSize: "0.9375rem"
4543
4540
  }
4544
- }
4541
+ } }
4545
4542
  }
4546
4543
  ),
4547
4544
  d && /* @__PURE__ */ e(
@@ -4600,7 +4597,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
4600
4597
  }
4601
4598
  ), Po = $.forwardRef(
4602
4599
  function({ text: t = "AI is thinking", sx: i }, n) {
4603
- return er("AITypingIndicator", "v3.0", "AIMessage streaming state + AIShimmer"), /* @__PURE__ */ a(P, { ref: n, direction: "row", alignItems: "center", spacing: 1, sx: i, children: [
4600
+ return er("AITypingIndicator", "v3.0", "AIMessage streaming state + AIShimmer"), /* @__PURE__ */ a(P, { ref: n, direction: "row", spacing: 1, sx: { ...i, alignItems: "center" }, children: [
4604
4601
  /* @__PURE__ */ e(
4605
4602
  l,
4606
4603
  {
@@ -4638,7 +4635,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
4638
4635
  }
4639
4636
  ), bp = $.forwardRef(
4640
4637
  function({ options: t, onSelect: i, sx: n }, s) {
4641
- return er("AIQuickReply", "v3.0", "`AISuggestedAction` / `AIActionsGroup`"), /* @__PURE__ */ e(P, { ref: s, direction: "row", spacing: 1, flexWrap: "wrap", useFlexGap: !0, sx: n, children: t.map((c, d) => /* @__PURE__ */ e(
4638
+ return er("AIQuickReply", "v3.0", "`AISuggestedAction` / `AIActionsGroup`"), /* @__PURE__ */ e(P, { ref: s, direction: "row", spacing: 1, useFlexGap: !0, sx: { ...n, flexWrap: "wrap" }, children: t.map((c, d) => /* @__PURE__ */ e(
4642
4639
  Ve,
4643
4640
  {
4644
4641
  label: c,
@@ -4743,17 +4740,17 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
4743
4740
  disabled: c,
4744
4741
  autoFocus: y,
4745
4742
  variant: "standard",
4746
- InputProps: {
4743
+ slotProps: { input: {
4747
4744
  disableUnderline: !0,
4748
4745
  sx: {
4749
4746
  fontSize: "0.875rem",
4750
4747
  lineHeight: 1.5
4751
4748
  }
4752
- },
4749
+ } },
4753
4750
  sx: { flex: 1 }
4754
4751
  }
4755
4752
  ),
4756
- /* @__PURE__ */ a(P, { direction: "row", spacing: 0.5, alignItems: "center", children: [
4753
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 0.5, sx: { alignItems: "center" }, children: [
4757
4754
  d && D && !k && /* @__PURE__ */ e(J, { title: "Clear", children: /* @__PURE__ */ e(
4758
4755
  A,
4759
4756
  {
@@ -4967,8 +4964,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
4967
4964
  inputRef: (j) => {
4968
4965
  w.current = j, j && D(j);
4969
4966
  },
4970
- inputProps: { "aria-label": B },
4971
- InputProps: H
4967
+ slotProps: { input: { "aria-label": B, ...H?.input } }
4972
4968
  }
4973
4969
  ),
4974
4970
  /* @__PURE__ */ e(Vo, { open: U, anchorEl: q, placement: "bottom-start", sx: { zIndex: O.zIndex.modal + 1 }, children: /* @__PURE__ */ e(
@@ -5007,12 +5003,12 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5007
5003
  /* @__PURE__ */ e(
5008
5004
  he,
5009
5005
  {
5010
- primary: /* @__PURE__ */ a(u, { variant: "body2", fontWeight: 600, children: [
5006
+ primary: /* @__PURE__ */ a(u, { variant: "body2", sx: { fontWeight: 600 }, children: [
5011
5007
  E?.trigger.trigger,
5012
5008
  j.display
5013
5009
  ] }),
5014
5010
  secondary: j.secondary,
5015
- secondaryTypographyProps: { variant: "caption" }
5011
+ slotProps: { secondary: { variant: "caption" } }
5016
5012
  }
5017
5013
  )
5018
5014
  ]
@@ -5126,14 +5122,16 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5126
5122
  variant: "standard",
5127
5123
  onKeyDown: j,
5128
5124
  inputPropsOverride: {
5129
- disableUnderline: !0,
5130
- sx: {
5131
- fontSize: "0.875rem",
5132
- lineHeight: 1.6,
5133
- color: "text.primary",
5134
- "& input::placeholder, & textarea::placeholder": {
5135
- color: "text.secondary",
5136
- opacity: 1
5125
+ input: {
5126
+ disableUnderline: !0,
5127
+ sx: {
5128
+ fontSize: "0.875rem",
5129
+ lineHeight: 1.6,
5130
+ color: "text.primary",
5131
+ "& input::placeholder, & textarea::placeholder": {
5132
+ color: "text.secondary",
5133
+ opacity: 1
5134
+ }
5137
5135
  }
5138
5136
  }
5139
5137
  },
@@ -5152,7 +5150,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5152
5150
  placeholder: s,
5153
5151
  disabled: m,
5154
5152
  variant: "standard",
5155
- InputProps: {
5153
+ slotProps: { input: {
5156
5154
  disableUnderline: !0,
5157
5155
  sx: {
5158
5156
  fontSize: "0.875rem",
@@ -5163,21 +5161,21 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5163
5161
  opacity: 1
5164
5162
  }
5165
5163
  }
5166
- }
5164
+ } }
5167
5165
  }
5168
5166
  ) }),
5169
5167
  /* @__PURE__ */ a(
5170
5168
  P,
5171
5169
  {
5172
5170
  direction: "row",
5173
- alignItems: "center",
5174
5171
  sx: {
5175
5172
  px: x.sm,
5176
5173
  pb: x.sm,
5177
- gap: x.xs
5174
+ gap: x.xs,
5175
+ alignItems: "center"
5178
5176
  },
5179
5177
  children: [
5180
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 0.5, children: [
5178
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 0.5, sx: { alignItems: "center" }, children: [
5181
5179
  y.length > 0 && /* @__PURE__ */ a(ye, { children: [
5182
5180
  /* @__PURE__ */ e(
5183
5181
  Ve,
@@ -5223,19 +5221,16 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5223
5221
  anchorEl: D,
5224
5222
  open: Z,
5225
5223
  onClose: ae,
5226
- MenuListProps: {
5224
+ slotProps: { list: {
5227
5225
  "aria-label": "AI model selection",
5228
5226
  role: "listbox"
5229
- },
5230
- slotProps: {
5231
- paper: {
5232
- sx: {
5233
- minWidth: 180,
5234
- borderRadius: z.md,
5235
- mt: 0.5
5236
- }
5227
+ }, paper: {
5228
+ sx: {
5229
+ minWidth: 180,
5230
+ borderRadius: z.md,
5231
+ mt: 0.5
5237
5232
  }
5238
- },
5233
+ } },
5239
5234
  children: y.map((L) => /* @__PURE__ */ a(
5240
5235
  ce,
5241
5236
  {
@@ -5251,8 +5246,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5251
5246
  {
5252
5247
  primary: L.label,
5253
5248
  secondary: L.description,
5254
- primaryTypographyProps: { variant: "body2", fontWeight: 500 },
5255
- secondaryTypographyProps: { variant: "caption" }
5249
+ slotProps: { primary: { variant: "body2", sx: { fontWeight: 500 } }, secondary: { variant: "caption" } }
5256
5250
  }
5257
5251
  )
5258
5252
  ]
@@ -5308,27 +5302,24 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5308
5302
  anchorEl: oe,
5309
5303
  open: ie,
5310
5304
  onClose: ze,
5311
- MenuListProps: {
5305
+ slotProps: { list: {
5312
5306
  "aria-label": "Data source toggles"
5313
- },
5314
- slotProps: {
5315
- paper: {
5316
- sx: {
5317
- minWidth: 220,
5318
- borderRadius: z.md,
5319
- mt: 0.5
5320
- }
5307
+ }, paper: {
5308
+ sx: {
5309
+ minWidth: 220,
5310
+ borderRadius: z.md,
5311
+ mt: 0.5
5321
5312
  }
5322
- },
5313
+ } },
5323
5314
  children: S.map((L) => /* @__PURE__ */ a(
5324
5315
  ce,
5325
5316
  {
5326
5317
  onClick: () => Ie(L.id, L.enabled ?? !1),
5327
5318
  sx: { py: 1, justifyContent: "space-between" },
5328
5319
  children: [
5329
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 1, children: [
5320
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 1, sx: { alignItems: "center" }, children: [
5330
5321
  L.icon && /* @__PURE__ */ e(v, { name: L.icon, size: "small" }),
5331
- /* @__PURE__ */ e(u, { variant: "body2", fontWeight: 500, children: L.label })
5322
+ /* @__PURE__ */ e(u, { variant: "body2", sx: { fontWeight: 500 }, children: L.label })
5332
5323
  ] }),
5333
5324
  /* @__PURE__ */ e(
5334
5325
  Uo,
@@ -5339,7 +5330,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5339
5330
  Se.stopPropagation(), Ie(L.id, L.enabled ?? !1);
5340
5331
  },
5341
5332
  onClick: (Se) => Se.stopPropagation(),
5342
- inputProps: { "aria-label": `Toggle ${L.label}` }
5333
+ slotProps: { input: { "aria-label": `Toggle ${L.label}` } }
5343
5334
  }
5344
5335
  )
5345
5336
  ]
@@ -5371,7 +5362,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5371
5362
  ) })
5372
5363
  ] }),
5373
5364
  /* @__PURE__ */ e(l, { sx: { flex: 1 } }),
5374
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 0.5, children: [
5365
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 0.5, sx: { alignItems: "center" }, children: [
5375
5366
  B && /* @__PURE__ */ e(J, { title: k ? "Disable web search" : "Enable web search", children: /* @__PURE__ */ e(
5376
5367
  A,
5377
5368
  {
@@ -5536,7 +5527,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5536
5527
  } : {},
5537
5528
  ...g
5538
5529
  },
5539
- children: /* @__PURE__ */ a(P, { direction: "row", spacing: 1.5, alignItems: "flex-start", children: [
5530
+ children: /* @__PURE__ */ a(P, { direction: "row", spacing: 1.5, sx: { alignItems: "flex-start" }, children: [
5540
5531
  /* @__PURE__ */ e(
5541
5532
  Oe,
5542
5533
  {
@@ -5553,7 +5544,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5553
5544
  }
5554
5545
  ),
5555
5546
  /* @__PURE__ */ a(l, { sx: { minWidth: 0, flex: 1 }, children: [
5556
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 1, children: [
5547
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 1, sx: { alignItems: "center" }, children: [
5557
5548
  d && /* @__PURE__ */ e(
5558
5549
  l,
5559
5550
  {
@@ -5631,15 +5622,15 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5631
5622
  P,
5632
5623
  {
5633
5624
  direction: "row",
5634
- alignItems: "center",
5635
- justifyContent: "space-between",
5636
5625
  onClick: n ? () => y(!m) : void 0,
5637
5626
  sx: {
5638
5627
  cursor: n ? "pointer" : "default",
5639
- mb: m ? 1.5 : 0
5628
+ mb: m ? 1.5 : 0,
5629
+ alignItems: "center",
5630
+ justifyContent: "space-between"
5640
5631
  },
5641
5632
  children: [
5642
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 1, children: [
5633
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 1, sx: { alignItems: "center" }, children: [
5643
5634
  /* @__PURE__ */ e(u, { variant: "subtitle2", sx: { fontWeight: 600 }, children: i }),
5644
5635
  /* @__PURE__ */ e(
5645
5636
  Ve,
@@ -5730,7 +5721,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5730
5721
  }
5731
5722
  },
5732
5723
  children: [
5733
- /* @__PURE__ */ a(u, { variant: "body2", fontWeight: 600, color: "text.primary", children: [
5724
+ /* @__PURE__ */ a(u, { variant: "body2", color: "text.primary", sx: { fontWeight: 600 }, children: [
5734
5725
  i,
5735
5726
  " (",
5736
5727
  B,
@@ -5895,7 +5886,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5895
5886
  backgroundColor: m.palette.background.paper,
5896
5887
  borderRight: `1px solid ${m.palette.divider}`
5897
5888
  },
5898
- children: /* @__PURE__ */ e(u, { variant: "caption", fontWeight: 600, color: "text.primary", children: b })
5889
+ children: /* @__PURE__ */ e(u, { variant: "caption", color: "text.primary", sx: { fontWeight: 600 }, children: b })
5899
5890
  }
5900
5891
  ),
5901
5892
  /* @__PURE__ */ e(l, { sx: { flex: 1, p: x.md }, children: /* @__PURE__ */ e(u, { variant: "caption", color: "text.primary", children: C }) })
@@ -5969,9 +5960,9 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
5969
5960
  u,
5970
5961
  {
5971
5962
  variant: "body2",
5972
- fontWeight: 600,
5973
5963
  color: "text.primary",
5974
5964
  component: "span",
5965
+ sx: { fontWeight: 600 },
5975
5966
  children: n
5976
5967
  }
5977
5968
  ),
@@ -6021,8 +6012,8 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
6021
6012
  u,
6022
6013
  {
6023
6014
  variant: "body2",
6024
- fontWeight: 600,
6025
6015
  color: "text.secondary",
6016
+ sx: { fontWeight: 600 },
6026
6017
  children: p
6027
6018
  }
6028
6019
  ),
@@ -6095,11 +6086,11 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
6095
6086
  he,
6096
6087
  {
6097
6088
  primary: W,
6098
- primaryTypographyProps: {
6089
+ slotProps: { primary: {
6099
6090
  variant: "body2",
6100
6091
  color: "text.primary",
6101
6092
  sx: { textAlign: "left" }
6102
- }
6093
+ } }
6103
6094
  }
6104
6095
  )
6105
6096
  ]
@@ -6357,7 +6348,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
6357
6348
  ...S,
6358
6349
  ...p
6359
6350
  },
6360
- children: /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: x.md, children: [
6351
+ children: /* @__PURE__ */ a(P, { direction: "row", spacing: x.md, sx: { alignItems: "center" }, children: [
6361
6352
  /* @__PURE__ */ e(
6362
6353
  l,
6363
6354
  {
@@ -6535,8 +6526,8 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
6535
6526
  borderBottom: d ? `1px solid ${f.colors.aiBorder}` : "none",
6536
6527
  backgroundColor: p ? f.colors.aiHover : "transparent"
6537
6528
  },
6538
- children: /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", justifyContent: "space-between", children: [
6539
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 1.5, children: [
6529
+ children: /* @__PURE__ */ a(P, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
6530
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 1.5, sx: { alignItems: "center" }, children: [
6540
6531
  s && /* @__PURE__ */ e(Je, { size: "small" }),
6541
6532
  /* @__PURE__ */ a(l, { children: [
6542
6533
  t && /* @__PURE__ */ e(u, { variant: "subtitle2", sx: { fontWeight: 600 }, children: t }),
@@ -6577,7 +6568,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
6577
6568
  }
6578
6569
  },
6579
6570
  children: [
6580
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 1.5, children: [
6571
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 1.5, sx: { alignItems: "center" }, children: [
6581
6572
  n && /* @__PURE__ */ e(v, { name: n, size: "small", color: f.colors.aiPrimary }),
6582
6573
  /* @__PURE__ */ a(l, { children: [
6583
6574
  /* @__PURE__ */ e(u, { variant: "body2", sx: { fontWeight: 500 }, children: t }),
@@ -6634,7 +6625,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
6634
6625
  } : {},
6635
6626
  ...p
6636
6627
  },
6637
- children: /* @__PURE__ */ a(P, { direction: "row", spacing: 2, alignItems: "flex-start", children: [
6628
+ children: /* @__PURE__ */ a(P, { direction: "row", spacing: 2, sx: { alignItems: "flex-start" }, children: [
6638
6629
  n || /* @__PURE__ */ e(Je, { size: "medium" }),
6639
6630
  /* @__PURE__ */ a(l, { sx: { flex: 1, minWidth: 0 }, children: [
6640
6631
  /* @__PURE__ */ e(u, { variant: "subtitle2", sx: { fontWeight: 600 }, children: t }),
@@ -6655,7 +6646,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
6655
6646
  ),
6656
6647
  s.length > 0 && /* @__PURE__ */ a(ye, { children: [
6657
6648
  /* @__PURE__ */ e(we, { sx: { my: 1.5 } }),
6658
- /* @__PURE__ */ e(P, { direction: "row", spacing: 0.5, flexWrap: "wrap", useFlexGap: !0, children: s.map((m, y) => /* @__PURE__ */ e(
6649
+ /* @__PURE__ */ e(P, { direction: "row", spacing: 0.5, useFlexGap: !0, sx: { flexWrap: "wrap" }, children: s.map((m, y) => /* @__PURE__ */ e(
6659
6650
  Ve,
6660
6651
  {
6661
6652
  label: m,
@@ -6771,7 +6762,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
6771
6762
  ...g
6772
6763
  },
6773
6764
  children: /* @__PURE__ */ a(P, { spacing: 1, children: [
6774
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", justifyContent: "space-between", children: [
6765
+ /* @__PURE__ */ a(P, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
6775
6766
  /* @__PURE__ */ e(
6776
6767
  u,
6777
6768
  {
@@ -6818,7 +6809,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
6818
6809
  children: i
6819
6810
  }
6820
6811
  ),
6821
- s !== void 0 && /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 0.5, children: [
6812
+ s !== void 0 && /* @__PURE__ */ a(P, { direction: "row", spacing: 0.5, sx: { alignItems: "center" }, children: [
6822
6813
  /* @__PURE__ */ e(
6823
6814
  v,
6824
6815
  {
@@ -6863,7 +6854,7 @@ const $r = 32, so = x.md, Er = $r + 12, Fl = $.forwardRef(
6863
6854
  medium: { container: 44, icon: "medium" },
6864
6855
  large: { container: 56, icon: "medium" }
6865
6856
  }[i];
6866
- return /* @__PURE__ */ a(P, { ref: p, direction: "row", alignItems: "center", spacing: 1, sx: d, children: [
6857
+ return /* @__PURE__ */ a(P, { ref: p, direction: "row", spacing: 1, sx: { ...d, alignItems: "center" }, children: [
6867
6858
  /* @__PURE__ */ e(
6868
6859
  l,
6869
6860
  {
@@ -7375,9 +7366,7 @@ const Gl = $.forwardRef(
7375
7366
  P,
7376
7367
  {
7377
7368
  direction: "row",
7378
- alignItems: "center",
7379
- justifyContent: "space-between",
7380
- sx: { pt: x.xs },
7369
+ sx: { pt: x.xs, alignItems: "center", justifyContent: "space-between" },
7381
7370
  children: [
7382
7371
  n && /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", children: n }),
7383
7372
  W && /* @__PURE__ */ a(P, { direction: "row", spacing: 0.5, sx: { ml: "auto" }, role: "toolbar", "aria-label": "AI response actions", children: [
@@ -7496,15 +7485,14 @@ const Gl = $.forwardRef(
7496
7485
  gap: x.sm
7497
7486
  },
7498
7487
  children: [
7499
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 1, sx: { flex: 1 }, children: [
7488
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 1, sx: { flex: 1, alignItems: "center" }, children: [
7500
7489
  c && /* @__PURE__ */ e(Je, { size: "xs" }),
7501
7490
  /* @__PURE__ */ e(
7502
7491
  u,
7503
7492
  {
7504
7493
  variant: "subtitle1",
7505
7494
  component: "h2",
7506
- fontWeight: 600,
7507
- sx: { color: "text.primary" },
7495
+ sx: { color: "text.primary", fontWeight: 600 },
7508
7496
  children: t
7509
7497
  }
7510
7498
  )
@@ -7660,20 +7648,19 @@ const Gl = $.forwardRef(
7660
7648
  {
7661
7649
  primary: I.title,
7662
7650
  secondary: y ? void 0 : I.timestamp,
7663
- primaryTypographyProps: {
7651
+ slotProps: { primary: {
7664
7652
  variant: "body2",
7665
- fontWeight: _ ? 600 : 400,
7666
7653
  color: "text.primary",
7667
7654
  noWrap: !0,
7668
7655
  sx: {
7669
7656
  overflow: "hidden",
7670
- textOverflow: "ellipsis"
7657
+ textOverflow: "ellipsis",
7658
+ fontWeight: _ ? 600 : 400
7671
7659
  }
7672
- },
7673
- secondaryTypographyProps: {
7660
+ }, secondary: {
7674
7661
  variant: "caption",
7675
7662
  color: "text.secondary"
7676
- },
7663
+ } },
7677
7664
  sx: {
7678
7665
  // In compact mode, limit width to make room for timestamp
7679
7666
  ...y && {
@@ -7871,9 +7858,8 @@ const Gl = $.forwardRef(
7871
7858
  {
7872
7859
  direction: "row",
7873
7860
  spacing: 1.5,
7874
- flexWrap: "wrap",
7875
7861
  useFlexGap: !0,
7876
- sx: { ml: `calc(32px + ${x.md}px)`, mt: x.lg, gap: x.sm },
7862
+ sx: { ml: `calc(32px + ${x.md}px)`, mt: x.lg, gap: x.sm, flexWrap: "wrap" },
7877
7863
  children: s.map((p, g) => /* @__PURE__ */ e(
7878
7864
  Nr,
7879
7865
  {
@@ -7940,7 +7926,7 @@ const Gl = $.forwardRef(
7940
7926
  backgroundColor: "background.default"
7941
7927
  },
7942
7928
  children: [
7943
- /* @__PURE__ */ e(l, { sx: { p: x.sm, borderBottom: 1, borderColor: "divider" }, children: /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", fontWeight: 600, children: "HISTORY" }) }),
7929
+ /* @__PURE__ */ e(l, { sx: { p: x.sm, borderBottom: 1, borderColor: "divider" }, children: /* @__PURE__ */ e(u, { variant: "caption", color: "text.secondary", sx: { fontWeight: 600 }, children: "HISTORY" }) }),
7944
7930
  /* @__PURE__ */ e(l, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(
7945
7931
  po,
7946
7932
  {
@@ -7978,7 +7964,7 @@ const Gl = $.forwardRef(
7978
7964
  }
7979
7965
  },
7980
7966
  children: [
7981
- /* @__PURE__ */ a(u, { variant: "caption", color: "text.secondary", fontWeight: 600, children: [
7967
+ /* @__PURE__ */ a(u, { variant: "caption", color: "text.secondary", sx: { fontWeight: 600 }, children: [
7982
7968
  "HISTORY (",
7983
7969
  d.length,
7984
7970
  ")"
@@ -9361,7 +9347,7 @@ const es = {
9361
9347
  borderBottom: `1px solid ${I.border}`
9362
9348
  },
9363
9349
  children: [
9364
- /* @__PURE__ */ e(u, { variant: "subtitle2", fontWeight: 600, color: I.text, children: "History" }),
9350
+ /* @__PURE__ */ e(u, { variant: "subtitle2", color: I.text, sx: { fontWeight: 600 }, children: "History" }),
9365
9351
  /* @__PURE__ */ a(l, { sx: { display: "flex", gap: 0.5 }, children: [
9366
9352
  /* @__PURE__ */ e(J, { title: "New thread", children: /* @__PURE__ */ e(A, { size: "small", onClick: s, children: /* @__PURE__ */ e(Co, { fontSize: "small" }) }) }),
9367
9353
  /* @__PURE__ */ e(J, { title: "Close history", children: /* @__PURE__ */ e(A, { size: "small", onClick: g, children: /* @__PURE__ */ e(yo, { fontSize: "small" }) }) })
@@ -9377,9 +9363,9 @@ const es = {
9377
9363
  placeholder: "Search threads...",
9378
9364
  value: F,
9379
9365
  onChange: (V) => k(V.target.value),
9380
- InputProps: {
9366
+ slotProps: { input: {
9381
9367
  startAdornment: /* @__PURE__ */ e(_o, { position: "start", children: /* @__PURE__ */ e(Le, { fontSize: "small", sx: { color: I.textSecondary } }) })
9382
- },
9368
+ } },
9383
9369
  sx: {
9384
9370
  "& .MuiOutlinedInput-root": {
9385
9371
  backgroundColor: C.palette.action.hover,
@@ -9516,22 +9502,21 @@ const es = {
9516
9502
  {
9517
9503
  primary: D.title,
9518
9504
  secondary: D.preview,
9519
- primaryTypographyProps: {
9505
+ slotProps: { primary: {
9520
9506
  variant: "body2",
9521
- fontWeight: i === D.id ? 600 : 400,
9522
9507
  noWrap: !0,
9523
9508
  sx: {
9524
- color: (i === D.id, I.text)
9509
+ color: (i === D.id, I.text),
9510
+ fontWeight: i === D.id ? 600 : 400
9525
9511
  }
9526
- },
9527
- secondaryTypographyProps: {
9512
+ }, secondary: {
9528
9513
  variant: "caption",
9529
9514
  noWrap: !0,
9530
9515
  sx: {
9531
9516
  color: I.textSecondary,
9532
9517
  fontSize: "0.7rem"
9533
9518
  }
9534
- }
9519
+ } }
9535
9520
  }
9536
9521
  )
9537
9522
  ]
@@ -9555,7 +9540,7 @@ const es = {
9555
9540
  },
9556
9541
  children: [
9557
9542
  /* @__PURE__ */ e(ko, { sx: { fontSize: 40, color: I.textSecondary, mb: 1 } }),
9558
- /* @__PURE__ */ e(u, { variant: "body2", color: I.textSecondary, textAlign: "center", children: F ? "No threads match your search" : "No conversation history" })
9543
+ /* @__PURE__ */ e(u, { variant: "body2", color: I.textSecondary, sx: { textAlign: "center" }, children: F ? "No threads match your search" : "No conversation history" })
9559
9544
  ]
9560
9545
  }
9561
9546
  )
@@ -9836,7 +9821,6 @@ Video content is generating 2.8x more engagement than static posts. Consider inc
9836
9821
  P,
9837
9822
  {
9838
9823
  direction: "row",
9839
- alignItems: "center",
9840
9824
  spacing: Re.element,
9841
9825
  sx: {
9842
9826
  px: Re.inset,
@@ -9844,7 +9828,8 @@ Video content is generating 2.8x more engagement than static posts. Consider inc
9844
9828
  borderBottom: 1,
9845
9829
  borderColor: "divider",
9846
9830
  bgcolor: "background.default",
9847
- flexShrink: 0
9831
+ flexShrink: 0,
9832
+ alignItems: "center"
9848
9833
  },
9849
9834
  children: [
9850
9835
  !De && /* @__PURE__ */ e(J, { title: "Show history", children: /* @__PURE__ */ e(
@@ -9865,9 +9850,9 @@ Video content is generating 2.8x more engagement than static posts. Consider inc
9865
9850
  children: /* @__PURE__ */ e(v, { name: "plus", size: "small" })
9866
9851
  }
9867
9852
  ) }),
9868
- /* @__PURE__ */ a(P, { direction: "row", alignItems: "center", spacing: 1, sx: { flex: 1 }, children: [
9853
+ /* @__PURE__ */ a(P, { direction: "row", spacing: 1, sx: { flex: 1, alignItems: "center" }, children: [
9869
9854
  m || or,
9870
- /* @__PURE__ */ e(u, { variant: "subtitle2", fontWeight: 600, color: "text.primary", children: c }),
9855
+ /* @__PURE__ */ e(u, { variant: "subtitle2", color: "text.primary", sx: { fontWeight: 600 }, children: c }),
9871
9856
  xe && /* @__PURE__ */ e(
9872
9857
  Ve,
9873
9858
  {
@@ -9947,10 +9932,8 @@ Video content is generating 2.8x more engagement than static posts. Consider inc
9947
9932
  Q.length === 0 && /* @__PURE__ */ a(
9948
9933
  P,
9949
9934
  {
9950
- alignItems: "center",
9951
- justifyContent: "center",
9952
9935
  spacing: Re.content,
9953
- sx: { flex: 1, p: Re.section, minHeight: 400 },
9936
+ sx: { flex: 1, p: Re.section, minHeight: 400, alignItems: "center", justifyContent: "center" },
9954
9937
  children: [
9955
9938
  /* @__PURE__ */ e(
9956
9939
  l,
@@ -9967,8 +9950,8 @@ Video content is generating 2.8x more engagement than static posts. Consider inc
9967
9950
  children: /* @__PURE__ */ e(v, { name: "sparkles", size: "medium", color: f.colors.aiPrimary })
9968
9951
  }
9969
9952
  ),
9970
- /* @__PURE__ */ e(u, { variant: "h6", fontWeight: 600, color: "text.primary", children: "What do you want to know?" }),
9971
- /* @__PURE__ */ e(u, { variant: "body2", color: "text.secondary", textAlign: "center", sx: { maxWidth: 300 }, children: "Ask anything and I'll search across your sources to find the answer" })
9953
+ /* @__PURE__ */ e(u, { variant: "h6", color: "text.primary", sx: { fontWeight: 600 }, children: "What do you want to know?" }),
9954
+ /* @__PURE__ */ e(u, { variant: "body2", color: "text.secondary", sx: { maxWidth: 300, textAlign: "center" }, children: "Ask anything and I'll search across your sources to find the answer" })
9972
9955
  ]
9973
9956
  }
9974
9957
  ),
@@ -10000,9 +9983,8 @@ Video content is generating 2.8x more engagement than static posts. Consider inc
10000
9983
  P,
10001
9984
  {
10002
9985
  direction: "row",
10003
- alignItems: "flex-start",
10004
9986
  spacing: Re.content,
10005
- sx: { p: Re.inset, bgcolor: "background.default" },
9987
+ sx: { p: Re.inset, bgcolor: "background.default", alignItems: "flex-start" },
10006
9988
  children: [
10007
9989
  m || or,
10008
9990
  /* @__PURE__ */ e(Po, { text: "Searching..." })