@mieweb/ui 0.9.0-dev.3 → 0.9.0-dev.4

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/index.cjs CHANGED
@@ -22,8 +22,8 @@ var chunkYGA35Z2P_cjs = require('./chunk-YGA35Z2P.cjs');
22
22
  var chunkXTHMC76F_cjs = require('./chunk-XTHMC76F.cjs');
23
23
  var chunk7RV6CAP6_cjs = require('./chunk-7RV6CAP6.cjs');
24
24
  var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
25
- var chunkB67VPJCZ_cjs = require('./chunk-B67VPJCZ.cjs');
26
- var chunkO425FKDI_cjs = require('./chunk-O425FKDI.cjs');
25
+ var chunkDH7I5HMK_cjs = require('./chunk-DH7I5HMK.cjs');
26
+ var chunk3MHG4HYB_cjs = require('./chunk-3MHG4HYB.cjs');
27
27
  var chunk5VXRKOPR_cjs = require('./chunk-5VXRKOPR.cjs');
28
28
  var chunkJTSKPDPH_cjs = require('./chunk-JTSKPDPH.cjs');
29
29
  var chunkOMAACCFW_cjs = require('./chunk-OMAACCFW.cjs');
@@ -68,7 +68,7 @@ var chunkX4LBUPJO_cjs = require('./chunk-X4LBUPJO.cjs');
68
68
  require('./chunk-AT732HC6.cjs');
69
69
  var chunkC7RVKV25_cjs = require('./chunk-C7RVKV25.cjs');
70
70
  var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
71
- var chunkNPHZUCF3_cjs = require('./chunk-NPHZUCF3.cjs');
71
+ var chunkZ3RYJWSV_cjs = require('./chunk-Z3RYJWSV.cjs');
72
72
  var chunkVROIMIHB_cjs = require('./chunk-VROIMIHB.cjs');
73
73
  var chunkNYJIXR4Y_cjs = require('./chunk-NYJIXR4Y.cjs');
74
74
  var chunkPKD3JLS2_cjs = require('./chunk-PKD3JLS2.cjs');
@@ -1404,7 +1404,7 @@ function AIEmptyState({
1404
1404
  {
1405
1405
  "data-slot": "ai-empty-state-icon",
1406
1406
  className: "bg-primary-800 dark:bg-primary-800 flex h-16 w-16 items-center justify-center rounded-full text-white",
1407
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkB67VPJCZ_cjs.SparklesIcon, { size: "lg", className: "h-8 w-8" })
1407
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkDH7I5HMK_cjs.SparklesIcon, { size: "lg", className: "h-8 w-8" })
1408
1408
  }
1409
1409
  );
1410
1410
  const suggestionsAction = suggestions && suggestions.length > 0 && onSuggestionSelect ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6", children: [
@@ -1412,7 +1412,7 @@ function AIEmptyState({
1412
1412
  /* @__PURE__ */ jsxRuntime.jsx(SuggestedActions, { actions: suggestions, onSelect: onSuggestionSelect })
1413
1413
  ] }) : void 0;
1414
1414
  return /* @__PURE__ */ jsxRuntime.jsx(
1415
- chunkO425FKDI_cjs.EmptyState,
1415
+ chunk3MHG4HYB_cjs.EmptyState,
1416
1416
  {
1417
1417
  title,
1418
1418
  description,
@@ -1517,7 +1517,7 @@ function AIChat({
1517
1517
  {
1518
1518
  "data-slot": "ai-chat-header-icon",
1519
1519
  className: "bg-primary-800 dark:bg-primary-800 flex h-8 w-8 items-center justify-center rounded-full text-white",
1520
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkB67VPJCZ_cjs.SparklesIcon, { size: "sm" })
1520
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkDH7I5HMK_cjs.SparklesIcon, { size: "sm" })
1521
1521
  }
1522
1522
  ),
1523
1523
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
@@ -1547,7 +1547,7 @@ function AIChat({
1547
1547
  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",
1548
1548
  title: "Clear chat",
1549
1549
  "aria-label": "Clear chat",
1550
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkB67VPJCZ_cjs.RefreshIcon, {})
1550
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkDH7I5HMK_cjs.RefreshIcon, {})
1551
1551
  }
1552
1552
  ),
1553
1553
  onClose && /* @__PURE__ */ jsxRuntime.jsx(
@@ -1558,7 +1558,7 @@ function AIChat({
1558
1558
  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",
1559
1559
  title: "Close chat",
1560
1560
  "aria-label": "Close chat",
1561
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkB67VPJCZ_cjs.CloseIcon, {})
1561
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkDH7I5HMK_cjs.CloseIcon, {})
1562
1562
  }
1563
1563
  )
1564
1564
  ] })
@@ -1578,7 +1578,7 @@ function AIChat({
1578
1578
  onSuggestionSelect: handleSuggestionSelect
1579
1579
  }
1580
1580
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: messages.map((message) => /* @__PURE__ */ jsxRuntime.jsx(
1581
- chunkB67VPJCZ_cjs.AIMessageDisplay,
1581
+ chunkDH7I5HMK_cjs.AIMessageDisplay,
1582
1582
  {
1583
1583
  message,
1584
1584
  userName,
@@ -1605,7 +1605,7 @@ function AIChat({
1605
1605
  }
1606
1606
  ) }),
1607
1607
  /* @__PURE__ */ jsxRuntime.jsx(
1608
- chunkO425FKDI_cjs.MessageComposer,
1608
+ chunk3MHG4HYB_cjs.MessageComposer,
1609
1609
  {
1610
1610
  onSend: handleSend,
1611
1611
  placeholder: inputPlaceholder,
@@ -2096,7 +2096,7 @@ function OzwellChat({
2096
2096
  setMessagesMenuOpen(false);
2097
2097
  };
2098
2098
  const modelSelector = showModelSelector && models ? /* @__PURE__ */ jsxRuntime.jsx(
2099
- chunkB67VPJCZ_cjs.ComposerModelSelector,
2099
+ chunkDH7I5HMK_cjs.ComposerModelSelector,
2100
2100
  {
2101
2101
  models: models.options,
2102
2102
  value: models.value,
@@ -4921,7 +4921,7 @@ function AIChatTrigger({
4921
4921
  children: badge > 9 ? "9+" : badge
4922
4922
  }
4923
4923
  ),
4924
- /* @__PURE__ */ jsxRuntime.jsx(chunkB67VPJCZ_cjs.SparklesIcon, { size: "lg" })
4924
+ /* @__PURE__ */ jsxRuntime.jsx(chunkDH7I5HMK_cjs.SparklesIcon, { size: "lg" })
4925
4925
  ]
4926
4926
  }
4927
4927
  );
@@ -6497,7 +6497,7 @@ function ReconciliationProposalRow({
6497
6497
  children: [
6498
6498
  /* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "text-muted-foreground flex items-center gap-1 text-[11px] tracking-wide uppercase", children: [
6499
6499
  /* @__PURE__ */ jsxRuntime.jsx(
6500
- chunkB67VPJCZ_cjs.SparklesIcon,
6500
+ chunkDH7I5HMK_cjs.SparklesIcon,
6501
6501
  {
6502
6502
  size: "sm",
6503
6503
  className: "text-primary-700 dark:text-primary-400"
@@ -6553,7 +6553,7 @@ function SourcePill({ source }) {
6553
6553
  "text-muted-foreground"
6554
6554
  ),
6555
6555
  children: [
6556
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkB67VPJCZ_cjs.SparklesIcon, { size: "sm" }) }),
6556
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkDH7I5HMK_cjs.SparklesIcon, { size: "sm" }) }),
6557
6557
  source.thumbnailUrl && /* @__PURE__ */ jsxRuntime.jsx(
6558
6558
  "img",
6559
6559
  {
@@ -44493,207 +44493,207 @@ Object.defineProperty(exports, "spinnerVariants", {
44493
44493
  });
44494
44494
  Object.defineProperty(exports, "AILogoIcon", {
44495
44495
  enumerable: true,
44496
- get: function () { return chunkB67VPJCZ_cjs.AILogoIcon; }
44496
+ get: function () { return chunkDH7I5HMK_cjs.AILogoIcon; }
44497
44497
  });
44498
44498
  Object.defineProperty(exports, "AIMessageDisplay", {
44499
44499
  enumerable: true,
44500
- get: function () { return chunkB67VPJCZ_cjs.AIMessageDisplay; }
44500
+ get: function () { return chunkDH7I5HMK_cjs.AIMessageDisplay; }
44501
44501
  });
44502
44502
  Object.defineProperty(exports, "AITypingIndicator", {
44503
44503
  enumerable: true,
44504
- get: function () { return chunkB67VPJCZ_cjs.AITypingIndicator; }
44504
+ get: function () { return chunkDH7I5HMK_cjs.AITypingIndicator; }
44505
44505
  });
44506
44506
  Object.defineProperty(exports, "ChatBubble", {
44507
44507
  enumerable: true,
44508
- get: function () { return chunkB67VPJCZ_cjs.ChatBubble; }
44508
+ get: function () { return chunkDH7I5HMK_cjs.ChatBubble; }
44509
44509
  });
44510
44510
  Object.defineProperty(exports, "ChatComposer", {
44511
44511
  enumerable: true,
44512
- get: function () { return chunkB67VPJCZ_cjs.ChatComposer; }
44512
+ get: function () { return chunkDH7I5HMK_cjs.ChatComposer; }
44513
44513
  });
44514
44514
  Object.defineProperty(exports, "ChevronIcon", {
44515
44515
  enumerable: true,
44516
- get: function () { return chunkB67VPJCZ_cjs.ChevronIcon; }
44516
+ get: function () { return chunkDH7I5HMK_cjs.ChevronIcon; }
44517
44517
  });
44518
44518
  Object.defineProperty(exports, "CloseIcon", {
44519
44519
  enumerable: true,
44520
- get: function () { return chunkB67VPJCZ_cjs.CloseIcon; }
44520
+ get: function () { return chunkDH7I5HMK_cjs.CloseIcon; }
44521
44521
  });
44522
44522
  Object.defineProperty(exports, "CollapsiblePill", {
44523
44523
  enumerable: true,
44524
- get: function () { return chunkB67VPJCZ_cjs.CollapsiblePill; }
44524
+ get: function () { return chunkDH7I5HMK_cjs.CollapsiblePill; }
44525
44525
  });
44526
44526
  Object.defineProperty(exports, "ComposerModelSelector", {
44527
44527
  enumerable: true,
44528
- get: function () { return chunkB67VPJCZ_cjs.ComposerModelSelector; }
44528
+ get: function () { return chunkDH7I5HMK_cjs.ComposerModelSelector; }
44529
44529
  });
44530
44530
  Object.defineProperty(exports, "MCPToolCallDisplay", {
44531
44531
  enumerable: true,
44532
- get: function () { return chunkB67VPJCZ_cjs.MCPToolCallDisplay; }
44532
+ get: function () { return chunkDH7I5HMK_cjs.MCPToolCallDisplay; }
44533
44533
  });
44534
44534
  Object.defineProperty(exports, "MessageAvatar", {
44535
44535
  enumerable: true,
44536
- get: function () { return chunkB67VPJCZ_cjs.MessageAvatar; }
44536
+ get: function () { return chunkDH7I5HMK_cjs.MessageAvatar; }
44537
44537
  });
44538
44538
  Object.defineProperty(exports, "RefreshIcon", {
44539
44539
  enumerable: true,
44540
- get: function () { return chunkB67VPJCZ_cjs.RefreshIcon; }
44540
+ get: function () { return chunkDH7I5HMK_cjs.RefreshIcon; }
44541
44541
  });
44542
44542
  Object.defineProperty(exports, "ResourceLink", {
44543
44543
  enumerable: true,
44544
- get: function () { return chunkB67VPJCZ_cjs.ResourceLink; }
44544
+ get: function () { return chunkDH7I5HMK_cjs.ResourceLink; }
44545
44545
  });
44546
44546
  Object.defineProperty(exports, "SendIcon", {
44547
44547
  enumerable: true,
44548
- get: function () { return chunkB67VPJCZ_cjs.SendIcon; }
44548
+ get: function () { return chunkDH7I5HMK_cjs.SendIcon; }
44549
44549
  });
44550
44550
  Object.defineProperty(exports, "SparklesIcon", {
44551
44551
  enumerable: true,
44552
- get: function () { return chunkB67VPJCZ_cjs.SparklesIcon; }
44552
+ get: function () { return chunkDH7I5HMK_cjs.SparklesIcon; }
44553
44553
  });
44554
44554
  Object.defineProperty(exports, "SpinnerIcon", {
44555
44555
  enumerable: true,
44556
- get: function () { return chunkB67VPJCZ_cjs.SpinnerIcon; }
44556
+ get: function () { return chunkDH7I5HMK_cjs.SpinnerIcon; }
44557
44557
  });
44558
44558
  Object.defineProperty(exports, "ToolStatusIcon", {
44559
44559
  enumerable: true,
44560
- get: function () { return chunkB67VPJCZ_cjs.ToolStatusIcon; }
44560
+ get: function () { return chunkDH7I5HMK_cjs.ToolStatusIcon; }
44561
44561
  });
44562
44562
  Object.defineProperty(exports, "getToolIcon", {
44563
44563
  enumerable: true,
44564
- get: function () { return chunkB67VPJCZ_cjs.getToolIcon; }
44564
+ get: function () { return chunkDH7I5HMK_cjs.getToolIcon; }
44565
44565
  });
44566
44566
  Object.defineProperty(exports, "AttachmentPreview", {
44567
44567
  enumerable: true,
44568
- get: function () { return chunkO425FKDI_cjs.AttachmentPreview; }
44568
+ get: function () { return chunk3MHG4HYB_cjs.AttachmentPreview; }
44569
44569
  });
44570
44570
  Object.defineProperty(exports, "CharacterCounter", {
44571
44571
  enumerable: true,
44572
- get: function () { return chunkO425FKDI_cjs.CharacterCounter; }
44572
+ get: function () { return chunk3MHG4HYB_cjs.CharacterCounter; }
44573
44573
  });
44574
44574
  Object.defineProperty(exports, "ConversationHeader", {
44575
44575
  enumerable: true,
44576
- get: function () { return chunkO425FKDI_cjs.ConversationHeader; }
44576
+ get: function () { return chunk3MHG4HYB_cjs.ConversationHeader; }
44577
44577
  });
44578
44578
  Object.defineProperty(exports, "ConversationListItem", {
44579
44579
  enumerable: true,
44580
- get: function () { return chunkO425FKDI_cjs.ConversationListItem; }
44580
+ get: function () { return chunk3MHG4HYB_cjs.ConversationListItem; }
44581
44581
  });
44582
44582
  Object.defineProperty(exports, "ConversationListSkeleton", {
44583
44583
  enumerable: true,
44584
- get: function () { return chunkO425FKDI_cjs.ConversationListSkeleton; }
44584
+ get: function () { return chunk3MHG4HYB_cjs.ConversationListSkeleton; }
44585
44585
  });
44586
44586
  Object.defineProperty(exports, "DateSeparator", {
44587
44587
  enumerable: true,
44588
- get: function () { return chunkO425FKDI_cjs.DateSeparator; }
44588
+ get: function () { return chunk3MHG4HYB_cjs.DateSeparator; }
44589
44589
  });
44590
44590
  Object.defineProperty(exports, "EmptyState", {
44591
44591
  enumerable: true,
44592
- get: function () { return chunkO425FKDI_cjs.EmptyState; }
44592
+ get: function () { return chunk3MHG4HYB_cjs.EmptyState; }
44593
44593
  });
44594
44594
  Object.defineProperty(exports, "LightboxModal", {
44595
44595
  enumerable: true,
44596
- get: function () { return chunkO425FKDI_cjs.LightboxModal; }
44596
+ get: function () { return chunk3MHG4HYB_cjs.LightboxModal; }
44597
44597
  });
44598
44598
  Object.defineProperty(exports, "LoadMoreButton", {
44599
44599
  enumerable: true,
44600
- get: function () { return chunkO425FKDI_cjs.LoadMoreButton; }
44600
+ get: function () { return chunk3MHG4HYB_cjs.LoadMoreButton; }
44601
44601
  });
44602
44602
  Object.defineProperty(exports, "MessageBubble", {
44603
44603
  enumerable: true,
44604
- get: function () { return chunkO425FKDI_cjs.MessageBubble; }
44604
+ get: function () { return chunk3MHG4HYB_cjs.MessageBubble; }
44605
44605
  });
44606
44606
  Object.defineProperty(exports, "MessageComposer", {
44607
44607
  enumerable: true,
44608
- get: function () { return chunkO425FKDI_cjs.MessageComposer; }
44608
+ get: function () { return chunk3MHG4HYB_cjs.MessageComposer; }
44609
44609
  });
44610
44610
  Object.defineProperty(exports, "MessageList", {
44611
44611
  enumerable: true,
44612
- get: function () { return chunkO425FKDI_cjs.MessageList; }
44612
+ get: function () { return chunk3MHG4HYB_cjs.MessageList; }
44613
44613
  });
44614
44614
  Object.defineProperty(exports, "MessageStatusIcon", {
44615
44615
  enumerable: true,
44616
- get: function () { return chunkO425FKDI_cjs.MessageStatusIcon; }
44616
+ get: function () { return chunk3MHG4HYB_cjs.MessageStatusIcon; }
44617
44617
  });
44618
44618
  Object.defineProperty(exports, "MessageThread", {
44619
44619
  enumerable: true,
44620
- get: function () { return chunkO425FKDI_cjs.MessageThread; }
44620
+ get: function () { return chunk3MHG4HYB_cjs.MessageThread; }
44621
44621
  });
44622
44622
  Object.defineProperty(exports, "MessagingSplitView", {
44623
44623
  enumerable: true,
44624
- get: function () { return chunkO425FKDI_cjs.MessagingSplitView; }
44624
+ get: function () { return chunk3MHG4HYB_cjs.MessagingSplitView; }
44625
44625
  });
44626
44626
  Object.defineProperty(exports, "ReadReceiptIndicator", {
44627
44627
  enumerable: true,
44628
- get: function () { return chunkO425FKDI_cjs.ReadReceiptIndicator; }
44628
+ get: function () { return chunk3MHG4HYB_cjs.ReadReceiptIndicator; }
44629
44629
  });
44630
44630
  Object.defineProperty(exports, "SendButton", {
44631
44631
  enumerable: true,
44632
- get: function () { return chunkO425FKDI_cjs.SendButton; }
44632
+ get: function () { return chunk3MHG4HYB_cjs.SendButton; }
44633
44633
  });
44634
44634
  Object.defineProperty(exports, "SkeletonMessage", {
44635
44635
  enumerable: true,
44636
- get: function () { return chunkO425FKDI_cjs.SkeletonMessage; }
44636
+ get: function () { return chunk3MHG4HYB_cjs.SkeletonMessage; }
44637
44637
  });
44638
44638
  Object.defineProperty(exports, "TypingIndicator", {
44639
44639
  enumerable: true,
44640
- get: function () { return chunkO425FKDI_cjs.TypingIndicator; }
44640
+ get: function () { return chunk3MHG4HYB_cjs.TypingIndicator; }
44641
44641
  });
44642
44642
  Object.defineProperty(exports, "bubbleVariants", {
44643
44643
  enumerable: true,
44644
- get: function () { return chunkO425FKDI_cjs.bubbleVariants; }
44644
+ get: function () { return chunk3MHG4HYB_cjs.bubbleVariants; }
44645
44645
  });
44646
44646
  Object.defineProperty(exports, "formatDateLabel", {
44647
44647
  enumerable: true,
44648
- get: function () { return chunkO425FKDI_cjs.formatDateLabel; }
44648
+ get: function () { return chunk3MHG4HYB_cjs.formatDateLabel; }
44649
44649
  });
44650
44650
  Object.defineProperty(exports, "formatFileSize", {
44651
44651
  enumerable: true,
44652
- get: function () { return chunkO425FKDI_cjs.formatFileSize; }
44652
+ get: function () { return chunk3MHG4HYB_cjs.formatFileSize; }
44653
44653
  });
44654
44654
  Object.defineProperty(exports, "formatLastSeen", {
44655
44655
  enumerable: true,
44656
- get: function () { return chunkO425FKDI_cjs.formatLastSeen; }
44656
+ get: function () { return chunk3MHG4HYB_cjs.formatLastSeen; }
44657
44657
  });
44658
44658
  Object.defineProperty(exports, "getConversationSubtitle", {
44659
44659
  enumerable: true,
44660
- get: function () { return chunkO425FKDI_cjs.getConversationSubtitle; }
44660
+ get: function () { return chunk3MHG4HYB_cjs.getConversationSubtitle; }
44661
44661
  });
44662
44662
  Object.defineProperty(exports, "getConversationTitle", {
44663
44663
  enumerable: true,
44664
- get: function () { return chunkO425FKDI_cjs.getConversationTitle; }
44664
+ get: function () { return chunk3MHG4HYB_cjs.getConversationTitle; }
44665
44665
  });
44666
44666
  Object.defineProperty(exports, "groupMessagesByDate", {
44667
44667
  enumerable: true,
44668
- get: function () { return chunkO425FKDI_cjs.groupMessagesByDate; }
44668
+ get: function () { return chunk3MHG4HYB_cjs.groupMessagesByDate; }
44669
44669
  });
44670
44670
  Object.defineProperty(exports, "headerVariants", {
44671
44671
  enumerable: true,
44672
- get: function () { return chunkO425FKDI_cjs.headerVariants; }
44672
+ get: function () { return chunk3MHG4HYB_cjs.headerVariants; }
44673
44673
  });
44674
44674
  Object.defineProperty(exports, "isSameSenderGroup", {
44675
44675
  enumerable: true,
44676
- get: function () { return chunkO425FKDI_cjs.isSameSenderGroup; }
44676
+ get: function () { return chunk3MHG4HYB_cjs.isSameSenderGroup; }
44677
44677
  });
44678
44678
  Object.defineProperty(exports, "sendButtonVariants", {
44679
44679
  enumerable: true,
44680
- get: function () { return chunkO425FKDI_cjs.sendButtonVariants; }
44680
+ get: function () { return chunk3MHG4HYB_cjs.sendButtonVariants; }
44681
44681
  });
44682
44682
  Object.defineProperty(exports, "useMessageScroll", {
44683
44683
  enumerable: true,
44684
- get: function () { return chunkO425FKDI_cjs.useMessageScroll; }
44684
+ get: function () { return chunk3MHG4HYB_cjs.useMessageScroll; }
44685
44685
  });
44686
44686
  Object.defineProperty(exports, "useMessages", {
44687
44687
  enumerable: true,
44688
- get: function () { return chunkO425FKDI_cjs.useMessages; }
44688
+ get: function () { return chunk3MHG4HYB_cjs.useMessages; }
44689
44689
  });
44690
44690
  Object.defineProperty(exports, "useReadReceipts", {
44691
44691
  enumerable: true,
44692
- get: function () { return chunkO425FKDI_cjs.useReadReceipts; }
44692
+ get: function () { return chunk3MHG4HYB_cjs.useReadReceipts; }
44693
44693
  });
44694
44694
  Object.defineProperty(exports, "useTypingIndicator", {
44695
44695
  enumerable: true,
44696
- get: function () { return chunkO425FKDI_cjs.useTypingIndicator; }
44696
+ get: function () { return chunk3MHG4HYB_cjs.useTypingIndicator; }
44697
44697
  });
44698
44698
  Object.defineProperty(exports, "AttachmentPicker", {
44699
44699
  enumerable: true,
@@ -45201,11 +45201,11 @@ Object.defineProperty(exports, "unformatPhoneNumber", {
45201
45201
  });
45202
45202
  Object.defineProperty(exports, "miewebUIPreset", {
45203
45203
  enumerable: true,
45204
- get: function () { return chunkNPHZUCF3_cjs.miewebUIPreset; }
45204
+ get: function () { return chunkZ3RYJWSV_cjs.miewebUIPreset; }
45205
45205
  });
45206
45206
  Object.defineProperty(exports, "miewebUISafelist", {
45207
45207
  enumerable: true,
45208
- get: function () { return chunkNPHZUCF3_cjs.miewebUISafelist; }
45208
+ get: function () { return chunkZ3RYJWSV_cjs.miewebUISafelist; }
45209
45209
  });
45210
45210
  Object.defineProperty(exports, "Accordion", {
45211
45211
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -3326,6 +3326,20 @@ interface ChatComposerProps {
3326
3326
  * Omit to disable mentions entirely (default).
3327
3327
  */
3328
3328
  mentionOptions?: MentionOption[];
3329
+ /**
3330
+ * Message being replied to. When set, a dismissible preview row renders at
3331
+ * the top of the card, the input is focused, and the sent `NewMessage`
3332
+ * carries `replyToId`. The host owns the state: sending does not clear it
3333
+ * (clear it in `onSend`), and the preview's close button only calls
3334
+ * `onCancelReply`. Same contract as `MessageComposer`.
3335
+ */
3336
+ replyTo?: {
3337
+ id: string;
3338
+ content: string;
3339
+ senderName: string;
3340
+ } | null;
3341
+ /** Called when the reply preview's cancel button is clicked. */
3342
+ onCancelReply?: () => void;
3329
3343
  /** Show the built-in mic button. @default false */
3330
3344
  showMic?: boolean;
3331
3345
  /** Called when the built-in mic button is clicked. */
@@ -3389,6 +3403,10 @@ interface ChatComposerProps {
3389
3403
  mentionListLabel?: string;
3390
3404
  /** Overlay text shown while dragging files over the composer. @default 'Drop files here' */
3391
3405
  dropFilesLabel?: string;
3406
+ /** Prefix shown before the sender name in the reply preview. @default 'Replying to' */
3407
+ replyingToLabel?: string;
3408
+ /** Accessible label for the reply preview's cancel button. @default 'Cancel reply' */
3409
+ cancelReplyLabel?: string;
3392
3410
  className?: string;
3393
3411
  }
3394
3412
  /**
package/dist/index.d.ts CHANGED
@@ -3326,6 +3326,20 @@ interface ChatComposerProps {
3326
3326
  * Omit to disable mentions entirely (default).
3327
3327
  */
3328
3328
  mentionOptions?: MentionOption[];
3329
+ /**
3330
+ * Message being replied to. When set, a dismissible preview row renders at
3331
+ * the top of the card, the input is focused, and the sent `NewMessage`
3332
+ * carries `replyToId`. The host owns the state: sending does not clear it
3333
+ * (clear it in `onSend`), and the preview's close button only calls
3334
+ * `onCancelReply`. Same contract as `MessageComposer`.
3335
+ */
3336
+ replyTo?: {
3337
+ id: string;
3338
+ content: string;
3339
+ senderName: string;
3340
+ } | null;
3341
+ /** Called when the reply preview's cancel button is clicked. */
3342
+ onCancelReply?: () => void;
3329
3343
  /** Show the built-in mic button. @default false */
3330
3344
  showMic?: boolean;
3331
3345
  /** Called when the built-in mic button is clicked. */
@@ -3389,6 +3403,10 @@ interface ChatComposerProps {
3389
3403
  mentionListLabel?: string;
3390
3404
  /** Overlay text shown while dragging files over the composer. @default 'Drop files here' */
3391
3405
  dropFilesLabel?: string;
3406
+ /** Prefix shown before the sender name in the reply preview. @default 'Replying to' */
3407
+ replyingToLabel?: string;
3408
+ /** Accessible label for the reply preview's cancel button. @default 'Cancel reply' */
3409
+ cancelReplyLabel?: string;
3392
3410
  className?: string;
3393
3411
  }
3394
3412
  /**
package/dist/index.js CHANGED
@@ -25,10 +25,10 @@ export { SourceTip } from './chunk-PHK4XBO5.js';
25
25
  export { Sparkline } from './chunk-CG4ZKJLE.js';
26
26
  import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
27
27
  export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-UA7E7PDS.js';
28
- import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay, ComposerModelSelector } from './chunk-VMQZAOFM.js';
29
- export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChatComposer, ChevronIcon, CloseIcon, CollapsiblePill, ComposerModelSelector, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-VMQZAOFM.js';
30
- import { MessageComposer, EmptyState } from './chunk-RPG2ZP2T.js';
31
- export { AttachmentPreview, CharacterCounter, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageComposer, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SendButton, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, sendButtonVariants, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-RPG2ZP2T.js';
28
+ import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay, ComposerModelSelector } from './chunk-DG6LIEUJ.js';
29
+ export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChatComposer, ChevronIcon, CloseIcon, CollapsiblePill, ComposerModelSelector, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-DG6LIEUJ.js';
30
+ import { MessageComposer, EmptyState } from './chunk-USZ3VEPE.js';
31
+ export { AttachmentPreview, CharacterCounter, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageComposer, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SendButton, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, sendButtonVariants, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-USZ3VEPE.js';
32
32
  export { AttachmentPicker, AttachmentPreviewItem, CameraButton, DragDropZone, generateAttachmentId, getFileType, validateFile } from './chunk-IF3X2WZP.js';
33
33
  import { RecordButton } from './chunk-VNWJTCBQ.js';
34
34
  export { RecordButton, formatDuration, recordButtonVariants } from './chunk-VNWJTCBQ.js';
@@ -80,7 +80,7 @@ export { CollabStatus, defaultCollabStatusLabels, useYjsCollabStatus } from './c
80
80
  import './chunk-7XUN3OQT.js';
81
81
  export { isHtmlEmpty, stripHtmlTags } from './chunk-ERLPVXOV.js';
82
82
  export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
83
- export { miewebUIPreset, miewebUISafelist } from './chunk-UHHYJ42E.js';
83
+ export { miewebUIPreset, miewebUISafelist } from './chunk-XEZCHQHB.js';
84
84
  export { Accordion } from './chunk-KRU6IGV7.js';
85
85
  import { Alert, AlertTitle, AlertDescription } from './chunk-3JWAABYI.js';
86
86
  export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-3JWAABYI.js';