@mieweb/ui 0.11.0-dev.1 → 0.11.0-dev.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 (56) hide show
  1. package/dist/{chunk-7UTBDFFL.cjs → chunk-2S76TRBJ.cjs} +4 -4
  2. package/dist/{chunk-7UTBDFFL.cjs.map → chunk-2S76TRBJ.cjs.map} +1 -1
  3. package/dist/{chunk-PJ6CC53R.cjs → chunk-AKMTPCLC.cjs} +13 -8
  4. package/dist/chunk-AKMTPCLC.cjs.map +1 -0
  5. package/dist/{chunk-VVDE4CHU.js → chunk-C4GEPUE7.js} +13 -8
  6. package/dist/chunk-C4GEPUE7.js.map +1 -0
  7. package/dist/{chunk-FMEA6WAY.cjs → chunk-C66JR43M.cjs} +9 -9
  8. package/dist/{chunk-FMEA6WAY.cjs.map → chunk-C66JR43M.cjs.map} +1 -1
  9. package/dist/{chunk-NUB5HRKS.js → chunk-DT3X3RBM.js} +3 -3
  10. package/dist/{chunk-NUB5HRKS.js.map → chunk-DT3X3RBM.js.map} +1 -1
  11. package/dist/{chunk-XRVMYT5G.cjs → chunk-E53GRHBS.cjs} +4 -4
  12. package/dist/{chunk-XRVMYT5G.cjs.map → chunk-E53GRHBS.cjs.map} +1 -1
  13. package/dist/{chunk-MYAU2ZUC.cjs → chunk-GDKOYVX3.cjs} +14 -10
  14. package/dist/chunk-GDKOYVX3.cjs.map +1 -0
  15. package/dist/{chunk-TJ4GWQPM.js → chunk-GJPCWR4C.js} +102 -64
  16. package/dist/chunk-GJPCWR4C.js.map +1 -0
  17. package/dist/{chunk-S2JZL4JC.js → chunk-JM4YFLO4.js} +22 -15
  18. package/dist/chunk-JM4YFLO4.js.map +1 -0
  19. package/dist/{chunk-YZCM7CXK.js → chunk-NKG2UNXE.js} +3 -3
  20. package/dist/{chunk-YZCM7CXK.js.map → chunk-NKG2UNXE.js.map} +1 -1
  21. package/dist/{chunk-RM2HPQIC.js → chunk-O5V327UQ.js} +3 -3
  22. package/dist/{chunk-RM2HPQIC.js.map → chunk-O5V327UQ.js.map} +1 -1
  23. package/dist/{chunk-2BPIVWAK.js → chunk-V5VPECJI.js} +14 -10
  24. package/dist/chunk-V5VPECJI.js.map +1 -0
  25. package/dist/{chunk-U2RS574O.cjs → chunk-WGXJNCRG.cjs} +101 -63
  26. package/dist/chunk-WGXJNCRG.cjs.map +1 -0
  27. package/dist/{chunk-O6BJMVGT.cjs → chunk-XZNHS7YQ.cjs} +24 -17
  28. package/dist/chunk-XZNHS7YQ.cjs.map +1 -0
  29. package/dist/components/AudioPlayer/index.cjs +7 -6
  30. package/dist/components/AudioPlayer/index.js +2 -1
  31. package/dist/components/MediaEditor/index.cjs +8 -7
  32. package/dist/components/MediaEditor/index.js +3 -2
  33. package/dist/components/Slider/index.cjs +6 -5
  34. package/dist/components/Slider/index.js +2 -1
  35. package/dist/components/SliderCalculator/index.cjs +5 -4
  36. package/dist/components/SliderCalculator/index.js +3 -2
  37. package/dist/components/SuperChat/index.cjs +13 -13
  38. package/dist/components/SuperChat/index.d.cts +8 -4
  39. package/dist/components/SuperChat/index.d.ts +8 -4
  40. package/dist/components/SuperChat/index.js +3 -3
  41. package/dist/components/SuperChat/plugins/index.cjs +3 -3
  42. package/dist/components/SuperChat/plugins/index.js +2 -2
  43. package/dist/index.cjs +95 -95
  44. package/dist/index.d.cts +21 -10
  45. package/dist/index.d.ts +21 -10
  46. package/dist/index.js +10 -10
  47. package/dist/styles.css +1 -1
  48. package/package.json +1 -1
  49. package/dist/chunk-2BPIVWAK.js.map +0 -1
  50. package/dist/chunk-MYAU2ZUC.cjs.map +0 -1
  51. package/dist/chunk-O6BJMVGT.cjs.map +0 -1
  52. package/dist/chunk-PJ6CC53R.cjs.map +0 -1
  53. package/dist/chunk-S2JZL4JC.js.map +0 -1
  54. package/dist/chunk-TJ4GWQPM.js.map +0 -1
  55. package/dist/chunk-U2RS574O.cjs.map +0 -1
  56. package/dist/chunk-VVDE4CHU.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -42,22 +42,22 @@ var chunkGYXSF6BJ_cjs = require('./chunk-GYXSF6BJ.cjs');
42
42
  var chunkXPWFIDZM_cjs = require('./chunk-XPWFIDZM.cjs');
43
43
  var chunkAHHFFXJR_cjs = require('./chunk-AHHFFXJR.cjs');
44
44
  var chunk7RV6CAP6_cjs = require('./chunk-7RV6CAP6.cjs');
45
- var chunkXRVMYT5G_cjs = require('./chunk-XRVMYT5G.cjs');
46
- var chunkFMEA6WAY_cjs = require('./chunk-FMEA6WAY.cjs');
47
- var chunkU2RS574O_cjs = require('./chunk-U2RS574O.cjs');
45
+ var chunkE53GRHBS_cjs = require('./chunk-E53GRHBS.cjs');
46
+ var chunkC66JR43M_cjs = require('./chunk-C66JR43M.cjs');
47
+ var chunkWGXJNCRG_cjs = require('./chunk-WGXJNCRG.cjs');
48
48
  var chunkIJYTASQQ_cjs = require('./chunk-IJYTASQQ.cjs');
49
49
  var chunk3SZQRMHM_cjs = require('./chunk-3SZQRMHM.cjs');
50
50
  var chunkOZOSWBSI_cjs = require('./chunk-OZOSWBSI.cjs');
51
51
  var chunkKDW6BD4O_cjs = require('./chunk-KDW6BD4O.cjs');
52
- var chunk7UTBDFFL_cjs = require('./chunk-7UTBDFFL.cjs');
52
+ var chunk2S76TRBJ_cjs = require('./chunk-2S76TRBJ.cjs');
53
53
  var chunkYGA35Z2P_cjs = require('./chunk-YGA35Z2P.cjs');
54
54
  var chunkOHKO5THF_cjs = require('./chunk-OHKO5THF.cjs');
55
55
  var chunk2I4IRQQG_cjs = require('./chunk-2I4IRQQG.cjs');
56
56
  var chunkXWZEECEX_cjs = require('./chunk-XWZEECEX.cjs');
57
57
  var chunk5MXO6PEV_cjs = require('./chunk-5MXO6PEV.cjs');
58
58
  var chunkJTSKPDPH_cjs = require('./chunk-JTSKPDPH.cjs');
59
- var chunkO6BJMVGT_cjs = require('./chunk-O6BJMVGT.cjs');
60
- var chunkMYAU2ZUC_cjs = require('./chunk-MYAU2ZUC.cjs');
59
+ var chunkXZNHS7YQ_cjs = require('./chunk-XZNHS7YQ.cjs');
60
+ var chunkGDKOYVX3_cjs = require('./chunk-GDKOYVX3.cjs');
61
61
  var chunkAJPFQF3H_cjs = require('./chunk-AJPFQF3H.cjs');
62
62
  require('./chunk-GLXTVCHN.cjs');
63
63
  var chunkKQ6GLYFZ_cjs = require('./chunk-KQ6GLYFZ.cjs');
@@ -100,7 +100,7 @@ var chunkQX6AAVDE_cjs = require('./chunk-QX6AAVDE.cjs');
100
100
  var chunkVXW7D5LR_cjs = require('./chunk-VXW7D5LR.cjs');
101
101
  var chunkNYJIXR4Y_cjs = require('./chunk-NYJIXR4Y.cjs');
102
102
  var chunkUTIPENPW_cjs = require('./chunk-UTIPENPW.cjs');
103
- var chunkPJ6CC53R_cjs = require('./chunk-PJ6CC53R.cjs');
103
+ var chunkAKMTPCLC_cjs = require('./chunk-AKMTPCLC.cjs');
104
104
  var chunkW4Q4UEXA_cjs = require('./chunk-W4Q4UEXA.cjs');
105
105
  var chunkNFKX6QJP_cjs = require('./chunk-NFKX6QJP.cjs');
106
106
  var chunk2FZYZ4HT_cjs = require('./chunk-2FZYZ4HT.cjs');
@@ -1454,7 +1454,7 @@ function AIEmptyState({
1454
1454
  {
1455
1455
  "data-slot": "ai-empty-state-icon",
1456
1456
  className: "bg-primary-800 dark:bg-primary-800 flex h-16 w-16 items-center justify-center rounded-full text-white",
1457
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.SparklesIcon, { size: "lg", className: "h-8 w-8" })
1457
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkE53GRHBS_cjs.SparklesIcon, { size: "lg", className: "h-8 w-8" })
1458
1458
  }
1459
1459
  );
1460
1460
  const suggestionsAction = suggestions && suggestions.length > 0 && onSuggestionSelect ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6", children: [
@@ -1462,7 +1462,7 @@ function AIEmptyState({
1462
1462
  /* @__PURE__ */ jsxRuntime.jsx(SuggestedActions, { actions: suggestions, onSelect: onSuggestionSelect })
1463
1463
  ] }) : void 0;
1464
1464
  return /* @__PURE__ */ jsxRuntime.jsx(
1465
- chunkFMEA6WAY_cjs.EmptyState,
1465
+ chunkC66JR43M_cjs.EmptyState,
1466
1466
  {
1467
1467
  title,
1468
1468
  description,
@@ -1523,7 +1523,7 @@ function AIChat({
1523
1523
  renderMessageFooter
1524
1524
  }) {
1525
1525
  React13__namespace.useEffect(() => {
1526
- chunkU2RS574O_cjs.notifyComposerMigrationOnce("AIChat");
1526
+ chunkWGXJNCRG_cjs.notifyComposerMigrationOnce("AIChat");
1527
1527
  }, []);
1528
1528
  const messages = React13__namespace.useMemo(
1529
1529
  () => session?.messages || messagesProp || [],
@@ -1621,7 +1621,7 @@ function AIChat({
1621
1621
  scrollToBottom(prefersReducedMotion ? "auto" : "smooth");
1622
1622
  }, [scrollToBottom, prefersReducedMotion]);
1623
1623
  const renderMessageItem = (message) => /* @__PURE__ */ jsxRuntime.jsx(
1624
- chunkXRVMYT5G_cjs.AIMessageDisplay,
1624
+ chunkE53GRHBS_cjs.AIMessageDisplay,
1625
1625
  {
1626
1626
  message,
1627
1627
  userName,
@@ -1659,7 +1659,7 @@ function AIChat({
1659
1659
  },
1660
1660
  [isHostControlled, hostOnValueChange]
1661
1661
  );
1662
- const { stopTyping } = chunkFMEA6WAY_cjs.useTypingEmulation({
1662
+ const { stopTyping } = chunkC66JR43M_cjs.useTypingEmulation({
1663
1663
  value: composerValue,
1664
1664
  onTypingStart,
1665
1665
  onTypingStop
@@ -1721,7 +1721,7 @@ function AIChat({
1721
1721
  {
1722
1722
  "data-slot": "ai-chat-header-icon",
1723
1723
  className: "bg-primary-800 dark:bg-primary-800 flex h-8 w-8 items-center justify-center rounded-full text-white",
1724
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.SparklesIcon, { size: "sm" })
1724
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkE53GRHBS_cjs.SparklesIcon, { size: "sm" })
1725
1725
  }
1726
1726
  ),
1727
1727
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
@@ -1751,7 +1751,7 @@ function AIChat({
1751
1751
  className: "rounded-lg p-2 text-neutral-500 hover:bg-neutral-100 hover:text-neutral-700 dark:hover:bg-neutral-800 dark:hover:text-neutral-300",
1752
1752
  title: "Clear chat",
1753
1753
  "aria-label": "Clear chat",
1754
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.RefreshIcon, {})
1754
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkE53GRHBS_cjs.RefreshIcon, {})
1755
1755
  }
1756
1756
  ),
1757
1757
  onClose && /* @__PURE__ */ jsxRuntime.jsx(
@@ -1762,7 +1762,7 @@ function AIChat({
1762
1762
  className: "rounded-lg p-2 text-neutral-500 hover:bg-neutral-100 hover:text-neutral-700 dark:hover:bg-neutral-800 dark:hover:text-neutral-300",
1763
1763
  title: "Close chat",
1764
1764
  "aria-label": "Close chat",
1765
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.CloseIcon, {})
1765
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkE53GRHBS_cjs.CloseIcon, {})
1766
1766
  }
1767
1767
  )
1768
1768
  ] })
@@ -1802,7 +1802,7 @@ function AIChat({
1802
1802
  }
1803
1803
  ),
1804
1804
  !isAtBottom && /* @__PURE__ */ jsxRuntime.jsx(
1805
- chunkXRVMYT5G_cjs.JumpToBottomButton,
1805
+ chunkE53GRHBS_cjs.JumpToBottomButton,
1806
1806
  {
1807
1807
  dataSlot: "ai-chat-jump-to-bottom",
1808
1808
  hasNewMessages: hasNewBelow,
@@ -1826,7 +1826,7 @@ function AIChat({
1826
1826
  }
1827
1827
  ) }),
1828
1828
  /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ai-chat-composer", className: "p-3", children: /* @__PURE__ */ jsxRuntime.jsx(
1829
- chunkU2RS574O_cjs.ChatComposer,
1829
+ chunkWGXJNCRG_cjs.ChatComposer,
1830
1830
  {
1831
1831
  onSend: hostOnSend ? (message) => sendWithRestore(message, hostOnSend) : handleSend,
1832
1832
  placeholder: inputPlaceholder,
@@ -1848,8 +1848,8 @@ function AIChat({
1848
1848
  allowAttachments: composerRest.allowAttachments ?? legacyAttachments,
1849
1849
  maxLength: composerRest.maxLength ?? 1600,
1850
1850
  inputLabel: composerRest.inputLabel ?? "Message",
1851
- acceptedFileTypes: composerRest.acceptedFileTypes ?? (legacyAttachments ? chunkU2RS574O_cjs.DEFAULT_ACCEPTED_FILE_TYPES : void 0),
1852
- maxFileSize: composerRest.maxFileSize ?? (legacyAttachments ? chunkU2RS574O_cjs.DEFAULT_MAX_FILE_SIZE : void 0),
1851
+ acceptedFileTypes: composerRest.acceptedFileTypes ?? (legacyAttachments ? chunkWGXJNCRG_cjs.DEFAULT_ACCEPTED_FILE_TYPES : void 0),
1852
+ maxFileSize: composerRest.maxFileSize ?? (legacyAttachments ? chunkWGXJNCRG_cjs.DEFAULT_MAX_FILE_SIZE : void 0),
1853
1853
  value: composerValue,
1854
1854
  onValueChange: handleComposerValueChange
1855
1855
  }
@@ -5015,7 +5015,7 @@ function AIChatTrigger({
5015
5015
  children: badge > 9 ? "9+" : badge
5016
5016
  }
5017
5017
  ),
5018
- /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.SparklesIcon, { size: "lg" })
5018
+ /* @__PURE__ */ jsxRuntime.jsx(chunkE53GRHBS_cjs.SparklesIcon, { size: "lg" })
5019
5019
  ]
5020
5020
  }
5021
5021
  );
@@ -6618,7 +6618,7 @@ function ReconciliationProposalRow({
6618
6618
  children: [
6619
6619
  /* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "text-muted-foreground flex items-center gap-1 text-[11px] tracking-wide uppercase", children: [
6620
6620
  /* @__PURE__ */ jsxRuntime.jsx(
6621
- chunkXRVMYT5G_cjs.SparklesIcon,
6621
+ chunkE53GRHBS_cjs.SparklesIcon,
6622
6622
  {
6623
6623
  size: "sm",
6624
6624
  className: "text-primary-700 dark:text-primary-400"
@@ -6674,7 +6674,7 @@ function SourcePill({ source }) {
6674
6674
  "text-muted-foreground"
6675
6675
  ),
6676
6676
  children: [
6677
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkXRVMYT5G_cjs.SparklesIcon, { size: "sm" }) }),
6677
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkE53GRHBS_cjs.SparklesIcon, { size: "sm" }) }),
6678
6678
  source.thumbnailUrl && /* @__PURE__ */ jsxRuntime.jsx(
6679
6679
  "img",
6680
6680
  {
@@ -12153,7 +12153,7 @@ var CaseManagementHeader = React13__namespace.forwardRef(
12153
12153
  (onAddCaseNote || onCloseCase || actions) && // Horizontal always: long labels truncate (Button's built-in
12154
12154
  // ellipsis) instead of stacking or starving the identity block.
12155
12155
  /* @__PURE__ */ jsxRuntime.jsxs(
12156
- chunkXRVMYT5G_cjs.ButtonGroup,
12156
+ chunkE53GRHBS_cjs.ButtonGroup,
12157
12157
  {
12158
12158
  orientation: "horizontal",
12159
12159
  className: "max-w-[60%] min-w-0 gap-2",
@@ -45132,227 +45132,227 @@ Object.defineProperty(exports, "Sparkline", {
45132
45132
  });
45133
45133
  Object.defineProperty(exports, "AILogoIcon", {
45134
45134
  enumerable: true,
45135
- get: function () { return chunkXRVMYT5G_cjs.AILogoIcon; }
45135
+ get: function () { return chunkE53GRHBS_cjs.AILogoIcon; }
45136
45136
  });
45137
45137
  Object.defineProperty(exports, "AIMessageDisplay", {
45138
45138
  enumerable: true,
45139
- get: function () { return chunkXRVMYT5G_cjs.AIMessageDisplay; }
45139
+ get: function () { return chunkE53GRHBS_cjs.AIMessageDisplay; }
45140
45140
  });
45141
45141
  Object.defineProperty(exports, "AITypingIndicator", {
45142
45142
  enumerable: true,
45143
- get: function () { return chunkXRVMYT5G_cjs.AITypingIndicator; }
45143
+ get: function () { return chunkE53GRHBS_cjs.AITypingIndicator; }
45144
45144
  });
45145
45145
  Object.defineProperty(exports, "ButtonGroup", {
45146
45146
  enumerable: true,
45147
- get: function () { return chunkXRVMYT5G_cjs.ButtonGroup; }
45147
+ get: function () { return chunkE53GRHBS_cjs.ButtonGroup; }
45148
45148
  });
45149
45149
  Object.defineProperty(exports, "ChatBubble", {
45150
45150
  enumerable: true,
45151
- get: function () { return chunkXRVMYT5G_cjs.ChatBubble; }
45151
+ get: function () { return chunkE53GRHBS_cjs.ChatBubble; }
45152
45152
  });
45153
45153
  Object.defineProperty(exports, "ChevronIcon", {
45154
45154
  enumerable: true,
45155
- get: function () { return chunkXRVMYT5G_cjs.ChevronIcon; }
45155
+ get: function () { return chunkE53GRHBS_cjs.ChevronIcon; }
45156
45156
  });
45157
45157
  Object.defineProperty(exports, "CloseIcon", {
45158
45158
  enumerable: true,
45159
- get: function () { return chunkXRVMYT5G_cjs.CloseIcon; }
45159
+ get: function () { return chunkE53GRHBS_cjs.CloseIcon; }
45160
45160
  });
45161
45161
  Object.defineProperty(exports, "CollapsiblePill", {
45162
45162
  enumerable: true,
45163
- get: function () { return chunkXRVMYT5G_cjs.CollapsiblePill; }
45163
+ get: function () { return chunkE53GRHBS_cjs.CollapsiblePill; }
45164
45164
  });
45165
45165
  Object.defineProperty(exports, "MCPToolCallDisplay", {
45166
45166
  enumerable: true,
45167
- get: function () { return chunkXRVMYT5G_cjs.MCPToolCallDisplay; }
45167
+ get: function () { return chunkE53GRHBS_cjs.MCPToolCallDisplay; }
45168
45168
  });
45169
45169
  Object.defineProperty(exports, "MessageAvatar", {
45170
45170
  enumerable: true,
45171
- get: function () { return chunkXRVMYT5G_cjs.MessageAvatar; }
45171
+ get: function () { return chunkE53GRHBS_cjs.MessageAvatar; }
45172
45172
  });
45173
45173
  Object.defineProperty(exports, "RefreshIcon", {
45174
45174
  enumerable: true,
45175
- get: function () { return chunkXRVMYT5G_cjs.RefreshIcon; }
45175
+ get: function () { return chunkE53GRHBS_cjs.RefreshIcon; }
45176
45176
  });
45177
45177
  Object.defineProperty(exports, "ResourceLink", {
45178
45178
  enumerable: true,
45179
- get: function () { return chunkXRVMYT5G_cjs.ResourceLink; }
45179
+ get: function () { return chunkE53GRHBS_cjs.ResourceLink; }
45180
45180
  });
45181
45181
  Object.defineProperty(exports, "SendIcon", {
45182
45182
  enumerable: true,
45183
- get: function () { return chunkXRVMYT5G_cjs.SendIcon; }
45183
+ get: function () { return chunkE53GRHBS_cjs.SendIcon; }
45184
45184
  });
45185
45185
  Object.defineProperty(exports, "SparklesIcon", {
45186
45186
  enumerable: true,
45187
- get: function () { return chunkXRVMYT5G_cjs.SparklesIcon; }
45187
+ get: function () { return chunkE53GRHBS_cjs.SparklesIcon; }
45188
45188
  });
45189
45189
  Object.defineProperty(exports, "SpinnerIcon", {
45190
45190
  enumerable: true,
45191
- get: function () { return chunkXRVMYT5G_cjs.SpinnerIcon; }
45191
+ get: function () { return chunkE53GRHBS_cjs.SpinnerIcon; }
45192
45192
  });
45193
45193
  Object.defineProperty(exports, "ToolStatusIcon", {
45194
45194
  enumerable: true,
45195
- get: function () { return chunkXRVMYT5G_cjs.ToolStatusIcon; }
45195
+ get: function () { return chunkE53GRHBS_cjs.ToolStatusIcon; }
45196
45196
  });
45197
45197
  Object.defineProperty(exports, "getToolIcon", {
45198
45198
  enumerable: true,
45199
- get: function () { return chunkXRVMYT5G_cjs.getToolIcon; }
45199
+ get: function () { return chunkE53GRHBS_cjs.getToolIcon; }
45200
45200
  });
45201
45201
  Object.defineProperty(exports, "AttachmentPreview", {
45202
45202
  enumerable: true,
45203
- get: function () { return chunkFMEA6WAY_cjs.AttachmentPreview; }
45203
+ get: function () { return chunkC66JR43M_cjs.AttachmentPreview; }
45204
45204
  });
45205
45205
  Object.defineProperty(exports, "ConversationHeader", {
45206
45206
  enumerable: true,
45207
- get: function () { return chunkFMEA6WAY_cjs.ConversationHeader; }
45207
+ get: function () { return chunkC66JR43M_cjs.ConversationHeader; }
45208
45208
  });
45209
45209
  Object.defineProperty(exports, "ConversationListItem", {
45210
45210
  enumerable: true,
45211
- get: function () { return chunkFMEA6WAY_cjs.ConversationListItem; }
45211
+ get: function () { return chunkC66JR43M_cjs.ConversationListItem; }
45212
45212
  });
45213
45213
  Object.defineProperty(exports, "ConversationListSkeleton", {
45214
45214
  enumerable: true,
45215
- get: function () { return chunkFMEA6WAY_cjs.ConversationListSkeleton; }
45215
+ get: function () { return chunkC66JR43M_cjs.ConversationListSkeleton; }
45216
45216
  });
45217
45217
  Object.defineProperty(exports, "DateSeparator", {
45218
45218
  enumerable: true,
45219
- get: function () { return chunkFMEA6WAY_cjs.DateSeparator; }
45219
+ get: function () { return chunkC66JR43M_cjs.DateSeparator; }
45220
45220
  });
45221
45221
  Object.defineProperty(exports, "EmptyState", {
45222
45222
  enumerable: true,
45223
- get: function () { return chunkFMEA6WAY_cjs.EmptyState; }
45223
+ get: function () { return chunkC66JR43M_cjs.EmptyState; }
45224
45224
  });
45225
45225
  Object.defineProperty(exports, "LightboxModal", {
45226
45226
  enumerable: true,
45227
- get: function () { return chunkFMEA6WAY_cjs.LightboxModal; }
45227
+ get: function () { return chunkC66JR43M_cjs.LightboxModal; }
45228
45228
  });
45229
45229
  Object.defineProperty(exports, "LoadMoreButton", {
45230
45230
  enumerable: true,
45231
- get: function () { return chunkFMEA6WAY_cjs.LoadMoreButton; }
45231
+ get: function () { return chunkC66JR43M_cjs.LoadMoreButton; }
45232
45232
  });
45233
45233
  Object.defineProperty(exports, "MessageBubble", {
45234
45234
  enumerable: true,
45235
- get: function () { return chunkFMEA6WAY_cjs.MessageBubble; }
45235
+ get: function () { return chunkC66JR43M_cjs.MessageBubble; }
45236
45236
  });
45237
45237
  Object.defineProperty(exports, "MessageList", {
45238
45238
  enumerable: true,
45239
- get: function () { return chunkFMEA6WAY_cjs.MessageList; }
45239
+ get: function () { return chunkC66JR43M_cjs.MessageList; }
45240
45240
  });
45241
45241
  Object.defineProperty(exports, "MessageStatusIcon", {
45242
45242
  enumerable: true,
45243
- get: function () { return chunkFMEA6WAY_cjs.MessageStatusIcon; }
45243
+ get: function () { return chunkC66JR43M_cjs.MessageStatusIcon; }
45244
45244
  });
45245
45245
  Object.defineProperty(exports, "MessageThread", {
45246
45246
  enumerable: true,
45247
- get: function () { return chunkFMEA6WAY_cjs.MessageThread; }
45247
+ get: function () { return chunkC66JR43M_cjs.MessageThread; }
45248
45248
  });
45249
45249
  Object.defineProperty(exports, "MessagingSplitView", {
45250
45250
  enumerable: true,
45251
- get: function () { return chunkFMEA6WAY_cjs.MessagingSplitView; }
45251
+ get: function () { return chunkC66JR43M_cjs.MessagingSplitView; }
45252
45252
  });
45253
45253
  Object.defineProperty(exports, "ReadReceiptIndicator", {
45254
45254
  enumerable: true,
45255
- get: function () { return chunkFMEA6WAY_cjs.ReadReceiptIndicator; }
45255
+ get: function () { return chunkC66JR43M_cjs.ReadReceiptIndicator; }
45256
45256
  });
45257
45257
  Object.defineProperty(exports, "SkeletonMessage", {
45258
45258
  enumerable: true,
45259
- get: function () { return chunkFMEA6WAY_cjs.SkeletonMessage; }
45259
+ get: function () { return chunkC66JR43M_cjs.SkeletonMessage; }
45260
45260
  });
45261
45261
  Object.defineProperty(exports, "TypingIndicator", {
45262
45262
  enumerable: true,
45263
- get: function () { return chunkFMEA6WAY_cjs.TypingIndicator; }
45263
+ get: function () { return chunkC66JR43M_cjs.TypingIndicator; }
45264
45264
  });
45265
45265
  Object.defineProperty(exports, "bubbleVariants", {
45266
45266
  enumerable: true,
45267
- get: function () { return chunkFMEA6WAY_cjs.bubbleVariants; }
45267
+ get: function () { return chunkC66JR43M_cjs.bubbleVariants; }
45268
45268
  });
45269
45269
  Object.defineProperty(exports, "formatDateLabel", {
45270
45270
  enumerable: true,
45271
- get: function () { return chunkFMEA6WAY_cjs.formatDateLabel; }
45271
+ get: function () { return chunkC66JR43M_cjs.formatDateLabel; }
45272
45272
  });
45273
45273
  Object.defineProperty(exports, "formatFileSize", {
45274
45274
  enumerable: true,
45275
- get: function () { return chunkFMEA6WAY_cjs.formatFileSize; }
45275
+ get: function () { return chunkC66JR43M_cjs.formatFileSize; }
45276
45276
  });
45277
45277
  Object.defineProperty(exports, "formatLastSeen", {
45278
45278
  enumerable: true,
45279
- get: function () { return chunkFMEA6WAY_cjs.formatLastSeen; }
45279
+ get: function () { return chunkC66JR43M_cjs.formatLastSeen; }
45280
45280
  });
45281
45281
  Object.defineProperty(exports, "getConversationSubtitle", {
45282
45282
  enumerable: true,
45283
- get: function () { return chunkFMEA6WAY_cjs.getConversationSubtitle; }
45283
+ get: function () { return chunkC66JR43M_cjs.getConversationSubtitle; }
45284
45284
  });
45285
45285
  Object.defineProperty(exports, "getConversationTitle", {
45286
45286
  enumerable: true,
45287
- get: function () { return chunkFMEA6WAY_cjs.getConversationTitle; }
45287
+ get: function () { return chunkC66JR43M_cjs.getConversationTitle; }
45288
45288
  });
45289
45289
  Object.defineProperty(exports, "groupMessagesByDate", {
45290
45290
  enumerable: true,
45291
- get: function () { return chunkFMEA6WAY_cjs.groupMessagesByDate; }
45291
+ get: function () { return chunkC66JR43M_cjs.groupMessagesByDate; }
45292
45292
  });
45293
45293
  Object.defineProperty(exports, "headerVariants", {
45294
45294
  enumerable: true,
45295
- get: function () { return chunkFMEA6WAY_cjs.headerVariants; }
45295
+ get: function () { return chunkC66JR43M_cjs.headerVariants; }
45296
45296
  });
45297
45297
  Object.defineProperty(exports, "isSameSenderGroup", {
45298
45298
  enumerable: true,
45299
- get: function () { return chunkFMEA6WAY_cjs.isSameSenderGroup; }
45299
+ get: function () { return chunkC66JR43M_cjs.isSameSenderGroup; }
45300
45300
  });
45301
45301
  Object.defineProperty(exports, "useMessageScroll", {
45302
45302
  enumerable: true,
45303
- get: function () { return chunkFMEA6WAY_cjs.useMessageScroll; }
45303
+ get: function () { return chunkC66JR43M_cjs.useMessageScroll; }
45304
45304
  });
45305
45305
  Object.defineProperty(exports, "useMessages", {
45306
45306
  enumerable: true,
45307
- get: function () { return chunkFMEA6WAY_cjs.useMessages; }
45307
+ get: function () { return chunkC66JR43M_cjs.useMessages; }
45308
45308
  });
45309
45309
  Object.defineProperty(exports, "useReadReceipts", {
45310
45310
  enumerable: true,
45311
- get: function () { return chunkFMEA6WAY_cjs.useReadReceipts; }
45311
+ get: function () { return chunkC66JR43M_cjs.useReadReceipts; }
45312
45312
  });
45313
45313
  Object.defineProperty(exports, "useTypingEmulation", {
45314
45314
  enumerable: true,
45315
- get: function () { return chunkFMEA6WAY_cjs.useTypingEmulation; }
45315
+ get: function () { return chunkC66JR43M_cjs.useTypingEmulation; }
45316
45316
  });
45317
45317
  Object.defineProperty(exports, "useTypingIndicator", {
45318
45318
  enumerable: true,
45319
- get: function () { return chunkFMEA6WAY_cjs.useTypingIndicator; }
45319
+ get: function () { return chunkC66JR43M_cjs.useTypingIndicator; }
45320
45320
  });
45321
45321
  Object.defineProperty(exports, "AttachmentPicker", {
45322
45322
  enumerable: true,
45323
- get: function () { return chunkU2RS574O_cjs.AttachmentPicker; }
45323
+ get: function () { return chunkWGXJNCRG_cjs.AttachmentPicker; }
45324
45324
  });
45325
45325
  Object.defineProperty(exports, "AttachmentPreviewItem", {
45326
45326
  enumerable: true,
45327
- get: function () { return chunkU2RS574O_cjs.AttachmentPreviewItem; }
45327
+ get: function () { return chunkWGXJNCRG_cjs.AttachmentPreviewItem; }
45328
45328
  });
45329
45329
  Object.defineProperty(exports, "CameraButton", {
45330
45330
  enumerable: true,
45331
- get: function () { return chunkU2RS574O_cjs.CameraButton; }
45331
+ get: function () { return chunkWGXJNCRG_cjs.CameraButton; }
45332
45332
  });
45333
45333
  Object.defineProperty(exports, "ChatComposer", {
45334
45334
  enumerable: true,
45335
- get: function () { return chunkU2RS574O_cjs.ChatComposer; }
45335
+ get: function () { return chunkWGXJNCRG_cjs.ChatComposer; }
45336
45336
  });
45337
45337
  Object.defineProperty(exports, "ComposerModelSelector", {
45338
45338
  enumerable: true,
45339
- get: function () { return chunkU2RS574O_cjs.ComposerModelSelector; }
45339
+ get: function () { return chunkWGXJNCRG_cjs.ComposerModelSelector; }
45340
45340
  });
45341
45341
  Object.defineProperty(exports, "DragDropZone", {
45342
45342
  enumerable: true,
45343
- get: function () { return chunkU2RS574O_cjs.DragDropZone; }
45343
+ get: function () { return chunkWGXJNCRG_cjs.DragDropZone; }
45344
45344
  });
45345
45345
  Object.defineProperty(exports, "generateAttachmentId", {
45346
45346
  enumerable: true,
45347
- get: function () { return chunkU2RS574O_cjs.generateAttachmentId; }
45347
+ get: function () { return chunkWGXJNCRG_cjs.generateAttachmentId; }
45348
45348
  });
45349
45349
  Object.defineProperty(exports, "getFileType", {
45350
45350
  enumerable: true,
45351
- get: function () { return chunkU2RS574O_cjs.getFileType; }
45351
+ get: function () { return chunkWGXJNCRG_cjs.getFileType; }
45352
45352
  });
45353
45353
  Object.defineProperty(exports, "validateFile", {
45354
45354
  enumerable: true,
45355
- get: function () { return chunkU2RS574O_cjs.validateFile; }
45355
+ get: function () { return chunkWGXJNCRG_cjs.validateFile; }
45356
45356
  });
45357
45357
  Object.defineProperty(exports, "Table", {
45358
45358
  enumerable: true,
@@ -45436,11 +45436,11 @@ Object.defineProperty(exports, "SectionSpyNav", {
45436
45436
  });
45437
45437
  Object.defineProperty(exports, "AnimatedNumber", {
45438
45438
  enumerable: true,
45439
- get: function () { return chunk7UTBDFFL_cjs.AnimatedNumber; }
45439
+ get: function () { return chunk2S76TRBJ_cjs.AnimatedNumber; }
45440
45440
  });
45441
45441
  Object.defineProperty(exports, "SliderCalculator", {
45442
45442
  enumerable: true,
45443
- get: function () { return chunk7UTBDFFL_cjs.SliderCalculator; }
45443
+ get: function () { return chunk2S76TRBJ_cjs.SliderCalculator; }
45444
45444
  });
45445
45445
  Object.defineProperty(exports, "Skeleton", {
45446
45446
  enumerable: true,
@@ -45528,39 +45528,39 @@ Object.defineProperty(exports, "recordButtonVariants", {
45528
45528
  });
45529
45529
  Object.defineProperty(exports, "FillerWordsModal", {
45530
45530
  enumerable: true,
45531
- get: function () { return chunkO6BJMVGT_cjs.FillerWordsModal; }
45531
+ get: function () { return chunkXZNHS7YQ_cjs.FillerWordsModal; }
45532
45532
  });
45533
45533
  Object.defineProperty(exports, "MediaEditor", {
45534
45534
  enumerable: true,
45535
- get: function () { return chunkO6BJMVGT_cjs.MediaEditor; }
45535
+ get: function () { return chunkXZNHS7YQ_cjs.MediaEditor; }
45536
45536
  });
45537
45537
  Object.defineProperty(exports, "SilenceSettingsModal", {
45538
45538
  enumerable: true,
45539
- get: function () { return chunkO6BJMVGT_cjs.SilenceSettingsModal; }
45539
+ get: function () { return chunkXZNHS7YQ_cjs.SilenceSettingsModal; }
45540
45540
  });
45541
45541
  Object.defineProperty(exports, "SpeedMarkerMenu", {
45542
45542
  enumerable: true,
45543
- get: function () { return chunkO6BJMVGT_cjs.SpeedMarkerMenu; }
45543
+ get: function () { return chunkXZNHS7YQ_cjs.SpeedMarkerMenu; }
45544
45544
  });
45545
45545
  Object.defineProperty(exports, "WordEditorModal", {
45546
45546
  enumerable: true,
45547
- get: function () { return chunkO6BJMVGT_cjs.WordEditorModal; }
45547
+ get: function () { return chunkXZNHS7YQ_cjs.WordEditorModal; }
45548
45548
  });
45549
45549
  Object.defineProperty(exports, "Slider", {
45550
45550
  enumerable: true,
45551
- get: function () { return chunkMYAU2ZUC_cjs.Slider; }
45551
+ get: function () { return chunkGDKOYVX3_cjs.Slider; }
45552
45552
  });
45553
45553
  Object.defineProperty(exports, "sliderRangeVariants", {
45554
45554
  enumerable: true,
45555
- get: function () { return chunkMYAU2ZUC_cjs.sliderRangeVariants; }
45555
+ get: function () { return chunkGDKOYVX3_cjs.sliderRangeVariants; }
45556
45556
  });
45557
45557
  Object.defineProperty(exports, "sliderThumbVariants", {
45558
45558
  enumerable: true,
45559
- get: function () { return chunkMYAU2ZUC_cjs.sliderThumbVariants; }
45559
+ get: function () { return chunkGDKOYVX3_cjs.sliderThumbVariants; }
45560
45560
  });
45561
45561
  Object.defineProperty(exports, "sliderTrackVariants", {
45562
45562
  enumerable: true,
45563
- get: function () { return chunkMYAU2ZUC_cjs.sliderTrackVariants; }
45563
+ get: function () { return chunkGDKOYVX3_cjs.sliderTrackVariants; }
45564
45564
  });
45565
45565
  Object.defineProperty(exports, "MediaFeed", {
45566
45566
  enumerable: true,
@@ -45992,23 +45992,23 @@ Object.defineProperty(exports, "useConfirm", {
45992
45992
  });
45993
45993
  Object.defineProperty(exports, "AudioPlayer", {
45994
45994
  enumerable: true,
45995
- get: function () { return chunkPJ6CC53R_cjs.AudioPlayer; }
45995
+ get: function () { return chunkAKMTPCLC_cjs.AudioPlayer; }
45996
45996
  });
45997
45997
  Object.defineProperty(exports, "ProgressBar", {
45998
45998
  enumerable: true,
45999
- get: function () { return chunkPJ6CC53R_cjs.ProgressBar; }
45999
+ get: function () { return chunkAKMTPCLC_cjs.ProgressBar; }
46000
46000
  });
46001
46001
  Object.defineProperty(exports, "audioPlayerVariants", {
46002
46002
  enumerable: true,
46003
- get: function () { return chunkPJ6CC53R_cjs.audioPlayerVariants; }
46003
+ get: function () { return chunkAKMTPCLC_cjs.audioPlayerVariants; }
46004
46004
  });
46005
46005
  Object.defineProperty(exports, "formatAudioTime", {
46006
46006
  enumerable: true,
46007
- get: function () { return chunkPJ6CC53R_cjs.formatTime; }
46007
+ get: function () { return chunkAKMTPCLC_cjs.formatTime; }
46008
46008
  });
46009
46009
  Object.defineProperty(exports, "playButtonVariants", {
46010
46010
  enumerable: true,
46011
- get: function () { return chunkPJ6CC53R_cjs.playButtonVariants; }
46011
+ get: function () { return chunkAKMTPCLC_cjs.playButtonVariants; }
46012
46012
  });
46013
46013
  Object.defineProperty(exports, "AudioRecorder", {
46014
46014
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1162,6 +1162,18 @@ declare namespace ComposerModelSelector {
1162
1162
  var displayName: string;
1163
1163
  }
1164
1164
 
1165
+ /** An option in a composer selector-row menu (agent, voice, …). */
1166
+ interface ComposerSelectorOption {
1167
+ /** Stable id (returned via `onChange`). */
1168
+ id: string;
1169
+ /** Display label. */
1170
+ label: string;
1171
+ /** Optional leading icon (falls back to the selector's `icon` in the trigger). */
1172
+ icon?: React$1.ReactNode;
1173
+ /** Optional secondary text shown in the menu. */
1174
+ description?: string;
1175
+ }
1176
+
1165
1177
  /**
1166
1178
  * A candidate for the composer's `@mention` autocomplete. Generic so any
1167
1179
  * surface (multi-party chat, agent picker, …) can supply its own list.
@@ -1463,16 +1475,8 @@ interface ChatComposerMenuItem {
1463
1475
  /** Called when the item is selected. */
1464
1476
  onSelect?: () => void;
1465
1477
  }
1466
- /** An agent shown in the composer's agent selector. */
1467
- interface ChatComposerAgentOption {
1468
- /** Stable id (returned via `onAgentChange`). */
1469
- id: string;
1470
- /** Display label. */
1471
- label: string;
1472
- /** Optional leading icon (defaults to a bot glyph in the trigger). */
1473
- icon?: React$1.ReactNode;
1474
- /** Optional secondary text shown in the menu. */
1475
- description?: string;
1478
+ /** An agent shown in the composer's agent selector (trigger icon defaults to a bot glyph). */
1479
+ interface ChatComposerAgentOption extends ComposerSelectorOption {
1476
1480
  }
1477
1481
  /** Imperative handle exposed via `ref` for host-level integrations. */
1478
1482
  interface ChatComposerHandle {
@@ -1619,6 +1623,13 @@ interface ChatComposerProps {
1619
1623
  showModelSelector?: boolean;
1620
1624
  /** Props passed through to the embedded `ComposerModelSelector`. */
1621
1625
  modelSelectorProps?: ComposerModelSelectorProps;
1626
+ /**
1627
+ * Custom node at the end of the bottom row, after the model selector (e.g.
1628
+ * a voice-activation selector). Shows the row even when no built-in
1629
+ * selector is enabled. Interaction state is not managed: pass your own
1630
+ * disabled state when the composer is `disabled`.
1631
+ */
1632
+ selectorsEndSlot?: React$1.ReactNode;
1622
1633
  /** Replaces the composer with a read-only notice. */
1623
1634
  readOnly?: boolean;
1624
1635
  /** Notice text shown when `readOnly` is set. */
package/dist/index.d.ts CHANGED
@@ -1162,6 +1162,18 @@ declare namespace ComposerModelSelector {
1162
1162
  var displayName: string;
1163
1163
  }
1164
1164
 
1165
+ /** An option in a composer selector-row menu (agent, voice, …). */
1166
+ interface ComposerSelectorOption {
1167
+ /** Stable id (returned via `onChange`). */
1168
+ id: string;
1169
+ /** Display label. */
1170
+ label: string;
1171
+ /** Optional leading icon (falls back to the selector's `icon` in the trigger). */
1172
+ icon?: React$1.ReactNode;
1173
+ /** Optional secondary text shown in the menu. */
1174
+ description?: string;
1175
+ }
1176
+
1165
1177
  /**
1166
1178
  * A candidate for the composer's `@mention` autocomplete. Generic so any
1167
1179
  * surface (multi-party chat, agent picker, …) can supply its own list.
@@ -1463,16 +1475,8 @@ interface ChatComposerMenuItem {
1463
1475
  /** Called when the item is selected. */
1464
1476
  onSelect?: () => void;
1465
1477
  }
1466
- /** An agent shown in the composer's agent selector. */
1467
- interface ChatComposerAgentOption {
1468
- /** Stable id (returned via `onAgentChange`). */
1469
- id: string;
1470
- /** Display label. */
1471
- label: string;
1472
- /** Optional leading icon (defaults to a bot glyph in the trigger). */
1473
- icon?: React$1.ReactNode;
1474
- /** Optional secondary text shown in the menu. */
1475
- description?: string;
1478
+ /** An agent shown in the composer's agent selector (trigger icon defaults to a bot glyph). */
1479
+ interface ChatComposerAgentOption extends ComposerSelectorOption {
1476
1480
  }
1477
1481
  /** Imperative handle exposed via `ref` for host-level integrations. */
1478
1482
  interface ChatComposerHandle {
@@ -1619,6 +1623,13 @@ interface ChatComposerProps {
1619
1623
  showModelSelector?: boolean;
1620
1624
  /** Props passed through to the embedded `ComposerModelSelector`. */
1621
1625
  modelSelectorProps?: ComposerModelSelectorProps;
1626
+ /**
1627
+ * Custom node at the end of the bottom row, after the model selector (e.g.
1628
+ * a voice-activation selector). Shows the row even when no built-in
1629
+ * selector is enabled. Interaction state is not managed: pass your own
1630
+ * disabled state when the composer is `disabled`.
1631
+ */
1632
+ selectorsEndSlot?: React$1.ReactNode;
1622
1633
  /** Replaces the composer with a read-only notice. */
1623
1634
  readOnly?: boolean;
1624
1635
  /** Notice text shown when `readOnly` is set. */