@mieweb/ui 0.11.0-dev.49 → 0.11.0-dev.50

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 (77) hide show
  1. package/dist/{chunk-HIYQ3M5V.cjs → chunk-2Y2O2PRZ.cjs} +3 -3
  2. package/dist/chunk-2Y2O2PRZ.cjs.map +1 -0
  3. package/dist/{chunk-O2EAHOXM.cjs → chunk-G56OUIGH.cjs} +482 -29
  4. package/dist/chunk-G56OUIGH.cjs.map +1 -0
  5. package/dist/chunk-GEXYN6AS.cjs +56 -0
  6. package/dist/chunk-GEXYN6AS.cjs.map +1 -0
  7. package/dist/{chunk-OGNADPM4.cjs → chunk-GQONYSGI.cjs} +10 -2
  8. package/dist/chunk-GQONYSGI.cjs.map +1 -0
  9. package/dist/{chunk-IZY4CMOO.js → chunk-H7L45BLY.js} +13 -24
  10. package/dist/chunk-H7L45BLY.js.map +1 -0
  11. package/dist/{chunk-MZA2LDS4.js → chunk-I65QJMFB.js} +4 -4
  12. package/dist/{chunk-MZA2LDS4.js.map → chunk-I65QJMFB.js.map} +1 -1
  13. package/dist/{chunk-NB2C6FSI.js → chunk-L3JA7EDU.js} +20 -3
  14. package/dist/{chunk-NB2C6FSI.js.map → chunk-L3JA7EDU.js.map} +1 -1
  15. package/dist/{chunk-UIFN2LYT.js → chunk-O3MN3TYS.js} +483 -32
  16. package/dist/chunk-O3MN3TYS.js.map +1 -0
  17. package/dist/{chunk-74ENCTIK.js → chunk-R25E7SYN.js} +9 -3
  18. package/dist/chunk-R25E7SYN.js.map +1 -0
  19. package/dist/{chunk-TRZLN32I.cjs → chunk-RDERYV5M.cjs} +14 -25
  20. package/dist/chunk-RDERYV5M.cjs.map +1 -0
  21. package/dist/{chunk-BFVYM6IT.cjs → chunk-TLXQ2E57.cjs} +6 -6
  22. package/dist/{chunk-BFVYM6IT.cjs.map → chunk-TLXQ2E57.cjs.map} +1 -1
  23. package/dist/{chunk-MQOYDQTF.js → chunk-URHUNFFC.js} +3 -3
  24. package/dist/chunk-URHUNFFC.js.map +1 -0
  25. package/dist/chunk-WSLKELR2.js +51 -0
  26. package/dist/chunk-WSLKELR2.js.map +1 -0
  27. package/dist/{chunk-5UKGOBCZ.cjs → chunk-XWGPEIVB.cjs} +20 -3
  28. package/dist/{chunk-5UKGOBCZ.cjs.map → chunk-XWGPEIVB.cjs.map} +1 -1
  29. package/dist/components/DictationButton/index.cjs +5 -5
  30. package/dist/components/DictationButton/index.js +2 -2
  31. package/dist/components/RecordButton/index.cjs +4 -4
  32. package/dist/components/RecordButton/index.d.cts +2 -2
  33. package/dist/components/RecordButton/index.d.ts +2 -2
  34. package/dist/components/RecordButton/index.js +1 -1
  35. package/dist/components/SuperChat/index.cjs +9 -7
  36. package/dist/components/SuperChat/index.cjs.map +1 -1
  37. package/dist/components/SuperChat/index.d.cts +2 -2
  38. package/dist/components/SuperChat/index.d.ts +2 -2
  39. package/dist/components/SuperChat/index.js +3 -1
  40. package/dist/components/SuperChat/index.js.map +1 -1
  41. package/dist/components/SuperChat/plugins/index.d.cts +2 -2
  42. package/dist/components/SuperChat/plugins/index.d.ts +2 -2
  43. package/dist/{hey-buddy-AHUHCDBC.js → hey-buddy-6HXWNHK2.js} +12 -7
  44. package/dist/hey-buddy-6HXWNHK2.js.map +1 -0
  45. package/dist/{hey-buddy-5WOBYZRJ.cjs → hey-buddy-BAS5O4AY.cjs} +12 -7
  46. package/dist/hey-buddy-BAS5O4AY.cjs.map +1 -0
  47. package/dist/index.cjs +2037 -1255
  48. package/dist/index.cjs.map +1 -1
  49. package/dist/index.d.cts +207 -14
  50. package/dist/index.d.ts +207 -14
  51. package/dist/index.js +1851 -1082
  52. package/dist/index.js.map +1 -1
  53. package/dist/{speaker-verify-4NEJAK6C.cjs → speaker-verify-PWTYV4JZ.cjs} +10 -10
  54. package/dist/{speaker-verify-4NEJAK6C.cjs.map → speaker-verify-PWTYV4JZ.cjs.map} +1 -1
  55. package/dist/{speaker-verify-AWSKI6DI.js → speaker-verify-REFWMPTD.js} +3 -3
  56. package/dist/{speaker-verify-AWSKI6DI.js.map → speaker-verify-REFWMPTD.js.map} +1 -1
  57. package/dist/styles.css +1 -1
  58. package/dist/tailwind-preset.cjs +4 -4
  59. package/dist/tailwind-preset.js +1 -1
  60. package/dist/{types-BfVolads.d.ts → types-ByK_dbT7.d.cts} +13 -2
  61. package/dist/{types-BfVolads.d.cts → types-ByK_dbT7.d.ts} +13 -2
  62. package/dist/whisperTranscribe-QV2EQRCD.js +5 -0
  63. package/dist/{whisperTranscribe-UBNUWXUQ.js.map → whisperTranscribe-QV2EQRCD.js.map} +1 -1
  64. package/dist/{whisperTranscribe-AV752TZI.cjs → whisperTranscribe-XL365FM4.cjs} +26 -21
  65. package/dist/{whisperTranscribe-AV752TZI.cjs.map → whisperTranscribe-XL365FM4.cjs.map} +1 -1
  66. package/package.json +2 -2
  67. package/dist/chunk-74ENCTIK.js.map +0 -1
  68. package/dist/chunk-HIYQ3M5V.cjs.map +0 -1
  69. package/dist/chunk-IZY4CMOO.js.map +0 -1
  70. package/dist/chunk-MQOYDQTF.js.map +0 -1
  71. package/dist/chunk-O2EAHOXM.cjs.map +0 -1
  72. package/dist/chunk-OGNADPM4.cjs.map +0 -1
  73. package/dist/chunk-TRZLN32I.cjs.map +0 -1
  74. package/dist/chunk-UIFN2LYT.js.map +0 -1
  75. package/dist/hey-buddy-5WOBYZRJ.cjs.map +0 -1
  76. package/dist/hey-buddy-AHUHCDBC.js.map +0 -1
  77. package/dist/whisperTranscribe-UBNUWXUQ.js +0 -4
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkHIYQ3M5V_cjs = require('../../chunk-HIYQ3M5V.cjs');
3
+ var chunk2Y2O2PRZ_cjs = require('../../chunk-2Y2O2PRZ.cjs');
4
4
  require('../../chunk-S5RVSXDV.cjs');
5
5
  require('../../chunk-EUAMEVVI.cjs');
6
6
 
@@ -8,15 +8,15 @@ require('../../chunk-EUAMEVVI.cjs');
8
8
 
9
9
  Object.defineProperty(exports, "RecordButton", {
10
10
  enumerable: true,
11
- get: function () { return chunkHIYQ3M5V_cjs.RecordButton; }
11
+ get: function () { return chunk2Y2O2PRZ_cjs.RecordButton; }
12
12
  });
13
13
  Object.defineProperty(exports, "formatDuration", {
14
14
  enumerable: true,
15
- get: function () { return chunkHIYQ3M5V_cjs.formatDuration; }
15
+ get: function () { return chunk2Y2O2PRZ_cjs.formatDuration; }
16
16
  });
17
17
  Object.defineProperty(exports, "recordButtonVariants", {
18
18
  enumerable: true,
19
- get: function () { return chunkHIYQ3M5V_cjs.recordButtonVariants; }
19
+ get: function () { return chunk2Y2O2PRZ_cjs.recordButtonVariants; }
20
20
  });
21
21
  //# sourceMappingURL=index.cjs.map
22
22
  //# sourceMappingURL=index.cjs.map
@@ -37,8 +37,8 @@ interface RecordButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonEl
37
37
  showTranscriptionState?: boolean;
38
38
  /** Callback when recording is complete with the audio blob */
39
39
  onRecordingComplete?: (blob: Blob, duration: number) => void;
40
- /** Callback when recording starts */
41
- onRecordingStart?: () => void;
40
+ /** Callback when recording starts, with the microphone stream being recorded */
41
+ onRecordingStart?: (stream: MediaStream) => void;
42
42
  /** Callback when a recording error occurs */
43
43
  onRecordingError?: (error: Error) => void;
44
44
  /** Maximum recording duration in seconds (0 for unlimited) */
@@ -37,8 +37,8 @@ interface RecordButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonEl
37
37
  showTranscriptionState?: boolean;
38
38
  /** Callback when recording is complete with the audio blob */
39
39
  onRecordingComplete?: (blob: Blob, duration: number) => void;
40
- /** Callback when recording starts */
41
- onRecordingStart?: () => void;
40
+ /** Callback when recording starts, with the microphone stream being recorded */
41
+ onRecordingStart?: (stream: MediaStream) => void;
42
42
  /** Callback when a recording error occurs */
43
43
  onRecordingError?: (error: Error) => void;
44
44
  /** Maximum recording duration in seconds (0 for unlimited) */
@@ -1,4 +1,4 @@
1
- export { RecordButton, formatDuration, recordButtonVariants } from '../../chunk-MQOYDQTF.js';
1
+ export { RecordButton, formatDuration, recordButtonVariants } from '../../chunk-URHUNFFC.js';
2
2
  import '../../chunk-TQONQSJO.js';
3
3
  import '../../chunk-PX6F3LHL.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,12 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkJFLC7SHM_cjs = require('../../chunk-JFLC7SHM.cjs');
4
- var chunkO2EAHOXM_cjs = require('../../chunk-O2EAHOXM.cjs');
4
+ var chunkG56OUIGH_cjs = require('../../chunk-G56OUIGH.cjs');
5
5
  var chunkNH5JOZLG_cjs = require('../../chunk-NH5JOZLG.cjs');
6
6
  var chunk2XHPPOXY_cjs = require('../../chunk-2XHPPOXY.cjs');
7
7
  require('../../chunk-D3FNZMOB.cjs');
8
8
  var chunkK76UNS22_cjs = require('../../chunk-K76UNS22.cjs');
9
9
  require('../../chunk-ZDA6FEKA.cjs');
10
+ require('../../chunk-VXW7D5LR.cjs');
10
11
  require('../../chunk-QAEAC7HO.cjs');
11
12
  require('../../chunk-Z7ZOSENN.cjs');
12
13
  require('../../chunk-VBWRH4UW.cjs');
@@ -15,6 +16,7 @@ require('../../chunk-HDZQLTBP.cjs');
15
16
  require('../../chunk-P22YCUVM.cjs');
16
17
  require('../../chunk-Q3YVLO52.cjs');
17
18
  var chunkGKDHMNUA_cjs = require('../../chunk-GKDHMNUA.cjs');
19
+ require('../../chunk-XXVUHLQN.cjs');
18
20
  var chunkSV6YGK4U_cjs = require('../../chunk-SV6YGK4U.cjs');
19
21
  require('../../chunk-FRPELUI5.cjs');
20
22
  require('../../chunk-NNEFAUHV.cjs');
@@ -229,7 +231,7 @@ function ParticipantAvatar({
229
231
  src: participant?.avatar,
230
232
  alt: "",
231
233
  name: participant?.name ?? "?",
232
- fallback: isAgent ? /* @__PURE__ */ jsxRuntime.jsx(chunkO2EAHOXM_cjs.SparklesIcon, { size: "sm" }) : void 0,
234
+ fallback: isAgent ? /* @__PURE__ */ jsxRuntime.jsx(chunkG56OUIGH_cjs.SparklesIcon, { size: "sm" }) : void 0,
233
235
  style: { backgroundColor },
234
236
  "aria-hidden": "true",
235
237
  className: "shrink-0"
@@ -765,7 +767,7 @@ ${block.text}
765
767
  isSelf ? "flex-row-reverse" : "flex-row"
766
768
  ),
767
769
  children: /* @__PURE__ */ jsxRuntime.jsx(
768
- chunkO2EAHOXM_cjs.ChatBubble,
770
+ chunkG56OUIGH_cjs.ChatBubble,
769
771
  {
770
772
  ref: bubbleRef,
771
773
  "data-slot": "superchat-bubble",
@@ -830,7 +832,7 @@ ${block.text}
830
832
  message.content?.map((block, i) => {
831
833
  if (block.type === "tool_use" && block.toolCall) {
832
834
  return /* @__PURE__ */ jsxRuntime.jsx(
833
- chunkO2EAHOXM_cjs.MCPToolCallDisplay,
835
+ chunkG56OUIGH_cjs.MCPToolCallDisplay,
834
836
  {
835
837
  toolCall: block.toolCall,
836
838
  defaultCollapsed: block.collapsed ?? (streaming ? void 0 : true)
@@ -889,7 +891,7 @@ ${block.text}
889
891
  },
890
892
  attachment.id
891
893
  )),
892
- streaming && !hasBody && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(chunkO2EAHOXM_cjs.AITypingIndicator, {}) })
894
+ streaming && !hasBody && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(chunkG56OUIGH_cjs.AITypingIndicator, {}) })
893
895
  ] })
894
896
  }
895
897
  )
@@ -1772,7 +1774,7 @@ function SuperChat({
1772
1774
  onClick: () => onConversationClosed(conversation),
1773
1775
  "aria-label": "Close conversation",
1774
1776
  className: "rounded-md p-1 text-neutral-400 hover:bg-neutral-100 dark:hover:bg-neutral-800",
1775
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkO2EAHOXM_cjs.CloseIcon, {})
1777
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkG56OUIGH_cjs.CloseIcon, {})
1776
1778
  }
1777
1779
  )
1778
1780
  ]
@@ -1893,7 +1895,7 @@ function SuperChat({
1893
1895
  mode: "presence",
1894
1896
  className: "absolute inset-x-0 bottom-0 z-20",
1895
1897
  children: /* @__PURE__ */ jsxRuntime.jsx(
1896
- chunkO2EAHOXM_cjs.JumpToBottomButton,
1898
+ chunkG56OUIGH_cjs.JumpToBottomButton,
1897
1899
  {
1898
1900
  dataSlot: "superchat-jump-to-bottom",
1899
1901
  hasNewMessages: hasNewBelow,