@mieweb/ui 0.6.1-dev.152 → 0.6.1-dev.154
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-XQE26F3G.js → chunk-AWC2U423.js} +19 -2
- package/dist/chunk-AWC2U423.js.map +1 -0
- package/dist/{chunk-PM2I3QKM.cjs → chunk-MLJVQYQJ.cjs} +19 -2
- package/dist/chunk-MLJVQYQJ.cjs.map +1 -0
- package/dist/{chunk-QVJBUWJQ.js → chunk-STPK44AU.js} +46 -12
- package/dist/chunk-STPK44AU.js.map +1 -0
- package/dist/{chunk-K7IGBNZA.cjs → chunk-TR2OJKQ4.cjs} +46 -12
- package/dist/chunk-TR2OJKQ4.cjs.map +1 -0
- package/dist/components/RecordButton/index.cjs +4 -4
- package/dist/components/RecordButton/index.js +1 -1
- package/dist/components/SuperChat/index.cjs +7 -6
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.d.cts +4 -4
- package/dist/components/SuperChat/index.d.ts +4 -4
- package/dist/components/SuperChat/index.js +2 -1
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/components/SuperChat/plugins/index.d.cts +3 -3
- package/dist/components/SuperChat/plugins/index.d.ts +3 -3
- package/dist/index.cjs +29 -29
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/styles.css +1 -1
- package/dist/{types-CRt5IPNL.d.cts → types-B4JM0zjF.d.cts} +1 -1
- package/dist/{types-BzeY_kYO.d.cts → types-CilxZlMa.d.cts} +7 -3
- package/dist/{types-BzeY_kYO.d.ts → types-CilxZlMa.d.ts} +7 -3
- package/dist/{types-BFFgW6qy.d.ts → types-DR3WsOPL.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-K7IGBNZA.cjs.map +0 -1
- package/dist/chunk-PM2I3QKM.cjs.map +0 -1
- package/dist/chunk-QVJBUWJQ.js.map +0 -1
- package/dist/chunk-XQE26F3G.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -19,14 +19,14 @@ var chunkJ644FU54_cjs = require('./chunk-J644FU54.cjs');
|
|
|
19
19
|
var chunk3GGET5LK_cjs = require('./chunk-3GGET5LK.cjs');
|
|
20
20
|
var chunkGOKC4CCZ_cjs = require('./chunk-GOKC4CCZ.cjs');
|
|
21
21
|
var chunkDEZ7XSTG_cjs = require('./chunk-DEZ7XSTG.cjs');
|
|
22
|
-
var
|
|
22
|
+
var chunkMLJVQYQJ_cjs = require('./chunk-MLJVQYQJ.cjs');
|
|
23
23
|
var chunkFADQVM4M_cjs = require('./chunk-FADQVM4M.cjs');
|
|
24
24
|
var chunk2T4JU5RH_cjs = require('./chunk-2T4JU5RH.cjs');
|
|
25
25
|
var chunkNVHAQOHH_cjs = require('./chunk-NVHAQOHH.cjs');
|
|
26
26
|
var chunkTN33E2VN_cjs = require('./chunk-TN33E2VN.cjs');
|
|
27
27
|
var chunkQASIWBXU_cjs = require('./chunk-QASIWBXU.cjs');
|
|
28
28
|
var chunkXP6HELVG_cjs = require('./chunk-XP6HELVG.cjs');
|
|
29
|
-
var
|
|
29
|
+
var chunkTR2OJKQ4_cjs = require('./chunk-TR2OJKQ4.cjs');
|
|
30
30
|
var chunk6R2ZPDN7_cjs = require('./chunk-6R2ZPDN7.cjs');
|
|
31
31
|
var chunkQ2EWNXIB_cjs = require('./chunk-Q2EWNXIB.cjs');
|
|
32
32
|
var chunkAFKKJEV5_cjs = require('./chunk-AFKKJEV5.cjs');
|
|
@@ -1373,7 +1373,7 @@ function AIEmptyState({
|
|
|
1373
1373
|
{
|
|
1374
1374
|
"data-slot": "ai-empty-state-icon",
|
|
1375
1375
|
className: "bg-primary-800 dark:bg-primary-800 flex h-16 w-16 items-center justify-center rounded-full text-white",
|
|
1376
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1376
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkMLJVQYQJ_cjs.SparklesIcon, { size: "lg", className: "h-8 w-8" })
|
|
1377
1377
|
}
|
|
1378
1378
|
);
|
|
1379
1379
|
const suggestionsAction = suggestions && suggestions.length > 0 && onSuggestionSelect ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6", children: [
|
|
@@ -1484,7 +1484,7 @@ function AIChat({
|
|
|
1484
1484
|
{
|
|
1485
1485
|
"data-slot": "ai-chat-header-icon",
|
|
1486
1486
|
className: "bg-primary-800 dark:bg-primary-800 flex h-8 w-8 items-center justify-center rounded-full text-white",
|
|
1487
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1487
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkMLJVQYQJ_cjs.SparklesIcon, { size: "sm" })
|
|
1488
1488
|
}
|
|
1489
1489
|
),
|
|
1490
1490
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -1514,7 +1514,7 @@ function AIChat({
|
|
|
1514
1514
|
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",
|
|
1515
1515
|
title: "Clear chat",
|
|
1516
1516
|
"aria-label": "Clear chat",
|
|
1517
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1517
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkMLJVQYQJ_cjs.RefreshIcon, {})
|
|
1518
1518
|
}
|
|
1519
1519
|
),
|
|
1520
1520
|
onClose && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1525,7 +1525,7 @@ function AIChat({
|
|
|
1525
1525
|
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",
|
|
1526
1526
|
title: "Close chat",
|
|
1527
1527
|
"aria-label": "Close chat",
|
|
1528
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1528
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkMLJVQYQJ_cjs.CloseIcon, {})
|
|
1529
1529
|
}
|
|
1530
1530
|
)
|
|
1531
1531
|
] })
|
|
@@ -1545,7 +1545,7 @@ function AIChat({
|
|
|
1545
1545
|
}
|
|
1546
1546
|
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
1547
1547
|
messages.map((message) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1548
|
-
|
|
1548
|
+
chunkMLJVQYQJ_cjs.AIMessageDisplay,
|
|
1549
1549
|
{
|
|
1550
1550
|
message,
|
|
1551
1551
|
userName,
|
|
@@ -1584,7 +1584,7 @@ function AIChat({
|
|
|
1584
1584
|
showCharacterCount: false,
|
|
1585
1585
|
variant: "minimal",
|
|
1586
1586
|
inputTrailing: talkToText ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1587
|
-
|
|
1587
|
+
chunkTR2OJKQ4_cjs.RecordButton,
|
|
1588
1588
|
{
|
|
1589
1589
|
variant: "ghost",
|
|
1590
1590
|
size: "sm",
|
|
@@ -1646,7 +1646,7 @@ function AIChatTrigger({
|
|
|
1646
1646
|
children: badge > 9 ? "9+" : badge
|
|
1647
1647
|
}
|
|
1648
1648
|
),
|
|
1649
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1649
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkMLJVQYQJ_cjs.SparklesIcon, { size: "lg" })
|
|
1650
1650
|
]
|
|
1651
1651
|
}
|
|
1652
1652
|
);
|
|
@@ -1963,7 +1963,7 @@ function ReconciliationProposalRow({
|
|
|
1963
1963
|
children: [
|
|
1964
1964
|
/* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "text-muted-foreground flex items-center gap-1 text-[11px] tracking-wide uppercase", children: [
|
|
1965
1965
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1966
|
-
|
|
1966
|
+
chunkMLJVQYQJ_cjs.SparklesIcon,
|
|
1967
1967
|
{
|
|
1968
1968
|
size: "sm",
|
|
1969
1969
|
className: "text-primary-700 dark:text-primary-400"
|
|
@@ -2019,7 +2019,7 @@ function SourcePill({ source }) {
|
|
|
2019
2019
|
"text-muted-foreground"
|
|
2020
2020
|
),
|
|
2021
2021
|
children: [
|
|
2022
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2022
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkMLJVQYQJ_cjs.SparklesIcon, { size: "sm" }) }),
|
|
2023
2023
|
source.thumbnailUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2024
2024
|
"img",
|
|
2025
2025
|
{
|
|
@@ -36025,63 +36025,63 @@ Object.defineProperty(exports, "spinnerVariants", {
|
|
|
36025
36025
|
});
|
|
36026
36026
|
Object.defineProperty(exports, "AILogoIcon", {
|
|
36027
36027
|
enumerable: true,
|
|
36028
|
-
get: function () { return
|
|
36028
|
+
get: function () { return chunkMLJVQYQJ_cjs.AILogoIcon; }
|
|
36029
36029
|
});
|
|
36030
36030
|
Object.defineProperty(exports, "AIMessageDisplay", {
|
|
36031
36031
|
enumerable: true,
|
|
36032
|
-
get: function () { return
|
|
36032
|
+
get: function () { return chunkMLJVQYQJ_cjs.AIMessageDisplay; }
|
|
36033
36033
|
});
|
|
36034
36034
|
Object.defineProperty(exports, "AITypingIndicator", {
|
|
36035
36035
|
enumerable: true,
|
|
36036
|
-
get: function () { return
|
|
36036
|
+
get: function () { return chunkMLJVQYQJ_cjs.AITypingIndicator; }
|
|
36037
36037
|
});
|
|
36038
36038
|
Object.defineProperty(exports, "ChatBubble", {
|
|
36039
36039
|
enumerable: true,
|
|
36040
|
-
get: function () { return
|
|
36040
|
+
get: function () { return chunkMLJVQYQJ_cjs.ChatBubble; }
|
|
36041
36041
|
});
|
|
36042
36042
|
Object.defineProperty(exports, "ChevronIcon", {
|
|
36043
36043
|
enumerable: true,
|
|
36044
|
-
get: function () { return
|
|
36044
|
+
get: function () { return chunkMLJVQYQJ_cjs.ChevronIcon; }
|
|
36045
36045
|
});
|
|
36046
36046
|
Object.defineProperty(exports, "CloseIcon", {
|
|
36047
36047
|
enumerable: true,
|
|
36048
|
-
get: function () { return
|
|
36048
|
+
get: function () { return chunkMLJVQYQJ_cjs.CloseIcon; }
|
|
36049
36049
|
});
|
|
36050
36050
|
Object.defineProperty(exports, "MCPToolCallDisplay", {
|
|
36051
36051
|
enumerable: true,
|
|
36052
|
-
get: function () { return
|
|
36052
|
+
get: function () { return chunkMLJVQYQJ_cjs.MCPToolCallDisplay; }
|
|
36053
36053
|
});
|
|
36054
36054
|
Object.defineProperty(exports, "MessageAvatar", {
|
|
36055
36055
|
enumerable: true,
|
|
36056
|
-
get: function () { return
|
|
36056
|
+
get: function () { return chunkMLJVQYQJ_cjs.MessageAvatar; }
|
|
36057
36057
|
});
|
|
36058
36058
|
Object.defineProperty(exports, "RefreshIcon", {
|
|
36059
36059
|
enumerable: true,
|
|
36060
|
-
get: function () { return
|
|
36060
|
+
get: function () { return chunkMLJVQYQJ_cjs.RefreshIcon; }
|
|
36061
36061
|
});
|
|
36062
36062
|
Object.defineProperty(exports, "ResourceLink", {
|
|
36063
36063
|
enumerable: true,
|
|
36064
|
-
get: function () { return
|
|
36064
|
+
get: function () { return chunkMLJVQYQJ_cjs.ResourceLink; }
|
|
36065
36065
|
});
|
|
36066
36066
|
Object.defineProperty(exports, "SendIcon", {
|
|
36067
36067
|
enumerable: true,
|
|
36068
|
-
get: function () { return
|
|
36068
|
+
get: function () { return chunkMLJVQYQJ_cjs.SendIcon; }
|
|
36069
36069
|
});
|
|
36070
36070
|
Object.defineProperty(exports, "SparklesIcon", {
|
|
36071
36071
|
enumerable: true,
|
|
36072
|
-
get: function () { return
|
|
36072
|
+
get: function () { return chunkMLJVQYQJ_cjs.SparklesIcon; }
|
|
36073
36073
|
});
|
|
36074
36074
|
Object.defineProperty(exports, "SpinnerIcon", {
|
|
36075
36075
|
enumerable: true,
|
|
36076
|
-
get: function () { return
|
|
36076
|
+
get: function () { return chunkMLJVQYQJ_cjs.SpinnerIcon; }
|
|
36077
36077
|
});
|
|
36078
36078
|
Object.defineProperty(exports, "ToolStatusIcon", {
|
|
36079
36079
|
enumerable: true,
|
|
36080
|
-
get: function () { return
|
|
36080
|
+
get: function () { return chunkMLJVQYQJ_cjs.ToolStatusIcon; }
|
|
36081
36081
|
});
|
|
36082
36082
|
Object.defineProperty(exports, "getToolIcon", {
|
|
36083
36083
|
enumerable: true,
|
|
36084
|
-
get: function () { return
|
|
36084
|
+
get: function () { return chunkMLJVQYQJ_cjs.getToolIcon; }
|
|
36085
36085
|
});
|
|
36086
36086
|
Object.defineProperty(exports, "AttachmentPreview", {
|
|
36087
36087
|
enumerable: true,
|
|
@@ -36325,15 +36325,15 @@ Object.defineProperty(exports, "radioVariants", {
|
|
|
36325
36325
|
});
|
|
36326
36326
|
Object.defineProperty(exports, "RecordButton", {
|
|
36327
36327
|
enumerable: true,
|
|
36328
|
-
get: function () { return
|
|
36328
|
+
get: function () { return chunkTR2OJKQ4_cjs.RecordButton; }
|
|
36329
36329
|
});
|
|
36330
36330
|
Object.defineProperty(exports, "formatDuration", {
|
|
36331
36331
|
enumerable: true,
|
|
36332
|
-
get: function () { return
|
|
36332
|
+
get: function () { return chunkTR2OJKQ4_cjs.formatDuration; }
|
|
36333
36333
|
});
|
|
36334
36334
|
Object.defineProperty(exports, "recordButtonVariants", {
|
|
36335
36335
|
enumerable: true,
|
|
36336
|
-
get: function () { return
|
|
36336
|
+
get: function () { return chunkTR2OJKQ4_cjs.recordButtonVariants; }
|
|
36337
36337
|
});
|
|
36338
36338
|
Object.defineProperty(exports, "RichTextEditor", {
|
|
36339
36339
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -3,8 +3,8 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { ReactNode } from 'react';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { d as MCPToolCall, M as MCPResourceLink, e as MCPToolStatus, f as AIMessage, b as AIRenderTextContent, g as AIChatCallbacks, h as AIChatSession, i as AISuggestedAction } from './types-
|
|
7
|
-
export { A as AIMessageContent, j as AIMessageRole, a as AIMessageStatus, c as AITextRenderContext, k as MCPResource, l as MCPToolInfo, m as MCPToolParameter, n as MCPToolResult } from './types-
|
|
6
|
+
import { d as MCPToolCall, M as MCPResourceLink, e as MCPToolStatus, f as AIMessage, b as AIRenderTextContent, g as AIChatCallbacks, h as AIChatSession, i as AISuggestedAction } from './types-CilxZlMa.cjs';
|
|
7
|
+
export { A as AIMessageContent, j as AIMessageRole, a as AIMessageStatus, c as AITextRenderContext, k as MCPResource, l as MCPToolInfo, m as MCPToolParameter, n as MCPToolResult } from './types-CilxZlMa.cjs';
|
|
8
8
|
export { Alert, AlertDescription, AlertProps, AlertTitle, alertVariants } from './components/Alert/index.cjs';
|
|
9
9
|
export { AlertDialog, AlertDialogProps } from './components/AlertDialog/index.cjs';
|
|
10
10
|
export { AudioPlayer, AudioPlayerProps, AudioPlayerRef, AudioPlayerState, ProgressBar, audioPlayerVariants, formatAudioTime, playButtonVariants } from './components/AudioPlayer/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { ReactNode } from 'react';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { d as MCPToolCall, M as MCPResourceLink, e as MCPToolStatus, f as AIMessage, b as AIRenderTextContent, g as AIChatCallbacks, h as AIChatSession, i as AISuggestedAction } from './types-
|
|
7
|
-
export { A as AIMessageContent, j as AIMessageRole, a as AIMessageStatus, c as AITextRenderContext, k as MCPResource, l as MCPToolInfo, m as MCPToolParameter, n as MCPToolResult } from './types-
|
|
6
|
+
import { d as MCPToolCall, M as MCPResourceLink, e as MCPToolStatus, f as AIMessage, b as AIRenderTextContent, g as AIChatCallbacks, h as AIChatSession, i as AISuggestedAction } from './types-CilxZlMa.js';
|
|
7
|
+
export { A as AIMessageContent, j as AIMessageRole, a as AIMessageStatus, c as AITextRenderContext, k as MCPResource, l as MCPToolInfo, m as MCPToolParameter, n as MCPToolResult } from './types-CilxZlMa.js';
|
|
8
8
|
export { Alert, AlertDescription, AlertProps, AlertTitle, alertVariants } from './components/Alert/index.js';
|
|
9
9
|
export { AlertDialog, AlertDialogProps } from './components/AlertDialog/index.js';
|
|
10
10
|
export { AudioPlayer, AudioPlayerProps, AudioPlayerRef, AudioPlayerState, ProgressBar, audioPlayerVariants, formatAudioTime, playButtonVariants } from './components/AudioPlayer/index.js';
|
package/dist/index.js
CHANGED
|
@@ -22,8 +22,8 @@ export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants }
|
|
|
22
22
|
export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-JBB25LFB.js';
|
|
23
23
|
import { Spinner, SpinnerWithLabel } from './chunk-VCO2IZOG.js';
|
|
24
24
|
export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-VCO2IZOG.js';
|
|
25
|
-
import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-
|
|
26
|
-
export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-
|
|
25
|
+
import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-AWC2U423.js';
|
|
26
|
+
export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-AWC2U423.js';
|
|
27
27
|
import { EmptyState } from './chunk-ASLZUFH4.js';
|
|
28
28
|
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, useTypingIndicator } from './chunk-ASLZUFH4.js';
|
|
29
29
|
import { MessageComposer } from './chunk-UHPQYBXQ.js';
|
|
@@ -36,8 +36,8 @@ import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-MUYTGWGE.js';
|
|
|
36
36
|
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from './chunk-MUYTGWGE.js';
|
|
37
37
|
import { RadioGroup, Radio } from './chunk-EZKRAW2X.js';
|
|
38
38
|
export { Radio, RadioGroup, radioVariants } from './chunk-EZKRAW2X.js';
|
|
39
|
-
import { RecordButton } from './chunk-
|
|
40
|
-
export { RecordButton, formatDuration, recordButtonVariants } from './chunk-
|
|
39
|
+
import { RecordButton } from './chunk-STPK44AU.js';
|
|
40
|
+
export { RecordButton, formatDuration, recordButtonVariants } from './chunk-STPK44AU.js';
|
|
41
41
|
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-TXYTMU3K.js';
|
|
42
42
|
export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-4DMZAVB2.js';
|
|
43
43
|
export { ScrollArea, scrollAreaVariants } from './chunk-BIT27PPD.js';
|