@vantageos/mosaic-blocks 0.5.27-alpha → 0.5.29-alpha

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
@@ -48,7 +48,7 @@ function _interopNamespace(e) {
48
48
  var React30__namespace = /*#__PURE__*/_interopNamespace(React30);
49
49
 
50
50
  // src/version.ts
51
- var version = "0.5.27-alpha";
51
+ var version = "0.5.29-alpha";
52
52
  function Placeholder({ label = "mosaic-blocks placeholder" }) {
53
53
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-mosaic-block": "placeholder", children: label });
54
54
  }
@@ -6783,6 +6783,90 @@ function MosaicMemoryCard(props) {
6783
6783
  );
6784
6784
  }
6785
6785
  MosaicMemoryCard.displayName = "MosaicMemoryCard";
6786
+ var memoryDashboardViewToggleButtonVariants = classVarianceAuthority.cva(
6787
+ "flex items-center justify-center rounded-md border border-border px-3 py-1.5 text-sm transition-colors",
6788
+ {
6789
+ variants: {
6790
+ pressed: {
6791
+ true: "bg-foreground text-background",
6792
+ false: "bg-background text-muted-foreground hover:bg-muted"
6793
+ }
6794
+ },
6795
+ defaultVariants: {
6796
+ pressed: false
6797
+ }
6798
+ }
6799
+ );
6800
+ function cn58(...classes) {
6801
+ return classes.filter(Boolean).join(" ");
6802
+ }
6803
+ function MosaicMemoryDashboard({
6804
+ title,
6805
+ addLabel,
6806
+ onAdd,
6807
+ stats,
6808
+ searchSlot,
6809
+ viewMode,
6810
+ onViewModeChange,
6811
+ tilesViewLabel,
6812
+ rowsViewLabel,
6813
+ children,
6814
+ className
6815
+ }) {
6816
+ return /* @__PURE__ */ jsxRuntime.jsxs(
6817
+ "div",
6818
+ {
6819
+ "data-slot": "memory-dashboard",
6820
+ className: cn58(
6821
+ "flex flex-col gap-4 rounded-lg border border-border bg-background p-4",
6822
+ className
6823
+ ),
6824
+ children: [
6825
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-3", children: [
6826
+ /* @__PURE__ */ jsxRuntime.jsx("h1", { className: "font-semibold text-foreground text-lg", children: title }),
6827
+ /* @__PURE__ */ jsxRuntime.jsx(MosaicButton, { type: "button", onClick: onAdd, children: addLabel })
6828
+ ] }),
6829
+ stats.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "memory-dashboard-stats", className: "grid grid-cols-2 gap-3 sm:grid-cols-4", children: stats.map((stat) => /* @__PURE__ */ jsxRuntime.jsxs(
6830
+ "div",
6831
+ {
6832
+ "data-slot": "memory-dashboard-stat",
6833
+ className: "flex flex-col rounded-md border border-border px-3 py-2",
6834
+ children: [
6835
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold text-foreground text-lg tabular-nums", children: stat.value }),
6836
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-xs", children: stat.label })
6837
+ ]
6838
+ },
6839
+ stat.label
6840
+ )) }),
6841
+ searchSlot && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "memory-dashboard-search", className: "w-full", children: searchSlot }),
6842
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "memory-dashboard-view-toggle", className: "flex items-center gap-2 self-start", children: [
6843
+ /* @__PURE__ */ jsxRuntime.jsx(
6844
+ "button",
6845
+ {
6846
+ type: "button",
6847
+ "aria-pressed": viewMode === "tiles",
6848
+ onClick: () => onViewModeChange("tiles"),
6849
+ className: memoryDashboardViewToggleButtonVariants({ pressed: viewMode === "tiles" }),
6850
+ children: tilesViewLabel
6851
+ }
6852
+ ),
6853
+ /* @__PURE__ */ jsxRuntime.jsx(
6854
+ "button",
6855
+ {
6856
+ type: "button",
6857
+ "aria-pressed": viewMode === "rows",
6858
+ onClick: () => onViewModeChange("rows"),
6859
+ className: memoryDashboardViewToggleButtonVariants({ pressed: viewMode === "rows" }),
6860
+ children: rowsViewLabel
6861
+ }
6862
+ )
6863
+ ] }),
6864
+ /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "memory-dashboard-results", className: "flex flex-col gap-2", children })
6865
+ ]
6866
+ }
6867
+ );
6868
+ }
6869
+ MosaicMemoryDashboard.displayName = "MosaicMemoryDashboard";
6786
6870
  var templateAgentCardVariants = classVarianceAuthority.cva(
6787
6871
  [
6788
6872
  "rounded-lg border border-border bg-card text-card-foreground shadow-sm",
@@ -6806,7 +6890,7 @@ var templateAgentCardBadgeVariants = classVarianceAuthority.cva([
6806
6890
  var templateAgentCardTagVariants = classVarianceAuthority.cva([
6807
6891
  "inline-flex items-center rounded-full border border-border bg-muted px-2 py-0.5 text-xs text-muted-foreground"
6808
6892
  ]);
6809
- function cn58(...classes) {
6893
+ function cn59(...classes) {
6810
6894
  return classes.filter(Boolean).join(" ");
6811
6895
  }
6812
6896
  var MAX_VISIBLE_TAGS2 = 3;
@@ -6875,7 +6959,7 @@ function MosaicTemplateAgentCard({
6875
6959
  {
6876
6960
  ref,
6877
6961
  "data-slot": "template-agent-card",
6878
- className: cn58(templateAgentCardVariants({ selected: isSelected }), "p-4", className),
6962
+ className: cn59(templateAgentCardVariants({ selected: isSelected }), "p-4", className),
6879
6963
  children: [
6880
6964
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-start justify-between gap-2", children: /* @__PURE__ */ jsxRuntime.jsxs(
6881
6965
  "button",
@@ -6884,7 +6968,7 @@ function MosaicTemplateAgentCard({
6884
6968
  onClick: () => onSelect(template),
6885
6969
  "aria-label": selectAriaLabel,
6886
6970
  "aria-pressed": isSelected,
6887
- className: cn58(
6971
+ className: cn59(
6888
6972
  "flex min-w-0 flex-1 items-start gap-2 rounded-md text-left",
6889
6973
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
6890
6974
  ),
@@ -6898,11 +6982,11 @@ function MosaicTemplateAgentCard({
6898
6982
  }
6899
6983
  ) }),
6900
6984
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-3 flex flex-wrap items-center gap-2", children: [
6901
- template.category && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn58(templateAgentCardBadgeVariants()), children: template.category }),
6902
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn58(templateAgentCardBadgeVariants()), children: agentCountLabel }),
6903
- formatUsageCount(template.usageCount) != null && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn58(templateAgentCardBadgeVariants()), children: formatUsageCount(template.usageCount) }),
6904
- visibleTags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn58(templateAgentCardTagVariants()), children: tag }, tag)),
6905
- hiddenTagCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn58(templateAgentCardTagVariants()), children: formatMoreTags(hiddenTagCount) })
6985
+ template.category && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn59(templateAgentCardBadgeVariants()), children: template.category }),
6986
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn59(templateAgentCardBadgeVariants()), children: agentCountLabel }),
6987
+ formatUsageCount(template.usageCount) != null && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn59(templateAgentCardBadgeVariants()), children: formatUsageCount(template.usageCount) }),
6988
+ visibleTags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn59(templateAgentCardTagVariants()), children: tag }, tag)),
6989
+ hiddenTagCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn59(templateAgentCardTagVariants()), children: formatMoreTags(hiddenTagCount) })
6906
6990
  ] }),
6907
6991
  (onPreview || onDuplicate) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-3 flex items-center gap-2 border-t border-border pt-2", children: [
6908
6992
  onPreview && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -6911,7 +6995,7 @@ function MosaicTemplateAgentCard({
6911
6995
  type: "button",
6912
6996
  onClick: () => onPreview(template),
6913
6997
  "aria-label": previewAriaLabel,
6914
- className: cn58(
6998
+ className: cn59(
6915
6999
  "inline-flex h-8 flex-1 items-center justify-center gap-1.5 rounded-md text-xs font-medium",
6916
7000
  "text-muted-foreground hover:bg-accent hover:text-accent-foreground",
6917
7001
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6928,7 +7012,7 @@ function MosaicTemplateAgentCard({
6928
7012
  type: "button",
6929
7013
  onClick: () => onDuplicate(template),
6930
7014
  "aria-label": duplicateAriaLabel,
6931
- className: cn58(
7015
+ className: cn59(
6932
7016
  "inline-flex h-8 flex-1 items-center justify-center gap-1.5 rounded-md text-xs font-medium",
6933
7017
  "text-muted-foreground hover:bg-accent hover:text-accent-foreground",
6934
7018
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6945,7 +7029,7 @@ function MosaicTemplateAgentCard({
6945
7029
  );
6946
7030
  }
6947
7031
  MosaicTemplateAgentCard.displayName = "MosaicTemplateAgentCard";
6948
- function cn59(...classes) {
7032
+ function cn60(...classes) {
6949
7033
  return classes.filter(Boolean).join(" ");
6950
7034
  }
6951
7035
  function SearchIcon() {
@@ -7046,7 +7130,7 @@ function MosaicSelectorModal({
7046
7130
  value: query,
7047
7131
  onChange: (e) => setQuery(e.target.value),
7048
7132
  placeholder: searchPlaceholder,
7049
- className: cn59(
7133
+ className: cn60(
7050
7134
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
7051
7135
  "text-sm text-foreground placeholder:text-muted-foreground",
7052
7136
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7060,7 +7144,7 @@ function MosaicSelectorModal({
7060
7144
  {
7061
7145
  type: "button",
7062
7146
  onClick: () => setActiveCategory("all"),
7063
- className: cn59(
7147
+ className: cn60(
7064
7148
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
7065
7149
  activeCategory === "all" ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
7066
7150
  ),
@@ -7072,7 +7156,7 @@ function MosaicSelectorModal({
7072
7156
  {
7073
7157
  type: "button",
7074
7158
  onClick: () => setActiveCategory(cat.id),
7075
- className: cn59(
7159
+ className: cn60(
7076
7160
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
7077
7161
  activeCategory === cat.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
7078
7162
  ),
@@ -7084,7 +7168,7 @@ function MosaicSelectorModal({
7084
7168
  /* @__PURE__ */ jsxRuntime.jsxs(
7085
7169
  "div",
7086
7170
  {
7087
- className: cn59(
7171
+ className: cn60(
7088
7172
  "max-h-[50vh] overflow-y-auto",
7089
7173
  columns === 2 ? "grid grid-cols-1 gap-3 sm:grid-cols-2" : "flex flex-col gap-3"
7090
7174
  ),
@@ -7096,7 +7180,7 @@ function MosaicSelectorModal({
7096
7180
  {
7097
7181
  type: "button",
7098
7182
  onClick: () => setPendingId(item.id),
7099
- className: cn59(
7183
+ className: cn60(
7100
7184
  "group relative rounded-lg border p-4 text-left transition-all duration-150",
7101
7185
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7102
7186
  isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50"
@@ -7134,7 +7218,7 @@ function MosaicSelectorModal({
7134
7218
  {
7135
7219
  type: "button",
7136
7220
  onClick: onClose,
7137
- className: cn59(
7221
+ className: cn60(
7138
7222
  "inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
7139
7223
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
7140
7224
  "hover:bg-accent hover:text-accent-foreground",
@@ -7149,7 +7233,7 @@ function MosaicSelectorModal({
7149
7233
  type: "button",
7150
7234
  onClick: handleConfirm,
7151
7235
  disabled: !pendingItem,
7152
- className: cn59(
7236
+ className: cn60(
7153
7237
  "inline-flex min-h-[44px] items-center justify-center rounded-md",
7154
7238
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
7155
7239
  "hover:bg-primary/90",
@@ -7165,7 +7249,7 @@ function MosaicSelectorModal({
7165
7249
  );
7166
7250
  }
7167
7251
  MosaicSelectorModal.displayName = "MosaicSelectorModal";
7168
- function cn60(...classes) {
7252
+ function cn61(...classes) {
7169
7253
  return classes.filter(Boolean).join(" ");
7170
7254
  }
7171
7255
  function relativeTime(ts) {
@@ -7363,6 +7447,10 @@ function MosaicMessageCard({
7363
7447
  removeBookmarkLabel,
7364
7448
  bookmarkLabel,
7365
7449
  copyMessageLabel,
7450
+ aiSenderLabel,
7451
+ viewThreadLabel,
7452
+ likeAriaLabel,
7453
+ dislikeAriaLabel,
7366
7454
  className
7367
7455
  }) {
7368
7456
  const [bookmarked, setBookmarked] = React30__namespace.useState(message.bookmarked ?? false);
@@ -7421,7 +7509,7 @@ function MosaicMessageCard({
7421
7509
  "div",
7422
7510
  {
7423
7511
  "data-slot": "message-card",
7424
- className: cn60(
7512
+ className: cn61(
7425
7513
  "rounded-lg border border-border bg-card p-4 shadow-sm transition-shadow hover:shadow-md",
7426
7514
  compact && "p-3",
7427
7515
  message.sender.type === "user" && "bg-primary/5",
@@ -7431,7 +7519,7 @@ function MosaicMessageCard({
7431
7519
  /* @__PURE__ */ jsxRuntime.jsx(
7432
7520
  "span",
7433
7521
  {
7434
- className: cn60(
7522
+ className: cn61(
7435
7523
  "inline-flex shrink-0 items-center justify-center rounded-full text-white font-semibold",
7436
7524
  compact ? "h-8 w-8 text-xs" : "h-10 w-10 text-sm",
7437
7525
  message.sender.accentColor ?? "bg-muted text-muted-foreground"
@@ -7449,15 +7537,15 @@ function MosaicMessageCard({
7449
7537
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
7450
7538
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
7451
7539
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
7452
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn60("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
7453
- message.sender.type === "ai" && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-full bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground", children: "AI" })
7540
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn61("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
7541
+ message.sender.type === "ai" && aiSenderLabel && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-full bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground", children: aiSenderLabel })
7454
7542
  ] }),
7455
7543
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: relativeTime(message.timestamp) })
7456
7544
  ] }),
7457
7545
  /* @__PURE__ */ jsxRuntime.jsx(
7458
7546
  "p",
7459
7547
  {
7460
- className: cn60(
7548
+ className: cn61(
7461
7549
  "leading-relaxed text-foreground mb-3",
7462
7550
  compact ? "text-sm" : "text-base"
7463
7551
  ),
@@ -7472,13 +7560,13 @@ function MosaicMessageCard({
7472
7560
  {
7473
7561
  type: "button",
7474
7562
  onClick: handleLike,
7475
- className: cn60(
7563
+ className: cn61(
7476
7564
  "inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
7477
7565
  "hover:bg-accent hover:text-accent-foreground",
7478
7566
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
7479
7567
  hasLiked && "text-primary"
7480
7568
  ),
7481
- "aria-label": `Like (${likes})`,
7569
+ "aria-label": likeAriaLabel(likes),
7482
7570
  children: [
7483
7571
  icons.thumbUp,
7484
7572
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: likes })
@@ -7490,13 +7578,13 @@ function MosaicMessageCard({
7490
7578
  {
7491
7579
  type: "button",
7492
7580
  onClick: handleDislike,
7493
- className: cn60(
7581
+ className: cn61(
7494
7582
  "inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
7495
7583
  "hover:bg-accent hover:text-accent-foreground",
7496
7584
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
7497
7585
  hasDisliked && "text-destructive"
7498
7586
  ),
7499
- "aria-label": `Dislike (${dislikes})`,
7587
+ "aria-label": dislikeAriaLabel(dislikes),
7500
7588
  children: [
7501
7589
  icons.thumbDown,
7502
7590
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: dislikes })
@@ -7535,7 +7623,7 @@ function MosaicMessageCard({
7535
7623
  {
7536
7624
  type: "button",
7537
7625
  onClick: handleBookmark,
7538
- className: cn60(
7626
+ className: cn61(
7539
7627
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
7540
7628
  "hover:bg-accent hover:text-accent-foreground",
7541
7629
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -7626,7 +7714,7 @@ function MosaicMessageCard({
7626
7714
  className: "inline-flex h-7 items-center gap-1 rounded-md text-xs text-muted-foreground hover:bg-accent hover:text-accent-foreground px-2",
7627
7715
  children: [
7628
7716
  icons.msgSquare,
7629
- "View thread"
7717
+ viewThreadLabel
7630
7718
  ]
7631
7719
  }
7632
7720
  ) })
@@ -7636,7 +7724,7 @@ function MosaicMessageCard({
7636
7724
  );
7637
7725
  }
7638
7726
  MosaicMessageCard.displayName = "MosaicMessageCard";
7639
- function cn61(...classes) {
7727
+ function cn62(...classes) {
7640
7728
  return classes.filter(Boolean).join(" ");
7641
7729
  }
7642
7730
  function SearchIcon2() {
@@ -7680,13 +7768,16 @@ function MessageListDesktop({
7680
7768
  removeBookmarkLabel,
7681
7769
  bookmarkLabel,
7682
7770
  copyMessageLabel,
7771
+ viewThreadLabel,
7772
+ likeAriaLabel,
7773
+ dislikeAriaLabel,
7683
7774
  className
7684
7775
  }) {
7685
7776
  const [query, setQuery] = React30__namespace.useState("");
7686
7777
  const filtered = query ? messages.filter(
7687
7778
  (m) => m.content.toLowerCase().includes(query.toLowerCase()) || m.sender.name.toLowerCase().includes(query.toLowerCase())
7688
7779
  ) : messages;
7689
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-desktop", className: cn61("flex h-full flex-col", className), children: [
7780
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-desktop", className: cn62("flex h-full flex-col", className), children: [
7690
7781
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
7691
7782
  title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg font-semibold", children: title }),
7692
7783
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative ml-auto max-w-xs flex-1", children: [
@@ -7698,7 +7789,7 @@ function MessageListDesktop({
7698
7789
  value: query,
7699
7790
  onChange: (e) => setQuery(e.target.value),
7700
7791
  placeholder: searchPlaceholder,
7701
- className: cn61(
7792
+ className: cn62(
7702
7793
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
7703
7794
  "text-sm placeholder:text-muted-foreground",
7704
7795
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7723,7 +7814,10 @@ function MessageListDesktop({
7723
7814
  bookmarkAriaLabel,
7724
7815
  removeBookmarkLabel,
7725
7816
  bookmarkLabel,
7726
- copyMessageLabel
7817
+ copyMessageLabel,
7818
+ viewThreadLabel,
7819
+ likeAriaLabel,
7820
+ dislikeAriaLabel
7727
7821
  },
7728
7822
  message.id
7729
7823
  )),
@@ -7734,7 +7828,7 @@ function MessageListDesktop({
7734
7828
  {
7735
7829
  type: "button",
7736
7830
  onClick: onLoadMore,
7737
- className: cn61(
7831
+ className: cn62(
7738
7832
  "w-full rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
7739
7833
  "hover:bg-accent hover:text-accent-foreground",
7740
7834
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7763,9 +7857,12 @@ function MessageListMobile({
7763
7857
  removeBookmarkLabel,
7764
7858
  bookmarkLabel,
7765
7859
  copyMessageLabel,
7860
+ viewThreadLabel,
7861
+ likeAriaLabel,
7862
+ dislikeAriaLabel,
7766
7863
  className
7767
7864
  }) {
7768
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-mobile", className: cn61("flex flex-col", className), children: [
7865
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-mobile", className: cn62("flex flex-col", className), children: [
7769
7866
  title && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sticky top-0 z-10 border-b border-border bg-background px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-base font-semibold", children: title }) }),
7770
7867
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3 p-4", children: [
7771
7868
  isLoading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-20 animate-pulse rounded-lg bg-muted" }, i)) }),
@@ -7784,6 +7881,9 @@ function MessageListMobile({
7784
7881
  removeBookmarkLabel,
7785
7882
  bookmarkLabel,
7786
7883
  copyMessageLabel,
7884
+ viewThreadLabel,
7885
+ likeAriaLabel,
7886
+ dislikeAriaLabel,
7787
7887
  compact: true
7788
7888
  },
7789
7889
  message.id
@@ -7795,7 +7895,7 @@ function MessageListMobile({
7795
7895
  {
7796
7896
  type: "button",
7797
7897
  onClick: onLoadMore,
7798
- className: cn61(
7898
+ className: cn62(
7799
7899
  "w-full min-h-[44px] rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
7800
7900
  "hover:bg-accent hover:text-accent-foreground",
7801
7901
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7810,7 +7910,7 @@ function MosaicMessageList(props) {
7810
7910
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(MessageListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(MessageListDesktop, { ...props });
7811
7911
  }
7812
7912
  MosaicMessageList.displayName = "MosaicMessageList";
7813
- function cn62(...classes) {
7913
+ function cn63(...classes) {
7814
7914
  return classes.filter(Boolean).join(" ");
7815
7915
  }
7816
7916
  function ChevronLeftIcon2() {
@@ -7890,7 +7990,7 @@ function MosaicFilterSidebar({
7890
7990
  {
7891
7991
  "data-slot": "filter-sidebar",
7892
7992
  style: { width, minWidth: isCollapsed && !isMobile ? "64px" : void 0 },
7893
- className: cn62(
7993
+ className: cn63(
7894
7994
  "relative flex flex-col border-r border-border bg-card",
7895
7995
  "transition-[width] duration-200 ease-in-out",
7896
7996
  "overflow-hidden",
@@ -7902,7 +8002,7 @@ function MosaicFilterSidebar({
7902
8002
  {
7903
8003
  type: "button",
7904
8004
  onClick: onToggleCollapse,
7905
- className: cn62(
8005
+ className: cn63(
7906
8006
  "absolute -right-3 top-6 z-10 flex h-6 w-6 items-center justify-center rounded-full",
7907
8007
  "border border-border bg-background shadow-sm",
7908
8008
  "hover:bg-accent hover:text-accent-foreground",
@@ -7932,7 +8032,7 @@ function MosaicFilterSidebar({
7932
8032
  {
7933
8033
  type: "button",
7934
8034
  onClick: () => onFilterChange(f.id),
7935
- className: cn62(
8035
+ className: cn63(
7936
8036
  "flex min-h-[40px] items-center justify-between rounded-md px-3 py-2 text-sm font-medium",
7937
8037
  "transition-colors hover:bg-accent hover:text-accent-foreground",
7938
8038
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -7952,7 +8052,7 @@ function MosaicFilterSidebar({
7952
8052
  {
7953
8053
  type: "button",
7954
8054
  onClick: () => onCategoryChange(cat.id),
7955
- className: cn62(
8055
+ className: cn63(
7956
8056
  "flex min-h-[36px] items-center justify-between rounded-md px-3 py-1.5 text-sm",
7957
8057
  "transition-colors hover:bg-accent hover:text-accent-foreground",
7958
8058
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -7972,7 +8072,7 @@ function MosaicFilterSidebar({
7972
8072
  );
7973
8073
  }
7974
8074
  MosaicFilterSidebar.displayName = "MosaicFilterSidebar";
7975
- function cn63(...classes) {
8075
+ function cn64(...classes) {
7976
8076
  return classes.filter(Boolean).join(" ");
7977
8077
  }
7978
8078
  function SearchIcon3() {
@@ -8097,7 +8197,7 @@ function AgentListDesktop({
8097
8197
  value: query,
8098
8198
  onChange: (e) => setQuery(e.target.value),
8099
8199
  placeholder: searchPlaceholder,
8100
- className: cn63(
8200
+ className: cn64(
8101
8201
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
8102
8202
  "text-sm placeholder:text-muted-foreground",
8103
8203
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8110,7 +8210,7 @@ function AgentListDesktop({
8110
8210
  {
8111
8211
  type: "button",
8112
8212
  onClick: onCreateAgent,
8113
- className: cn63(
8213
+ className: cn64(
8114
8214
  "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
8115
8215
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
8116
8216
  ),
@@ -8179,7 +8279,7 @@ function AgentListMobile({
8179
8279
  {
8180
8280
  type: "button",
8181
8281
  onClick: () => setFilterOpen(true),
8182
- className: cn63(
8282
+ className: cn64(
8183
8283
  "inline-flex h-9 w-9 items-center justify-center rounded-md",
8184
8284
  "border border-border bg-background text-foreground",
8185
8285
  "hover:bg-accent hover:text-accent-foreground",
@@ -8194,7 +8294,7 @@ function AgentListMobile({
8194
8294
  {
8195
8295
  type: "button",
8196
8296
  onClick: onCreateAgent,
8197
- className: cn63(
8297
+ className: cn64(
8198
8298
  "inline-flex h-9 items-center gap-1.5 rounded-md bg-primary px-3 text-sm font-medium text-primary-foreground",
8199
8299
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
8200
8300
  ),
@@ -8215,7 +8315,7 @@ function AgentListMobile({
8215
8315
  value: query,
8216
8316
  onChange: (e) => setQuery(e.target.value),
8217
8317
  placeholder: searchPlaceholder,
8218
- className: cn63(
8318
+ className: cn64(
8219
8319
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
8220
8320
  "text-sm placeholder:text-muted-foreground",
8221
8321
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8277,7 +8377,7 @@ function MosaicAgentList(props) {
8277
8377
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(AgentListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(AgentListDesktop, { ...props });
8278
8378
  }
8279
8379
  MosaicAgentList.displayName = "MosaicAgentList";
8280
- function cn64(...classes) {
8380
+ function cn65(...classes) {
8281
8381
  return classes.filter(Boolean).join(" ");
8282
8382
  }
8283
8383
  function StarIcon({ filled }) {
@@ -8374,7 +8474,7 @@ function MarketplaceCard({
8374
8474
  "div",
8375
8475
  {
8376
8476
  "data-slot": "marketplace-card",
8377
- className: cn64(
8477
+ className: cn65(
8378
8478
  "rounded-lg border border-border bg-card p-4 transition-shadow hover:shadow-md",
8379
8479
  compact ? "flex items-center gap-3" : "flex flex-col gap-3"
8380
8480
  ),
@@ -8382,7 +8482,7 @@ function MarketplaceCard({
8382
8482
  item.icon && /* @__PURE__ */ jsxRuntime.jsx(
8383
8483
  "div",
8384
8484
  {
8385
- className: cn64(
8485
+ className: cn65(
8386
8486
  "flex shrink-0 items-center justify-center rounded-lg",
8387
8487
  compact ? "h-10 w-10" : "h-12 w-12",
8388
8488
  item.accentClass ?? "bg-muted text-muted-foreground"
@@ -8393,7 +8493,7 @@ function MarketplaceCard({
8393
8493
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
8394
8494
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-2", children: [
8395
8495
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
8396
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn64("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
8496
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn65("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
8397
8497
  item.description && !compact && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-muted-foreground line-clamp-2", children: item.description })
8398
8498
  ] }),
8399
8499
  item.price && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 rounded-full bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground", children: item.price })
@@ -8410,13 +8510,13 @@ function MarketplaceCard({
8410
8510
  ] })
8411
8511
  ] })
8412
8512
  ] }),
8413
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn64("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
8513
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn65("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
8414
8514
  onPreview && /* @__PURE__ */ jsxRuntime.jsx(
8415
8515
  "button",
8416
8516
  {
8417
8517
  type: "button",
8418
8518
  onClick: () => onPreview(item.id),
8419
- className: cn64(
8519
+ className: cn65(
8420
8520
  "inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
8421
8521
  "bg-background px-3 text-xs font-medium text-foreground",
8422
8522
  "hover:bg-accent hover:text-accent-foreground",
@@ -8430,7 +8530,7 @@ function MarketplaceCard({
8430
8530
  {
8431
8531
  type: "button",
8432
8532
  onClick: () => onUninstall(item.id),
8433
- className: cn64(
8533
+ className: cn65(
8434
8534
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
8435
8535
  "bg-secondary px-3 text-xs font-medium text-secondary-foreground",
8436
8536
  "hover:bg-secondary/80",
@@ -8443,7 +8543,7 @@ function MarketplaceCard({
8443
8543
  {
8444
8544
  type: "button",
8445
8545
  onClick: () => onInstall(item.id),
8446
- className: cn64(
8546
+ className: cn65(
8447
8547
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
8448
8548
  "bg-primary px-3 text-xs font-medium text-primary-foreground",
8449
8549
  "hover:bg-primary/90",
@@ -8515,7 +8615,7 @@ function MarketplaceListDesktop(props) {
8515
8615
  value: query,
8516
8616
  onChange: (e) => setQuery(e.target.value),
8517
8617
  placeholder: searchPlaceholder,
8518
- className: cn64(
8618
+ className: cn65(
8519
8619
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
8520
8620
  "text-sm placeholder:text-muted-foreground",
8521
8621
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8598,7 +8698,7 @@ function MarketplaceListMobile(props) {
8598
8698
  value: query,
8599
8699
  onChange: (e) => setQuery(e.target.value),
8600
8700
  placeholder: searchPlaceholder,
8601
- className: cn64(
8701
+ className: cn65(
8602
8702
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
8603
8703
  "text-sm placeholder:text-muted-foreground",
8604
8704
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8677,7 +8777,7 @@ var marketplaceCardVariants = classVarianceAuthority.cva(
8677
8777
  }
8678
8778
  }
8679
8779
  );
8680
- function cn65(...classes) {
8780
+ function cn66(...classes) {
8681
8781
  return classes.filter(Boolean).join(" ");
8682
8782
  }
8683
8783
  function MosaicMarketplaceCard({
@@ -8703,12 +8803,12 @@ function MosaicMarketplaceCard({
8703
8803
  MosaicCard,
8704
8804
  {
8705
8805
  "data-slot": "marketplace-card",
8706
- className: cn65(marketplaceCardVariants({ variant }), className),
8806
+ className: cn66(marketplaceCardVariants({ variant }), className),
8707
8807
  children: [
8708
8808
  icon && /* @__PURE__ */ jsxRuntime.jsx(
8709
8809
  "div",
8710
8810
  {
8711
- className: cn65(
8811
+ className: cn66(
8712
8812
  "flex shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground",
8713
8813
  compact ? "h-10 w-10" : "h-12 w-12"
8714
8814
  ),
@@ -8716,7 +8816,7 @@ function MosaicMarketplaceCard({
8716
8816
  }
8717
8817
  ),
8718
8818
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
8719
- /* @__PURE__ */ jsxRuntime.jsx(MosaicCardTitle, { className: cn65("truncate", compact ? "text-sm" : "text-base"), children: name }),
8819
+ /* @__PURE__ */ jsxRuntime.jsx(MosaicCardTitle, { className: cn66("truncate", compact ? "text-sm" : "text-base"), children: name }),
8720
8820
  description && /* @__PURE__ */ jsxRuntime.jsx(
8721
8821
  MosaicCardDescription,
8722
8822
  {
@@ -8738,13 +8838,13 @@ function MosaicMarketplaceCard({
8738
8838
  }
8739
8839
  )
8740
8840
  ] }),
8741
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn65("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
8841
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn66("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
8742
8842
  onPreview && /* @__PURE__ */ jsxRuntime.jsx(
8743
8843
  "button",
8744
8844
  {
8745
8845
  type: "button",
8746
8846
  onClick: () => onPreview(id),
8747
- className: cn65(
8847
+ className: cn66(
8748
8848
  "inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
8749
8849
  "bg-background px-3 text-xs font-medium text-foreground",
8750
8850
  "hover:bg-accent hover:text-accent-foreground",
@@ -8758,7 +8858,7 @@ function MosaicMarketplaceCard({
8758
8858
  {
8759
8859
  type: "button",
8760
8860
  onClick: () => onUnadopt(id),
8761
- className: cn65(
8861
+ className: cn66(
8762
8862
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
8763
8863
  "bg-secondary px-3 text-xs font-medium text-secondary-foreground",
8764
8864
  "hover:bg-secondary/80",
@@ -8771,7 +8871,7 @@ function MosaicMarketplaceCard({
8771
8871
  {
8772
8872
  type: "button",
8773
8873
  onClick: () => onAdopt(id),
8774
- className: cn65(
8874
+ className: cn66(
8775
8875
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
8776
8876
  "bg-primary px-3 text-xs font-medium text-primary-foreground",
8777
8877
  "hover:bg-primary/90",
@@ -8786,7 +8886,7 @@ function MosaicMarketplaceCard({
8786
8886
  );
8787
8887
  }
8788
8888
  MosaicMarketplaceCard.displayName = "MosaicMarketplaceCard";
8789
- function cn66(...classes) {
8889
+ function cn67(...classes) {
8790
8890
  return classes.filter(Boolean).join(" ");
8791
8891
  }
8792
8892
  function StarIcon2() {
@@ -8907,7 +9007,7 @@ function MosaicTemplateCard({
8907
9007
  type: "button",
8908
9008
  onClick: () => onSelect(template),
8909
9009
  "data-slot": "template-card",
8910
- className: cn66(
9010
+ className: cn67(
8911
9011
  "w-full text-left rounded-lg border transition-all duration-200",
8912
9012
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
8913
9013
  isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50",
@@ -9008,7 +9108,7 @@ function MosaicTemplatePreview({
9008
9108
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
9009
9109
  "span",
9010
9110
  {
9011
- className: cn66("h-2 w-2 rounded-full", agent.accentColor),
9111
+ className: cn67("h-2 w-2 rounded-full", agent.accentColor),
9012
9112
  "aria-hidden": "true"
9013
9113
  }
9014
9114
  ),
@@ -9068,7 +9168,7 @@ function MosaicAgentTeamPreview({ agents, label }) {
9068
9168
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
9069
9169
  "span",
9070
9170
  {
9071
- className: cn66("h-2.5 w-2.5 rounded-full", agent.accentColor),
9171
+ className: cn67("h-2.5 w-2.5 rounded-full", agent.accentColor),
9072
9172
  "aria-hidden": "true"
9073
9173
  }
9074
9174
  ),
@@ -9092,7 +9192,7 @@ function MosaicQuickStartPanel({
9092
9192
  scratchLabel,
9093
9193
  className
9094
9194
  }) {
9095
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-start-panel", className: cn66("flex flex-col gap-6", className), children: [
9195
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-start-panel", className: cn67("flex flex-col gap-6", className), children: [
9096
9196
  scenarios.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
9097
9197
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: scenariosTitle }),
9098
9198
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: scenarios.map((scenario) => /* @__PURE__ */ jsxRuntime.jsxs(
@@ -9100,7 +9200,7 @@ function MosaicQuickStartPanel({
9100
9200
  {
9101
9201
  type: "button",
9102
9202
  onClick: () => onSelectScenario(scenario),
9103
- className: cn66(
9203
+ className: cn67(
9104
9204
  "flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left",
9105
9205
  "hover:border-primary/50 hover:bg-primary/5",
9106
9206
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -9132,7 +9232,7 @@ function MosaicQuickStartPanel({
9132
9232
  {
9133
9233
  type: "button",
9134
9234
  onClick: () => onSelectPreset(preset),
9135
- className: cn66(
9235
+ className: cn67(
9136
9236
  "flex items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",
9137
9237
  "hover:border-primary/50",
9138
9238
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -9146,7 +9246,7 @@ function MosaicQuickStartPanel({
9146
9246
  a.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
9147
9247
  "span",
9148
9248
  {
9149
- className: cn66("h-2 w-2 rounded-full", a.accentColor),
9249
+ className: cn67("h-2 w-2 rounded-full", a.accentColor),
9150
9250
  "aria-hidden": "true"
9151
9251
  }
9152
9252
  ),
@@ -9164,7 +9264,7 @@ function MosaicQuickStartPanel({
9164
9264
  {
9165
9265
  type: "button",
9166
9266
  onClick: onStartFromScratch,
9167
- className: cn66(
9267
+ className: cn67(
9168
9268
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
9169
9269
  "bg-background px-4 text-sm font-medium text-foreground",
9170
9270
  "hover:bg-accent hover:text-accent-foreground",
@@ -9258,7 +9358,7 @@ function TemplateGalleryContent({
9258
9358
  value: query,
9259
9359
  onChange: (e) => setQuery(e.target.value),
9260
9360
  placeholder: searchPlaceholder,
9261
- className: cn66(
9361
+ className: cn67(
9262
9362
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
9263
9363
  )
9264
9364
  }
@@ -9309,7 +9409,7 @@ function TemplateGalleryContent({
9309
9409
  value: query,
9310
9410
  onChange: (e) => setQuery(e.target.value),
9311
9411
  placeholder: searchPlaceholder,
9312
- className: cn66(
9412
+ className: cn67(
9313
9413
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
9314
9414
  )
9315
9415
  }
@@ -9341,7 +9441,7 @@ function MosaicTemplateGallery(props) {
9341
9441
  return /* @__PURE__ */ jsxRuntime.jsx(TemplateGalleryContent, { ...props, isMobile });
9342
9442
  }
9343
9443
  MosaicTemplateGallery.displayName = "MosaicTemplateGallery";
9344
- function cn67(...classes) {
9444
+ function cn68(...classes) {
9345
9445
  return classes.filter(Boolean).join(" ");
9346
9446
  }
9347
9447
  function PlusIcon5() {
@@ -9492,7 +9592,7 @@ function MosaicModuleForm(props) {
9492
9592
  onChange: (e) => update("name", e.target.value),
9493
9593
  placeholder: namePlaceholder,
9494
9594
  required: true,
9495
- className: cn67(
9595
+ className: cn68(
9496
9596
  "w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
9497
9597
  "text-sm placeholder:text-muted-foreground",
9498
9598
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -9510,7 +9610,7 @@ function MosaicModuleForm(props) {
9510
9610
  onChange: (e) => update("description", e.target.value),
9511
9611
  placeholder: descriptionPlaceholder,
9512
9612
  rows: 3,
9513
- className: cn67(
9613
+ className: cn68(
9514
9614
  "w-full rounded-md border border-input bg-background px-3 py-2",
9515
9615
  "text-sm placeholder:text-muted-foreground resize-none",
9516
9616
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -9532,7 +9632,7 @@ function MosaicModuleForm(props) {
9532
9632
  value: formData[field.id] ?? "",
9533
9633
  onChange: (e) => update(field.id, e.target.value),
9534
9634
  placeholder: field.placeholder,
9535
- className: cn67(
9635
+ className: cn68(
9536
9636
  "w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
9537
9637
  "text-sm placeholder:text-muted-foreground",
9538
9638
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -9547,7 +9647,7 @@ function MosaicModuleForm(props) {
9547
9647
  onChange: (e) => update(field.id, e.target.value),
9548
9648
  placeholder: field.placeholder,
9549
9649
  rows: 3,
9550
- className: cn67(
9650
+ className: cn68(
9551
9651
  "w-full rounded-md border border-input bg-background px-3 py-2",
9552
9652
  "text-sm placeholder:text-muted-foreground resize-none",
9553
9653
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -9563,7 +9663,7 @@ function MosaicModuleForm(props) {
9563
9663
  onChange: (e) => update(field.id, e.target.value),
9564
9664
  placeholder: field.placeholder ?? "\u{1F9E0}",
9565
9665
  maxLength: 4,
9566
- className: cn67(
9666
+ className: cn68(
9567
9667
  "w-20 rounded-md border border-input bg-background px-3 py-2 text-2xl",
9568
9668
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
9569
9669
  )
@@ -9584,7 +9684,7 @@ function MosaicModuleForm(props) {
9584
9684
  }
9585
9685
  },
9586
9686
  placeholder: field.placeholder ?? tagListAddPlaceholder,
9587
- className: cn67(
9687
+ className: cn68(
9588
9688
  "flex-1 rounded-md border border-input bg-background px-3 py-2 min-h-[36px]",
9589
9689
  "text-sm placeholder:text-muted-foreground",
9590
9690
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -9796,7 +9896,7 @@ function LibraryContent({
9796
9896
  {
9797
9897
  type: "button",
9798
9898
  onClick: openCreate,
9799
- className: cn67(
9899
+ className: cn68(
9800
9900
  "inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground",
9801
9901
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
9802
9902
  ),
@@ -9816,7 +9916,7 @@ function LibraryContent({
9816
9916
  value: query,
9817
9917
  onChange: (e) => setQuery(e.target.value),
9818
9918
  placeholder: searchPlaceholder,
9819
- className: cn67(
9919
+ className: cn68(
9820
9920
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
9821
9921
  "text-sm placeholder:text-muted-foreground",
9822
9922
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -9829,7 +9929,7 @@ function LibraryContent({
9829
9929
  {
9830
9930
  type: "button",
9831
9931
  onClick: () => setActiveTab(tab.id),
9832
- className: cn67(
9932
+ className: cn68(
9833
9933
  "rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
9834
9934
  activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
9835
9935
  ),
@@ -9881,7 +9981,7 @@ function MosaicModuleLibrary(props) {
9881
9981
  return /* @__PURE__ */ jsxRuntime.jsx(LibraryContent, { ...props });
9882
9982
  }
9883
9983
  MosaicModuleLibrary.displayName = "MosaicModuleLibrary";
9884
- function cn68(...classes) {
9984
+ function cn69(...classes) {
9885
9985
  return classes.filter(Boolean).join(" ");
9886
9986
  }
9887
9987
  var roleConfig = {
@@ -9908,7 +10008,7 @@ function MosaicOrgRoleBadge({ role, className }) {
9908
10008
  {
9909
10009
  "data-slot": "org-role-badge",
9910
10010
  title: config.description,
9911
- className: cn68(
10011
+ className: cn69(
9912
10012
  "inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
9913
10013
  config.className,
9914
10014
  className
@@ -9925,13 +10025,13 @@ function MosaicMultiOrgIndicator({
9925
10025
  className
9926
10026
  }) {
9927
10027
  if (orgCount <= 1) return null;
9928
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "multi-org-indicator", className: cn68("flex items-center gap-2", className), children: [
10028
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "multi-org-indicator", className: cn69("flex items-center gap-2", className), children: [
9929
10029
  onSwitchOrg ? /* @__PURE__ */ jsxRuntime.jsxs(
9930
10030
  "button",
9931
10031
  {
9932
10032
  type: "button",
9933
10033
  onClick: onSwitchOrg,
9934
- className: cn68(
10034
+ className: cn69(
9935
10035
  "inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground",
9936
10036
  "hover:bg-secondary/80",
9937
10037
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -9978,6 +10078,7 @@ function MosaicCreateOrgDialog({
9978
10078
  orgNameFieldLabel,
9979
10079
  orgNamePlaceholder,
9980
10080
  slugFieldLabel,
10081
+ slugPlaceholder,
9981
10082
  descriptionFieldLabel,
9982
10083
  descriptionPlaceholder,
9983
10084
  cancelLabel,
@@ -10045,7 +10146,7 @@ function MosaicCreateOrgDialog({
10045
10146
  onChange: (e) => setName(e.target.value),
10046
10147
  placeholder: orgNamePlaceholder,
10047
10148
  required: true,
10048
- className: cn68(
10149
+ className: cn69(
10049
10150
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
10050
10151
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
10051
10152
  errors.name ? "border-destructive" : "border-input"
@@ -10063,9 +10164,9 @@ function MosaicCreateOrgDialog({
10063
10164
  type: "text",
10064
10165
  value: slug,
10065
10166
  onChange: (e) => setSlug(e.target.value),
10066
- placeholder: "acme-inc",
10167
+ placeholder: slugPlaceholder,
10067
10168
  required: true,
10068
- className: cn68(
10169
+ className: cn69(
10069
10170
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
10070
10171
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
10071
10172
  errors.slug ? "border-destructive" : "border-input"
@@ -10178,7 +10279,7 @@ function MosaicInviteMemberDialog({
10178
10279
  onChange: (e) => setEmail(e.target.value),
10179
10280
  placeholder: emailPlaceholder,
10180
10281
  required: true,
10181
- className: cn68(
10282
+ className: cn69(
10182
10283
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
10183
10284
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
10184
10285
  errors.email ? "border-destructive" : "border-input"
@@ -10365,7 +10466,7 @@ function MosaicMemberList({
10365
10466
  const filtered = members.filter(
10366
10467
  (m) => !query || m.name.toLowerCase().includes(query.toLowerCase()) || m.email.toLowerCase().includes(query.toLowerCase())
10367
10468
  );
10368
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "member-list", className: cn68("flex flex-col gap-4", className), children: [
10469
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "member-list", className: cn69("flex flex-col gap-4", className), children: [
10369
10470
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
10370
10471
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex-1", children: [
10371
10472
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsxs(
@@ -10461,7 +10562,7 @@ function MosaicOrgPanel({
10461
10562
  const { isMobile } = useDevice();
10462
10563
  const [activeTab, setActiveTab] = React30__namespace.useState(defaultTab ?? tabs[0]?.id ?? "");
10463
10564
  const activeContent = tabs.find((t) => t.id === activeTab)?.content;
10464
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "org-panel", className: cn68("flex h-full flex-col", className), children: [
10565
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "org-panel", className: cn69("flex h-full flex-col", className), children: [
10465
10566
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border px-4 py-4 md:px-6", children: [
10466
10567
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
10467
10568
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
@@ -10483,12 +10584,12 @@ function MosaicOrgPanel({
10483
10584
  ] }),
10484
10585
  headerActions
10485
10586
  ] }),
10486
- tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn68("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
10587
+ tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn69("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
10487
10588
  "button",
10488
10589
  {
10489
10590
  type: "button",
10490
10591
  onClick: () => setActiveTab(tab.id),
10491
- className: cn68(
10592
+ className: cn69(
10492
10593
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
10493
10594
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
10494
10595
  activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
@@ -10502,7 +10603,7 @@ function MosaicOrgPanel({
10502
10603
  ] });
10503
10604
  }
10504
10605
  MosaicOrgPanel.displayName = "MosaicOrgPanel";
10505
- function cn69(...classes) {
10606
+ function cn70(...classes) {
10506
10607
  return classes.filter(Boolean).join(" ");
10507
10608
  }
10508
10609
  var ANIM_ID8 = "mosaic-dashboard-content-kf";
@@ -10528,6 +10629,7 @@ function injectStyles8() {
10528
10629
  function MosaicDashboardContent({
10529
10630
  views,
10530
10631
  currentView,
10632
+ viewNotFoundLabel,
10531
10633
  className
10532
10634
  }) {
10533
10635
  const { isMobile } = useDevice();
@@ -10539,16 +10641,16 @@ function MosaicDashboardContent({
10539
10641
  "div",
10540
10642
  {
10541
10643
  "data-slot": "dashboard-content",
10542
- className: cn69("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
10644
+ className: cn70("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
10543
10645
  children: activeView ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mosaic-content-view space-y-6", children: activeView.content }, currentView) : /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "py-12 text-center text-sm text-muted-foreground", children: [
10544
- "View not found: ",
10646
+ viewNotFoundLabel,
10545
10647
  currentView
10546
10648
  ] })
10547
10649
  }
10548
10650
  );
10549
10651
  }
10550
10652
  MosaicDashboardContent.displayName = "MosaicDashboardContent";
10551
- function cn70(...classes) {
10653
+ function cn71(...classes) {
10552
10654
  return classes.filter(Boolean).join(" ");
10553
10655
  }
10554
10656
  var ANIM_ID9 = "mosaic-dashboard-header2-kf";
@@ -10660,16 +10762,16 @@ function MosaicDashboardHeader({
10660
10762
  "header",
10661
10763
  {
10662
10764
  "data-slot": "dashboard-header",
10663
- className: cn70(
10765
+ className: cn71(
10664
10766
  "mosaic-dashboard-header2",
10665
10767
  "sticky top-0 z-40 border-b border-border/50 bg-background/80 backdrop-blur-sm",
10666
10768
  className
10667
10769
  ),
10668
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn70(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
10770
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn71(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
10669
10771
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-w-0 flex-1 items-center gap-2 md:gap-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
10670
10772
  logoSlot ?? /* @__PURE__ */ jsxRuntime.jsx(SparklesIcon4, {}),
10671
10773
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
10672
- /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn70("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
10774
+ /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn71("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
10673
10775
  subtitle && !isMobile && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground truncate", children: subtitle })
10674
10776
  ] })
10675
10777
  ] }) }),
@@ -10682,7 +10784,7 @@ function MosaicDashboardHeader({
10682
10784
  value: searchQuery,
10683
10785
  onChange: handleSearch,
10684
10786
  placeholder: searchPlaceholder,
10685
- className: cn70(
10787
+ className: cn71(
10686
10788
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
10687
10789
  "text-sm placeholder:text-muted-foreground",
10688
10790
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -10722,7 +10824,7 @@ function MosaicDashboardHeader({
10722
10824
  );
10723
10825
  }
10724
10826
  MosaicDashboardHeader.displayName = "MosaicDashboardHeader";
10725
- function cn71(...classes) {
10827
+ function cn72(...classes) {
10726
10828
  return classes.filter(Boolean).join(" ");
10727
10829
  }
10728
10830
  function ChevronDownIcon4() {
@@ -10805,13 +10907,13 @@ function MosaicOrgSwitcher({
10805
10907
  }, [open]);
10806
10908
  if (!currentOrg && organizations.length === 0 && !onCreateOrg) return null;
10807
10909
  const initials = currentOrg?.name.split(" ").map((n) => n[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() ?? "?";
10808
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "org-switcher", className: cn71("relative", className), children: [
10910
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "org-switcher", className: cn72("relative", className), children: [
10809
10911
  /* @__PURE__ */ jsxRuntime.jsxs(
10810
10912
  "button",
10811
10913
  {
10812
10914
  type: "button",
10813
10915
  onClick: () => setOpen((v) => !v),
10814
- className: cn71(
10916
+ className: cn72(
10815
10917
  "inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5",
10816
10918
  "text-sm font-medium text-foreground",
10817
10919
  "hover:bg-accent hover:text-accent-foreground",
@@ -10838,7 +10940,7 @@ function MosaicOrgSwitcher({
10838
10940
  {
10839
10941
  role: "menu",
10840
10942
  "aria-label": triggerAriaLabel,
10841
- className: cn71(
10943
+ className: cn72(
10842
10944
  "absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-border",
10843
10945
  "bg-popover py-1 shadow-md"
10844
10946
  ),
@@ -10853,7 +10955,7 @@ function MosaicOrgSwitcher({
10853
10955
  onSelectOrg?.(org.id);
10854
10956
  setOpen(false);
10855
10957
  },
10856
- className: cn71(
10958
+ className: cn72(
10857
10959
  "flex w-full items-center gap-2.5 px-3 py-2 text-sm text-foreground",
10858
10960
  "hover:bg-accent hover:text-accent-foreground",
10859
10961
  org.id === currentOrgId && "bg-primary/10 text-primary"
@@ -10890,7 +10992,7 @@ function MosaicOrgSwitcher({
10890
10992
  ] });
10891
10993
  }
10892
10994
  MosaicOrgSwitcher.displayName = "MosaicOrgSwitcher";
10893
- function cn72(...classes) {
10995
+ function cn73(...classes) {
10894
10996
  return classes.filter(Boolean).join(" ");
10895
10997
  }
10896
10998
  function PlusIcon7() {
@@ -10935,19 +11037,19 @@ function MosaicQuickActionsMenu({
10935
11037
  document.addEventListener("mousedown", h);
10936
11038
  return () => document.removeEventListener("mousedown", h);
10937
11039
  }, [open]);
10938
- const itemClass = cn72(
11040
+ const itemClass = cn73(
10939
11041
  "flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
10940
11042
  "hover:bg-accent hover:text-accent-foreground",
10941
11043
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
10942
11044
  "min-h-[44px]"
10943
11045
  );
10944
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn72("relative", className), children: [
11046
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn73("relative", className), children: [
10945
11047
  /* @__PURE__ */ jsxRuntime.jsxs(
10946
11048
  "button",
10947
11049
  {
10948
11050
  type: "button",
10949
11051
  onClick: () => setOpen((v) => !v),
10950
- className: cn72(
11052
+ className: cn73(
10951
11053
  "inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
10952
11054
  "min-h-[44px] min-w-[44px] px-3 py-2 text-sm font-medium text-foreground",
10953
11055
  "hover:bg-accent hover:text-accent-foreground",
@@ -10958,7 +11060,7 @@ function MosaicQuickActionsMenu({
10958
11060
  "aria-label": label,
10959
11061
  children: [
10960
11062
  triggerIcon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon7, {}),
10961
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn72("hidden md:inline"), children: label })
11063
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn73("hidden md:inline"), children: label })
10962
11064
  ]
10963
11065
  }
10964
11066
  ),
@@ -10967,13 +11069,13 @@ function MosaicQuickActionsMenu({
10967
11069
  {
10968
11070
  role: "menu",
10969
11071
  "aria-label": menuTitle,
10970
- className: cn72(
11072
+ className: cn73(
10971
11073
  "absolute right-0 top-full z-50 mt-1 rounded-md border border-border bg-popover py-1 shadow-md",
10972
11074
  isMobile ? "w-[min(90vw,280px)]" : "w-56"
10973
11075
  ),
10974
11076
  children: [
10975
11077
  menuTitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: menuTitle }) }),
10976
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn72(menuTitle && "border-t border-border") }),
11078
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn73(menuTitle && "border-t border-border") }),
10977
11079
  actions.map((action) => /* @__PURE__ */ jsxRuntime.jsxs(React30__namespace.Fragment, { children: [
10978
11080
  action.separator && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-1 border-t border-border" }),
10979
11081
  action.href && renderLink ? renderLink(
@@ -11278,7 +11380,7 @@ function MosaicOrgProfilePage({
11278
11380
  );
11279
11381
  }
11280
11382
  MosaicOrgProfilePage.displayName = "MosaicOrgProfilePage";
11281
- function cn73(...classes) {
11383
+ function cn74(...classes) {
11282
11384
  return classes.filter(Boolean).join(" ");
11283
11385
  }
11284
11386
  function defaultCompare(a, b) {
@@ -11341,7 +11443,7 @@ function MosaicDataTable({
11341
11443
  {
11342
11444
  ref,
11343
11445
  "data-slot": "data-table",
11344
- className: cn73("w-full border-collapse text-sm", className),
11446
+ className: cn74("w-full border-collapse text-sm", className),
11345
11447
  children: [
11346
11448
  /* @__PURE__ */ jsxRuntime.jsx("thead", { "data-slot": "data-table-header", children: /* @__PURE__ */ jsxRuntime.jsx("tr", { "data-slot": "data-table-header-row", className: "border-b border-border bg-muted", children: columns.map((col, colIndex) => {
11347
11449
  const isSortable = masterSortable && col.sortable;
@@ -11359,7 +11461,7 @@ function MosaicDataTable({
11359
11461
  handleHeaderClick(col);
11360
11462
  }
11361
11463
  } : void 0,
11362
- className: cn73(
11464
+ className: cn74(
11363
11465
  "px-4 py-3 font-medium text-muted-foreground",
11364
11466
  alignClass(col.align),
11365
11467
  col.className,
@@ -11395,7 +11497,7 @@ function MosaicDataTable({
11395
11497
  "td",
11396
11498
  {
11397
11499
  "data-slot": "data-table-td",
11398
- className: cn73(
11500
+ className: cn74(
11399
11501
  "px-4 py-3 text-foreground",
11400
11502
  alignClass(col.align),
11401
11503
  col.className
@@ -11534,7 +11636,7 @@ var stepSegmentVariants = classVarianceAuthority.cva(["h-1.5 flex-1 min-w-2 roun
11534
11636
  filled: false
11535
11637
  }
11536
11638
  });
11537
- function cn74(...classes) {
11639
+ function cn75(...classes) {
11538
11640
  return classes.filter(Boolean).join(" ");
11539
11641
  }
11540
11642
  function resolveStatus(step, index, currentIndex) {
@@ -11575,7 +11677,7 @@ function MosaicStepPipelineSegments({
11575
11677
  "aria-valuemax": total,
11576
11678
  "aria-valuenow": current,
11577
11679
  "aria-valuetext": progressLabel ? progressLabel(current, total) : void 0,
11578
- className: cn74(stepSegmentBarVariants(), className),
11680
+ className: cn75(stepSegmentBarVariants(), className),
11579
11681
  children: steps.map((step, index) => {
11580
11682
  const status = resolveStatus(step, index, currentIndex);
11581
11683
  const filled = status !== "upcoming";
@@ -11587,7 +11689,7 @@ function MosaicStepPipelineSegments({
11587
11689
  "data-status": status,
11588
11690
  "data-filled": filled,
11589
11691
  "aria-hidden": "true",
11590
- className: cn74(stepSegmentVariants({ filled }))
11692
+ className: cn75(stepSegmentVariants({ filled }))
11591
11693
  },
11592
11694
  key
11593
11695
  );
@@ -11608,7 +11710,7 @@ function MosaicStepPipelineDots({
11608
11710
  {
11609
11711
  ref,
11610
11712
  "data-slot": "step-pipeline",
11611
- className: cn74(stepPipelineVariants({ orientation }), className),
11713
+ className: cn75(stepPipelineVariants({ orientation }), className),
11612
11714
  children: steps.map((step, index) => {
11613
11715
  const status = resolveStatus(step, index, currentIndex);
11614
11716
  const isCurrent = status === "current";
@@ -11620,7 +11722,7 @@ function MosaicStepPipelineDots({
11620
11722
  "data-slot": "step",
11621
11723
  "data-status": status,
11622
11724
  "aria-current": isCurrent ? "step" : void 0,
11623
- className: cn74(
11725
+ className: cn75(
11624
11726
  "flex shrink-0",
11625
11727
  orientation === "horizontal" ? "flex-col items-center gap-2" : "flex-row items-start gap-3",
11626
11728
  orientation === "horizontal" && !isLast && "flex-1"
@@ -11631,14 +11733,14 @@ function MosaicStepPipelineDots({
11631
11733
  "div",
11632
11734
  {
11633
11735
  "data-slot": "step-connector",
11634
- className: cn74(stepConnectorVariants({ status, orientation }))
11736
+ className: cn75(stepConnectorVariants({ status, orientation }))
11635
11737
  }
11636
11738
  ),
11637
11739
  /* @__PURE__ */ jsxRuntime.jsx(
11638
11740
  "div",
11639
11741
  {
11640
11742
  "data-slot": "step-indicator",
11641
- className: cn74(stepIndicatorVariants({ status, orientation })),
11743
+ className: cn75(stepIndicatorVariants({ status, orientation })),
11642
11744
  "aria-hidden": "true",
11643
11745
  children: status === "done" ? "\u2713" : /* @__PURE__ */ jsxRuntime.jsx("span", { children: index + 1 })
11644
11746
  }
@@ -11647,7 +11749,7 @@ function MosaicStepPipelineDots({
11647
11749
  "div",
11648
11750
  {
11649
11751
  "data-slot": "step-connector",
11650
- className: cn74(
11752
+ className: cn75(
11651
11753
  stepConnectorVariants({
11652
11754
  // connector after current step is still upcoming
11653
11755
  status: status === "done" ? "done" : "upcoming",
@@ -11658,12 +11760,12 @@ function MosaicStepPipelineDots({
11658
11760
  )
11659
11761
  ] }),
11660
11762
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-0.5 text-center px-1", children: [
11661
- /* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className: cn74(stepLabelVariants({ status })), children: step.label }),
11763
+ /* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className: cn75(stepLabelVariants({ status })), children: step.label }),
11662
11764
  step.description !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
11663
11765
  "span",
11664
11766
  {
11665
11767
  "data-slot": "step-description",
11666
- className: cn74(stepDescriptionVariants({ status })),
11768
+ className: cn75(stepDescriptionVariants({ status })),
11667
11769
  children: step.description
11668
11770
  }
11669
11771
  )
@@ -11674,7 +11776,7 @@ function MosaicStepPipelineDots({
11674
11776
  "div",
11675
11777
  {
11676
11778
  "data-slot": "step-indicator",
11677
- className: cn74(stepIndicatorVariants({ status, orientation })),
11779
+ className: cn75(stepIndicatorVariants({ status, orientation })),
11678
11780
  "aria-hidden": "true",
11679
11781
  children: status === "done" ? "\u2713" : /* @__PURE__ */ jsxRuntime.jsx("span", { children: index + 1 })
11680
11782
  }
@@ -11683,7 +11785,7 @@ function MosaicStepPipelineDots({
11683
11785
  "div",
11684
11786
  {
11685
11787
  "data-slot": "step-connector",
11686
- className: cn74(
11788
+ className: cn75(
11687
11789
  stepConnectorVariants({
11688
11790
  status: status === "done" ? "done" : "upcoming",
11689
11791
  orientation
@@ -11693,12 +11795,12 @@ function MosaicStepPipelineDots({
11693
11795
  )
11694
11796
  ] }),
11695
11797
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0.5 pt-1 pb-4", children: [
11696
- /* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className: cn74(stepLabelVariants({ status })), children: step.label }),
11798
+ /* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className: cn75(stepLabelVariants({ status })), children: step.label }),
11697
11799
  step.description !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
11698
11800
  "span",
11699
11801
  {
11700
11802
  "data-slot": "step-description",
11701
- className: cn74(stepDescriptionVariants({ status })),
11803
+ className: cn75(stepDescriptionVariants({ status })),
11702
11804
  children: step.description
11703
11805
  }
11704
11806
  )
@@ -11712,7 +11814,7 @@ function MosaicStepPipelineDots({
11712
11814
  );
11713
11815
  }
11714
11816
  MosaicStepPipelineDots.displayName = "MosaicStepPipelineDots";
11715
- function cn75(...classes) {
11817
+ function cn76(...classes) {
11716
11818
  return classes.filter(Boolean).join(" ");
11717
11819
  }
11718
11820
  function MosaicKanbanBoard({ children, className, ref, ...props }) {
@@ -11721,7 +11823,7 @@ function MosaicKanbanBoard({ children, className, ref, ...props }) {
11721
11823
  {
11722
11824
  ref,
11723
11825
  "data-slot": "kanban-board",
11724
- className: cn75(
11826
+ className: cn76(
11725
11827
  "flex gap-4 overflow-x-auto pb-4",
11726
11828
  "min-h-0",
11727
11829
  // Smooth momentum scrolling on iOS
@@ -11734,7 +11836,7 @@ function MosaicKanbanBoard({ children, className, ref, ...props }) {
11734
11836
  );
11735
11837
  }
11736
11838
  MosaicKanbanBoard.displayName = "MosaicKanbanBoard";
11737
- function cn76(...classes) {
11839
+ function cn77(...classes) {
11738
11840
  return classes.filter(Boolean).join(" ");
11739
11841
  }
11740
11842
  function MosaicKanbanColumn({
@@ -11752,7 +11854,7 @@ function MosaicKanbanColumn({
11752
11854
  {
11753
11855
  ref,
11754
11856
  "data-slot": "kanban-column",
11755
- className: cn76(
11857
+ className: cn77(
11756
11858
  // Fixed column width, never shrink so board stays scrollable
11757
11859
  "flex flex-col w-72 shrink-0",
11758
11860
  // Surface
@@ -11773,7 +11875,7 @@ function MosaicKanbanColumn({
11773
11875
  {
11774
11876
  "data-slot": "kanban-column-count",
11775
11877
  "aria-label": countLabel(count),
11776
- className: cn76(
11878
+ className: cn77(
11777
11879
  "inline-flex items-center justify-center",
11778
11880
  "min-w-[1.25rem] h-5 px-1.5 rounded-full",
11779
11881
  "bg-muted text-muted-foreground",
@@ -11995,7 +12097,7 @@ var documentUploadProgressFillVariants = classVarianceAuthority.cva(
11995
12097
  defaultVariants: {}
11996
12098
  }
11997
12099
  );
11998
- function cn77(...classes) {
12100
+ function cn78(...classes) {
11999
12101
  return classes.filter(Boolean).join(" ");
12000
12102
  }
12001
12103
  function MosaicDocumentUpload({
@@ -12036,7 +12138,7 @@ function MosaicDocumentUpload({
12036
12138
  if (selected.length > 0) onFilesSelected(selected);
12037
12139
  event.target.value = "";
12038
12140
  }
12039
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "document-upload", className: cn77("flex flex-col gap-4", className), children: [
12141
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "document-upload", className: cn78("flex flex-col gap-4", className), children: [
12040
12142
  /* @__PURE__ */ jsxRuntime.jsxs(
12041
12143
  "div",
12042
12144
  {
@@ -12101,7 +12203,7 @@ function MosaicDocumentUpload({
12101
12203
  "aria-valuemin": 0,
12102
12204
  "aria-valuemax": 100,
12103
12205
  "aria-valuenow": file.progress ?? 0,
12104
- className: cn77(documentUploadProgressTrackVariants(), "mt-2"),
12206
+ className: cn78(documentUploadProgressTrackVariants(), "mt-2"),
12105
12207
  children: /* @__PURE__ */ jsxRuntime.jsx(
12106
12208
  "div",
12107
12209
  {
@@ -12178,7 +12280,7 @@ var urlScraperCardVariants = classVarianceAuthority.cva(["flex flex-col gap-2 ro
12178
12280
  tone: "neutral"
12179
12281
  }
12180
12282
  });
12181
- function cn78(...classes) {
12283
+ function cn79(...classes) {
12182
12284
  return classes.filter(Boolean).join(" ");
12183
12285
  }
12184
12286
  function isSyntacticallyValidUrl(candidate) {
@@ -12217,7 +12319,7 @@ function MosaicUrlScraper(props) {
12217
12319
  setIsLocallyInvalid(false);
12218
12320
  onUrlChange(event.target.value);
12219
12321
  }
12220
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "url-scraper", className: cn78("flex flex-col gap-4", className), children: [
12322
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "url-scraper", className: cn79("flex flex-col gap-4", className), children: [
12221
12323
  /* @__PURE__ */ jsxRuntime.jsxs(
12222
12324
  "form",
12223
12325
  {
@@ -12353,7 +12455,7 @@ var chatThreadScrollButtonVariants = classVarianceAuthority.cva([
12353
12455
  "items-center justify-center rounded-full border border-border bg-card text-foreground shadow-sm",
12354
12456
  "transition-colors hover:bg-accent/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
12355
12457
  ]);
12356
- function cn79(...classes) {
12458
+ function cn80(...classes) {
12357
12459
  return classes.filter(Boolean).join(" ");
12358
12460
  }
12359
12461
  var BOTTOM_THRESHOLD_PX = 24;
@@ -12437,7 +12539,7 @@ function MosaicChatThread({
12437
12539
  role: "log",
12438
12540
  onScroll: handleScroll,
12439
12541
  onKeyDown: handleKeyDown,
12440
- className: cn79(chatThreadRootVariants(), className),
12542
+ className: cn80(chatThreadRootVariants(), className),
12441
12543
  children: [
12442
12544
  /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "chat-thread-content", className: chatThreadContentVariants(), children }),
12443
12545
  !isAtBottom && /* @__PURE__ */ jsxRuntime.jsx(
@@ -12478,7 +12580,7 @@ var chatComposerActionButtonVariants = classVarianceAuthority.cva(
12478
12580
  }
12479
12581
  }
12480
12582
  );
12481
- function cn80(...classes) {
12583
+ function cn81(...classes) {
12482
12584
  return classes.filter(Boolean).join(" ");
12483
12585
  }
12484
12586
  function MosaicChatComposer(props) {
@@ -12533,7 +12635,7 @@ function MosaicChatComposer(props) {
12533
12635
  {
12534
12636
  ref,
12535
12637
  "data-slot": "chat-composer",
12536
- className: cn80(chatComposerRootVariants(), className),
12638
+ className: cn81(chatComposerRootVariants(), className),
12537
12639
  onSubmit: handleSubmit,
12538
12640
  children: [
12539
12641
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -12649,7 +12751,7 @@ var markdownTableCellVariants = classVarianceAuthority.cva(["border border-borde
12649
12751
  align: "left"
12650
12752
  }
12651
12753
  });
12652
- function cn81(...classes) {
12754
+ function cn82(...classes) {
12653
12755
  return classes.filter(Boolean).join(" ");
12654
12756
  }
12655
12757
  function sanitizeHref(rawHref) {
@@ -12844,7 +12946,7 @@ function parseBlocks(content) {
12844
12946
  function MosaicMarkdown({ content, renderCodeBlock, className, ref }) {
12845
12947
  const blocks = parseBlocks(content);
12846
12948
  const ids = makeIdSource();
12847
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "markdown", className: cn81(markdownRootVariants(), className), children: blocks.map((block) => {
12949
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "markdown", className: cn82(markdownRootVariants(), className), children: blocks.map((block) => {
12848
12950
  if (block.kind === "heading") {
12849
12951
  const HeadingTag = `h${block.level}`;
12850
12952
  return /* @__PURE__ */ jsxRuntime.jsx(HeadingTag, { className: markdownHeadingVariants({ level: block.level }), children: parseInline(block.text, ids) }, block.id);
@@ -12922,7 +13024,7 @@ var chatMessageToolStatusVariants = classVarianceAuthority.cva(["text-xs font-me
12922
13024
  status: "running"
12923
13025
  }
12924
13026
  });
12925
- function cn82(...classes) {
13027
+ function cn83(...classes) {
12926
13028
  return classes.filter(Boolean).join(" ");
12927
13029
  }
12928
13030
  function partKey(part, index) {
@@ -13088,7 +13190,7 @@ function MosaicChatMessage({
13088
13190
  ref,
13089
13191
  "data-slot": "chat-message",
13090
13192
  "data-role": messageRole,
13091
- className: cn82(chatMessageContainerVariants({ align: isUser ? "end" : "start" }), className),
13193
+ className: cn83(chatMessageContainerVariants({ align: isUser ? "end" : "start" }), className),
13092
13194
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: chatMessageBubbleVariants({ role: messageRole }), children: parts.map((part, index) => /* @__PURE__ */ jsxRuntime.jsx(
13093
13195
  ChatMessagePartView,
13094
13196
  {
@@ -13143,7 +13245,7 @@ var approvalPromptButtonVariants = classVarianceAuthority.cva(
13143
13245
  }
13144
13246
  }
13145
13247
  );
13146
- function cn83(...classes) {
13248
+ function cn84(...classes) {
13147
13249
  return classes.filter(Boolean).join(" ");
13148
13250
  }
13149
13251
  function MosaicApprovalPrompt(props) {
@@ -13155,7 +13257,7 @@ function MosaicApprovalPrompt(props) {
13155
13257
  ref,
13156
13258
  "data-slot": "approval-prompt",
13157
13259
  "aria-label": promptTitle,
13158
- className: cn83("border-0 p-0 m-0", approvalPromptCardVariants({ tone }), className),
13260
+ className: cn84("border-0 p-0 m-0", approvalPromptCardVariants({ tone }), className),
13159
13261
  children: [
13160
13262
  /* @__PURE__ */ jsxRuntime.jsx("legend", { "data-slot": "approval-prompt-title", className: "text-base font-semibold md:text-lg", children: promptTitle }),
13161
13263
  /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "approval-prompt-tool", className: "flex flex-col gap-1", children: [
@@ -13232,7 +13334,7 @@ var toolToggleListRowVariants = classVarianceAuthority.cva(
13232
13334
  }
13233
13335
  }
13234
13336
  );
13235
- function cn84(...classes) {
13337
+ function cn85(...classes) {
13236
13338
  return classes.filter(Boolean).join(" ");
13237
13339
  }
13238
13340
  function MosaicToolToggleList({
@@ -13248,7 +13350,7 @@ function MosaicToolToggleList({
13248
13350
  }) {
13249
13351
  const toolsById = new Map(tools.map((tool) => [tool.id, tool]));
13250
13352
  const approvalLabelById = new Map(approvalLevels.map((level) => [level.id, level.label]));
13251
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "tool-toggle-list", className: cn84("flex flex-col gap-6", className), children: sections.map((section) => /* @__PURE__ */ jsxRuntime.jsxs(
13353
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "tool-toggle-list", className: cn85("flex flex-col gap-6", className), children: sections.map((section) => /* @__PURE__ */ jsxRuntime.jsxs(
13252
13354
  "div",
13253
13355
  {
13254
13356
  "data-slot": "tool-toggle-list-section",
@@ -13279,7 +13381,7 @@ function MosaicToolToggleList({
13279
13381
  onCheckedChange: (checked) => onToggleTool(tool.id, checked),
13280
13382
  "aria-label": toggleAriaLabel(tool.name),
13281
13383
  "data-slot": "tool-toggle-list-switch",
13282
- className: cn84(
13384
+ className: cn85(
13283
13385
  "relative inline-flex h-6 w-10 shrink-0 cursor-pointer items-center",
13284
13386
  "rounded-full border-2 border-transparent outline-none",
13285
13387
  "bg-muted transition-colors",
@@ -13290,7 +13392,7 @@ function MosaicToolToggleList({
13290
13392
  _switch.Switch.Thumb,
13291
13393
  {
13292
13394
  "data-slot": "tool-toggle-list-switch-thumb",
13293
- className: cn84(
13395
+ className: cn85(
13294
13396
  "pointer-events-none block h-4 w-4 rounded-full",
13295
13397
  "bg-background shadow-sm",
13296
13398
  "translate-x-0 transition-transform",
@@ -13332,7 +13434,7 @@ function MosaicToolToggleList({
13332
13434
  {
13333
13435
  "aria-label": approvalSelectAriaLabel(tool.name),
13334
13436
  "data-slot": "tool-toggle-list-approval-trigger",
13335
- className: cn84(
13437
+ className: cn85(
13336
13438
  "inline-flex h-9 min-w-[10rem] items-center justify-between gap-2",
13337
13439
  "rounded-md border border-border bg-background px-3 py-2",
13338
13440
  "text-sm text-foreground shadow-xs outline-none",
@@ -13350,7 +13452,7 @@ function MosaicToolToggleList({
13350
13452
  select.Select.Popup,
13351
13453
  {
13352
13454
  "data-slot": "tool-toggle-list-approval-popup",
13353
- className: cn84(
13455
+ className: cn85(
13354
13456
  "z-50 min-w-[10rem] overflow-hidden rounded-md border border-border",
13355
13457
  "bg-popover p-1 text-popover-foreground shadow-md",
13356
13458
  "origin-[var(--transform-origin)]",
@@ -13363,7 +13465,7 @@ function MosaicToolToggleList({
13363
13465
  select.Select.Item,
13364
13466
  {
13365
13467
  value: level.id,
13366
- className: cn84(
13468
+ className: cn85(
13367
13469
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
13368
13470
  "text-sm text-popover-foreground outline-none",
13369
13471
  "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -13471,7 +13573,7 @@ var apiKeyPanelMessageVariants = classVarianceAuthority.cva(["text-sm"], {
13471
13573
  tone: "muted"
13472
13574
  }
13473
13575
  });
13474
- function cn85(...classes) {
13576
+ function cn86(...classes) {
13475
13577
  return classes.filter(Boolean).join(" ");
13476
13578
  }
13477
13579
  function MosaicApiKeyPanel(props) {
@@ -13499,7 +13601,7 @@ function MosaicApiKeyPanel(props) {
13499
13601
  function handleKeyChange(event) {
13500
13602
  onKeyChange(event.target.value);
13501
13603
  }
13502
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "api-key-panel", className: cn85("flex flex-col gap-3", className), children: [
13604
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "api-key-panel", className: cn86("flex flex-col gap-3", className), children: [
13503
13605
  /* @__PURE__ */ jsxRuntime.jsx(
13504
13606
  "div",
13505
13607
  {
@@ -13594,7 +13696,7 @@ MosaicApiKeyPanel.displayName = "MosaicApiKeyPanel";
13594
13696
  var agentChatRootVariants = classVarianceAuthority.cva([
13595
13697
  "flex min-h-0 w-full flex-1 flex-col gap-2 overflow-hidden rounded-lg border border-border bg-card"
13596
13698
  ]);
13597
- function cn86(...classes) {
13699
+ function cn87(...classes) {
13598
13700
  return classes.filter(Boolean).join(" ");
13599
13701
  }
13600
13702
  function formatPayload2(value) {
@@ -13730,7 +13832,7 @@ function MosaicAgentChat(props) {
13730
13832
  setDecisions((previous) => ({ ...previous, [payload.requestId]: decision }));
13731
13833
  onApprovalResponse(payload);
13732
13834
  }
13733
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "agent-chat", className: cn86(agentChatRootVariants(), className), children: [
13835
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "agent-chat", className: cn87(agentChatRootVariants(), className), children: [
13734
13836
  /* @__PURE__ */ jsxRuntime.jsx(MosaicChatThread, { scrollToBottomLabel, children: messages.map((message) => /* @__PURE__ */ jsxRuntime.jsx(
13735
13837
  MosaicChatMessage,
13736
13838
  {
@@ -13819,7 +13921,7 @@ var toastProviderPositionVariants = classVarianceAuthority.cva(
13819
13921
  }
13820
13922
  }
13821
13923
  );
13822
- function cn87(...classes) {
13924
+ function cn88(...classes) {
13823
13925
  return classes.filter(Boolean).join(" ");
13824
13926
  }
13825
13927
  function MosaicToast({
@@ -13845,7 +13947,7 @@ function MosaicToast({
13845
13947
  ref,
13846
13948
  "data-slot": "toast",
13847
13949
  role,
13848
- className: cn87(toastCardVariants({ variant }), className),
13950
+ className: cn88(toastCardVariants({ variant }), className),
13849
13951
  children: [
13850
13952
  /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "toast-body", className: "flex min-w-0 flex-1 flex-col gap-1", children: [
13851
13953
  /* @__PURE__ */ jsxRuntime.jsx("p", { "data-slot": "toast-title", className: toastTitleVariants({ variant }), children: title }),
@@ -13885,7 +13987,7 @@ function MosaicToast({
13885
13987
  );
13886
13988
  }
13887
13989
  MosaicToast.displayName = "MosaicToast";
13888
- function cn88(...classes) {
13990
+ function cn89(...classes) {
13889
13991
  return classes.filter(Boolean).join(" ");
13890
13992
  }
13891
13993
  function MosaicToastProvider({
@@ -13899,7 +14001,7 @@ function MosaicToastProvider({
13899
14001
  {
13900
14002
  ref,
13901
14003
  "data-slot": "toast-provider",
13902
- className: cn88(toastProviderPositionVariants({ position }), className),
14004
+ className: cn89(toastProviderPositionVariants({ position }), className),
13903
14005
  children
13904
14006
  }
13905
14007
  );
@@ -13926,7 +14028,7 @@ var pdfViewerToolbarButtonVariants = classVarianceAuthority.cva([
13926
14028
  "inline-flex min-h-8 min-w-8 items-center justify-center rounded-md border border-border text-sm",
13927
14029
  "transition-colors hover:bg-accent/50 disabled:opacity-50 disabled:hover:bg-transparent"
13928
14030
  ]);
13929
- function cn89(...classes) {
14031
+ function cn90(...classes) {
13930
14032
  return classes.filter(Boolean).join(" ");
13931
14033
  }
13932
14034
  function buildFrameSrc(fileUrl, currentPage, zoom) {
@@ -13991,7 +14093,7 @@ function MosaicPdfViewer({
13991
14093
  if (zoom === void 0 || onZoomChange === void 0) return;
13992
14094
  onZoomChange(Math.round((zoom + 0.1) * 100) / 100);
13993
14095
  }
13994
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "pdf-viewer", className: cn89("flex flex-col gap-2", className), children: [
14096
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "pdf-viewer", className: cn90("flex flex-col gap-2", className), children: [
13995
14097
  (showPageControls || showZoomControls) && /* @__PURE__ */ jsxRuntime.jsxs(
13996
14098
  "div",
13997
14099
  {
@@ -14080,7 +14182,7 @@ function MosaicPdfViewer({
14080
14182
  "data-slot": "pdf-viewer-frame",
14081
14183
  src: buildFrameSrc(fileUrl, currentPage, zoom),
14082
14184
  title: fileUrl,
14083
- className: cn89(
14185
+ className: cn90(
14084
14186
  "h-full min-h-64 w-full border-0",
14085
14187
  status !== "loaded" && "pointer-events-none absolute inset-0 opacity-0"
14086
14188
  )
@@ -14099,7 +14201,7 @@ var splitPaneCollapseButtonVariants = classVarianceAuthority.cva([
14099
14201
  "inline-flex h-11 w-6 shrink-0 items-center justify-center self-center rounded-md border border-border text-sm",
14100
14202
  "transition-colors hover:bg-accent/50"
14101
14203
  ]);
14102
- function cn90(...classes) {
14204
+ function cn91(...classes) {
14103
14205
  return classes.filter(Boolean).join(" ");
14104
14206
  }
14105
14207
  function mergeRefs(externalRef, node) {
@@ -14172,7 +14274,7 @@ function MosaicResizableSplitPane({
14172
14274
  mergeRefs(ref, node);
14173
14275
  },
14174
14276
  "data-slot": "resizable-split-pane",
14175
- className: cn90(splitPaneRootVariants(), className),
14277
+ className: cn91(splitPaneRootVariants(), className),
14176
14278
  children: [
14177
14279
  /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "resizable-split-pane-main", className: "min-h-0 min-w-0 flex-1 overflow-auto", children: main }),
14178
14280
  !isSideCollapsed && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -14239,7 +14341,7 @@ var tagInputFieldVariants = classVarianceAuthority.cva([
14239
14341
  "min-w-[6ch] flex-1 border-none bg-transparent px-1 py-0.5 text-sm text-foreground outline-none",
14240
14342
  "placeholder:text-muted-foreground"
14241
14343
  ]);
14242
- function cn91(...classes) {
14344
+ function cn92(...classes) {
14243
14345
  return classes.filter(Boolean).join(" ");
14244
14346
  }
14245
14347
  function mergeRefs2(externalRef, node) {
@@ -14290,7 +14392,7 @@ function MosaicTagInput({
14290
14392
  if (lastTag !== void 0) onRemoveTag(lastTag);
14291
14393
  }
14292
14394
  }
14293
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "tag-input", className: cn91(tagInputRootVariants(), className), children: [
14395
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "tag-input", className: cn92(tagInputRootVariants(), className), children: [
14294
14396
  tags.map((tag) => /* @__PURE__ */ jsxRuntime.jsxs("span", { "data-slot": "tag-input-tag", className: tagInputTagVariants(), children: [
14295
14397
  tag,
14296
14398
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -14327,7 +14429,7 @@ function MosaicTagInput({
14327
14429
  "ul",
14328
14430
  {
14329
14431
  "data-slot": "tag-input-suggestions",
14330
- className: cn91(
14432
+ className: cn92(
14331
14433
  "z-50 mt-1 w-full min-w-[8rem] overflow-hidden rounded-md border border-border",
14332
14434
  "bg-popover p-1 text-sm text-popover-foreground shadow-md"
14333
14435
  ),
@@ -14367,7 +14469,7 @@ var drawerPopupVariants = classVarianceAuthority.cva(
14367
14469
  }
14368
14470
  );
14369
14471
  var drawerBackdropVariants = classVarianceAuthority.cva(["fixed inset-0 z-50 bg-black/50"]);
14370
- function cn92(...classes) {
14472
+ function cn93(...classes) {
14371
14473
  return classes.filter(Boolean).join(" ");
14372
14474
  }
14373
14475
  function MosaicDrawer({
@@ -14388,7 +14490,7 @@ function MosaicDrawer({
14388
14490
  "data-slot": "drawer",
14389
14491
  "aria-labelledby": titleId,
14390
14492
  "aria-modal": "true",
14391
- className: cn92(drawerPopupVariants({ side }), className),
14493
+ className: cn93(drawerPopupVariants({ side }), className),
14392
14494
  children: [
14393
14495
  /* @__PURE__ */ jsxRuntime.jsxs(
14394
14496
  "div",
@@ -14401,7 +14503,7 @@ function MosaicDrawer({
14401
14503
  dialog.Dialog.Close,
14402
14504
  {
14403
14505
  "aria-label": closeAriaLabel,
14404
- className: cn92(
14506
+ className: cn93(
14405
14507
  "flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors",
14406
14508
  "hover:bg-muted hover:text-foreground",
14407
14509
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -14445,7 +14547,7 @@ var popoverPopupVariants = classVarianceAuthority.cva([
14445
14547
  "data-[ending-style]:scale-95 data-[ending-style]:opacity-0",
14446
14548
  "data-[starting-style]:scale-95 data-[starting-style]:opacity-0"
14447
14549
  ]);
14448
- function cn93(...classes) {
14550
+ function cn94(...classes) {
14449
14551
  return classes.filter(Boolean).join(" ");
14450
14552
  }
14451
14553
  function MosaicPopover({
@@ -14474,7 +14576,7 @@ function MosaicPopover({
14474
14576
  "data-slot": "popover",
14475
14577
  "aria-label": ariaLabel,
14476
14578
  initialFocus,
14477
- className: cn93(popoverPopupVariants(), className),
14579
+ className: cn94(popoverPopupVariants(), className),
14478
14580
  children
14479
14581
  }
14480
14582
  )
@@ -14501,7 +14603,7 @@ var templateCategoryChipVariants = classVarianceAuthority.cva(
14501
14603
  }
14502
14604
  }
14503
14605
  );
14504
- function cn94(...classes) {
14606
+ function cn95(...classes) {
14505
14607
  return classes.filter(Boolean).join(" ");
14506
14608
  }
14507
14609
  function MosaicTemplateCategoryChips({
@@ -14516,7 +14618,7 @@ function MosaicTemplateCategoryChips({
14516
14618
  {
14517
14619
  ref,
14518
14620
  "data-slot": "template-category-chips",
14519
- className: cn94("flex flex-wrap items-center gap-2", className),
14621
+ className: cn95("flex flex-wrap items-center gap-2", className),
14520
14622
  children: categories.map((category) => {
14521
14623
  const isSelected = category.id === selected;
14522
14624
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -14536,52 +14638,33 @@ function MosaicTemplateCategoryChips({
14536
14638
  );
14537
14639
  }
14538
14640
  MosaicTemplateCategoryChips.displayName = "MosaicTemplateCategoryChips";
14539
- var saveTemplateModalBodyVariants = classVarianceAuthority.cva(["flex flex-col gap-4"]);
14540
- var saveTemplateModalFieldVariants = classVarianceAuthority.cva(["flex flex-col gap-1.5"]);
14541
- var saveTemplateModalErrorVariants = classVarianceAuthority.cva(["text-xs font-medium text-destructive"]);
14542
- var saveTemplateModalFooterVariants = classVarianceAuthority.cva([
14543
- "flex items-center justify-end gap-3 border-t border-border pt-4"
14641
+ var editMemoryDialogPopupVariants = classVarianceAuthority.cva([
14642
+ "fixed top-1/2 left-1/2 z-50 flex max-h-[85vh] w-full max-w-[calc(100%-2rem)] flex-col",
14643
+ "-translate-x-1/2 -translate-y-1/2",
14644
+ "rounded-lg border border-border bg-background shadow-lg outline-none",
14645
+ "sm:max-w-lg"
14544
14646
  ]);
14545
- var saveTemplateModalButtonVariants = classVarianceAuthority.cva(
14546
- [
14547
- "inline-flex min-h-9 items-center justify-center gap-2 rounded-md px-4 text-sm font-medium",
14548
- "transition-colors disabled:cursor-not-allowed disabled:opacity-50"
14549
- ],
14550
- {
14551
- variants: {
14552
- intent: {
14553
- cancel: "border border-border bg-background hover:bg-muted",
14554
- save: "border border-transparent bg-primary text-primary-foreground hover:bg-primary/90"
14555
- }
14556
- },
14557
- defaultVariants: {
14558
- intent: "cancel"
14559
- }
14560
- }
14561
- );
14562
- function cn95(...classes) {
14647
+ var editMemoryDialogBackdropVariants = classVarianceAuthority.cva(["fixed inset-0 z-50 bg-black/50"]);
14648
+ var editMemoryDialogFieldVariants = classVarianceAuthority.cva(["flex flex-col gap-1.5"]);
14649
+ var editMemoryDialogErrorVariants = classVarianceAuthority.cva(["text-sm text-destructive"]);
14650
+ function cn96(...classes) {
14563
14651
  return classes.filter(Boolean).join(" ");
14564
14652
  }
14565
- function MosaicSaveTemplateModal({
14653
+ function MosaicEditMemoryDialog({
14566
14654
  open,
14567
14655
  onOpenChange,
14568
14656
  title,
14569
14657
  description,
14570
14658
  closeAriaLabel,
14571
- name,
14572
- onNameChange,
14573
- nameLabel,
14574
- namePlaceholder,
14575
- nameError,
14576
- templateDescription,
14577
- onTemplateDescriptionChange,
14578
- descriptionLabel,
14579
- descriptionPlaceholder,
14580
- descriptionError,
14581
- categories,
14582
- category,
14583
- onCategoryChange,
14584
- categoryLabel,
14659
+ content,
14660
+ onContentChange,
14661
+ contentLabel,
14662
+ contentPlaceholder,
14663
+ contentError,
14664
+ types,
14665
+ type,
14666
+ onTypeChange,
14667
+ typeLabel,
14585
14668
  tags,
14586
14669
  onAddTag,
14587
14670
  onRemoveTag,
@@ -14594,7 +14677,242 @@ function MosaicSaveTemplateModal({
14594
14677
  canSave,
14595
14678
  onSave,
14596
14679
  onCancel,
14597
- saveButtonLabel,
14680
+ saveLabel,
14681
+ savingLabel,
14682
+ cancelLabel,
14683
+ className
14684
+ }) {
14685
+ const titleId = React30__namespace.useId();
14686
+ const descriptionId = React30__namespace.useId();
14687
+ const contentErrorId = React30__namespace.useId();
14688
+ const saveDisabled = !canSave || isSaving;
14689
+ const handleSave = () => {
14690
+ if (saveDisabled) return;
14691
+ onSave();
14692
+ };
14693
+ return /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Root, { open, onOpenChange: (nextOpen) => onOpenChange(nextOpen), modal: true, children: /* @__PURE__ */ jsxRuntime.jsxs(dialog.Dialog.Portal, { children: [
14694
+ /* @__PURE__ */ jsxRuntime.jsx(
14695
+ dialog.Dialog.Backdrop,
14696
+ {
14697
+ "data-slot": "edit-memory-dialog-backdrop",
14698
+ className: editMemoryDialogBackdropVariants()
14699
+ }
14700
+ ),
14701
+ /* @__PURE__ */ jsxRuntime.jsxs(
14702
+ dialog.Dialog.Popup,
14703
+ {
14704
+ "data-slot": "edit-memory-dialog",
14705
+ "aria-labelledby": titleId,
14706
+ "aria-describedby": descriptionId,
14707
+ "aria-modal": "true",
14708
+ className: cn96(editMemoryDialogPopupVariants(), className),
14709
+ children: [
14710
+ /* @__PURE__ */ jsxRuntime.jsxs(
14711
+ "div",
14712
+ {
14713
+ "data-slot": "edit-memory-dialog-header",
14714
+ className: "flex items-start justify-between gap-4 border-b border-border p-4",
14715
+ children: [
14716
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
14717
+ /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Title, { id: titleId, className: "text-base font-semibold text-foreground", children: title }),
14718
+ /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Description, { id: descriptionId, className: "text-sm text-muted-foreground", children: description })
14719
+ ] }),
14720
+ /* @__PURE__ */ jsxRuntime.jsx(
14721
+ dialog.Dialog.Close,
14722
+ {
14723
+ "aria-label": closeAriaLabel,
14724
+ className: cn96(
14725
+ "flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors",
14726
+ "hover:bg-muted hover:text-foreground",
14727
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
14728
+ ),
14729
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
14730
+ "svg",
14731
+ {
14732
+ width: "16",
14733
+ height: "16",
14734
+ viewBox: "0 0 24 24",
14735
+ fill: "none",
14736
+ stroke: "currentColor",
14737
+ strokeWidth: "2",
14738
+ strokeLinecap: "round",
14739
+ strokeLinejoin: "round",
14740
+ "aria-hidden": "true",
14741
+ children: [
14742
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
14743
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
14744
+ ]
14745
+ }
14746
+ )
14747
+ }
14748
+ )
14749
+ ]
14750
+ }
14751
+ ),
14752
+ /* @__PURE__ */ jsxRuntime.jsxs(
14753
+ "div",
14754
+ {
14755
+ "data-slot": "edit-memory-dialog-body",
14756
+ className: "flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto p-4",
14757
+ children: [
14758
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: editMemoryDialogFieldVariants(), children: [
14759
+ /* @__PURE__ */ jsxRuntime.jsx(
14760
+ "label",
14761
+ {
14762
+ htmlFor: "mosaic-edit-memory-content",
14763
+ className: "text-sm font-medium text-foreground",
14764
+ children: contentLabel
14765
+ }
14766
+ ),
14767
+ /* @__PURE__ */ jsxRuntime.jsx(
14768
+ MosaicTextarea,
14769
+ {
14770
+ id: "mosaic-edit-memory-content",
14771
+ value: content,
14772
+ placeholder: contentPlaceholder,
14773
+ onChange: (event) => onContentChange(event.target.value),
14774
+ rows: 4,
14775
+ "aria-invalid": contentError ? "true" : "false",
14776
+ "aria-describedby": contentError ? contentErrorId : void 0
14777
+ }
14778
+ ),
14779
+ contentError && /* @__PURE__ */ jsxRuntime.jsx("p", { id: contentErrorId, className: editMemoryDialogErrorVariants(), children: contentError })
14780
+ ] }),
14781
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: editMemoryDialogFieldVariants(), children: [
14782
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-foreground", children: typeLabel }),
14783
+ /* @__PURE__ */ jsxRuntime.jsx(
14784
+ MosaicSelect,
14785
+ {
14786
+ items: types,
14787
+ value: type,
14788
+ onValueChange: (value) => {
14789
+ if (value) onTypeChange(value);
14790
+ }
14791
+ }
14792
+ )
14793
+ ] }),
14794
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: editMemoryDialogFieldVariants(), children: [
14795
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-foreground", children: tagsLabel }),
14796
+ /* @__PURE__ */ jsxRuntime.jsx(
14797
+ MosaicTagInput,
14798
+ {
14799
+ tags,
14800
+ onAddTag,
14801
+ onRemoveTag,
14802
+ placeholder: tagInputPlaceholder,
14803
+ removeTagAriaLabel,
14804
+ suggestions: suggestedTags,
14805
+ maxTags
14806
+ }
14807
+ )
14808
+ ] })
14809
+ ]
14810
+ }
14811
+ ),
14812
+ /* @__PURE__ */ jsxRuntime.jsxs(
14813
+ "div",
14814
+ {
14815
+ "data-slot": "edit-memory-dialog-footer",
14816
+ className: "flex flex-col-reverse gap-2 border-t border-border p-4 sm:flex-row sm:justify-end",
14817
+ children: [
14818
+ /* @__PURE__ */ jsxRuntime.jsx(
14819
+ dialog.Dialog.Close,
14820
+ {
14821
+ onClick: onCancel,
14822
+ className: cn96(
14823
+ "inline-flex h-9 items-center justify-center gap-1.5 rounded-md border border-border px-4",
14824
+ "bg-background text-sm font-medium text-foreground shadow-xs",
14825
+ "hover:bg-muted hover:text-foreground",
14826
+ "focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring",
14827
+ "disabled:pointer-events-none disabled:opacity-50"
14828
+ ),
14829
+ children: cancelLabel
14830
+ }
14831
+ ),
14832
+ /* @__PURE__ */ jsxRuntime.jsx(
14833
+ "button",
14834
+ {
14835
+ type: "button",
14836
+ onClick: handleSave,
14837
+ disabled: saveDisabled,
14838
+ className: cn96(
14839
+ "inline-flex h-9 items-center justify-center gap-1.5 rounded-md px-4",
14840
+ "bg-primary text-sm font-medium text-primary-foreground",
14841
+ "hover:bg-primary/90",
14842
+ "focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring",
14843
+ "disabled:pointer-events-none disabled:opacity-50"
14844
+ ),
14845
+ children: isSaving ? savingLabel : saveLabel
14846
+ }
14847
+ )
14848
+ ]
14849
+ }
14850
+ )
14851
+ ]
14852
+ }
14853
+ )
14854
+ ] }) });
14855
+ }
14856
+ MosaicEditMemoryDialog.displayName = "MosaicEditMemoryDialog";
14857
+ var saveTemplateModalBodyVariants = classVarianceAuthority.cva(["flex flex-col gap-4"]);
14858
+ var saveTemplateModalFieldVariants = classVarianceAuthority.cva(["flex flex-col gap-1.5"]);
14859
+ var saveTemplateModalErrorVariants = classVarianceAuthority.cva(["text-xs font-medium text-destructive"]);
14860
+ var saveTemplateModalFooterVariants = classVarianceAuthority.cva([
14861
+ "flex items-center justify-end gap-3 border-t border-border pt-4"
14862
+ ]);
14863
+ var saveTemplateModalButtonVariants = classVarianceAuthority.cva(
14864
+ [
14865
+ "inline-flex min-h-9 items-center justify-center gap-2 rounded-md px-4 text-sm font-medium",
14866
+ "transition-colors disabled:cursor-not-allowed disabled:opacity-50"
14867
+ ],
14868
+ {
14869
+ variants: {
14870
+ intent: {
14871
+ cancel: "border border-border bg-background hover:bg-muted",
14872
+ save: "border border-transparent bg-primary text-primary-foreground hover:bg-primary/90"
14873
+ }
14874
+ },
14875
+ defaultVariants: {
14876
+ intent: "cancel"
14877
+ }
14878
+ }
14879
+ );
14880
+ function cn97(...classes) {
14881
+ return classes.filter(Boolean).join(" ");
14882
+ }
14883
+ function MosaicSaveTemplateModal({
14884
+ open,
14885
+ onOpenChange,
14886
+ title,
14887
+ description,
14888
+ closeAriaLabel,
14889
+ name,
14890
+ onNameChange,
14891
+ nameLabel,
14892
+ namePlaceholder,
14893
+ nameError,
14894
+ templateDescription,
14895
+ onTemplateDescriptionChange,
14896
+ descriptionLabel,
14897
+ descriptionPlaceholder,
14898
+ descriptionError,
14899
+ categories,
14900
+ category,
14901
+ onCategoryChange,
14902
+ categoryLabel,
14903
+ tags,
14904
+ onAddTag,
14905
+ onRemoveTag,
14906
+ tagsLabel,
14907
+ tagInputPlaceholder,
14908
+ removeTagAriaLabel,
14909
+ suggestedTags,
14910
+ maxTags,
14911
+ isSaving,
14912
+ canSave,
14913
+ onSave,
14914
+ onCancel,
14915
+ saveButtonLabel,
14598
14916
  savingLabel,
14599
14917
  cancelButtonLabel,
14600
14918
  children,
@@ -14615,7 +14933,7 @@ function MosaicSaveTemplateModal({
14615
14933
  "div",
14616
14934
  {
14617
14935
  "data-slot": "save-template-modal",
14618
- className: cn95(saveTemplateModalBodyVariants(), className),
14936
+ className: cn97(saveTemplateModalBodyVariants(), className),
14619
14937
  children: [
14620
14938
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: saveTemplateModalFieldVariants(), children: [
14621
14939
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -14723,6 +15041,133 @@ function MosaicSaveTemplateModal({
14723
15041
  );
14724
15042
  }
14725
15043
  MosaicSaveTemplateModal.displayName = "MosaicSaveTemplateModal";
15044
+ var addMemoryFormRootVariants = classVarianceAuthority.cva(["flex flex-col gap-4"]);
15045
+ var addMemoryFormFieldVariants = classVarianceAuthority.cva(["flex flex-col gap-1.5"]);
15046
+ var addMemoryFormErrorVariants = classVarianceAuthority.cva(["text-xs font-medium text-destructive"]);
15047
+ var addMemoryFormFooterVariants = classVarianceAuthority.cva([
15048
+ "flex items-center justify-end gap-3 border-t border-border pt-4"
15049
+ ]);
15050
+ var addMemoryFormButtonVariants = classVarianceAuthority.cva(
15051
+ [
15052
+ "inline-flex min-h-9 items-center justify-center gap-2 rounded-md px-4 text-sm font-medium",
15053
+ "transition-colors disabled:cursor-not-allowed disabled:opacity-50"
15054
+ ],
15055
+ {
15056
+ variants: {
15057
+ intent: {
15058
+ cancel: "border border-border bg-background hover:bg-muted",
15059
+ submit: "border border-transparent bg-primary text-primary-foreground hover:bg-primary/90"
15060
+ }
15061
+ },
15062
+ defaultVariants: {
15063
+ intent: "cancel"
15064
+ }
15065
+ }
15066
+ );
15067
+ function cn98(...classes) {
15068
+ return classes.filter(Boolean).join(" ");
15069
+ }
15070
+ function MosaicAddMemoryForm({
15071
+ content,
15072
+ onContentChange,
15073
+ contentLabel,
15074
+ contentPlaceholder,
15075
+ contentError,
15076
+ types,
15077
+ type,
15078
+ onTypeChange,
15079
+ typeLabel,
15080
+ tags,
15081
+ onAddTag,
15082
+ onRemoveTag,
15083
+ tagsLabel,
15084
+ tagInputPlaceholder,
15085
+ removeTagAriaLabel,
15086
+ suggestedTags,
15087
+ maxTags,
15088
+ isSubmitting,
15089
+ canSubmit,
15090
+ onSubmit,
15091
+ onCancel,
15092
+ submitButtonLabel,
15093
+ submittingLabel,
15094
+ cancelButtonLabel,
15095
+ className
15096
+ }) {
15097
+ const contentErrorId = React30.useId();
15098
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "add-memory-form", className: cn98(addMemoryFormRootVariants(), className), children: [
15099
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: addMemoryFormFieldVariants(), children: [
15100
+ /* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: "mosaic-add-memory-content", className: "text-sm font-medium text-foreground", children: contentLabel }),
15101
+ /* @__PURE__ */ jsxRuntime.jsx(
15102
+ MosaicTextarea,
15103
+ {
15104
+ id: "mosaic-add-memory-content",
15105
+ value: content,
15106
+ placeholder: contentPlaceholder,
15107
+ onChange: (e) => onContentChange(e.target.value),
15108
+ rows: 4,
15109
+ "aria-invalid": contentError ? "true" : "false",
15110
+ "aria-describedby": contentError ? contentErrorId : void 0
15111
+ }
15112
+ ),
15113
+ contentError && /* @__PURE__ */ jsxRuntime.jsx("p", { id: contentErrorId, className: addMemoryFormErrorVariants(), children: contentError })
15114
+ ] }),
15115
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: addMemoryFormFieldVariants(), children: [
15116
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-foreground", children: typeLabel }),
15117
+ /* @__PURE__ */ jsxRuntime.jsx(
15118
+ MosaicSelect,
15119
+ {
15120
+ items: types,
15121
+ value: type,
15122
+ onValueChange: (value) => {
15123
+ if (value) onTypeChange(value);
15124
+ }
15125
+ }
15126
+ )
15127
+ ] }),
15128
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: addMemoryFormFieldVariants(), children: [
15129
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-foreground", children: tagsLabel }),
15130
+ /* @__PURE__ */ jsxRuntime.jsx(
15131
+ MosaicTagInput,
15132
+ {
15133
+ tags,
15134
+ onAddTag,
15135
+ onRemoveTag,
15136
+ placeholder: tagInputPlaceholder,
15137
+ removeTagAriaLabel,
15138
+ suggestions: suggestedTags,
15139
+ maxTags
15140
+ }
15141
+ )
15142
+ ] }),
15143
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: addMemoryFormFooterVariants(), children: [
15144
+ /* @__PURE__ */ jsxRuntime.jsx(
15145
+ "button",
15146
+ {
15147
+ type: "button",
15148
+ "data-slot": "add-memory-form-cancel-button",
15149
+ onClick: onCancel,
15150
+ disabled: isSubmitting,
15151
+ className: addMemoryFormButtonVariants({ intent: "cancel" }),
15152
+ children: cancelButtonLabel
15153
+ }
15154
+ ),
15155
+ /* @__PURE__ */ jsxRuntime.jsx(
15156
+ "button",
15157
+ {
15158
+ type: "button",
15159
+ "data-slot": "add-memory-form-submit-button",
15160
+ onClick: onSubmit,
15161
+ disabled: !canSubmit || isSubmitting,
15162
+ "aria-busy": isSubmitting ? "true" : "false",
15163
+ className: addMemoryFormButtonVariants({ intent: "submit" }),
15164
+ children: isSubmitting ? submittingLabel : submitButtonLabel
15165
+ }
15166
+ )
15167
+ ] })
15168
+ ] });
15169
+ }
15170
+ MosaicAddMemoryForm.displayName = "MosaicAddMemoryForm";
14726
15171
  var templateListVariants = classVarianceAuthority.cva(["grid gap-4"], {
14727
15172
  variants: {
14728
15173
  layout: {
@@ -14734,7 +15179,7 @@ var templateListVariants = classVarianceAuthority.cva(["grid gap-4"], {
14734
15179
  layout: "grid"
14735
15180
  }
14736
15181
  });
14737
- function cn96(...classes) {
15182
+ function cn99(...classes) {
14738
15183
  return classes.filter(Boolean).join(" ");
14739
15184
  }
14740
15185
  var NEXT_KEYS = /* @__PURE__ */ new Set(["ArrowRight", "ArrowDown"]);
@@ -14779,7 +15224,7 @@ function MosaicTemplateList({
14779
15224
  {
14780
15225
  ref,
14781
15226
  "data-slot": "template-list",
14782
- className: cn96(templateListVariants({ layout }), className),
15227
+ className: cn99(templateListVariants({ layout }), className),
14783
15228
  children: /* @__PURE__ */ jsxRuntime.jsx(
14784
15229
  "p",
14785
15230
  {
@@ -14796,7 +15241,7 @@ function MosaicTemplateList({
14796
15241
  {
14797
15242
  ref,
14798
15243
  "data-slot": "template-list",
14799
- className: cn96("list-none", templateListVariants({ layout }), className),
15244
+ className: cn99("list-none", templateListVariants({ layout }), className),
14800
15245
  children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
14801
15246
  "li",
14802
15247
  {
@@ -14819,7 +15264,7 @@ MosaicTemplateList.displayName = "MosaicTemplateList";
14819
15264
  var templateManagementRowVariants = classVarianceAuthority.cva(
14820
15265
  "flex items-center justify-between gap-3 border-b border-border px-4 py-3 last:border-b-0"
14821
15266
  );
14822
- function cn97(...classes) {
15267
+ function cn100(...classes) {
14823
15268
  return classes.filter(Boolean).join(" ");
14824
15269
  }
14825
15270
  function MosaicTemplateManagementPanel({
@@ -14874,7 +15319,7 @@ function MosaicTemplateManagementPanel({
14874
15319
  "div",
14875
15320
  {
14876
15321
  "data-slot": "template-management-panel",
14877
- className: cn97("flex flex-col rounded-lg border border-border bg-background", className),
15322
+ className: cn100("flex flex-col rounded-lg border border-border bg-background", className),
14878
15323
  children: [
14879
15324
  /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "border-b border-border px-4 py-3 font-semibold text-foreground text-sm", children: heading }),
14880
15325
  templates.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "px-4 py-6 text-center text-muted-foreground text-sm", children: emptyMessage }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { children: templates.map((item) => {
@@ -14906,7 +15351,7 @@ function MosaicTemplateManagementPanel({
14906
15351
  {
14907
15352
  type: "button",
14908
15353
  "aria-label": actionsAriaLabelFor(item.name),
14909
- className: cn97(
15354
+ className: cn100(
14910
15355
  "flex size-8 items-center justify-center rounded-md",
14911
15356
  "text-muted-foreground hover:bg-muted hover:text-foreground"
14912
15357
  ),
@@ -14959,7 +15404,7 @@ var chatSidebarThreadVariants = classVarianceAuthority.cva(
14959
15404
  }
14960
15405
  }
14961
15406
  );
14962
- function cn98(...classes) {
15407
+ function cn101(...classes) {
14963
15408
  return classes.filter(Boolean).join(" ");
14964
15409
  }
14965
15410
  var NEXT_KEYS2 = /* @__PURE__ */ new Set(["ArrowDown"]);
@@ -15010,7 +15455,7 @@ function MosaicChatSidebar({
15010
15455
  {
15011
15456
  ref,
15012
15457
  "data-slot": "chat-sidebar",
15013
- className: cn98("flex h-full flex-col gap-2 overflow-y-auto", className),
15458
+ className: cn101("flex h-full flex-col gap-2 overflow-y-auto", className),
15014
15459
  children: [
15015
15460
  /* @__PURE__ */ jsxRuntime.jsx(
15016
15461
  "button",
@@ -15043,7 +15488,7 @@ function MosaicChatSidebar({
15043
15488
  onKeyDown: (event) => handleKeyDown(event, index, thread.id),
15044
15489
  onFocus: () => setFocusedIndex(index),
15045
15490
  onClick: () => onSelectThread(thread.id),
15046
- className: cn98(chatSidebarThreadVariants({ active: isActive }), itemClassName),
15491
+ className: cn101(chatSidebarThreadVariants({ active: isActive }), itemClassName),
15047
15492
  children: renderThread(thread, index)
15048
15493
  },
15049
15494
  thread.id
@@ -15054,6 +15499,330 @@ function MosaicChatSidebar({
15054
15499
  );
15055
15500
  }
15056
15501
  MosaicChatSidebar.displayName = "MosaicChatSidebar";
15502
+ var memoryGridVariants = classVarianceAuthority.cva(["grid", "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3"], {
15503
+ variants: {
15504
+ density: {
15505
+ comfortable: "gap-4",
15506
+ compact: "gap-2"
15507
+ }
15508
+ },
15509
+ defaultVariants: {
15510
+ density: "comfortable"
15511
+ }
15512
+ });
15513
+ function cn102(...classes) {
15514
+ return classes.filter(Boolean).join(" ");
15515
+ }
15516
+ var NEXT_KEYS3 = /* @__PURE__ */ new Set(["ArrowRight", "ArrowDown"]);
15517
+ var PREV_KEYS3 = /* @__PURE__ */ new Set(["ArrowLeft", "ArrowUp"]);
15518
+ function MosaicMemoryGrid({
15519
+ items,
15520
+ renderItem,
15521
+ density = "comfortable",
15522
+ emptyMessage,
15523
+ className,
15524
+ itemClassName,
15525
+ ref
15526
+ }) {
15527
+ const itemRefs = React30.useRef([]);
15528
+ const [focusedIndex, setFocusedIndex] = React30.useState(0);
15529
+ function focusItem(index) {
15530
+ if (items.length === 0) {
15531
+ return;
15532
+ }
15533
+ const clamped = Math.max(0, Math.min(items.length - 1, index));
15534
+ setFocusedIndex(clamped);
15535
+ itemRefs.current[clamped]?.focus();
15536
+ }
15537
+ function handleKeyDown(event, index) {
15538
+ if (NEXT_KEYS3.has(event.key)) {
15539
+ event.preventDefault();
15540
+ focusItem(index + 1);
15541
+ } else if (PREV_KEYS3.has(event.key)) {
15542
+ event.preventDefault();
15543
+ focusItem(index - 1);
15544
+ } else if (event.key === "Home") {
15545
+ event.preventDefault();
15546
+ focusItem(0);
15547
+ } else if (event.key === "End") {
15548
+ event.preventDefault();
15549
+ focusItem(items.length - 1);
15550
+ }
15551
+ }
15552
+ if (items.length === 0) {
15553
+ return /* @__PURE__ */ jsxRuntime.jsx(
15554
+ "div",
15555
+ {
15556
+ ref,
15557
+ "data-slot": "memory-grid",
15558
+ className: cn102(memoryGridVariants({ density }), className),
15559
+ children: /* @__PURE__ */ jsxRuntime.jsx(
15560
+ "p",
15561
+ {
15562
+ "data-slot": "memory-grid-empty",
15563
+ className: "col-span-full py-12 text-center text-sm text-muted-foreground",
15564
+ children: emptyMessage
15565
+ }
15566
+ )
15567
+ }
15568
+ );
15569
+ }
15570
+ return /* @__PURE__ */ jsxRuntime.jsx(
15571
+ "ul",
15572
+ {
15573
+ ref,
15574
+ "data-slot": "memory-grid",
15575
+ className: cn102("list-none", memoryGridVariants({ density }), className),
15576
+ children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
15577
+ "li",
15578
+ {
15579
+ ref: (node) => {
15580
+ itemRefs.current[index] = node;
15581
+ },
15582
+ "data-slot": "memory-grid-item",
15583
+ tabIndex: index === focusedIndex ? 0 : -1,
15584
+ onKeyDown: (event) => handleKeyDown(event, index),
15585
+ onFocus: () => setFocusedIndex(index),
15586
+ className: itemClassName,
15587
+ children: renderItem(item, index)
15588
+ },
15589
+ item.id
15590
+ ))
15591
+ }
15592
+ );
15593
+ }
15594
+ MosaicMemoryGrid.displayName = "MosaicMemoryGrid";
15595
+ var memoryListVariants = classVarianceAuthority.cva(["flex flex-col", "divide-y divide-border"], {
15596
+ variants: {
15597
+ density: {
15598
+ comfortable: "",
15599
+ compact: ""
15600
+ }
15601
+ },
15602
+ defaultVariants: {
15603
+ density: "comfortable"
15604
+ }
15605
+ });
15606
+ var memoryListItemVariants = classVarianceAuthority.cva([], {
15607
+ variants: {
15608
+ density: {
15609
+ comfortable: "py-3",
15610
+ compact: "py-1"
15611
+ }
15612
+ },
15613
+ defaultVariants: {
15614
+ density: "comfortable"
15615
+ }
15616
+ });
15617
+ function cn103(...classes) {
15618
+ return classes.filter(Boolean).join(" ");
15619
+ }
15620
+ var NEXT_KEYS4 = /* @__PURE__ */ new Set(["ArrowRight", "ArrowDown"]);
15621
+ var PREV_KEYS4 = /* @__PURE__ */ new Set(["ArrowLeft", "ArrowUp"]);
15622
+ function MosaicMemoryList({
15623
+ items,
15624
+ renderItem,
15625
+ density = "comfortable",
15626
+ emptyMessage,
15627
+ className,
15628
+ itemClassName,
15629
+ ref
15630
+ }) {
15631
+ const itemRefs = React30.useRef([]);
15632
+ const [focusedIndex, setFocusedIndex] = React30.useState(0);
15633
+ function focusItem(index) {
15634
+ if (items.length === 0) {
15635
+ return;
15636
+ }
15637
+ const clamped = Math.max(0, Math.min(items.length - 1, index));
15638
+ setFocusedIndex(clamped);
15639
+ itemRefs.current[clamped]?.focus();
15640
+ }
15641
+ function handleKeyDown(event, index) {
15642
+ if (NEXT_KEYS4.has(event.key)) {
15643
+ event.preventDefault();
15644
+ focusItem(index + 1);
15645
+ } else if (PREV_KEYS4.has(event.key)) {
15646
+ event.preventDefault();
15647
+ focusItem(index - 1);
15648
+ } else if (event.key === "Home") {
15649
+ event.preventDefault();
15650
+ focusItem(0);
15651
+ } else if (event.key === "End") {
15652
+ event.preventDefault();
15653
+ focusItem(items.length - 1);
15654
+ }
15655
+ }
15656
+ if (items.length === 0) {
15657
+ return /* @__PURE__ */ jsxRuntime.jsx(
15658
+ "div",
15659
+ {
15660
+ ref,
15661
+ "data-slot": "memory-list",
15662
+ className: cn103(memoryListVariants({ density }), className),
15663
+ children: /* @__PURE__ */ jsxRuntime.jsx(
15664
+ "p",
15665
+ {
15666
+ "data-slot": "memory-list-empty",
15667
+ className: "py-12 text-center text-sm text-muted-foreground",
15668
+ children: emptyMessage
15669
+ }
15670
+ )
15671
+ }
15672
+ );
15673
+ }
15674
+ return /* @__PURE__ */ jsxRuntime.jsx(
15675
+ "ul",
15676
+ {
15677
+ ref,
15678
+ "data-slot": "memory-list",
15679
+ className: cn103("list-none", memoryListVariants({ density }), className),
15680
+ children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
15681
+ "li",
15682
+ {
15683
+ ref: (node) => {
15684
+ itemRefs.current[index] = node;
15685
+ },
15686
+ "data-slot": "memory-list-item",
15687
+ tabIndex: index === focusedIndex ? 0 : -1,
15688
+ onKeyDown: (event) => handleKeyDown(event, index),
15689
+ onFocus: () => setFocusedIndex(index),
15690
+ className: cn103(memoryListItemVariants({ density }), itemClassName),
15691
+ children: renderItem(item, index)
15692
+ },
15693
+ item.id
15694
+ ))
15695
+ }
15696
+ );
15697
+ }
15698
+ MosaicMemoryList.displayName = "MosaicMemoryList";
15699
+ var memorySearchFilterChipVariants = classVarianceAuthority.cva(
15700
+ [
15701
+ "inline-flex items-center justify-center whitespace-nowrap",
15702
+ "rounded-full border px-3 py-1 gap-1",
15703
+ "text-xs font-medium transition-colors",
15704
+ "focus-visible:outline-none focus-visible:ring-ring focus-visible:ring-[3px]"
15705
+ ],
15706
+ {
15707
+ variants: {
15708
+ selected: {
15709
+ true: "border-transparent bg-primary text-primary-foreground",
15710
+ false: "border-border bg-background text-foreground hover:bg-muted"
15711
+ }
15712
+ },
15713
+ defaultVariants: {
15714
+ selected: false
15715
+ }
15716
+ }
15717
+ );
15718
+ function cn104(...classes) {
15719
+ return classes.filter(Boolean).join(" ");
15720
+ }
15721
+ function SearchIcon8() {
15722
+ return /* @__PURE__ */ jsxRuntime.jsxs(
15723
+ "svg",
15724
+ {
15725
+ xmlns: "http://www.w3.org/2000/svg",
15726
+ width: "16",
15727
+ height: "16",
15728
+ viewBox: "0 0 24 24",
15729
+ fill: "none",
15730
+ stroke: "currentColor",
15731
+ strokeWidth: "2",
15732
+ strokeLinecap: "round",
15733
+ strokeLinejoin: "round",
15734
+ "aria-hidden": "true",
15735
+ children: [
15736
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "8" }),
15737
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
15738
+ ]
15739
+ }
15740
+ );
15741
+ }
15742
+ function ClearIcon() {
15743
+ return /* @__PURE__ */ jsxRuntime.jsxs(
15744
+ "svg",
15745
+ {
15746
+ xmlns: "http://www.w3.org/2000/svg",
15747
+ width: "14",
15748
+ height: "14",
15749
+ viewBox: "0 0 24 24",
15750
+ fill: "none",
15751
+ stroke: "currentColor",
15752
+ strokeWidth: "2",
15753
+ strokeLinecap: "round",
15754
+ strokeLinejoin: "round",
15755
+ "aria-hidden": "true",
15756
+ children: [
15757
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
15758
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
15759
+ ]
15760
+ }
15761
+ );
15762
+ }
15763
+ function MosaicMemorySearch({
15764
+ query,
15765
+ onQueryChange,
15766
+ searchLabel,
15767
+ searchPlaceholder,
15768
+ clearButtonLabel,
15769
+ resultCount,
15770
+ formatResultCount,
15771
+ filters,
15772
+ selectedFilterIds,
15773
+ onFilterToggle,
15774
+ className,
15775
+ ref
15776
+ }) {
15777
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "memory-search", className: cn104("flex flex-col gap-2", className), children: [
15778
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
15779
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(SearchIcon8, {}) }),
15780
+ /* @__PURE__ */ jsxRuntime.jsx(
15781
+ MosaicInput,
15782
+ {
15783
+ type: "search",
15784
+ "aria-label": searchLabel,
15785
+ placeholder: searchPlaceholder,
15786
+ value: query,
15787
+ onChange: (event) => onQueryChange(event.target.value),
15788
+ className: "pl-9 pr-9"
15789
+ }
15790
+ ),
15791
+ query.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
15792
+ "button",
15793
+ {
15794
+ type: "button",
15795
+ "aria-label": clearButtonLabel,
15796
+ onClick: () => onQueryChange(""),
15797
+ className: cn104(
15798
+ "absolute right-2 top-1/2 -translate-y-1/2",
15799
+ "flex size-5 items-center justify-center rounded-full",
15800
+ "text-muted-foreground hover:bg-muted hover:text-foreground",
15801
+ "focus-visible:outline-none focus-visible:ring-ring focus-visible:ring-[3px]"
15802
+ ),
15803
+ children: /* @__PURE__ */ jsxRuntime.jsx(ClearIcon, {})
15804
+ }
15805
+ )
15806
+ ] }),
15807
+ filters && filters.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "memory-search-filters", className: "flex flex-wrap items-center gap-2", children: filters.map((filter) => {
15808
+ const isSelected = (selectedFilterIds ?? []).includes(filter.id);
15809
+ return /* @__PURE__ */ jsxRuntime.jsx(
15810
+ "button",
15811
+ {
15812
+ type: "button",
15813
+ "data-slot": "memory-search-filter-chip",
15814
+ "aria-pressed": isSelected,
15815
+ onClick: () => onFilterToggle?.(filter.id),
15816
+ className: memorySearchFilterChipVariants({ selected: isSelected }),
15817
+ children: filter.label
15818
+ },
15819
+ filter.id
15820
+ );
15821
+ }) }),
15822
+ /* @__PURE__ */ jsxRuntime.jsx("p", { "data-slot": "memory-search-result-count", className: "text-sm text-muted-foreground", children: formatResultCount(resultCount) })
15823
+ ] });
15824
+ }
15825
+ MosaicMemorySearch.displayName = "MosaicMemorySearch";
15057
15826
 
15058
15827
  Object.defineProperty(exports, "Accordion", {
15059
15828
  enumerable: true,
@@ -15072,6 +15841,7 @@ exports.MosaicActivityItem = MosaicActivityItem;
15072
15841
  exports.MosaicAdaptiveGrid = MosaicAdaptiveGrid;
15073
15842
  exports.MosaicAdaptiveModal = MosaicAdaptiveModal;
15074
15843
  exports.MosaicAdaptiveNavigation = MosaicAdaptiveNavigation;
15844
+ exports.MosaicAddMemoryForm = MosaicAddMemoryForm;
15075
15845
  exports.MosaicAgentBuilderModal = MosaicAgentBuilderModal;
15076
15846
  exports.MosaicAgentCard = MosaicAgentCard;
15077
15847
  exports.MosaicAgentChat = MosaicAgentChat;
@@ -15131,6 +15901,7 @@ exports.MosaicDeviceProvider = MosaicDeviceProvider;
15131
15901
  exports.MosaicDocumentUpload = MosaicDocumentUpload;
15132
15902
  exports.MosaicDrawer = MosaicDrawer;
15133
15903
  exports.MosaicDropdownMenu = MosaicDropdownMenu;
15904
+ exports.MosaicEditMemoryDialog = MosaicEditMemoryDialog;
15134
15905
  exports.MosaicEmptyState = MosaicEmptyState;
15135
15906
  exports.MosaicFallingPattern = MosaicFallingPattern;
15136
15907
  exports.MosaicFeature3Col = MosaicFeature3Col;
@@ -15159,6 +15930,10 @@ exports.MosaicMarketplaceListDesktop = MarketplaceListDesktop;
15159
15930
  exports.MosaicMarketplaceListMobile = MarketplaceListMobile;
15160
15931
  exports.MosaicMemberList = MosaicMemberList;
15161
15932
  exports.MosaicMemoryCard = MosaicMemoryCard;
15933
+ exports.MosaicMemoryDashboard = MosaicMemoryDashboard;
15934
+ exports.MosaicMemoryGrid = MosaicMemoryGrid;
15935
+ exports.MosaicMemoryList = MosaicMemoryList;
15936
+ exports.MosaicMemorySearch = MosaicMemorySearch;
15162
15937
  exports.MosaicMessageCard = MosaicMessageCard;
15163
15938
  exports.MosaicMessageList = MosaicMessageList;
15164
15939
  exports.MosaicMessageListDesktop = MessageListDesktop;
@@ -15226,6 +16001,11 @@ exports.MosaicTooltipTrigger = MosaicTooltipTrigger;
15226
16001
  exports.MosaicUrlScraper = MosaicUrlScraper;
15227
16002
  exports.MosaicUserButton = MosaicUserButton;
15228
16003
  exports.Placeholder = Placeholder;
16004
+ exports.addMemoryFormButtonVariants = addMemoryFormButtonVariants;
16005
+ exports.addMemoryFormErrorVariants = addMemoryFormErrorVariants;
16006
+ exports.addMemoryFormFieldVariants = addMemoryFormFieldVariants;
16007
+ exports.addMemoryFormFooterVariants = addMemoryFormFooterVariants;
16008
+ exports.addMemoryFormRootVariants = addMemoryFormRootVariants;
15229
16009
  exports.agentBuilderModalBackdropVariants = agentBuilderModalBackdropVariants;
15230
16010
  exports.agentBuilderModalPopupVariants = agentBuilderModalPopupVariants;
15231
16011
  exports.agentChatRootVariants = agentChatRootVariants;
@@ -15241,7 +16021,16 @@ exports.chatMessageToolStatusVariants = chatMessageToolStatusVariants;
15241
16021
  exports.chatSidebarThreadVariants = chatSidebarThreadVariants;
15242
16022
  exports.drawerBackdropVariants = drawerBackdropVariants;
15243
16023
  exports.drawerPopupVariants = drawerPopupVariants;
16024
+ exports.editMemoryDialogBackdropVariants = editMemoryDialogBackdropVariants;
16025
+ exports.editMemoryDialogErrorVariants = editMemoryDialogErrorVariants;
16026
+ exports.editMemoryDialogFieldVariants = editMemoryDialogFieldVariants;
16027
+ exports.editMemoryDialogPopupVariants = editMemoryDialogPopupVariants;
15244
16028
  exports.marketplaceCardVariants = marketplaceCardVariants;
16029
+ exports.memoryDashboardViewToggleButtonVariants = memoryDashboardViewToggleButtonVariants;
16030
+ exports.memoryGridVariants = memoryGridVariants;
16031
+ exports.memoryListItemVariants = memoryListItemVariants;
16032
+ exports.memoryListVariants = memoryListVariants;
16033
+ exports.memorySearchFilterChipVariants = memorySearchFilterChipVariants;
15245
16034
  exports.pdfViewerFrameVariants = pdfViewerFrameVariants;
15246
16035
  exports.pdfViewerStatusVariants = pdfViewerStatusVariants;
15247
16036
  exports.pdfViewerToolbarButtonVariants = pdfViewerToolbarButtonVariants;