@mieweb/ui 0.11.0-dev.50 → 0.11.0-dev.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-G56OUIGH.cjs → chunk-ARI25ZYT.cjs} +42 -11
- package/dist/chunk-ARI25ZYT.cjs.map +1 -0
- package/dist/{chunk-I65QJMFB.js → chunk-EOIGNUWI.js} +6 -2
- package/dist/chunk-EOIGNUWI.js.map +1 -0
- package/dist/{chunk-TLXQ2E57.cjs → chunk-LEJHDPLM.cjs} +6 -2
- package/dist/chunk-LEJHDPLM.cjs.map +1 -0
- package/dist/{chunk-O3MN3TYS.js → chunk-NCC3VF6V.js} +42 -11
- package/dist/chunk-NCC3VF6V.js.map +1 -0
- package/dist/components/DictationButton/index.cjs +4 -4
- package/dist/components/DictationButton/index.d.cts +4 -0
- package/dist/components/DictationButton/index.d.ts +4 -0
- package/dist/components/DictationButton/index.js +1 -1
- package/dist/components/SuperChat/index.cjs +33 -8
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.d.cts +15 -3
- package/dist/components/SuperChat/index.d.ts +15 -3
- package/dist/components/SuperChat/index.js +27 -2
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.d.cts +2 -2
- package/dist/components/SuperChat/plugins/index.d.ts +2 -2
- package/dist/index.cjs +32 -32
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +3 -3
- package/dist/{types-ByK_dbT7.d.cts → types-BFbvl6xU.d.cts} +6 -0
- package/dist/{types-ByK_dbT7.d.ts → types-BFbvl6xU.d.ts} +6 -0
- package/package.json +1 -1
- package/dist/chunk-G56OUIGH.cjs.map +0 -1
- package/dist/chunk-I65QJMFB.js.map +0 -1
- package/dist/chunk-O3MN3TYS.js.map +0 -1
- package/dist/chunk-TLXQ2E57.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SuperChatRenderPlugin, G as GenUIRegistry } from '../../../types-
|
|
2
|
-
export { a as GenUIWidgetEntry, b as GenUIWidgetProps } from '../../../types-
|
|
1
|
+
import { S as SuperChatRenderPlugin, G as GenUIRegistry } from '../../../types-BFbvl6xU.cjs';
|
|
2
|
+
export { a as GenUIWidgetEntry, b as GenUIWidgetProps } from '../../../types-BFbvl6xU.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SuperChatRenderPlugin, G as GenUIRegistry } from '../../../types-
|
|
2
|
-
export { a as GenUIWidgetEntry, b as GenUIWidgetProps } from '../../../types-
|
|
1
|
+
import { S as SuperChatRenderPlugin, G as GenUIRegistry } from '../../../types-BFbvl6xU.js';
|
|
2
|
+
export { a as GenUIWidgetEntry, b as GenUIWidgetProps } from '../../../types-BFbvl6xU.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -46,7 +46,7 @@ var chunkXU3X2AUL_cjs = require('./chunk-XU3X2AUL.cjs');
|
|
|
46
46
|
var chunkYGA35Z2P_cjs = require('./chunk-YGA35Z2P.cjs');
|
|
47
47
|
var chunkAHHFFXJR_cjs = require('./chunk-AHHFFXJR.cjs');
|
|
48
48
|
var chunk7RV6CAP6_cjs = require('./chunk-7RV6CAP6.cjs');
|
|
49
|
-
var
|
|
49
|
+
var chunkARI25ZYT_cjs = require('./chunk-ARI25ZYT.cjs');
|
|
50
50
|
var chunkXCCH5KHW_cjs = require('./chunk-XCCH5KHW.cjs');
|
|
51
51
|
var chunkNH5JOZLG_cjs = require('./chunk-NH5JOZLG.cjs');
|
|
52
52
|
var chunk3SZQRMHM_cjs = require('./chunk-3SZQRMHM.cjs');
|
|
@@ -57,7 +57,7 @@ var chunkMGFRGPWI_cjs = require('./chunk-MGFRGPWI.cjs');
|
|
|
57
57
|
var chunk2I4IRQQG_cjs = require('./chunk-2I4IRQQG.cjs');
|
|
58
58
|
var chunkXWZEECEX_cjs = require('./chunk-XWZEECEX.cjs');
|
|
59
59
|
var chunk5MXO6PEV_cjs = require('./chunk-5MXO6PEV.cjs');
|
|
60
|
-
var
|
|
60
|
+
var chunkLEJHDPLM_cjs = require('./chunk-LEJHDPLM.cjs');
|
|
61
61
|
var chunk2Y2O2PRZ_cjs = require('./chunk-2Y2O2PRZ.cjs');
|
|
62
62
|
var chunkMQK2D6I6_cjs = require('./chunk-MQK2D6I6.cjs');
|
|
63
63
|
var chunk2XHPPOXY_cjs = require('./chunk-2XHPPOXY.cjs');
|
|
@@ -1465,7 +1465,7 @@ function AIEmptyState({
|
|
|
1465
1465
|
{
|
|
1466
1466
|
"data-slot": "ai-empty-state-icon",
|
|
1467
1467
|
className: "bg-primary-800 dark:bg-primary-800 flex h-16 w-16 items-center justify-center rounded-full text-white",
|
|
1468
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1468
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkARI25ZYT_cjs.SparklesIcon, { size: "lg", className: "h-8 w-8" })
|
|
1469
1469
|
}
|
|
1470
1470
|
);
|
|
1471
1471
|
const suggestionsAction = suggestions && suggestions.length > 0 && onSuggestionSelect ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6", children: [
|
|
@@ -1633,7 +1633,7 @@ function AIChat({
|
|
|
1633
1633
|
scrollToBottom(prefersReducedMotion ? "auto" : "smooth");
|
|
1634
1634
|
}, [scrollToBottom, prefersReducedMotion]);
|
|
1635
1635
|
const renderMessageItem = (message) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1636
|
-
|
|
1636
|
+
chunkARI25ZYT_cjs.AIMessageDisplay,
|
|
1637
1637
|
{
|
|
1638
1638
|
message,
|
|
1639
1639
|
userName,
|
|
@@ -1734,7 +1734,7 @@ function AIChat({
|
|
|
1734
1734
|
{
|
|
1735
1735
|
"data-slot": "ai-chat-header-icon",
|
|
1736
1736
|
className: "bg-primary-800 dark:bg-primary-800 flex h-8 w-8 items-center justify-center rounded-full text-white",
|
|
1737
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1737
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkARI25ZYT_cjs.SparklesIcon, { size: "sm" })
|
|
1738
1738
|
}
|
|
1739
1739
|
),
|
|
1740
1740
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -1764,7 +1764,7 @@ function AIChat({
|
|
|
1764
1764
|
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",
|
|
1765
1765
|
title: "Clear chat",
|
|
1766
1766
|
"aria-label": "Clear chat",
|
|
1767
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1767
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkARI25ZYT_cjs.RefreshIcon, {})
|
|
1768
1768
|
}
|
|
1769
1769
|
),
|
|
1770
1770
|
onClose && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1775,7 +1775,7 @@ function AIChat({
|
|
|
1775
1775
|
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",
|
|
1776
1776
|
title: "Close chat",
|
|
1777
1777
|
"aria-label": "Close chat",
|
|
1778
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1778
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkARI25ZYT_cjs.CloseIcon, {})
|
|
1779
1779
|
}
|
|
1780
1780
|
)
|
|
1781
1781
|
] })
|
|
@@ -1815,7 +1815,7 @@ function AIChat({
|
|
|
1815
1815
|
}
|
|
1816
1816
|
),
|
|
1817
1817
|
!isAtBottom && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1818
|
-
|
|
1818
|
+
chunkARI25ZYT_cjs.JumpToBottomButton,
|
|
1819
1819
|
{
|
|
1820
1820
|
dataSlot: "ai-chat-jump-to-bottom",
|
|
1821
1821
|
hasNewMessages: hasNewBelow,
|
|
@@ -5329,7 +5329,7 @@ function AIChatTrigger({
|
|
|
5329
5329
|
children: badge > 9 ? "9+" : badge
|
|
5330
5330
|
}
|
|
5331
5331
|
),
|
|
5332
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5332
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkARI25ZYT_cjs.SparklesIcon, { size: "lg" })
|
|
5333
5333
|
]
|
|
5334
5334
|
}
|
|
5335
5335
|
);
|
|
@@ -8436,7 +8436,7 @@ function ReconciliationProposalRow({
|
|
|
8436
8436
|
children: [
|
|
8437
8437
|
/* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "text-muted-foreground flex items-center gap-1 text-[11px] tracking-wide uppercase", children: [
|
|
8438
8438
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8439
|
-
|
|
8439
|
+
chunkARI25ZYT_cjs.SparklesIcon,
|
|
8440
8440
|
{
|
|
8441
8441
|
size: "sm",
|
|
8442
8442
|
className: "text-primary-700 dark:text-primary-400"
|
|
@@ -8492,7 +8492,7 @@ function SourcePill({ source: source2 }) {
|
|
|
8492
8492
|
"text-muted-foreground"
|
|
8493
8493
|
),
|
|
8494
8494
|
children: [
|
|
8495
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source2.icon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8495
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source2.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkARI25ZYT_cjs.SparklesIcon, { size: "sm" }) }),
|
|
8496
8496
|
source2.thumbnailUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8497
8497
|
"img",
|
|
8498
8498
|
{
|
|
@@ -44953,75 +44953,75 @@ Object.defineProperty(exports, "Sparkline", {
|
|
|
44953
44953
|
});
|
|
44954
44954
|
Object.defineProperty(exports, "AILogoIcon", {
|
|
44955
44955
|
enumerable: true,
|
|
44956
|
-
get: function () { return
|
|
44956
|
+
get: function () { return chunkARI25ZYT_cjs.AILogoIcon; }
|
|
44957
44957
|
});
|
|
44958
44958
|
Object.defineProperty(exports, "AIMessageDisplay", {
|
|
44959
44959
|
enumerable: true,
|
|
44960
|
-
get: function () { return
|
|
44960
|
+
get: function () { return chunkARI25ZYT_cjs.AIMessageDisplay; }
|
|
44961
44961
|
});
|
|
44962
44962
|
Object.defineProperty(exports, "AITypingIndicator", {
|
|
44963
44963
|
enumerable: true,
|
|
44964
|
-
get: function () { return
|
|
44964
|
+
get: function () { return chunkARI25ZYT_cjs.AITypingIndicator; }
|
|
44965
44965
|
});
|
|
44966
44966
|
Object.defineProperty(exports, "ChatBubble", {
|
|
44967
44967
|
enumerable: true,
|
|
44968
|
-
get: function () { return
|
|
44968
|
+
get: function () { return chunkARI25ZYT_cjs.ChatBubble; }
|
|
44969
44969
|
});
|
|
44970
44970
|
Object.defineProperty(exports, "ChevronIcon", {
|
|
44971
44971
|
enumerable: true,
|
|
44972
|
-
get: function () { return
|
|
44972
|
+
get: function () { return chunkARI25ZYT_cjs.ChevronIcon; }
|
|
44973
44973
|
});
|
|
44974
44974
|
Object.defineProperty(exports, "CloseIcon", {
|
|
44975
44975
|
enumerable: true,
|
|
44976
|
-
get: function () { return
|
|
44976
|
+
get: function () { return chunkARI25ZYT_cjs.CloseIcon; }
|
|
44977
44977
|
});
|
|
44978
44978
|
Object.defineProperty(exports, "CollapsiblePill", {
|
|
44979
44979
|
enumerable: true,
|
|
44980
|
-
get: function () { return
|
|
44980
|
+
get: function () { return chunkARI25ZYT_cjs.CollapsiblePill; }
|
|
44981
44981
|
});
|
|
44982
44982
|
Object.defineProperty(exports, "MCPToolCallDisplay", {
|
|
44983
44983
|
enumerable: true,
|
|
44984
|
-
get: function () { return
|
|
44984
|
+
get: function () { return chunkARI25ZYT_cjs.MCPToolCallDisplay; }
|
|
44985
44985
|
});
|
|
44986
44986
|
Object.defineProperty(exports, "MCPToolCallGroup", {
|
|
44987
44987
|
enumerable: true,
|
|
44988
|
-
get: function () { return
|
|
44988
|
+
get: function () { return chunkARI25ZYT_cjs.MCPToolCallGroup; }
|
|
44989
44989
|
});
|
|
44990
44990
|
Object.defineProperty(exports, "MessageAvatar", {
|
|
44991
44991
|
enumerable: true,
|
|
44992
|
-
get: function () { return
|
|
44992
|
+
get: function () { return chunkARI25ZYT_cjs.MessageAvatar; }
|
|
44993
44993
|
});
|
|
44994
44994
|
Object.defineProperty(exports, "RefreshIcon", {
|
|
44995
44995
|
enumerable: true,
|
|
44996
|
-
get: function () { return
|
|
44996
|
+
get: function () { return chunkARI25ZYT_cjs.RefreshIcon; }
|
|
44997
44997
|
});
|
|
44998
44998
|
Object.defineProperty(exports, "ResourceLink", {
|
|
44999
44999
|
enumerable: true,
|
|
45000
|
-
get: function () { return
|
|
45000
|
+
get: function () { return chunkARI25ZYT_cjs.ResourceLink; }
|
|
45001
45001
|
});
|
|
45002
45002
|
Object.defineProperty(exports, "SendIcon", {
|
|
45003
45003
|
enumerable: true,
|
|
45004
|
-
get: function () { return
|
|
45004
|
+
get: function () { return chunkARI25ZYT_cjs.SendIcon; }
|
|
45005
45005
|
});
|
|
45006
45006
|
Object.defineProperty(exports, "SparklesIcon", {
|
|
45007
45007
|
enumerable: true,
|
|
45008
|
-
get: function () { return
|
|
45008
|
+
get: function () { return chunkARI25ZYT_cjs.SparklesIcon; }
|
|
45009
45009
|
});
|
|
45010
45010
|
Object.defineProperty(exports, "SpinnerIcon", {
|
|
45011
45011
|
enumerable: true,
|
|
45012
|
-
get: function () { return
|
|
45012
|
+
get: function () { return chunkARI25ZYT_cjs.SpinnerIcon; }
|
|
45013
45013
|
});
|
|
45014
45014
|
Object.defineProperty(exports, "ToolStatusIcon", {
|
|
45015
45015
|
enumerable: true,
|
|
45016
|
-
get: function () { return
|
|
45016
|
+
get: function () { return chunkARI25ZYT_cjs.ToolStatusIcon; }
|
|
45017
45017
|
});
|
|
45018
45018
|
Object.defineProperty(exports, "defaultMCPToolCallGroupLabels", {
|
|
45019
45019
|
enumerable: true,
|
|
45020
|
-
get: function () { return
|
|
45020
|
+
get: function () { return chunkARI25ZYT_cjs.defaultMCPToolCallGroupLabels; }
|
|
45021
45021
|
});
|
|
45022
45022
|
Object.defineProperty(exports, "getToolIcon", {
|
|
45023
45023
|
enumerable: true,
|
|
45024
|
-
get: function () { return
|
|
45024
|
+
get: function () { return chunkARI25ZYT_cjs.getToolIcon; }
|
|
45025
45025
|
});
|
|
45026
45026
|
Object.defineProperty(exports, "AttachmentPreview", {
|
|
45027
45027
|
enumerable: true,
|
|
@@ -45289,15 +45289,15 @@ Object.defineProperty(exports, "ReadingProgressBar", {
|
|
|
45289
45289
|
});
|
|
45290
45290
|
Object.defineProperty(exports, "DictationButton", {
|
|
45291
45291
|
enumerable: true,
|
|
45292
|
-
get: function () { return
|
|
45292
|
+
get: function () { return chunkLEJHDPLM_cjs.DictationButton; }
|
|
45293
45293
|
});
|
|
45294
45294
|
Object.defineProperty(exports, "defaultDictationLabels", {
|
|
45295
45295
|
enumerable: true,
|
|
45296
|
-
get: function () { return
|
|
45296
|
+
get: function () { return chunkLEJHDPLM_cjs.defaultDictationLabels; }
|
|
45297
45297
|
});
|
|
45298
45298
|
Object.defineProperty(exports, "useDictation", {
|
|
45299
45299
|
enumerable: true,
|
|
45300
|
-
get: function () { return
|
|
45300
|
+
get: function () { return chunkLEJHDPLM_cjs.useDictation; }
|
|
45301
45301
|
});
|
|
45302
45302
|
Object.defineProperty(exports, "RecordButton", {
|
|
45303
45303
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -730,6 +730,12 @@ interface MCPToolCall {
|
|
|
730
730
|
id: string;
|
|
731
731
|
/** Name of the tool being invoked */
|
|
732
732
|
toolName: string;
|
|
733
|
+
/**
|
|
734
|
+
* What the call did in the user's words, e.g. "Read notes.md". Shown in
|
|
735
|
+
* place of `toolName`, which then moves into the call's details. Omit it to
|
|
736
|
+
* show `toolName`.
|
|
737
|
+
*/
|
|
738
|
+
displayName?: string;
|
|
733
739
|
/**
|
|
734
740
|
* Who provides the tool — an MCP server's display name, for example. Shown
|
|
735
741
|
* before the tool name; omit it for first-party tools.
|
|
@@ -1008,7 +1014,7 @@ interface SpinnerIconProps {
|
|
|
1008
1014
|
declare function SpinnerIcon({ className }: SpinnerIconProps): react_jsx_runtime.JSX.Element;
|
|
1009
1015
|
|
|
1010
1016
|
interface CollapsiblePillProps {
|
|
1011
|
-
label:
|
|
1017
|
+
label: React$1.ReactNode;
|
|
1012
1018
|
leadingIcon?: React$1.ReactNode;
|
|
1013
1019
|
density?: 'standard' | 'condensed';
|
|
1014
1020
|
defaultOpen?: boolean;
|
|
@@ -1077,6 +1083,8 @@ interface MCPToolCallGroupLabels {
|
|
|
1077
1083
|
status: Record<MCPToolStatus, string>;
|
|
1078
1084
|
/** Accessible name for a call's row. */
|
|
1079
1085
|
callLabel: (toolCall: MCPToolCall) => string;
|
|
1086
|
+
/** Heads the raw `toolName` in a row's details when `displayName` is set. */
|
|
1087
|
+
toolId: string;
|
|
1080
1088
|
/** Disclosure for a successful call's output. */
|
|
1081
1089
|
showResult: string;
|
|
1082
1090
|
/** Disclosure for a failed call's full error. */
|
|
@@ -15523,6 +15531,10 @@ interface DictationButtonProps extends UseDictationOptions, Omit<React$1.ButtonH
|
|
|
15523
15531
|
variant?: RecordButtonVariant;
|
|
15524
15532
|
/** Show `m:ss` while recording. */
|
|
15525
15533
|
showDuration?: boolean;
|
|
15534
|
+
/** Live waveform bars instead of the stop icon while recording. */
|
|
15535
|
+
showWaveform?: boolean;
|
|
15536
|
+
/** Pulse rings while recording. They extend past the button, so turn off in tight rows. Default true. */
|
|
15537
|
+
showPulse?: boolean;
|
|
15526
15538
|
/** Show the listening/transcribing/error caption. It is always announced to screen readers. */
|
|
15527
15539
|
showStatus?: boolean;
|
|
15528
15540
|
/** Override any user-facing string (i18n). */
|
package/dist/index.d.ts
CHANGED
|
@@ -730,6 +730,12 @@ interface MCPToolCall {
|
|
|
730
730
|
id: string;
|
|
731
731
|
/** Name of the tool being invoked */
|
|
732
732
|
toolName: string;
|
|
733
|
+
/**
|
|
734
|
+
* What the call did in the user's words, e.g. "Read notes.md". Shown in
|
|
735
|
+
* place of `toolName`, which then moves into the call's details. Omit it to
|
|
736
|
+
* show `toolName`.
|
|
737
|
+
*/
|
|
738
|
+
displayName?: string;
|
|
733
739
|
/**
|
|
734
740
|
* Who provides the tool — an MCP server's display name, for example. Shown
|
|
735
741
|
* before the tool name; omit it for first-party tools.
|
|
@@ -1008,7 +1014,7 @@ interface SpinnerIconProps {
|
|
|
1008
1014
|
declare function SpinnerIcon({ className }: SpinnerIconProps): react_jsx_runtime.JSX.Element;
|
|
1009
1015
|
|
|
1010
1016
|
interface CollapsiblePillProps {
|
|
1011
|
-
label:
|
|
1017
|
+
label: React$1.ReactNode;
|
|
1012
1018
|
leadingIcon?: React$1.ReactNode;
|
|
1013
1019
|
density?: 'standard' | 'condensed';
|
|
1014
1020
|
defaultOpen?: boolean;
|
|
@@ -1077,6 +1083,8 @@ interface MCPToolCallGroupLabels {
|
|
|
1077
1083
|
status: Record<MCPToolStatus, string>;
|
|
1078
1084
|
/** Accessible name for a call's row. */
|
|
1079
1085
|
callLabel: (toolCall: MCPToolCall) => string;
|
|
1086
|
+
/** Heads the raw `toolName` in a row's details when `displayName` is set. */
|
|
1087
|
+
toolId: string;
|
|
1080
1088
|
/** Disclosure for a successful call's output. */
|
|
1081
1089
|
showResult: string;
|
|
1082
1090
|
/** Disclosure for a failed call's full error. */
|
|
@@ -15523,6 +15531,10 @@ interface DictationButtonProps extends UseDictationOptions, Omit<React$1.ButtonH
|
|
|
15523
15531
|
variant?: RecordButtonVariant;
|
|
15524
15532
|
/** Show `m:ss` while recording. */
|
|
15525
15533
|
showDuration?: boolean;
|
|
15534
|
+
/** Live waveform bars instead of the stop icon while recording. */
|
|
15535
|
+
showWaveform?: boolean;
|
|
15536
|
+
/** Pulse rings while recording. They extend past the button, so turn off in tight rows. Default true. */
|
|
15537
|
+
showPulse?: boolean;
|
|
15526
15538
|
/** Show the listening/transcribing/error caption. It is always announced to screen readers. */
|
|
15527
15539
|
showStatus?: boolean;
|
|
15528
15540
|
/** Override any user-facing string (i18n). */
|
package/dist/index.js
CHANGED
|
@@ -49,8 +49,8 @@ import { Skeleton } from './chunk-ZIUADGAR.js';
|
|
|
49
49
|
export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
|
|
50
50
|
export { SourceTip } from './chunk-KFEN2SRZ.js';
|
|
51
51
|
export { Sparkline } from './chunk-CG4ZKJLE.js';
|
|
52
|
-
import { SparklesIcon, RefreshIcon, CloseIcon, JumpToBottomButton, AIMessageDisplay } from './chunk-
|
|
53
|
-
export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, CollapsiblePill, MCPToolCallDisplay, MCPToolCallGroup, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, defaultMCPToolCallGroupLabels, getToolIcon } from './chunk-
|
|
52
|
+
import { SparklesIcon, RefreshIcon, CloseIcon, JumpToBottomButton, AIMessageDisplay } from './chunk-NCC3VF6V.js';
|
|
53
|
+
export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, CollapsiblePill, MCPToolCallDisplay, MCPToolCallGroup, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, defaultMCPToolCallGroupLabels, getToolIcon } from './chunk-NCC3VF6V.js';
|
|
54
54
|
import { useTypingEmulation, EmptyState } from './chunk-PSCSU63K.js';
|
|
55
55
|
export { AttachmentPreview, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, useMessageScroll, useMessages, useReadReceipts, useTypingEmulation, useTypingIndicator } from './chunk-PSCSU63K.js';
|
|
56
56
|
import { notifyComposerMigrationOnce, ChatComposer, DEFAULT_MAX_FILE_SIZE, DEFAULT_ACCEPTED_FILE_TYPES, ComposerSelector } from './chunk-KP72MDFB.js';
|
|
@@ -64,7 +64,7 @@ import { Progress } from './chunk-P4E3K3ND.js';
|
|
|
64
64
|
export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-P4E3K3ND.js';
|
|
65
65
|
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-TQDZLRIE.js';
|
|
66
66
|
export { ReadingProgressBar } from './chunk-WKSUL2ZN.js';
|
|
67
|
-
export { DictationButton, defaultDictationLabels, useDictation } from './chunk-
|
|
67
|
+
export { DictationButton, defaultDictationLabels, useDictation } from './chunk-EOIGNUWI.js';
|
|
68
68
|
import { RecordButton } from './chunk-URHUNFFC.js';
|
|
69
69
|
export { RecordButton, formatDuration, recordButtonVariants } from './chunk-URHUNFFC.js';
|
|
70
70
|
export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-46ZUORUE.js';
|
|
@@ -164,6 +164,12 @@ interface MCPToolCall {
|
|
|
164
164
|
id: string;
|
|
165
165
|
/** Name of the tool being invoked */
|
|
166
166
|
toolName: string;
|
|
167
|
+
/**
|
|
168
|
+
* What the call did in the user's words, e.g. "Read notes.md". Shown in
|
|
169
|
+
* place of `toolName`, which then moves into the call's details. Omit it to
|
|
170
|
+
* show `toolName`.
|
|
171
|
+
*/
|
|
172
|
+
displayName?: string;
|
|
167
173
|
/**
|
|
168
174
|
* Who provides the tool — an MCP server's display name, for example. Shown
|
|
169
175
|
* before the tool name; omit it for first-party tools.
|
|
@@ -164,6 +164,12 @@ interface MCPToolCall {
|
|
|
164
164
|
id: string;
|
|
165
165
|
/** Name of the tool being invoked */
|
|
166
166
|
toolName: string;
|
|
167
|
+
/**
|
|
168
|
+
* What the call did in the user's words, e.g. "Read notes.md". Shown in
|
|
169
|
+
* place of `toolName`, which then moves into the call's details. Omit it to
|
|
170
|
+
* show `toolName`.
|
|
171
|
+
*/
|
|
172
|
+
displayName?: string;
|
|
167
173
|
/**
|
|
168
174
|
* Who provides the tool — an MCP server's display name, for example. Shown
|
|
169
175
|
* before the tool name; omit it for first-party tools.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mieweb/ui",
|
|
3
|
-
"version": "0.11.0-dev.
|
|
3
|
+
"version": "0.11.0-dev.52",
|
|
4
4
|
"description": "A themeable, accessible React component library built with Tailwind CSS",
|
|
5
5
|
"author": "Medical Informatics Engineering, Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|