@mieweb/ui 0.9.0-dev.1 → 0.9.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.
- package/dist/{Animated-Cs-naa2g.d.cts → Animated-XmH6k8pZ.d.cts} +16 -3
- package/dist/{Animated-Cs-naa2g.d.ts → Animated-XmH6k8pZ.d.ts} +16 -3
- package/dist/{chunk-XUVEF2RQ.js → chunk-24SEAAOH.js} +2 -2
- package/dist/{chunk-XUVEF2RQ.js.map → chunk-24SEAAOH.js.map} +1 -1
- package/dist/{chunk-FUFBRKOG.cjs → chunk-2WBPNXO2.cjs} +21 -21
- package/dist/{chunk-FUFBRKOG.cjs.map → chunk-2WBPNXO2.cjs.map} +1 -1
- package/dist/{chunk-IUDY6S7I.cjs → chunk-37UZHCLM.cjs} +35 -14
- package/dist/chunk-37UZHCLM.cjs.map +1 -0
- package/dist/{chunk-L52N6BEN.cjs → chunk-AUOTJQGO.cjs} +7 -7
- package/dist/{chunk-L52N6BEN.cjs.map → chunk-AUOTJQGO.cjs.map} +1 -1
- package/dist/{chunk-2A2FLQJC.cjs → chunk-B67VPJCZ.cjs} +9 -9
- package/dist/{chunk-2A2FLQJC.cjs.map → chunk-B67VPJCZ.cjs.map} +1 -1
- package/dist/{chunk-6XDPJWSC.cjs → chunk-E7G22IQM.cjs} +32 -28
- package/dist/chunk-E7G22IQM.cjs.map +1 -0
- package/dist/{chunk-ONNY7UO4.js → chunk-JDJQTKTX.js} +3 -3
- package/dist/{chunk-ONNY7UO4.js.map → chunk-JDJQTKTX.js.map} +1 -1
- package/dist/{chunk-BJKAVWED.js → chunk-MBWF36DJ.js} +35 -14
- package/dist/chunk-MBWF36DJ.js.map +1 -0
- package/dist/{chunk-CXDMZT45.cjs → chunk-NPHZUCF3.cjs} +25 -2
- package/dist/chunk-NPHZUCF3.cjs.map +1 -0
- package/dist/chunk-NV2CWBI2.cjs +290 -0
- package/dist/chunk-NV2CWBI2.cjs.map +1 -0
- package/dist/{chunk-7KN6J7XV.cjs → chunk-OMAACCFW.cjs} +7 -7
- package/dist/{chunk-7KN6J7XV.cjs.map → chunk-OMAACCFW.cjs.map} +1 -1
- package/dist/{chunk-YJP6DUFO.cjs → chunk-PKD3JLS2.cjs} +6 -6
- package/dist/{chunk-YJP6DUFO.cjs.map → chunk-PKD3JLS2.cjs.map} +1 -1
- package/dist/{chunk-5H7SAEQO.js → chunk-QKFJDQEK.js} +3 -3
- package/dist/{chunk-5H7SAEQO.js.map → chunk-QKFJDQEK.js.map} +1 -1
- package/dist/{chunk-XJTFZLWH.cjs → chunk-QO6PRHDX.cjs} +2 -2
- package/dist/{chunk-XJTFZLWH.cjs.map → chunk-QO6PRHDX.cjs.map} +1 -1
- package/dist/{chunk-OHDIJOGG.js → chunk-RD3JDFYJ.js} +3 -3
- package/dist/{chunk-OHDIJOGG.js.map → chunk-RD3JDFYJ.js.map} +1 -1
- package/dist/{chunk-4SM3I7WE.cjs → chunk-RXPEZXAB.cjs} +67 -38
- package/dist/chunk-RXPEZXAB.cjs.map +1 -0
- package/dist/{chunk-VTR2KGLY.cjs → chunk-S3BCHPXT.cjs} +9 -9
- package/dist/{chunk-VTR2KGLY.cjs.map → chunk-S3BCHPXT.cjs.map} +1 -1
- package/dist/{chunk-KU3XRHWA.js → chunk-TZX76ZNZ.js} +67 -38
- package/dist/chunk-TZX76ZNZ.js.map +1 -0
- package/dist/{chunk-DGRXAIWK.js → chunk-UHHYJ42E.js} +25 -2
- package/dist/chunk-UHHYJ42E.js.map +1 -0
- package/dist/{chunk-KATEJG2F.js → chunk-VMQZAOFM.js} +3 -3
- package/dist/{chunk-KATEJG2F.js.map → chunk-VMQZAOFM.js.map} +1 -1
- package/dist/{chunk-Q7G56ZIO.js → chunk-WUBMDOTG.js} +3 -3
- package/dist/{chunk-Q7G56ZIO.js.map → chunk-WUBMDOTG.js.map} +1 -1
- package/dist/chunk-XCP454Q6.js +263 -0
- package/dist/chunk-XCP454Q6.js.map +1 -0
- package/dist/{chunk-I3DQXUSC.js → chunk-Y6DFMDMH.js} +3 -3
- package/dist/{chunk-I3DQXUSC.js.map → chunk-Y6DFMDMH.js.map} +1 -1
- package/dist/{chunk-ODYQYLO2.js → chunk-YSEMAI4I.js} +8 -4
- package/dist/chunk-YSEMAI4I.js.map +1 -0
- package/dist/components/AlertDialog/index.cjs +4 -4
- package/dist/components/AlertDialog/index.js +3 -3
- package/dist/components/Collapsible/index.cjs +6 -4
- package/dist/components/Collapsible/index.js +3 -1
- package/dist/components/Dropdown/index.cjs +9 -8
- package/dist/components/Dropdown/index.js +2 -1
- package/dist/components/KeyboardShortcutsOverlay/index.cjs +5 -5
- package/dist/components/KeyboardShortcutsOverlay/index.js +3 -3
- package/dist/components/MediaEditor/index.cjs +8 -8
- package/dist/components/MediaEditor/index.js +3 -3
- package/dist/components/Modal/index.cjs +10 -10
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/RichTextEditor/index.cjs +6 -5
- package/dist/components/RichTextEditor/index.js +3 -2
- package/dist/components/SuperChat/index.cjs +14 -13
- package/dist/components/SuperChat/index.cjs.map +1 -1
- package/dist/components/SuperChat/index.js +3 -2
- package/dist/components/SuperChat/index.js.map +1 -1
- package/dist/esheet.cjs +6 -6
- package/dist/esheet.js +3 -3
- package/dist/hooks/index.cjs +13 -13
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +1339 -1224
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -4
- package/dist/index.d.ts +19 -4
- package/dist/index.js +998 -884
- package/dist/index.js.map +1 -1
- package/dist/motion.cjs +7 -7
- package/dist/motion.d.cts +1 -1
- package/dist/motion.d.ts +1 -1
- package/dist/motion.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-4SM3I7WE.cjs.map +0 -1
- package/dist/chunk-6XDPJWSC.cjs.map +0 -1
- package/dist/chunk-BJKAVWED.js.map +0 -1
- package/dist/chunk-BN75TLUN.cjs +0 -163
- package/dist/chunk-BN75TLUN.cjs.map +0 -1
- package/dist/chunk-CXDMZT45.cjs.map +0 -1
- package/dist/chunk-DGRXAIWK.js.map +0 -1
- package/dist/chunk-IUDY6S7I.cjs.map +0 -1
- package/dist/chunk-KU3XRHWA.js.map +0 -1
- package/dist/chunk-ODYQYLO2.js.map +0 -1
- package/dist/chunk-WYMO3IIK.js +0 -136
- package/dist/chunk-WYMO3IIK.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkAUOTJQGO_cjs = require('../../chunk-AUOTJQGO.cjs');
|
|
4
|
+
require('../../chunk-NV2CWBI2.cjs');
|
|
5
5
|
require('../../chunk-S5RVSXDV.cjs');
|
|
6
6
|
require('../../chunk-NNEFAUHV.cjs');
|
|
7
7
|
require('../../chunk-FHY3K6PL.cjs');
|
|
@@ -11,35 +11,35 @@ require('../../chunk-SCV7C55E.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "Modal", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkAUOTJQGO_cjs.Modal; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "ModalBody", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkAUOTJQGO_cjs.ModalBody; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ModalClose", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkAUOTJQGO_cjs.ModalClose; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ModalFooter", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkAUOTJQGO_cjs.ModalFooter; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "ModalHeader", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkAUOTJQGO_cjs.ModalHeader; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ModalTitle", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkAUOTJQGO_cjs.ModalTitle; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "modalContentVariants", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkAUOTJQGO_cjs.modalContentVariants; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "modalOverlayVariants", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkAUOTJQGO_cjs.modalOverlayVariants; }
|
|
43
43
|
});
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
45
45
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from '../../chunk-WUBMDOTG.js';
|
|
2
|
+
import '../../chunk-XCP454Q6.js';
|
|
3
3
|
import '../../chunk-TQONQSJO.js';
|
|
4
4
|
import '../../chunk-4SMSH4OY.js';
|
|
5
5
|
import '../../chunk-T4ME7QCT.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOMAACCFW_cjs = require('../../chunk-OMAACCFW.cjs');
|
|
4
4
|
require('../../chunk-YP5T6NZD.cjs');
|
|
5
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-RXPEZXAB.cjs');
|
|
6
6
|
var chunkC7RVKV25_cjs = require('../../chunk-C7RVKV25.cjs');
|
|
7
7
|
require('../../chunk-I44YNYI6.cjs');
|
|
8
8
|
require('../../chunk-Z5S5JEJD.cjs');
|
|
9
9
|
require('../../chunk-IINZWUGK.cjs');
|
|
10
|
+
require('../../chunk-NV2CWBI2.cjs');
|
|
10
11
|
require('../../chunk-S5RVSXDV.cjs');
|
|
11
12
|
require('../../chunk-FHY3K6PL.cjs');
|
|
12
13
|
require('../../chunk-FSGEDDF2.cjs');
|
|
@@ -16,15 +17,15 @@ require('../../chunk-AOHJILLU.cjs');
|
|
|
16
17
|
|
|
17
18
|
Object.defineProperty(exports, "RichTextEditor", {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkOMAACCFW_cjs.RichTextEditor; }
|
|
20
21
|
});
|
|
21
22
|
Object.defineProperty(exports, "convertAngleBracketsToMustache", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkOMAACCFW_cjs.convertAngleBracketsToMustache; }
|
|
24
25
|
});
|
|
25
26
|
Object.defineProperty(exports, "processDictation", {
|
|
26
27
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkOMAACCFW_cjs.processDictation; }
|
|
28
29
|
});
|
|
29
30
|
Object.defineProperty(exports, "isHtmlEmpty", {
|
|
30
31
|
enumerable: true,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-
|
|
1
|
+
export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from '../../chunk-QKFJDQEK.js';
|
|
2
2
|
import '../../chunk-OQWZYKJM.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-TZX76ZNZ.js';
|
|
4
4
|
export { isHtmlEmpty } from '../../chunk-ERLPVXOV.js';
|
|
5
5
|
import '../../chunk-6NZXWKUE.js';
|
|
6
6
|
import '../../chunk-3IMM2PM4.js';
|
|
7
7
|
import '../../chunk-KREUYVMZ.js';
|
|
8
|
+
import '../../chunk-XCP454Q6.js';
|
|
8
9
|
import '../../chunk-TQONQSJO.js';
|
|
9
10
|
import '../../chunk-T4ME7QCT.js';
|
|
10
11
|
import '../../chunk-62ZOA6PX.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkJFLC7SHM_cjs = require('../../chunk-JFLC7SHM.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkB67VPJCZ_cjs = require('../../chunk-B67VPJCZ.cjs');
|
|
5
5
|
require('../../chunk-5VXRKOPR.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkRXPEZXAB_cjs = require('../../chunk-RXPEZXAB.cjs');
|
|
7
7
|
var chunkJEIW7BSV_cjs = require('../../chunk-JEIW7BSV.cjs');
|
|
8
8
|
require('../../chunk-VBWRH4UW.cjs');
|
|
9
9
|
require('../../chunk-PJ6CC53R.cjs');
|
|
@@ -11,6 +11,7 @@ require('../../chunk-I44YNYI6.cjs');
|
|
|
11
11
|
require('../../chunk-Z5S5JEJD.cjs');
|
|
12
12
|
require('../../chunk-L7L5S2HO.cjs');
|
|
13
13
|
var chunkYVL3XATO_cjs = require('../../chunk-YVL3XATO.cjs');
|
|
14
|
+
require('../../chunk-NV2CWBI2.cjs');
|
|
14
15
|
var chunkS5RVSXDV_cjs = require('../../chunk-S5RVSXDV.cjs');
|
|
15
16
|
require('../../chunk-FHY3K6PL.cjs');
|
|
16
17
|
require('../../chunk-FSGEDDF2.cjs');
|
|
@@ -403,7 +404,7 @@ function ParticipantAvatar({
|
|
|
403
404
|
src: participant?.avatar,
|
|
404
405
|
alt: "",
|
|
405
406
|
name: participant?.name ?? "?",
|
|
406
|
-
fallback: isAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
407
|
+
fallback: isAgent ? /* @__PURE__ */ jsxRuntime.jsx(chunkB67VPJCZ_cjs.SparklesIcon, { size: "sm" }) : void 0,
|
|
407
408
|
style: { backgroundColor },
|
|
408
409
|
"aria-hidden": "true",
|
|
409
410
|
className: "shrink-0"
|
|
@@ -544,7 +545,7 @@ function ActionMenuItem({
|
|
|
544
545
|
item,
|
|
545
546
|
onSelect
|
|
546
547
|
}) {
|
|
547
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
548
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkRXPEZXAB_cjs.DropdownItem, { onClick: () => onSelect(item.onSelect), children: item.description ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex flex-col items-start", children: [
|
|
548
549
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: item.label }),
|
|
549
550
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] font-normal text-neutral-400", children: item.description })
|
|
550
551
|
] }) : item.label });
|
|
@@ -576,7 +577,7 @@ function FooterActionButton({
|
|
|
576
577
|
);
|
|
577
578
|
if (!action.submenu) return button;
|
|
578
579
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
579
|
-
|
|
580
|
+
chunkRXPEZXAB_cjs.Dropdown,
|
|
580
581
|
{
|
|
581
582
|
open,
|
|
582
583
|
onOpenChange: setOpen,
|
|
@@ -635,7 +636,7 @@ function MessageOverflowMenu({
|
|
|
635
636
|
footerVisible && !open && "pointer-events-none invisible opacity-0"
|
|
636
637
|
),
|
|
637
638
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
638
|
-
|
|
639
|
+
chunkRXPEZXAB_cjs.Dropdown,
|
|
639
640
|
{
|
|
640
641
|
open,
|
|
641
642
|
onOpenChange: setOpen,
|
|
@@ -654,9 +655,9 @@ function MessageOverflowMenu({
|
|
|
654
655
|
(action) => action.submenu ? (
|
|
655
656
|
// Actions with variants collapse to just their submenu — a
|
|
656
657
|
// top-level default item would duplicate the flyout's options.
|
|
657
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
658
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRXPEZXAB_cjs.DropdownSubmenu, { label: action.submenu.label, children: action.submenu.items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(ActionMenuItem, { item, onSelect: select }, item.id)) }, action.id)
|
|
658
659
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
659
|
-
|
|
660
|
+
chunkRXPEZXAB_cjs.DropdownItem,
|
|
660
661
|
{
|
|
661
662
|
onClick: () => select(action.onSelect),
|
|
662
663
|
children: action.label
|
|
@@ -903,7 +904,7 @@ ${block.text}
|
|
|
903
904
|
}
|
|
904
905
|
),
|
|
905
906
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
906
|
-
|
|
907
|
+
chunkB67VPJCZ_cjs.ChatBubble,
|
|
907
908
|
{
|
|
908
909
|
ref: bubbleRef,
|
|
909
910
|
"data-slot": "superchat-bubble",
|
|
@@ -966,7 +967,7 @@ ${block.text}
|
|
|
966
967
|
) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
967
968
|
message.content?.map((block, i) => {
|
|
968
969
|
if (block.type === "tool_use" && block.toolCall) {
|
|
969
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
970
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkB67VPJCZ_cjs.MCPToolCallDisplay, { toolCall: block.toolCall }, i);
|
|
970
971
|
}
|
|
971
972
|
if ((block.type === "text" || block.type === "thinking") && block.text) {
|
|
972
973
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1006,7 +1007,7 @@ ${block.text}
|
|
|
1006
1007
|
streaming,
|
|
1007
1008
|
role: participant?.kind === "human" ? "user" : "assistant"
|
|
1008
1009
|
}) }),
|
|
1009
|
-
streaming && !hasBody && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1010
|
+
streaming && !hasBody && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(chunkB67VPJCZ_cjs.AITypingIndicator, {}) })
|
|
1010
1011
|
] })
|
|
1011
1012
|
}
|
|
1012
1013
|
)
|
|
@@ -1281,7 +1282,7 @@ function SuperChat({
|
|
|
1281
1282
|
onClick: () => onConversationClosed(conversation),
|
|
1282
1283
|
"aria-label": "Close conversation",
|
|
1283
1284
|
className: "rounded-md p-1 text-neutral-400 hover:bg-neutral-100 dark:hover:bg-neutral-800",
|
|
1284
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1285
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkB67VPJCZ_cjs.CloseIcon, {})
|
|
1285
1286
|
}
|
|
1286
1287
|
)
|
|
1287
1288
|
]
|
|
@@ -1339,7 +1340,7 @@ function SuperChat({
|
|
|
1339
1340
|
}
|
|
1340
1341
|
),
|
|
1341
1342
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1342
|
-
|
|
1343
|
+
chunkB67VPJCZ_cjs.ChatComposer,
|
|
1343
1344
|
{
|
|
1344
1345
|
value: draft,
|
|
1345
1346
|
onValueChange: handleDraftChange,
|