@vantageos/mosaic-blocks 0.5.22-alpha → 0.5.23-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/README.md +3 -3
- package/dist/index.cjs +530 -117
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +391 -2
- package/dist/index.d.ts +391 -2
- package/dist/index.js +521 -118
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ import { AlertDialog } from '@base-ui/react/alert-dialog';
|
|
|
28
28
|
import { Dialog } from '@base-ui/react/dialog';
|
|
29
29
|
|
|
30
30
|
// src/version.ts
|
|
31
|
-
var version = "0.5.
|
|
31
|
+
var version = "0.5.23-alpha";
|
|
32
32
|
function Placeholder({ label = "mosaic-blocks placeholder" }) {
|
|
33
33
|
return /* @__PURE__ */ jsx("div", { "data-mosaic-block": "placeholder", children: label });
|
|
34
34
|
}
|
|
@@ -8505,9 +8505,132 @@ function MosaicMarketplaceList(props) {
|
|
|
8505
8505
|
return isMobile ? /* @__PURE__ */ jsx(MarketplaceListMobile, { ...props }) : /* @__PURE__ */ jsx(MarketplaceListDesktop, { ...props });
|
|
8506
8506
|
}
|
|
8507
8507
|
MosaicMarketplaceList.displayName = "MosaicMarketplaceList";
|
|
8508
|
+
var marketplaceCardVariants = cva(
|
|
8509
|
+
["rounded-xl border border-border bg-card p-4 transition-shadow", "hover:shadow-md"],
|
|
8510
|
+
{
|
|
8511
|
+
variants: {
|
|
8512
|
+
variant: {
|
|
8513
|
+
default: "flex flex-col gap-3",
|
|
8514
|
+
compact: "flex flex-row items-center gap-3"
|
|
8515
|
+
}
|
|
8516
|
+
},
|
|
8517
|
+
defaultVariants: {
|
|
8518
|
+
variant: "default"
|
|
8519
|
+
}
|
|
8520
|
+
}
|
|
8521
|
+
);
|
|
8508
8522
|
function cn64(...classes) {
|
|
8509
8523
|
return classes.filter(Boolean).join(" ");
|
|
8510
8524
|
}
|
|
8525
|
+
function MosaicMarketplaceCard({
|
|
8526
|
+
id,
|
|
8527
|
+
name,
|
|
8528
|
+
description,
|
|
8529
|
+
icon,
|
|
8530
|
+
rating,
|
|
8531
|
+
mentions,
|
|
8532
|
+
isAdopted = false,
|
|
8533
|
+
onAdopt,
|
|
8534
|
+
onUnadopt,
|
|
8535
|
+
onPreview,
|
|
8536
|
+
adoptLabel,
|
|
8537
|
+
unadoptLabel,
|
|
8538
|
+
previewLabel,
|
|
8539
|
+
ratingLabel,
|
|
8540
|
+
variant = "default",
|
|
8541
|
+
className
|
|
8542
|
+
}) {
|
|
8543
|
+
const compact = variant === "compact";
|
|
8544
|
+
return /* @__PURE__ */ jsxs(
|
|
8545
|
+
MosaicCard,
|
|
8546
|
+
{
|
|
8547
|
+
"data-slot": "marketplace-card",
|
|
8548
|
+
className: cn64(marketplaceCardVariants({ variant }), className),
|
|
8549
|
+
children: [
|
|
8550
|
+
icon && /* @__PURE__ */ jsx(
|
|
8551
|
+
"div",
|
|
8552
|
+
{
|
|
8553
|
+
className: cn64(
|
|
8554
|
+
"flex shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground",
|
|
8555
|
+
compact ? "h-10 w-10" : "h-12 w-12"
|
|
8556
|
+
),
|
|
8557
|
+
children: icon
|
|
8558
|
+
}
|
|
8559
|
+
),
|
|
8560
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
8561
|
+
/* @__PURE__ */ jsx(MosaicCardTitle, { className: cn64("truncate", compact ? "text-sm" : "text-base"), children: name }),
|
|
8562
|
+
description && /* @__PURE__ */ jsx(
|
|
8563
|
+
MosaicCardDescription,
|
|
8564
|
+
{
|
|
8565
|
+
"data-slot": "marketplace-card-description",
|
|
8566
|
+
className: "mt-1 line-clamp-2",
|
|
8567
|
+
children: description
|
|
8568
|
+
}
|
|
8569
|
+
),
|
|
8570
|
+
mentions && mentions.length > 0 && /* @__PURE__ */ jsx("div", { className: "mt-2 flex flex-wrap gap-1", children: mentions.map((mention) => /* @__PURE__ */ jsx(MosaicBadge, { variant: "secondary", children: mention }, mention)) }),
|
|
8571
|
+
rating != null && /* @__PURE__ */ jsxs(
|
|
8572
|
+
"div",
|
|
8573
|
+
{
|
|
8574
|
+
"data-slot": "marketplace-card-rating",
|
|
8575
|
+
className: "mt-2 flex items-center gap-1 text-xs text-muted-foreground",
|
|
8576
|
+
children: [
|
|
8577
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-foreground", children: rating }),
|
|
8578
|
+
/* @__PURE__ */ jsx("span", { children: ratingLabel })
|
|
8579
|
+
]
|
|
8580
|
+
}
|
|
8581
|
+
)
|
|
8582
|
+
] }),
|
|
8583
|
+
/* @__PURE__ */ jsxs("div", { className: cn64("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
|
|
8584
|
+
onPreview && /* @__PURE__ */ jsx(
|
|
8585
|
+
"button",
|
|
8586
|
+
{
|
|
8587
|
+
type: "button",
|
|
8588
|
+
onClick: () => onPreview(id),
|
|
8589
|
+
className: cn64(
|
|
8590
|
+
"inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
|
|
8591
|
+
"bg-background px-3 text-xs font-medium text-foreground",
|
|
8592
|
+
"hover:bg-accent hover:text-accent-foreground",
|
|
8593
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
8594
|
+
),
|
|
8595
|
+
children: previewLabel
|
|
8596
|
+
}
|
|
8597
|
+
),
|
|
8598
|
+
isAdopted ? onUnadopt && /* @__PURE__ */ jsx(
|
|
8599
|
+
"button",
|
|
8600
|
+
{
|
|
8601
|
+
type: "button",
|
|
8602
|
+
onClick: () => onUnadopt(id),
|
|
8603
|
+
className: cn64(
|
|
8604
|
+
"inline-flex min-h-[36px] items-center justify-center rounded-md",
|
|
8605
|
+
"bg-secondary px-3 text-xs font-medium text-secondary-foreground",
|
|
8606
|
+
"hover:bg-secondary/80",
|
|
8607
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
8608
|
+
),
|
|
8609
|
+
children: unadoptLabel
|
|
8610
|
+
}
|
|
8611
|
+
) : onAdopt && /* @__PURE__ */ jsx(
|
|
8612
|
+
"button",
|
|
8613
|
+
{
|
|
8614
|
+
type: "button",
|
|
8615
|
+
onClick: () => onAdopt(id),
|
|
8616
|
+
className: cn64(
|
|
8617
|
+
"inline-flex min-h-[36px] items-center justify-center rounded-md",
|
|
8618
|
+
"bg-primary px-3 text-xs font-medium text-primary-foreground",
|
|
8619
|
+
"hover:bg-primary/90",
|
|
8620
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
8621
|
+
),
|
|
8622
|
+
children: adoptLabel
|
|
8623
|
+
}
|
|
8624
|
+
)
|
|
8625
|
+
] })
|
|
8626
|
+
]
|
|
8627
|
+
}
|
|
8628
|
+
);
|
|
8629
|
+
}
|
|
8630
|
+
MosaicMarketplaceCard.displayName = "MosaicMarketplaceCard";
|
|
8631
|
+
function cn65(...classes) {
|
|
8632
|
+
return classes.filter(Boolean).join(" ");
|
|
8633
|
+
}
|
|
8511
8634
|
function StarIcon2() {
|
|
8512
8635
|
return /* @__PURE__ */ jsx(
|
|
8513
8636
|
"svg",
|
|
@@ -8626,7 +8749,7 @@ function MosaicTemplateCard({
|
|
|
8626
8749
|
type: "button",
|
|
8627
8750
|
onClick: () => onSelect(template),
|
|
8628
8751
|
"data-slot": "template-card",
|
|
8629
|
-
className:
|
|
8752
|
+
className: cn65(
|
|
8630
8753
|
"w-full text-left rounded-lg border transition-all duration-200",
|
|
8631
8754
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8632
8755
|
isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50",
|
|
@@ -8727,7 +8850,7 @@ function MosaicTemplatePreview({
|
|
|
8727
8850
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
8728
8851
|
"span",
|
|
8729
8852
|
{
|
|
8730
|
-
className:
|
|
8853
|
+
className: cn65("h-2 w-2 rounded-full", agent.accentColor),
|
|
8731
8854
|
"aria-hidden": "true"
|
|
8732
8855
|
}
|
|
8733
8856
|
),
|
|
@@ -8787,7 +8910,7 @@ function MosaicAgentTeamPreview({ agents, label }) {
|
|
|
8787
8910
|
agent.accentColor && /* @__PURE__ */ jsx(
|
|
8788
8911
|
"span",
|
|
8789
8912
|
{
|
|
8790
|
-
className:
|
|
8913
|
+
className: cn65("h-2.5 w-2.5 rounded-full", agent.accentColor),
|
|
8791
8914
|
"aria-hidden": "true"
|
|
8792
8915
|
}
|
|
8793
8916
|
),
|
|
@@ -8811,7 +8934,7 @@ function MosaicQuickStartPanel({
|
|
|
8811
8934
|
scratchLabel,
|
|
8812
8935
|
className
|
|
8813
8936
|
}) {
|
|
8814
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-start-panel", className:
|
|
8937
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "quick-start-panel", className: cn65("flex flex-col gap-6", className), children: [
|
|
8815
8938
|
scenarios.length > 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
8816
8939
|
/* @__PURE__ */ jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: scenariosTitle }),
|
|
8817
8940
|
/* @__PURE__ */ jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: scenarios.map((scenario) => /* @__PURE__ */ jsxs(
|
|
@@ -8819,7 +8942,7 @@ function MosaicQuickStartPanel({
|
|
|
8819
8942
|
{
|
|
8820
8943
|
type: "button",
|
|
8821
8944
|
onClick: () => onSelectScenario(scenario),
|
|
8822
|
-
className:
|
|
8945
|
+
className: cn65(
|
|
8823
8946
|
"flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left",
|
|
8824
8947
|
"hover:border-primary/50 hover:bg-primary/5",
|
|
8825
8948
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -8851,7 +8974,7 @@ function MosaicQuickStartPanel({
|
|
|
8851
8974
|
{
|
|
8852
8975
|
type: "button",
|
|
8853
8976
|
onClick: () => onSelectPreset(preset),
|
|
8854
|
-
className:
|
|
8977
|
+
className: cn65(
|
|
8855
8978
|
"flex items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",
|
|
8856
8979
|
"hover:border-primary/50",
|
|
8857
8980
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -8865,7 +8988,7 @@ function MosaicQuickStartPanel({
|
|
|
8865
8988
|
a.accentColor && /* @__PURE__ */ jsx(
|
|
8866
8989
|
"span",
|
|
8867
8990
|
{
|
|
8868
|
-
className:
|
|
8991
|
+
className: cn65("h-2 w-2 rounded-full", a.accentColor),
|
|
8869
8992
|
"aria-hidden": "true"
|
|
8870
8993
|
}
|
|
8871
8994
|
),
|
|
@@ -8883,7 +9006,7 @@ function MosaicQuickStartPanel({
|
|
|
8883
9006
|
{
|
|
8884
9007
|
type: "button",
|
|
8885
9008
|
onClick: onStartFromScratch,
|
|
8886
|
-
className:
|
|
9009
|
+
className: cn65(
|
|
8887
9010
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
|
|
8888
9011
|
"bg-background px-4 text-sm font-medium text-foreground",
|
|
8889
9012
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -8977,7 +9100,7 @@ function TemplateGalleryContent({
|
|
|
8977
9100
|
value: query,
|
|
8978
9101
|
onChange: (e) => setQuery(e.target.value),
|
|
8979
9102
|
placeholder: searchPlaceholder,
|
|
8980
|
-
className:
|
|
9103
|
+
className: cn65(
|
|
8981
9104
|
"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"
|
|
8982
9105
|
)
|
|
8983
9106
|
}
|
|
@@ -9028,7 +9151,7 @@ function TemplateGalleryContent({
|
|
|
9028
9151
|
value: query,
|
|
9029
9152
|
onChange: (e) => setQuery(e.target.value),
|
|
9030
9153
|
placeholder: searchPlaceholder,
|
|
9031
|
-
className:
|
|
9154
|
+
className: cn65(
|
|
9032
9155
|
"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"
|
|
9033
9156
|
)
|
|
9034
9157
|
}
|
|
@@ -9060,7 +9183,7 @@ function MosaicTemplateGallery(props) {
|
|
|
9060
9183
|
return /* @__PURE__ */ jsx(TemplateGalleryContent, { ...props, isMobile });
|
|
9061
9184
|
}
|
|
9062
9185
|
MosaicTemplateGallery.displayName = "MosaicTemplateGallery";
|
|
9063
|
-
function
|
|
9186
|
+
function cn66(...classes) {
|
|
9064
9187
|
return classes.filter(Boolean).join(" ");
|
|
9065
9188
|
}
|
|
9066
9189
|
function PlusIcon5() {
|
|
@@ -9211,7 +9334,7 @@ function MosaicModuleForm(props) {
|
|
|
9211
9334
|
onChange: (e) => update("name", e.target.value),
|
|
9212
9335
|
placeholder: namePlaceholder,
|
|
9213
9336
|
required: true,
|
|
9214
|
-
className:
|
|
9337
|
+
className: cn66(
|
|
9215
9338
|
"w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
|
|
9216
9339
|
"text-sm placeholder:text-muted-foreground",
|
|
9217
9340
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9229,7 +9352,7 @@ function MosaicModuleForm(props) {
|
|
|
9229
9352
|
onChange: (e) => update("description", e.target.value),
|
|
9230
9353
|
placeholder: descriptionPlaceholder,
|
|
9231
9354
|
rows: 3,
|
|
9232
|
-
className:
|
|
9355
|
+
className: cn66(
|
|
9233
9356
|
"w-full rounded-md border border-input bg-background px-3 py-2",
|
|
9234
9357
|
"text-sm placeholder:text-muted-foreground resize-none",
|
|
9235
9358
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9251,7 +9374,7 @@ function MosaicModuleForm(props) {
|
|
|
9251
9374
|
value: formData[field.id] ?? "",
|
|
9252
9375
|
onChange: (e) => update(field.id, e.target.value),
|
|
9253
9376
|
placeholder: field.placeholder,
|
|
9254
|
-
className:
|
|
9377
|
+
className: cn66(
|
|
9255
9378
|
"w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
|
|
9256
9379
|
"text-sm placeholder:text-muted-foreground",
|
|
9257
9380
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9266,7 +9389,7 @@ function MosaicModuleForm(props) {
|
|
|
9266
9389
|
onChange: (e) => update(field.id, e.target.value),
|
|
9267
9390
|
placeholder: field.placeholder,
|
|
9268
9391
|
rows: 3,
|
|
9269
|
-
className:
|
|
9392
|
+
className: cn66(
|
|
9270
9393
|
"w-full rounded-md border border-input bg-background px-3 py-2",
|
|
9271
9394
|
"text-sm placeholder:text-muted-foreground resize-none",
|
|
9272
9395
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9282,7 +9405,7 @@ function MosaicModuleForm(props) {
|
|
|
9282
9405
|
onChange: (e) => update(field.id, e.target.value),
|
|
9283
9406
|
placeholder: field.placeholder ?? "\u{1F9E0}",
|
|
9284
9407
|
maxLength: 4,
|
|
9285
|
-
className:
|
|
9408
|
+
className: cn66(
|
|
9286
9409
|
"w-20 rounded-md border border-input bg-background px-3 py-2 text-2xl",
|
|
9287
9410
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
9288
9411
|
)
|
|
@@ -9303,7 +9426,7 @@ function MosaicModuleForm(props) {
|
|
|
9303
9426
|
}
|
|
9304
9427
|
},
|
|
9305
9428
|
placeholder: field.placeholder ?? tagListAddPlaceholder,
|
|
9306
|
-
className:
|
|
9429
|
+
className: cn66(
|
|
9307
9430
|
"flex-1 rounded-md border border-input bg-background px-3 py-2 min-h-[36px]",
|
|
9308
9431
|
"text-sm placeholder:text-muted-foreground",
|
|
9309
9432
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9515,7 +9638,7 @@ function LibraryContent({
|
|
|
9515
9638
|
{
|
|
9516
9639
|
type: "button",
|
|
9517
9640
|
onClick: openCreate,
|
|
9518
|
-
className:
|
|
9641
|
+
className: cn66(
|
|
9519
9642
|
"inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground",
|
|
9520
9643
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
9521
9644
|
),
|
|
@@ -9535,7 +9658,7 @@ function LibraryContent({
|
|
|
9535
9658
|
value: query,
|
|
9536
9659
|
onChange: (e) => setQuery(e.target.value),
|
|
9537
9660
|
placeholder: searchPlaceholder,
|
|
9538
|
-
className:
|
|
9661
|
+
className: cn66(
|
|
9539
9662
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
9540
9663
|
"text-sm placeholder:text-muted-foreground",
|
|
9541
9664
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9548,7 +9671,7 @@ function LibraryContent({
|
|
|
9548
9671
|
{
|
|
9549
9672
|
type: "button",
|
|
9550
9673
|
onClick: () => setActiveTab(tab.id),
|
|
9551
|
-
className:
|
|
9674
|
+
className: cn66(
|
|
9552
9675
|
"rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
9553
9676
|
activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
9554
9677
|
),
|
|
@@ -9600,7 +9723,7 @@ function MosaicModuleLibrary(props) {
|
|
|
9600
9723
|
return /* @__PURE__ */ jsx(LibraryContent, { ...props });
|
|
9601
9724
|
}
|
|
9602
9725
|
MosaicModuleLibrary.displayName = "MosaicModuleLibrary";
|
|
9603
|
-
function
|
|
9726
|
+
function cn67(...classes) {
|
|
9604
9727
|
return classes.filter(Boolean).join(" ");
|
|
9605
9728
|
}
|
|
9606
9729
|
var roleConfig = {
|
|
@@ -9627,7 +9750,7 @@ function MosaicOrgRoleBadge({ role, className }) {
|
|
|
9627
9750
|
{
|
|
9628
9751
|
"data-slot": "org-role-badge",
|
|
9629
9752
|
title: config.description,
|
|
9630
|
-
className:
|
|
9753
|
+
className: cn67(
|
|
9631
9754
|
"inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
|
|
9632
9755
|
config.className,
|
|
9633
9756
|
className
|
|
@@ -9644,13 +9767,13 @@ function MosaicMultiOrgIndicator({
|
|
|
9644
9767
|
className
|
|
9645
9768
|
}) {
|
|
9646
9769
|
if (orgCount <= 1) return null;
|
|
9647
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "multi-org-indicator", className:
|
|
9770
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "multi-org-indicator", className: cn67("flex items-center gap-2", className), children: [
|
|
9648
9771
|
onSwitchOrg ? /* @__PURE__ */ jsxs(
|
|
9649
9772
|
"button",
|
|
9650
9773
|
{
|
|
9651
9774
|
type: "button",
|
|
9652
9775
|
onClick: onSwitchOrg,
|
|
9653
|
-
className:
|
|
9776
|
+
className: cn67(
|
|
9654
9777
|
"inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground",
|
|
9655
9778
|
"hover:bg-secondary/80",
|
|
9656
9779
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9764,7 +9887,7 @@ function MosaicCreateOrgDialog({
|
|
|
9764
9887
|
onChange: (e) => setName(e.target.value),
|
|
9765
9888
|
placeholder: orgNamePlaceholder,
|
|
9766
9889
|
required: true,
|
|
9767
|
-
className:
|
|
9890
|
+
className: cn67(
|
|
9768
9891
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
9769
9892
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
9770
9893
|
errors.name ? "border-destructive" : "border-input"
|
|
@@ -9784,7 +9907,7 @@ function MosaicCreateOrgDialog({
|
|
|
9784
9907
|
onChange: (e) => setSlug(e.target.value),
|
|
9785
9908
|
placeholder: "acme-inc",
|
|
9786
9909
|
required: true,
|
|
9787
|
-
className:
|
|
9910
|
+
className: cn67(
|
|
9788
9911
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
9789
9912
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
9790
9913
|
errors.slug ? "border-destructive" : "border-input"
|
|
@@ -9897,7 +10020,7 @@ function MosaicInviteMemberDialog({
|
|
|
9897
10020
|
onChange: (e) => setEmail(e.target.value),
|
|
9898
10021
|
placeholder: emailPlaceholder,
|
|
9899
10022
|
required: true,
|
|
9900
|
-
className:
|
|
10023
|
+
className: cn67(
|
|
9901
10024
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
9902
10025
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
9903
10026
|
errors.email ? "border-destructive" : "border-input"
|
|
@@ -10084,7 +10207,7 @@ function MosaicMemberList({
|
|
|
10084
10207
|
const filtered = members.filter(
|
|
10085
10208
|
(m) => !query || m.name.toLowerCase().includes(query.toLowerCase()) || m.email.toLowerCase().includes(query.toLowerCase())
|
|
10086
10209
|
);
|
|
10087
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "member-list", className:
|
|
10210
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "member-list", className: cn67("flex flex-col gap-4", className), children: [
|
|
10088
10211
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
10089
10212
|
/* @__PURE__ */ jsxs("div", { className: "relative flex-1", children: [
|
|
10090
10213
|
/* @__PURE__ */ jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxs(
|
|
@@ -10180,7 +10303,7 @@ function MosaicOrgPanel({
|
|
|
10180
10303
|
const { isMobile } = useDevice();
|
|
10181
10304
|
const [activeTab, setActiveTab] = React29.useState(defaultTab ?? tabs[0]?.id ?? "");
|
|
10182
10305
|
const activeContent = tabs.find((t) => t.id === activeTab)?.content;
|
|
10183
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "org-panel", className:
|
|
10306
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "org-panel", className: cn67("flex h-full flex-col", className), children: [
|
|
10184
10307
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-border px-4 py-4 md:px-6", children: [
|
|
10185
10308
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
10186
10309
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -10202,12 +10325,12 @@ function MosaicOrgPanel({
|
|
|
10202
10325
|
] }),
|
|
10203
10326
|
headerActions
|
|
10204
10327
|
] }),
|
|
10205
|
-
tabs.length > 0 && /* @__PURE__ */ jsx("div", { className:
|
|
10328
|
+
tabs.length > 0 && /* @__PURE__ */ jsx("div", { className: cn67("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsx(
|
|
10206
10329
|
"button",
|
|
10207
10330
|
{
|
|
10208
10331
|
type: "button",
|
|
10209
10332
|
onClick: () => setActiveTab(tab.id),
|
|
10210
|
-
className:
|
|
10333
|
+
className: cn67(
|
|
10211
10334
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
10212
10335
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
10213
10336
|
activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
@@ -10221,7 +10344,7 @@ function MosaicOrgPanel({
|
|
|
10221
10344
|
] });
|
|
10222
10345
|
}
|
|
10223
10346
|
MosaicOrgPanel.displayName = "MosaicOrgPanel";
|
|
10224
|
-
function
|
|
10347
|
+
function cn68(...classes) {
|
|
10225
10348
|
return classes.filter(Boolean).join(" ");
|
|
10226
10349
|
}
|
|
10227
10350
|
var ANIM_ID8 = "mosaic-dashboard-content-kf";
|
|
@@ -10258,7 +10381,7 @@ function MosaicDashboardContent({
|
|
|
10258
10381
|
"div",
|
|
10259
10382
|
{
|
|
10260
10383
|
"data-slot": "dashboard-content",
|
|
10261
|
-
className:
|
|
10384
|
+
className: cn68("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
|
|
10262
10385
|
children: activeView ? /* @__PURE__ */ jsx("div", { className: "mosaic-content-view space-y-6", children: activeView.content }, currentView) : /* @__PURE__ */ jsxs("p", { className: "py-12 text-center text-sm text-muted-foreground", children: [
|
|
10263
10386
|
"View not found: ",
|
|
10264
10387
|
currentView
|
|
@@ -10267,7 +10390,7 @@ function MosaicDashboardContent({
|
|
|
10267
10390
|
);
|
|
10268
10391
|
}
|
|
10269
10392
|
MosaicDashboardContent.displayName = "MosaicDashboardContent";
|
|
10270
|
-
function
|
|
10393
|
+
function cn69(...classes) {
|
|
10271
10394
|
return classes.filter(Boolean).join(" ");
|
|
10272
10395
|
}
|
|
10273
10396
|
var ANIM_ID9 = "mosaic-dashboard-header2-kf";
|
|
@@ -10379,16 +10502,16 @@ function MosaicDashboardHeader({
|
|
|
10379
10502
|
"header",
|
|
10380
10503
|
{
|
|
10381
10504
|
"data-slot": "dashboard-header",
|
|
10382
|
-
className:
|
|
10505
|
+
className: cn69(
|
|
10383
10506
|
"mosaic-dashboard-header2",
|
|
10384
10507
|
"sticky top-0 z-40 border-b border-border/50 bg-background/80 backdrop-blur-sm",
|
|
10385
10508
|
className
|
|
10386
10509
|
),
|
|
10387
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
10510
|
+
children: /* @__PURE__ */ jsx("div", { className: cn69(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-4", children: [
|
|
10388
10511
|
/* @__PURE__ */ jsx("div", { className: "flex min-w-0 flex-1 items-center gap-2 md:gap-4", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
10389
10512
|
logoSlot ?? /* @__PURE__ */ jsx(SparklesIcon4, {}),
|
|
10390
10513
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
10391
|
-
/* @__PURE__ */ jsx("h1", { className:
|
|
10514
|
+
/* @__PURE__ */ jsx("h1", { className: cn69("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
|
|
10392
10515
|
subtitle && !isMobile && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground truncate", children: subtitle })
|
|
10393
10516
|
] })
|
|
10394
10517
|
] }) }),
|
|
@@ -10401,7 +10524,7 @@ function MosaicDashboardHeader({
|
|
|
10401
10524
|
value: searchQuery,
|
|
10402
10525
|
onChange: handleSearch,
|
|
10403
10526
|
placeholder: searchPlaceholder,
|
|
10404
|
-
className:
|
|
10527
|
+
className: cn69(
|
|
10405
10528
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
10406
10529
|
"text-sm placeholder:text-muted-foreground",
|
|
10407
10530
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -10441,7 +10564,7 @@ function MosaicDashboardHeader({
|
|
|
10441
10564
|
);
|
|
10442
10565
|
}
|
|
10443
10566
|
MosaicDashboardHeader.displayName = "MosaicDashboardHeader";
|
|
10444
|
-
function
|
|
10567
|
+
function cn70(...classes) {
|
|
10445
10568
|
return classes.filter(Boolean).join(" ");
|
|
10446
10569
|
}
|
|
10447
10570
|
function ChevronDownIcon4() {
|
|
@@ -10524,13 +10647,13 @@ function MosaicOrgSwitcher({
|
|
|
10524
10647
|
}, [open]);
|
|
10525
10648
|
if (!currentOrg && organizations.length === 0 && !onCreateOrg) return null;
|
|
10526
10649
|
const initials = currentOrg?.name.split(" ").map((n) => n[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() ?? "?";
|
|
10527
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "org-switcher", className:
|
|
10650
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "org-switcher", className: cn70("relative", className), children: [
|
|
10528
10651
|
/* @__PURE__ */ jsxs(
|
|
10529
10652
|
"button",
|
|
10530
10653
|
{
|
|
10531
10654
|
type: "button",
|
|
10532
10655
|
onClick: () => setOpen((v) => !v),
|
|
10533
|
-
className:
|
|
10656
|
+
className: cn70(
|
|
10534
10657
|
"inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5",
|
|
10535
10658
|
"text-sm font-medium text-foreground",
|
|
10536
10659
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -10557,7 +10680,7 @@ function MosaicOrgSwitcher({
|
|
|
10557
10680
|
{
|
|
10558
10681
|
role: "menu",
|
|
10559
10682
|
"aria-label": triggerAriaLabel,
|
|
10560
|
-
className:
|
|
10683
|
+
className: cn70(
|
|
10561
10684
|
"absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-border",
|
|
10562
10685
|
"bg-popover py-1 shadow-md"
|
|
10563
10686
|
),
|
|
@@ -10572,7 +10695,7 @@ function MosaicOrgSwitcher({
|
|
|
10572
10695
|
onSelectOrg?.(org.id);
|
|
10573
10696
|
setOpen(false);
|
|
10574
10697
|
},
|
|
10575
|
-
className:
|
|
10698
|
+
className: cn70(
|
|
10576
10699
|
"flex w-full items-center gap-2.5 px-3 py-2 text-sm text-foreground",
|
|
10577
10700
|
"hover:bg-accent hover:text-accent-foreground",
|
|
10578
10701
|
org.id === currentOrgId && "bg-primary/10 text-primary"
|
|
@@ -10609,7 +10732,7 @@ function MosaicOrgSwitcher({
|
|
|
10609
10732
|
] });
|
|
10610
10733
|
}
|
|
10611
10734
|
MosaicOrgSwitcher.displayName = "MosaicOrgSwitcher";
|
|
10612
|
-
function
|
|
10735
|
+
function cn71(...classes) {
|
|
10613
10736
|
return classes.filter(Boolean).join(" ");
|
|
10614
10737
|
}
|
|
10615
10738
|
function PlusIcon7() {
|
|
@@ -10654,19 +10777,19 @@ function MosaicQuickActionsMenu({
|
|
|
10654
10777
|
document.addEventListener("mousedown", h);
|
|
10655
10778
|
return () => document.removeEventListener("mousedown", h);
|
|
10656
10779
|
}, [open]);
|
|
10657
|
-
const itemClass =
|
|
10780
|
+
const itemClass = cn71(
|
|
10658
10781
|
"flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
|
|
10659
10782
|
"hover:bg-accent hover:text-accent-foreground",
|
|
10660
10783
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
10661
10784
|
"min-h-[44px]"
|
|
10662
10785
|
);
|
|
10663
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "quick-actions-menu", className:
|
|
10786
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn71("relative", className), children: [
|
|
10664
10787
|
/* @__PURE__ */ jsxs(
|
|
10665
10788
|
"button",
|
|
10666
10789
|
{
|
|
10667
10790
|
type: "button",
|
|
10668
10791
|
onClick: () => setOpen((v) => !v),
|
|
10669
|
-
className:
|
|
10792
|
+
className: cn71(
|
|
10670
10793
|
"inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
|
|
10671
10794
|
"min-h-[44px] min-w-[44px] px-3 py-2 text-sm font-medium text-foreground",
|
|
10672
10795
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -10677,7 +10800,7 @@ function MosaicQuickActionsMenu({
|
|
|
10677
10800
|
"aria-label": label,
|
|
10678
10801
|
children: [
|
|
10679
10802
|
triggerIcon ?? /* @__PURE__ */ jsx(PlusIcon7, {}),
|
|
10680
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
10803
|
+
/* @__PURE__ */ jsx("span", { className: cn71("hidden md:inline"), children: label })
|
|
10681
10804
|
]
|
|
10682
10805
|
}
|
|
10683
10806
|
),
|
|
@@ -10686,13 +10809,13 @@ function MosaicQuickActionsMenu({
|
|
|
10686
10809
|
{
|
|
10687
10810
|
role: "menu",
|
|
10688
10811
|
"aria-label": menuTitle,
|
|
10689
|
-
className:
|
|
10812
|
+
className: cn71(
|
|
10690
10813
|
"absolute right-0 top-full z-50 mt-1 rounded-md border border-border bg-popover py-1 shadow-md",
|
|
10691
10814
|
isMobile ? "w-[min(90vw,280px)]" : "w-56"
|
|
10692
10815
|
),
|
|
10693
10816
|
children: [
|
|
10694
10817
|
menuTitle && /* @__PURE__ */ jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: menuTitle }) }),
|
|
10695
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
10818
|
+
/* @__PURE__ */ jsx("div", { className: cn71(menuTitle && "border-t border-border") }),
|
|
10696
10819
|
actions.map((action) => /* @__PURE__ */ jsxs(React29.Fragment, { children: [
|
|
10697
10820
|
action.separator && /* @__PURE__ */ jsx("div", { className: "my-1 border-t border-border" }),
|
|
10698
10821
|
action.href && renderLink ? renderLink(
|
|
@@ -10997,7 +11120,7 @@ function MosaicOrgProfilePage({
|
|
|
10997
11120
|
);
|
|
10998
11121
|
}
|
|
10999
11122
|
MosaicOrgProfilePage.displayName = "MosaicOrgProfilePage";
|
|
11000
|
-
function
|
|
11123
|
+
function cn72(...classes) {
|
|
11001
11124
|
return classes.filter(Boolean).join(" ");
|
|
11002
11125
|
}
|
|
11003
11126
|
function defaultCompare(a, b) {
|
|
@@ -11060,7 +11183,7 @@ function MosaicDataTable({
|
|
|
11060
11183
|
{
|
|
11061
11184
|
ref,
|
|
11062
11185
|
"data-slot": "data-table",
|
|
11063
|
-
className:
|
|
11186
|
+
className: cn72("w-full border-collapse text-sm", className),
|
|
11064
11187
|
children: [
|
|
11065
11188
|
/* @__PURE__ */ jsx("thead", { "data-slot": "data-table-header", children: /* @__PURE__ */ jsx("tr", { "data-slot": "data-table-header-row", className: "border-b border-border bg-muted", children: columns.map((col, colIndex) => {
|
|
11066
11189
|
const isSortable = masterSortable && col.sortable;
|
|
@@ -11078,7 +11201,7 @@ function MosaicDataTable({
|
|
|
11078
11201
|
handleHeaderClick(col);
|
|
11079
11202
|
}
|
|
11080
11203
|
} : void 0,
|
|
11081
|
-
className:
|
|
11204
|
+
className: cn72(
|
|
11082
11205
|
"px-4 py-3 font-medium text-muted-foreground",
|
|
11083
11206
|
alignClass(col.align),
|
|
11084
11207
|
col.className,
|
|
@@ -11114,7 +11237,7 @@ function MosaicDataTable({
|
|
|
11114
11237
|
"td",
|
|
11115
11238
|
{
|
|
11116
11239
|
"data-slot": "data-table-td",
|
|
11117
|
-
className:
|
|
11240
|
+
className: cn72(
|
|
11118
11241
|
"px-4 py-3 text-foreground",
|
|
11119
11242
|
alignClass(col.align),
|
|
11120
11243
|
col.className
|
|
@@ -11253,7 +11376,7 @@ var stepSegmentVariants = cva(["h-1.5 flex-1 min-w-2 rounded-full transition-col
|
|
|
11253
11376
|
filled: false
|
|
11254
11377
|
}
|
|
11255
11378
|
});
|
|
11256
|
-
function
|
|
11379
|
+
function cn73(...classes) {
|
|
11257
11380
|
return classes.filter(Boolean).join(" ");
|
|
11258
11381
|
}
|
|
11259
11382
|
function resolveStatus(step, index, currentIndex) {
|
|
@@ -11294,7 +11417,7 @@ function MosaicStepPipelineSegments({
|
|
|
11294
11417
|
"aria-valuemax": total,
|
|
11295
11418
|
"aria-valuenow": current,
|
|
11296
11419
|
"aria-valuetext": progressLabel ? progressLabel(current, total) : void 0,
|
|
11297
|
-
className:
|
|
11420
|
+
className: cn73(stepSegmentBarVariants(), className),
|
|
11298
11421
|
children: steps.map((step, index) => {
|
|
11299
11422
|
const status = resolveStatus(step, index, currentIndex);
|
|
11300
11423
|
const filled = status !== "upcoming";
|
|
@@ -11306,7 +11429,7 @@ function MosaicStepPipelineSegments({
|
|
|
11306
11429
|
"data-status": status,
|
|
11307
11430
|
"data-filled": filled,
|
|
11308
11431
|
"aria-hidden": "true",
|
|
11309
|
-
className:
|
|
11432
|
+
className: cn73(stepSegmentVariants({ filled }))
|
|
11310
11433
|
},
|
|
11311
11434
|
key
|
|
11312
11435
|
);
|
|
@@ -11327,7 +11450,7 @@ function MosaicStepPipelineDots({
|
|
|
11327
11450
|
{
|
|
11328
11451
|
ref,
|
|
11329
11452
|
"data-slot": "step-pipeline",
|
|
11330
|
-
className:
|
|
11453
|
+
className: cn73(stepPipelineVariants({ orientation }), className),
|
|
11331
11454
|
children: steps.map((step, index) => {
|
|
11332
11455
|
const status = resolveStatus(step, index, currentIndex);
|
|
11333
11456
|
const isCurrent = status === "current";
|
|
@@ -11339,7 +11462,7 @@ function MosaicStepPipelineDots({
|
|
|
11339
11462
|
"data-slot": "step",
|
|
11340
11463
|
"data-status": status,
|
|
11341
11464
|
"aria-current": isCurrent ? "step" : void 0,
|
|
11342
|
-
className:
|
|
11465
|
+
className: cn73(
|
|
11343
11466
|
"flex shrink-0",
|
|
11344
11467
|
orientation === "horizontal" ? "flex-col items-center gap-2" : "flex-row items-start gap-3",
|
|
11345
11468
|
orientation === "horizontal" && !isLast && "flex-1"
|
|
@@ -11350,14 +11473,14 @@ function MosaicStepPipelineDots({
|
|
|
11350
11473
|
"div",
|
|
11351
11474
|
{
|
|
11352
11475
|
"data-slot": "step-connector",
|
|
11353
|
-
className:
|
|
11476
|
+
className: cn73(stepConnectorVariants({ status, orientation }))
|
|
11354
11477
|
}
|
|
11355
11478
|
),
|
|
11356
11479
|
/* @__PURE__ */ jsx(
|
|
11357
11480
|
"div",
|
|
11358
11481
|
{
|
|
11359
11482
|
"data-slot": "step-indicator",
|
|
11360
|
-
className:
|
|
11483
|
+
className: cn73(stepIndicatorVariants({ status, orientation })),
|
|
11361
11484
|
"aria-hidden": "true",
|
|
11362
11485
|
children: status === "done" ? "\u2713" : /* @__PURE__ */ jsx("span", { children: index + 1 })
|
|
11363
11486
|
}
|
|
@@ -11366,7 +11489,7 @@ function MosaicStepPipelineDots({
|
|
|
11366
11489
|
"div",
|
|
11367
11490
|
{
|
|
11368
11491
|
"data-slot": "step-connector",
|
|
11369
|
-
className:
|
|
11492
|
+
className: cn73(
|
|
11370
11493
|
stepConnectorVariants({
|
|
11371
11494
|
// connector after current step is still upcoming
|
|
11372
11495
|
status: status === "done" ? "done" : "upcoming",
|
|
@@ -11377,12 +11500,12 @@ function MosaicStepPipelineDots({
|
|
|
11377
11500
|
)
|
|
11378
11501
|
] }),
|
|
11379
11502
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-0.5 text-center px-1", children: [
|
|
11380
|
-
/* @__PURE__ */ jsx("span", { "data-slot": "step-label", className:
|
|
11503
|
+
/* @__PURE__ */ jsx("span", { "data-slot": "step-label", className: cn73(stepLabelVariants({ status })), children: step.label }),
|
|
11381
11504
|
step.description !== void 0 && /* @__PURE__ */ jsx(
|
|
11382
11505
|
"span",
|
|
11383
11506
|
{
|
|
11384
11507
|
"data-slot": "step-description",
|
|
11385
|
-
className:
|
|
11508
|
+
className: cn73(stepDescriptionVariants({ status })),
|
|
11386
11509
|
children: step.description
|
|
11387
11510
|
}
|
|
11388
11511
|
)
|
|
@@ -11393,7 +11516,7 @@ function MosaicStepPipelineDots({
|
|
|
11393
11516
|
"div",
|
|
11394
11517
|
{
|
|
11395
11518
|
"data-slot": "step-indicator",
|
|
11396
|
-
className:
|
|
11519
|
+
className: cn73(stepIndicatorVariants({ status, orientation })),
|
|
11397
11520
|
"aria-hidden": "true",
|
|
11398
11521
|
children: status === "done" ? "\u2713" : /* @__PURE__ */ jsx("span", { children: index + 1 })
|
|
11399
11522
|
}
|
|
@@ -11402,7 +11525,7 @@ function MosaicStepPipelineDots({
|
|
|
11402
11525
|
"div",
|
|
11403
11526
|
{
|
|
11404
11527
|
"data-slot": "step-connector",
|
|
11405
|
-
className:
|
|
11528
|
+
className: cn73(
|
|
11406
11529
|
stepConnectorVariants({
|
|
11407
11530
|
status: status === "done" ? "done" : "upcoming",
|
|
11408
11531
|
orientation
|
|
@@ -11412,12 +11535,12 @@ function MosaicStepPipelineDots({
|
|
|
11412
11535
|
)
|
|
11413
11536
|
] }),
|
|
11414
11537
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5 pt-1 pb-4", children: [
|
|
11415
|
-
/* @__PURE__ */ jsx("span", { "data-slot": "step-label", className:
|
|
11538
|
+
/* @__PURE__ */ jsx("span", { "data-slot": "step-label", className: cn73(stepLabelVariants({ status })), children: step.label }),
|
|
11416
11539
|
step.description !== void 0 && /* @__PURE__ */ jsx(
|
|
11417
11540
|
"span",
|
|
11418
11541
|
{
|
|
11419
11542
|
"data-slot": "step-description",
|
|
11420
|
-
className:
|
|
11543
|
+
className: cn73(stepDescriptionVariants({ status })),
|
|
11421
11544
|
children: step.description
|
|
11422
11545
|
}
|
|
11423
11546
|
)
|
|
@@ -11431,7 +11554,7 @@ function MosaicStepPipelineDots({
|
|
|
11431
11554
|
);
|
|
11432
11555
|
}
|
|
11433
11556
|
MosaicStepPipelineDots.displayName = "MosaicStepPipelineDots";
|
|
11434
|
-
function
|
|
11557
|
+
function cn74(...classes) {
|
|
11435
11558
|
return classes.filter(Boolean).join(" ");
|
|
11436
11559
|
}
|
|
11437
11560
|
function MosaicKanbanBoard({ children, className, ref, ...props }) {
|
|
@@ -11440,7 +11563,7 @@ function MosaicKanbanBoard({ children, className, ref, ...props }) {
|
|
|
11440
11563
|
{
|
|
11441
11564
|
ref,
|
|
11442
11565
|
"data-slot": "kanban-board",
|
|
11443
|
-
className:
|
|
11566
|
+
className: cn74(
|
|
11444
11567
|
"flex gap-4 overflow-x-auto pb-4",
|
|
11445
11568
|
"min-h-0",
|
|
11446
11569
|
// Smooth momentum scrolling on iOS
|
|
@@ -11453,7 +11576,7 @@ function MosaicKanbanBoard({ children, className, ref, ...props }) {
|
|
|
11453
11576
|
);
|
|
11454
11577
|
}
|
|
11455
11578
|
MosaicKanbanBoard.displayName = "MosaicKanbanBoard";
|
|
11456
|
-
function
|
|
11579
|
+
function cn75(...classes) {
|
|
11457
11580
|
return classes.filter(Boolean).join(" ");
|
|
11458
11581
|
}
|
|
11459
11582
|
function MosaicKanbanColumn({
|
|
@@ -11471,7 +11594,7 @@ function MosaicKanbanColumn({
|
|
|
11471
11594
|
{
|
|
11472
11595
|
ref,
|
|
11473
11596
|
"data-slot": "kanban-column",
|
|
11474
|
-
className:
|
|
11597
|
+
className: cn75(
|
|
11475
11598
|
// Fixed column width, never shrink so board stays scrollable
|
|
11476
11599
|
"flex flex-col w-72 shrink-0",
|
|
11477
11600
|
// Surface
|
|
@@ -11492,7 +11615,7 @@ function MosaicKanbanColumn({
|
|
|
11492
11615
|
{
|
|
11493
11616
|
"data-slot": "kanban-column-count",
|
|
11494
11617
|
"aria-label": countLabel(count),
|
|
11495
|
-
className:
|
|
11618
|
+
className: cn75(
|
|
11496
11619
|
"inline-flex items-center justify-center",
|
|
11497
11620
|
"min-w-[1.25rem] h-5 px-1.5 rounded-full",
|
|
11498
11621
|
"bg-muted text-muted-foreground",
|
|
@@ -11714,7 +11837,7 @@ var documentUploadProgressFillVariants = cva(
|
|
|
11714
11837
|
defaultVariants: {}
|
|
11715
11838
|
}
|
|
11716
11839
|
);
|
|
11717
|
-
function
|
|
11840
|
+
function cn76(...classes) {
|
|
11718
11841
|
return classes.filter(Boolean).join(" ");
|
|
11719
11842
|
}
|
|
11720
11843
|
function MosaicDocumentUpload({
|
|
@@ -11755,7 +11878,7 @@ function MosaicDocumentUpload({
|
|
|
11755
11878
|
if (selected.length > 0) onFilesSelected(selected);
|
|
11756
11879
|
event.target.value = "";
|
|
11757
11880
|
}
|
|
11758
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "document-upload", className:
|
|
11881
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "document-upload", className: cn76("flex flex-col gap-4", className), children: [
|
|
11759
11882
|
/* @__PURE__ */ jsxs(
|
|
11760
11883
|
"div",
|
|
11761
11884
|
{
|
|
@@ -11820,7 +11943,7 @@ function MosaicDocumentUpload({
|
|
|
11820
11943
|
"aria-valuemin": 0,
|
|
11821
11944
|
"aria-valuemax": 100,
|
|
11822
11945
|
"aria-valuenow": file.progress ?? 0,
|
|
11823
|
-
className:
|
|
11946
|
+
className: cn76(documentUploadProgressTrackVariants(), "mt-2"),
|
|
11824
11947
|
children: /* @__PURE__ */ jsx(
|
|
11825
11948
|
"div",
|
|
11826
11949
|
{
|
|
@@ -11897,7 +12020,7 @@ var urlScraperCardVariants = cva(["flex flex-col gap-2 rounded-lg border p-4"],
|
|
|
11897
12020
|
tone: "neutral"
|
|
11898
12021
|
}
|
|
11899
12022
|
});
|
|
11900
|
-
function
|
|
12023
|
+
function cn77(...classes) {
|
|
11901
12024
|
return classes.filter(Boolean).join(" ");
|
|
11902
12025
|
}
|
|
11903
12026
|
function isSyntacticallyValidUrl(candidate) {
|
|
@@ -11936,7 +12059,7 @@ function MosaicUrlScraper(props) {
|
|
|
11936
12059
|
setIsLocallyInvalid(false);
|
|
11937
12060
|
onUrlChange(event.target.value);
|
|
11938
12061
|
}
|
|
11939
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "url-scraper", className:
|
|
12062
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "url-scraper", className: cn77("flex flex-col gap-4", className), children: [
|
|
11940
12063
|
/* @__PURE__ */ jsxs(
|
|
11941
12064
|
"form",
|
|
11942
12065
|
{
|
|
@@ -12072,7 +12195,7 @@ var chatThreadScrollButtonVariants = cva([
|
|
|
12072
12195
|
"items-center justify-center rounded-full border border-border bg-card text-foreground shadow-sm",
|
|
12073
12196
|
"transition-colors hover:bg-accent/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
12074
12197
|
]);
|
|
12075
|
-
function
|
|
12198
|
+
function cn78(...classes) {
|
|
12076
12199
|
return classes.filter(Boolean).join(" ");
|
|
12077
12200
|
}
|
|
12078
12201
|
var BOTTOM_THRESHOLD_PX = 24;
|
|
@@ -12156,7 +12279,7 @@ function MosaicChatThread({
|
|
|
12156
12279
|
role: "log",
|
|
12157
12280
|
onScroll: handleScroll,
|
|
12158
12281
|
onKeyDown: handleKeyDown,
|
|
12159
|
-
className:
|
|
12282
|
+
className: cn78(chatThreadRootVariants(), className),
|
|
12160
12283
|
children: [
|
|
12161
12284
|
/* @__PURE__ */ jsx("div", { "data-slot": "chat-thread-content", className: chatThreadContentVariants(), children }),
|
|
12162
12285
|
!isAtBottom && /* @__PURE__ */ jsx(
|
|
@@ -12197,7 +12320,7 @@ var chatComposerActionButtonVariants = cva(
|
|
|
12197
12320
|
}
|
|
12198
12321
|
}
|
|
12199
12322
|
);
|
|
12200
|
-
function
|
|
12323
|
+
function cn79(...classes) {
|
|
12201
12324
|
return classes.filter(Boolean).join(" ");
|
|
12202
12325
|
}
|
|
12203
12326
|
function MosaicChatComposer(props) {
|
|
@@ -12252,7 +12375,7 @@ function MosaicChatComposer(props) {
|
|
|
12252
12375
|
{
|
|
12253
12376
|
ref,
|
|
12254
12377
|
"data-slot": "chat-composer",
|
|
12255
|
-
className:
|
|
12378
|
+
className: cn79(chatComposerRootVariants(), className),
|
|
12256
12379
|
onSubmit: handleSubmit,
|
|
12257
12380
|
children: [
|
|
12258
12381
|
/* @__PURE__ */ jsx(
|
|
@@ -12368,7 +12491,7 @@ var markdownTableCellVariants = cva(["border border-border px-3 py-1.5"], {
|
|
|
12368
12491
|
align: "left"
|
|
12369
12492
|
}
|
|
12370
12493
|
});
|
|
12371
|
-
function
|
|
12494
|
+
function cn80(...classes) {
|
|
12372
12495
|
return classes.filter(Boolean).join(" ");
|
|
12373
12496
|
}
|
|
12374
12497
|
function sanitizeHref(rawHref) {
|
|
@@ -12563,7 +12686,7 @@ function parseBlocks(content) {
|
|
|
12563
12686
|
function MosaicMarkdown({ content, renderCodeBlock, className, ref }) {
|
|
12564
12687
|
const blocks = parseBlocks(content);
|
|
12565
12688
|
const ids = makeIdSource();
|
|
12566
|
-
return /* @__PURE__ */ jsx("div", { ref, "data-slot": "markdown", className:
|
|
12689
|
+
return /* @__PURE__ */ jsx("div", { ref, "data-slot": "markdown", className: cn80(markdownRootVariants(), className), children: blocks.map((block) => {
|
|
12567
12690
|
if (block.kind === "heading") {
|
|
12568
12691
|
const HeadingTag = `h${block.level}`;
|
|
12569
12692
|
return /* @__PURE__ */ jsx(HeadingTag, { className: markdownHeadingVariants({ level: block.level }), children: parseInline(block.text, ids) }, block.id);
|
|
@@ -12641,7 +12764,7 @@ var chatMessageToolStatusVariants = cva(["text-xs font-medium"], {
|
|
|
12641
12764
|
status: "running"
|
|
12642
12765
|
}
|
|
12643
12766
|
});
|
|
12644
|
-
function
|
|
12767
|
+
function cn81(...classes) {
|
|
12645
12768
|
return classes.filter(Boolean).join(" ");
|
|
12646
12769
|
}
|
|
12647
12770
|
function partKey(part, index) {
|
|
@@ -12807,7 +12930,7 @@ function MosaicChatMessage({
|
|
|
12807
12930
|
ref,
|
|
12808
12931
|
"data-slot": "chat-message",
|
|
12809
12932
|
"data-role": messageRole,
|
|
12810
|
-
className:
|
|
12933
|
+
className: cn81(chatMessageContainerVariants({ align: isUser ? "end" : "start" }), className),
|
|
12811
12934
|
children: /* @__PURE__ */ jsx("div", { className: chatMessageBubbleVariants({ role: messageRole }), children: parts.map((part, index) => /* @__PURE__ */ jsx(
|
|
12812
12935
|
ChatMessagePartView,
|
|
12813
12936
|
{
|
|
@@ -12862,7 +12985,7 @@ var approvalPromptButtonVariants = cva(
|
|
|
12862
12985
|
}
|
|
12863
12986
|
}
|
|
12864
12987
|
);
|
|
12865
|
-
function
|
|
12988
|
+
function cn82(...classes) {
|
|
12866
12989
|
return classes.filter(Boolean).join(" ");
|
|
12867
12990
|
}
|
|
12868
12991
|
function MosaicApprovalPrompt(props) {
|
|
@@ -12874,7 +12997,7 @@ function MosaicApprovalPrompt(props) {
|
|
|
12874
12997
|
ref,
|
|
12875
12998
|
"data-slot": "approval-prompt",
|
|
12876
12999
|
"aria-label": promptTitle,
|
|
12877
|
-
className:
|
|
13000
|
+
className: cn82("border-0 p-0 m-0", approvalPromptCardVariants({ tone }), className),
|
|
12878
13001
|
children: [
|
|
12879
13002
|
/* @__PURE__ */ jsx("legend", { "data-slot": "approval-prompt-title", className: "text-base font-semibold md:text-lg", children: promptTitle }),
|
|
12880
13003
|
/* @__PURE__ */ jsxs("div", { "data-slot": "approval-prompt-tool", className: "flex flex-col gap-1", children: [
|
|
@@ -12951,7 +13074,7 @@ var toolToggleListRowVariants = cva(
|
|
|
12951
13074
|
}
|
|
12952
13075
|
}
|
|
12953
13076
|
);
|
|
12954
|
-
function
|
|
13077
|
+
function cn83(...classes) {
|
|
12955
13078
|
return classes.filter(Boolean).join(" ");
|
|
12956
13079
|
}
|
|
12957
13080
|
function MosaicToolToggleList({
|
|
@@ -12967,7 +13090,7 @@ function MosaicToolToggleList({
|
|
|
12967
13090
|
}) {
|
|
12968
13091
|
const toolsById = new Map(tools.map((tool) => [tool.id, tool]));
|
|
12969
13092
|
const approvalLabelById = new Map(approvalLevels.map((level) => [level.id, level.label]));
|
|
12970
|
-
return /* @__PURE__ */ jsx("div", { ref, "data-slot": "tool-toggle-list", className:
|
|
13093
|
+
return /* @__PURE__ */ jsx("div", { ref, "data-slot": "tool-toggle-list", className: cn83("flex flex-col gap-6", className), children: sections.map((section) => /* @__PURE__ */ jsxs(
|
|
12971
13094
|
"div",
|
|
12972
13095
|
{
|
|
12973
13096
|
"data-slot": "tool-toggle-list-section",
|
|
@@ -12998,7 +13121,7 @@ function MosaicToolToggleList({
|
|
|
12998
13121
|
onCheckedChange: (checked) => onToggleTool(tool.id, checked),
|
|
12999
13122
|
"aria-label": toggleAriaLabel(tool.name),
|
|
13000
13123
|
"data-slot": "tool-toggle-list-switch",
|
|
13001
|
-
className:
|
|
13124
|
+
className: cn83(
|
|
13002
13125
|
"relative inline-flex h-6 w-10 shrink-0 cursor-pointer items-center",
|
|
13003
13126
|
"rounded-full border-2 border-transparent outline-none",
|
|
13004
13127
|
"bg-muted transition-colors",
|
|
@@ -13009,7 +13132,7 @@ function MosaicToolToggleList({
|
|
|
13009
13132
|
Switch.Thumb,
|
|
13010
13133
|
{
|
|
13011
13134
|
"data-slot": "tool-toggle-list-switch-thumb",
|
|
13012
|
-
className:
|
|
13135
|
+
className: cn83(
|
|
13013
13136
|
"pointer-events-none block h-4 w-4 rounded-full",
|
|
13014
13137
|
"bg-background shadow-sm",
|
|
13015
13138
|
"translate-x-0 transition-transform",
|
|
@@ -13051,7 +13174,7 @@ function MosaicToolToggleList({
|
|
|
13051
13174
|
{
|
|
13052
13175
|
"aria-label": approvalSelectAriaLabel(tool.name),
|
|
13053
13176
|
"data-slot": "tool-toggle-list-approval-trigger",
|
|
13054
|
-
className:
|
|
13177
|
+
className: cn83(
|
|
13055
13178
|
"inline-flex h-9 min-w-[10rem] items-center justify-between gap-2",
|
|
13056
13179
|
"rounded-md border border-border bg-background px-3 py-2",
|
|
13057
13180
|
"text-sm text-foreground shadow-xs outline-none",
|
|
@@ -13069,7 +13192,7 @@ function MosaicToolToggleList({
|
|
|
13069
13192
|
Select.Popup,
|
|
13070
13193
|
{
|
|
13071
13194
|
"data-slot": "tool-toggle-list-approval-popup",
|
|
13072
|
-
className:
|
|
13195
|
+
className: cn83(
|
|
13073
13196
|
"z-50 min-w-[10rem] overflow-hidden rounded-md border border-border",
|
|
13074
13197
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
13075
13198
|
"origin-[var(--transform-origin)]",
|
|
@@ -13082,7 +13205,7 @@ function MosaicToolToggleList({
|
|
|
13082
13205
|
Select.Item,
|
|
13083
13206
|
{
|
|
13084
13207
|
value: level.id,
|
|
13085
|
-
className:
|
|
13208
|
+
className: cn83(
|
|
13086
13209
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
13087
13210
|
"text-sm text-popover-foreground outline-none",
|
|
13088
13211
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -13190,7 +13313,7 @@ var apiKeyPanelMessageVariants = cva(["text-sm"], {
|
|
|
13190
13313
|
tone: "muted"
|
|
13191
13314
|
}
|
|
13192
13315
|
});
|
|
13193
|
-
function
|
|
13316
|
+
function cn84(...classes) {
|
|
13194
13317
|
return classes.filter(Boolean).join(" ");
|
|
13195
13318
|
}
|
|
13196
13319
|
function MosaicApiKeyPanel(props) {
|
|
@@ -13218,7 +13341,7 @@ function MosaicApiKeyPanel(props) {
|
|
|
13218
13341
|
function handleKeyChange(event) {
|
|
13219
13342
|
onKeyChange(event.target.value);
|
|
13220
13343
|
}
|
|
13221
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "api-key-panel", className:
|
|
13344
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "api-key-panel", className: cn84("flex flex-col gap-3", className), children: [
|
|
13222
13345
|
/* @__PURE__ */ jsx(
|
|
13223
13346
|
"div",
|
|
13224
13347
|
{
|
|
@@ -13313,7 +13436,7 @@ MosaicApiKeyPanel.displayName = "MosaicApiKeyPanel";
|
|
|
13313
13436
|
var agentChatRootVariants = cva([
|
|
13314
13437
|
"flex min-h-0 w-full flex-1 flex-col gap-2 overflow-hidden rounded-lg border border-border bg-card"
|
|
13315
13438
|
]);
|
|
13316
|
-
function
|
|
13439
|
+
function cn85(...classes) {
|
|
13317
13440
|
return classes.filter(Boolean).join(" ");
|
|
13318
13441
|
}
|
|
13319
13442
|
function formatPayload2(value) {
|
|
@@ -13449,7 +13572,7 @@ function MosaicAgentChat(props) {
|
|
|
13449
13572
|
setDecisions((previous) => ({ ...previous, [payload.requestId]: decision }));
|
|
13450
13573
|
onApprovalResponse(payload);
|
|
13451
13574
|
}
|
|
13452
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "agent-chat", className:
|
|
13575
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "agent-chat", className: cn85(agentChatRootVariants(), className), children: [
|
|
13453
13576
|
/* @__PURE__ */ jsx(MosaicChatThread, { scrollToBottomLabel, children: messages.map((message) => /* @__PURE__ */ jsx(
|
|
13454
13577
|
MosaicChatMessage,
|
|
13455
13578
|
{
|
|
@@ -13538,7 +13661,7 @@ var toastProviderPositionVariants = cva(
|
|
|
13538
13661
|
}
|
|
13539
13662
|
}
|
|
13540
13663
|
);
|
|
13541
|
-
function
|
|
13664
|
+
function cn86(...classes) {
|
|
13542
13665
|
return classes.filter(Boolean).join(" ");
|
|
13543
13666
|
}
|
|
13544
13667
|
function MosaicToast({
|
|
@@ -13564,7 +13687,7 @@ function MosaicToast({
|
|
|
13564
13687
|
ref,
|
|
13565
13688
|
"data-slot": "toast",
|
|
13566
13689
|
role,
|
|
13567
|
-
className:
|
|
13690
|
+
className: cn86(toastCardVariants({ variant }), className),
|
|
13568
13691
|
children: [
|
|
13569
13692
|
/* @__PURE__ */ jsxs("div", { "data-slot": "toast-body", className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
13570
13693
|
/* @__PURE__ */ jsx("p", { "data-slot": "toast-title", className: toastTitleVariants({ variant }), children: title }),
|
|
@@ -13604,7 +13727,7 @@ function MosaicToast({
|
|
|
13604
13727
|
);
|
|
13605
13728
|
}
|
|
13606
13729
|
MosaicToast.displayName = "MosaicToast";
|
|
13607
|
-
function
|
|
13730
|
+
function cn87(...classes) {
|
|
13608
13731
|
return classes.filter(Boolean).join(" ");
|
|
13609
13732
|
}
|
|
13610
13733
|
function MosaicToastProvider({
|
|
@@ -13618,7 +13741,7 @@ function MosaicToastProvider({
|
|
|
13618
13741
|
{
|
|
13619
13742
|
ref,
|
|
13620
13743
|
"data-slot": "toast-provider",
|
|
13621
|
-
className:
|
|
13744
|
+
className: cn87(toastProviderPositionVariants({ position }), className),
|
|
13622
13745
|
children
|
|
13623
13746
|
}
|
|
13624
13747
|
);
|
|
@@ -13645,7 +13768,7 @@ var pdfViewerToolbarButtonVariants = cva([
|
|
|
13645
13768
|
"inline-flex min-h-8 min-w-8 items-center justify-center rounded-md border border-border text-sm",
|
|
13646
13769
|
"transition-colors hover:bg-accent/50 disabled:opacity-50 disabled:hover:bg-transparent"
|
|
13647
13770
|
]);
|
|
13648
|
-
function
|
|
13771
|
+
function cn88(...classes) {
|
|
13649
13772
|
return classes.filter(Boolean).join(" ");
|
|
13650
13773
|
}
|
|
13651
13774
|
function buildFrameSrc(fileUrl, currentPage, zoom) {
|
|
@@ -13710,7 +13833,7 @@ function MosaicPdfViewer({
|
|
|
13710
13833
|
if (zoom === void 0 || onZoomChange === void 0) return;
|
|
13711
13834
|
onZoomChange(Math.round((zoom + 0.1) * 100) / 100);
|
|
13712
13835
|
}
|
|
13713
|
-
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "pdf-viewer", className:
|
|
13836
|
+
return /* @__PURE__ */ jsxs("div", { ref, "data-slot": "pdf-viewer", className: cn88("flex flex-col gap-2", className), children: [
|
|
13714
13837
|
(showPageControls || showZoomControls) && /* @__PURE__ */ jsxs(
|
|
13715
13838
|
"div",
|
|
13716
13839
|
{
|
|
@@ -13799,7 +13922,7 @@ function MosaicPdfViewer({
|
|
|
13799
13922
|
"data-slot": "pdf-viewer-frame",
|
|
13800
13923
|
src: buildFrameSrc(fileUrl, currentPage, zoom),
|
|
13801
13924
|
title: fileUrl,
|
|
13802
|
-
className:
|
|
13925
|
+
className: cn88(
|
|
13803
13926
|
"h-full min-h-64 w-full border-0",
|
|
13804
13927
|
status !== "loaded" && "pointer-events-none absolute inset-0 opacity-0"
|
|
13805
13928
|
)
|
|
@@ -13818,7 +13941,7 @@ var splitPaneCollapseButtonVariants = cva([
|
|
|
13818
13941
|
"inline-flex h-11 w-6 shrink-0 items-center justify-center self-center rounded-md border border-border text-sm",
|
|
13819
13942
|
"transition-colors hover:bg-accent/50"
|
|
13820
13943
|
]);
|
|
13821
|
-
function
|
|
13944
|
+
function cn89(...classes) {
|
|
13822
13945
|
return classes.filter(Boolean).join(" ");
|
|
13823
13946
|
}
|
|
13824
13947
|
function mergeRefs(externalRef, node) {
|
|
@@ -13891,7 +14014,7 @@ function MosaicResizableSplitPane({
|
|
|
13891
14014
|
mergeRefs(ref, node);
|
|
13892
14015
|
},
|
|
13893
14016
|
"data-slot": "resizable-split-pane",
|
|
13894
|
-
className:
|
|
14017
|
+
className: cn89(splitPaneRootVariants(), className),
|
|
13895
14018
|
children: [
|
|
13896
14019
|
/* @__PURE__ */ jsx("div", { "data-slot": "resizable-split-pane-main", className: "min-h-0 min-w-0 flex-1 overflow-auto", children: main }),
|
|
13897
14020
|
!isSideCollapsed && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -13958,7 +14081,7 @@ var tagInputFieldVariants = cva([
|
|
|
13958
14081
|
"min-w-[6ch] flex-1 border-none bg-transparent px-1 py-0.5 text-sm text-foreground outline-none",
|
|
13959
14082
|
"placeholder:text-muted-foreground"
|
|
13960
14083
|
]);
|
|
13961
|
-
function
|
|
14084
|
+
function cn90(...classes) {
|
|
13962
14085
|
return classes.filter(Boolean).join(" ");
|
|
13963
14086
|
}
|
|
13964
14087
|
function mergeRefs2(externalRef, node) {
|
|
@@ -14009,7 +14132,7 @@ function MosaicTagInput({
|
|
|
14009
14132
|
if (lastTag !== void 0) onRemoveTag(lastTag);
|
|
14010
14133
|
}
|
|
14011
14134
|
}
|
|
14012
|
-
return /* @__PURE__ */ jsxs("div", { "data-slot": "tag-input", className:
|
|
14135
|
+
return /* @__PURE__ */ jsxs("div", { "data-slot": "tag-input", className: cn90(tagInputRootVariants(), className), children: [
|
|
14013
14136
|
tags.map((tag) => /* @__PURE__ */ jsxs("span", { "data-slot": "tag-input-tag", className: tagInputTagVariants(), children: [
|
|
14014
14137
|
tag,
|
|
14015
14138
|
/* @__PURE__ */ jsx(
|
|
@@ -14046,7 +14169,7 @@ function MosaicTagInput({
|
|
|
14046
14169
|
"ul",
|
|
14047
14170
|
{
|
|
14048
14171
|
"data-slot": "tag-input-suggestions",
|
|
14049
|
-
className:
|
|
14172
|
+
className: cn90(
|
|
14050
14173
|
"z-50 mt-1 w-full min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
14051
14174
|
"bg-popover p-1 text-sm text-popover-foreground shadow-md"
|
|
14052
14175
|
),
|
|
@@ -14086,7 +14209,7 @@ var drawerPopupVariants = cva(
|
|
|
14086
14209
|
}
|
|
14087
14210
|
);
|
|
14088
14211
|
var drawerBackdropVariants = cva(["fixed inset-0 z-50 bg-black/50"]);
|
|
14089
|
-
function
|
|
14212
|
+
function cn91(...classes) {
|
|
14090
14213
|
return classes.filter(Boolean).join(" ");
|
|
14091
14214
|
}
|
|
14092
14215
|
function MosaicDrawer({
|
|
@@ -14107,7 +14230,7 @@ function MosaicDrawer({
|
|
|
14107
14230
|
"data-slot": "drawer",
|
|
14108
14231
|
"aria-labelledby": titleId,
|
|
14109
14232
|
"aria-modal": "true",
|
|
14110
|
-
className:
|
|
14233
|
+
className: cn91(drawerPopupVariants({ side }), className),
|
|
14111
14234
|
children: [
|
|
14112
14235
|
/* @__PURE__ */ jsxs(
|
|
14113
14236
|
"div",
|
|
@@ -14120,7 +14243,7 @@ function MosaicDrawer({
|
|
|
14120
14243
|
Dialog.Close,
|
|
14121
14244
|
{
|
|
14122
14245
|
"aria-label": closeAriaLabel,
|
|
14123
|
-
className:
|
|
14246
|
+
className: cn91(
|
|
14124
14247
|
"flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors",
|
|
14125
14248
|
"hover:bg-muted hover:text-foreground",
|
|
14126
14249
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -14174,7 +14297,7 @@ var templateCategoryChipVariants = cva(
|
|
|
14174
14297
|
}
|
|
14175
14298
|
}
|
|
14176
14299
|
);
|
|
14177
|
-
function
|
|
14300
|
+
function cn92(...classes) {
|
|
14178
14301
|
return classes.filter(Boolean).join(" ");
|
|
14179
14302
|
}
|
|
14180
14303
|
function MosaicTemplateCategoryChips({
|
|
@@ -14189,7 +14312,7 @@ function MosaicTemplateCategoryChips({
|
|
|
14189
14312
|
{
|
|
14190
14313
|
ref,
|
|
14191
14314
|
"data-slot": "template-category-chips",
|
|
14192
|
-
className:
|
|
14315
|
+
className: cn92("flex flex-wrap items-center gap-2", className),
|
|
14193
14316
|
children: categories.map((category) => {
|
|
14194
14317
|
const isSelected = category.id === selected;
|
|
14195
14318
|
return /* @__PURE__ */ jsx(
|
|
@@ -14209,7 +14332,287 @@ function MosaicTemplateCategoryChips({
|
|
|
14209
14332
|
);
|
|
14210
14333
|
}
|
|
14211
14334
|
MosaicTemplateCategoryChips.displayName = "MosaicTemplateCategoryChips";
|
|
14335
|
+
var saveTemplateModalBodyVariants = cva(["flex flex-col gap-4"]);
|
|
14336
|
+
var saveTemplateModalFieldVariants = cva(["flex flex-col gap-1.5"]);
|
|
14337
|
+
var saveTemplateModalErrorVariants = cva(["text-xs font-medium text-destructive"]);
|
|
14338
|
+
var saveTemplateModalFooterVariants = cva([
|
|
14339
|
+
"flex items-center justify-end gap-3 border-t border-border pt-4"
|
|
14340
|
+
]);
|
|
14341
|
+
var saveTemplateModalButtonVariants = cva(
|
|
14342
|
+
[
|
|
14343
|
+
"inline-flex min-h-9 items-center justify-center gap-2 rounded-md px-4 text-sm font-medium",
|
|
14344
|
+
"transition-colors disabled:cursor-not-allowed disabled:opacity-50"
|
|
14345
|
+
],
|
|
14346
|
+
{
|
|
14347
|
+
variants: {
|
|
14348
|
+
intent: {
|
|
14349
|
+
cancel: "border border-border bg-background hover:bg-muted",
|
|
14350
|
+
save: "border border-transparent bg-primary text-primary-foreground hover:bg-primary/90"
|
|
14351
|
+
}
|
|
14352
|
+
},
|
|
14353
|
+
defaultVariants: {
|
|
14354
|
+
intent: "cancel"
|
|
14355
|
+
}
|
|
14356
|
+
}
|
|
14357
|
+
);
|
|
14358
|
+
function cn93(...classes) {
|
|
14359
|
+
return classes.filter(Boolean).join(" ");
|
|
14360
|
+
}
|
|
14361
|
+
function MosaicSaveTemplateModal({
|
|
14362
|
+
open,
|
|
14363
|
+
onOpenChange,
|
|
14364
|
+
title,
|
|
14365
|
+
description,
|
|
14366
|
+
closeAriaLabel,
|
|
14367
|
+
name,
|
|
14368
|
+
onNameChange,
|
|
14369
|
+
nameLabel,
|
|
14370
|
+
namePlaceholder,
|
|
14371
|
+
nameError,
|
|
14372
|
+
templateDescription,
|
|
14373
|
+
onTemplateDescriptionChange,
|
|
14374
|
+
descriptionLabel,
|
|
14375
|
+
descriptionPlaceholder,
|
|
14376
|
+
descriptionError,
|
|
14377
|
+
categories,
|
|
14378
|
+
category,
|
|
14379
|
+
onCategoryChange,
|
|
14380
|
+
categoryLabel,
|
|
14381
|
+
tags,
|
|
14382
|
+
onAddTag,
|
|
14383
|
+
onRemoveTag,
|
|
14384
|
+
tagsLabel,
|
|
14385
|
+
tagInputPlaceholder,
|
|
14386
|
+
removeTagAriaLabel,
|
|
14387
|
+
suggestedTags,
|
|
14388
|
+
maxTags,
|
|
14389
|
+
isSaving,
|
|
14390
|
+
canSave,
|
|
14391
|
+
onSave,
|
|
14392
|
+
onCancel,
|
|
14393
|
+
saveButtonLabel,
|
|
14394
|
+
savingLabel,
|
|
14395
|
+
cancelButtonLabel,
|
|
14396
|
+
children,
|
|
14397
|
+
className
|
|
14398
|
+
}) {
|
|
14399
|
+
const nameErrorId = useId();
|
|
14400
|
+
const descriptionErrorId = useId();
|
|
14401
|
+
if (!open) return null;
|
|
14402
|
+
return /* @__PURE__ */ jsx(
|
|
14403
|
+
MosaicAdaptiveModal,
|
|
14404
|
+
{
|
|
14405
|
+
isOpen: open,
|
|
14406
|
+
onClose: () => onOpenChange(false),
|
|
14407
|
+
title,
|
|
14408
|
+
description,
|
|
14409
|
+
closeAriaLabel,
|
|
14410
|
+
children: /* @__PURE__ */ jsxs(
|
|
14411
|
+
"div",
|
|
14412
|
+
{
|
|
14413
|
+
"data-slot": "save-template-modal",
|
|
14414
|
+
className: cn93(saveTemplateModalBodyVariants(), className),
|
|
14415
|
+
children: [
|
|
14416
|
+
/* @__PURE__ */ jsxs("div", { className: saveTemplateModalFieldVariants(), children: [
|
|
14417
|
+
/* @__PURE__ */ jsx(
|
|
14418
|
+
"label",
|
|
14419
|
+
{
|
|
14420
|
+
htmlFor: "mosaic-save-template-name",
|
|
14421
|
+
className: "text-sm font-medium text-foreground",
|
|
14422
|
+
children: nameLabel
|
|
14423
|
+
}
|
|
14424
|
+
),
|
|
14425
|
+
/* @__PURE__ */ jsx(
|
|
14426
|
+
MosaicInput,
|
|
14427
|
+
{
|
|
14428
|
+
id: "mosaic-save-template-name",
|
|
14429
|
+
value: name,
|
|
14430
|
+
placeholder: namePlaceholder,
|
|
14431
|
+
onChange: (e) => onNameChange(e.target.value),
|
|
14432
|
+
"aria-invalid": nameError ? "true" : "false",
|
|
14433
|
+
"aria-describedby": nameError ? nameErrorId : void 0
|
|
14434
|
+
}
|
|
14435
|
+
),
|
|
14436
|
+
nameError && /* @__PURE__ */ jsx("p", { id: nameErrorId, className: saveTemplateModalErrorVariants(), children: nameError })
|
|
14437
|
+
] }),
|
|
14438
|
+
/* @__PURE__ */ jsxs("div", { className: saveTemplateModalFieldVariants(), children: [
|
|
14439
|
+
/* @__PURE__ */ jsx(
|
|
14440
|
+
"label",
|
|
14441
|
+
{
|
|
14442
|
+
htmlFor: "mosaic-save-template-description",
|
|
14443
|
+
className: "text-sm font-medium text-foreground",
|
|
14444
|
+
children: descriptionLabel
|
|
14445
|
+
}
|
|
14446
|
+
),
|
|
14447
|
+
/* @__PURE__ */ jsx(
|
|
14448
|
+
MosaicTextarea,
|
|
14449
|
+
{
|
|
14450
|
+
id: "mosaic-save-template-description",
|
|
14451
|
+
value: templateDescription,
|
|
14452
|
+
placeholder: descriptionPlaceholder,
|
|
14453
|
+
onChange: (e) => onTemplateDescriptionChange(e.target.value),
|
|
14454
|
+
rows: 3,
|
|
14455
|
+
"aria-invalid": descriptionError ? "true" : "false",
|
|
14456
|
+
"aria-describedby": descriptionError ? descriptionErrorId : void 0
|
|
14457
|
+
}
|
|
14458
|
+
),
|
|
14459
|
+
descriptionError && /* @__PURE__ */ jsx("p", { id: descriptionErrorId, className: saveTemplateModalErrorVariants(), children: descriptionError })
|
|
14460
|
+
] }),
|
|
14461
|
+
/* @__PURE__ */ jsxs("div", { className: saveTemplateModalFieldVariants(), children: [
|
|
14462
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-foreground", children: categoryLabel }),
|
|
14463
|
+
/* @__PURE__ */ jsx(
|
|
14464
|
+
MosaicSelect,
|
|
14465
|
+
{
|
|
14466
|
+
items: categories,
|
|
14467
|
+
value: category,
|
|
14468
|
+
onValueChange: (value) => {
|
|
14469
|
+
if (value) onCategoryChange(value);
|
|
14470
|
+
}
|
|
14471
|
+
}
|
|
14472
|
+
)
|
|
14473
|
+
] }),
|
|
14474
|
+
/* @__PURE__ */ jsxs("div", { className: saveTemplateModalFieldVariants(), children: [
|
|
14475
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-foreground", children: tagsLabel }),
|
|
14476
|
+
/* @__PURE__ */ jsx(
|
|
14477
|
+
MosaicTagInput,
|
|
14478
|
+
{
|
|
14479
|
+
tags,
|
|
14480
|
+
onAddTag,
|
|
14481
|
+
onRemoveTag,
|
|
14482
|
+
placeholder: tagInputPlaceholder,
|
|
14483
|
+
removeTagAriaLabel,
|
|
14484
|
+
suggestions: suggestedTags,
|
|
14485
|
+
maxTags
|
|
14486
|
+
}
|
|
14487
|
+
)
|
|
14488
|
+
] }),
|
|
14489
|
+
children,
|
|
14490
|
+
/* @__PURE__ */ jsxs("div", { className: saveTemplateModalFooterVariants(), children: [
|
|
14491
|
+
/* @__PURE__ */ jsx(
|
|
14492
|
+
"button",
|
|
14493
|
+
{
|
|
14494
|
+
type: "button",
|
|
14495
|
+
"data-slot": "save-template-modal-cancel-button",
|
|
14496
|
+
onClick: onCancel,
|
|
14497
|
+
disabled: isSaving,
|
|
14498
|
+
className: saveTemplateModalButtonVariants({ intent: "cancel" }),
|
|
14499
|
+
children: cancelButtonLabel
|
|
14500
|
+
}
|
|
14501
|
+
),
|
|
14502
|
+
/* @__PURE__ */ jsx(
|
|
14503
|
+
"button",
|
|
14504
|
+
{
|
|
14505
|
+
type: "button",
|
|
14506
|
+
"data-slot": "save-template-modal-save-button",
|
|
14507
|
+
onClick: onSave,
|
|
14508
|
+
disabled: !canSave || isSaving,
|
|
14509
|
+
"aria-busy": isSaving ? "true" : "false",
|
|
14510
|
+
className: saveTemplateModalButtonVariants({ intent: "save" }),
|
|
14511
|
+
children: isSaving ? savingLabel : saveButtonLabel
|
|
14512
|
+
}
|
|
14513
|
+
)
|
|
14514
|
+
] })
|
|
14515
|
+
]
|
|
14516
|
+
}
|
|
14517
|
+
)
|
|
14518
|
+
}
|
|
14519
|
+
);
|
|
14520
|
+
}
|
|
14521
|
+
MosaicSaveTemplateModal.displayName = "MosaicSaveTemplateModal";
|
|
14522
|
+
var templateListVariants = cva(["grid gap-4"], {
|
|
14523
|
+
variants: {
|
|
14524
|
+
layout: {
|
|
14525
|
+
grid: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",
|
|
14526
|
+
list: "grid-cols-1"
|
|
14527
|
+
}
|
|
14528
|
+
},
|
|
14529
|
+
defaultVariants: {
|
|
14530
|
+
layout: "grid"
|
|
14531
|
+
}
|
|
14532
|
+
});
|
|
14533
|
+
function cn94(...classes) {
|
|
14534
|
+
return classes.filter(Boolean).join(" ");
|
|
14535
|
+
}
|
|
14536
|
+
var NEXT_KEYS = /* @__PURE__ */ new Set(["ArrowRight", "ArrowDown"]);
|
|
14537
|
+
var PREV_KEYS = /* @__PURE__ */ new Set(["ArrowLeft", "ArrowUp"]);
|
|
14538
|
+
function MosaicTemplateList({
|
|
14539
|
+
items,
|
|
14540
|
+
renderItem,
|
|
14541
|
+
layout = "grid",
|
|
14542
|
+
emptyMessage,
|
|
14543
|
+
className,
|
|
14544
|
+
itemClassName,
|
|
14545
|
+
ref
|
|
14546
|
+
}) {
|
|
14547
|
+
const itemRefs = useRef([]);
|
|
14548
|
+
const [focusedIndex, setFocusedIndex] = useState(0);
|
|
14549
|
+
function focusItem(index) {
|
|
14550
|
+
if (items.length === 0) {
|
|
14551
|
+
return;
|
|
14552
|
+
}
|
|
14553
|
+
const clamped = Math.max(0, Math.min(items.length - 1, index));
|
|
14554
|
+
setFocusedIndex(clamped);
|
|
14555
|
+
itemRefs.current[clamped]?.focus();
|
|
14556
|
+
}
|
|
14557
|
+
function handleKeyDown(event, index) {
|
|
14558
|
+
if (NEXT_KEYS.has(event.key)) {
|
|
14559
|
+
event.preventDefault();
|
|
14560
|
+
focusItem(index + 1);
|
|
14561
|
+
} else if (PREV_KEYS.has(event.key)) {
|
|
14562
|
+
event.preventDefault();
|
|
14563
|
+
focusItem(index - 1);
|
|
14564
|
+
} else if (event.key === "Home") {
|
|
14565
|
+
event.preventDefault();
|
|
14566
|
+
focusItem(0);
|
|
14567
|
+
} else if (event.key === "End") {
|
|
14568
|
+
event.preventDefault();
|
|
14569
|
+
focusItem(items.length - 1);
|
|
14570
|
+
}
|
|
14571
|
+
}
|
|
14572
|
+
if (items.length === 0) {
|
|
14573
|
+
return /* @__PURE__ */ jsx(
|
|
14574
|
+
"div",
|
|
14575
|
+
{
|
|
14576
|
+
ref,
|
|
14577
|
+
"data-slot": "template-list",
|
|
14578
|
+
className: cn94(templateListVariants({ layout }), className),
|
|
14579
|
+
children: /* @__PURE__ */ jsx(
|
|
14580
|
+
"p",
|
|
14581
|
+
{
|
|
14582
|
+
"data-slot": "template-list-empty",
|
|
14583
|
+
className: "col-span-full py-12 text-center text-sm text-muted-foreground",
|
|
14584
|
+
children: emptyMessage
|
|
14585
|
+
}
|
|
14586
|
+
)
|
|
14587
|
+
}
|
|
14588
|
+
);
|
|
14589
|
+
}
|
|
14590
|
+
return /* @__PURE__ */ jsx(
|
|
14591
|
+
"ul",
|
|
14592
|
+
{
|
|
14593
|
+
ref,
|
|
14594
|
+
"data-slot": "template-list",
|
|
14595
|
+
className: cn94("list-none", templateListVariants({ layout }), className),
|
|
14596
|
+
children: items.map((item, index) => /* @__PURE__ */ jsx(
|
|
14597
|
+
"li",
|
|
14598
|
+
{
|
|
14599
|
+
ref: (node) => {
|
|
14600
|
+
itemRefs.current[index] = node;
|
|
14601
|
+
},
|
|
14602
|
+
"data-slot": "template-list-item",
|
|
14603
|
+
tabIndex: index === focusedIndex ? 0 : -1,
|
|
14604
|
+
onKeyDown: (event) => handleKeyDown(event, index),
|
|
14605
|
+
onFocus: () => setFocusedIndex(index),
|
|
14606
|
+
className: itemClassName,
|
|
14607
|
+
children: renderItem(item, index)
|
|
14608
|
+
},
|
|
14609
|
+
item.id
|
|
14610
|
+
))
|
|
14611
|
+
}
|
|
14612
|
+
);
|
|
14613
|
+
}
|
|
14614
|
+
MosaicTemplateList.displayName = "MosaicTemplateList";
|
|
14212
14615
|
|
|
14213
|
-
export { MosaicAccordion, MosaicAccordionItem, MosaicAccordionPanel, MosaicAccordionTrigger, MosaicActivityFeed, MosaicActivityItem, MosaicAdaptiveGrid, MosaicAdaptiveModal, MosaicAdaptiveNavigation, MosaicAgentCard, MosaicAgentChat, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, MosaicAgentEditor, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, MosaicAgentPreview, MosaicAgentTeamPreview, MosaicAlertDialog, MosaicAlertDialogAction, MosaicAlertDialogCancel, MosaicAlertDialogContent, MosaicAlertDialogDescription, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, MosaicAlertDialogPortal, MosaicAlertDialogTitle, MosaicAlertDialogTrigger, MosaicAnimatedList, MosaicApiKeyPanel, MosaicAppSidebar, MosaicApprovalPrompt, MosaicAvatar, MosaicBadge, MosaicBlurredOrb, MosaicButton, MosaicCard, MosaicCardContent, MosaicCardDescription, MosaicCardFooter, MosaicCardHeader, MosaicCardTitle, MosaicChatComposer, MosaicChatMessage, MosaicChatThread, MosaicCheckbox, MosaicClerkOrgSwitcher, MosaicClerkWebhookHandler, MosaicCollapsible, MosaicCollapsiblePanel, MosaicCollapsibleTrigger, MosaicCombobox, MosaicCounter, MosaicCreateOrgDialog, MosaicDashboardContent, MosaicDashboardHeader, MosaicDashboardLayout, MosaicDataTable, MosaicDeleteConfirmationDialog, MosaicDeviceProvider, MosaicDocumentUpload, MosaicDrawer, MosaicDropdownMenu, MosaicEmptyState, MosaicFallingPattern, MosaicFeature3Col, MosaicFeatureCenteredMedia, MosaicField, MosaicFieldControl, MosaicFieldDescription, MosaicFieldError, MosaicFieldLabel, MosaicFilterBar, MosaicFilterSidebar, MosaicFooterSimple, MosaicHeroSplit, MosaicInput, MosaicInputGroup, MosaicIntegrationsBadge, MosaicInviteMemberDialog, MosaicKanbanBoard, MosaicKanbanColumn, MosaicLogosGrid, MosaicMainNav, MosaicMarkdown, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, MosaicMemberList, MosaicMemoryCard, MosaicMessageCard, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, MosaicModelSelector, MosaicModuleCard, MosaicModuleForm, MosaicModuleLibrary, MosaicMultiOrgIndicator, MosaicMultiTenantProvider, MosaicNavbar, MosaicOrgPanel, MosaicOrgProfilePage, MosaicOrgRoleBadge, MosaicOrgSwitcher, MosaicPdfViewer, MosaicPreferencesPanel, MosaicPricingCard, MosaicProfilePanel, MosaicProgress, MosaicQuickActionCard, MosaicQuickActionsMenu, MosaicQuickAgentSelector, MosaicQuickStartPanel, MosaicRadioGroup, MosaicRadioGroupItem, MosaicResizableSplitPane, MosaicScrollArea, MosaicSelect, MosaicSelectorModal, MosaicSeparator, MosaicSignInLayout, MosaicSignUpLayout, MosaicSkeleton, MosaicSlider, MosaicStatsGrid, MosaicStepPipeline, MosaicSwitch, MosaicTabs, MosaicTabsList, MosaicTabsPanel, MosaicTabsTrigger, MosaicTagInput, MosaicTemplateAgentCard, MosaicTemplateCard, MosaicTemplateCategoryChips, MosaicTemplateGallery, MosaicTemplatePreview, MosaicTestimonialsGrid, MosaicTextarea, MosaicThemeProvider, MosaicThemeToggle, MosaicToast, MosaicToastProvider, MosaicToolToggleList, MosaicTooltip, MosaicTooltipContent, MosaicTooltipProvider, MosaicTooltipRoot, MosaicTooltipTrigger, MosaicUrlScraper, MosaicUserButton, Placeholder, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, drawerBackdropVariants, drawerPopupVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
|
14616
|
+
export { MosaicAccordion, MosaicAccordionItem, MosaicAccordionPanel, MosaicAccordionTrigger, MosaicActivityFeed, MosaicActivityItem, MosaicAdaptiveGrid, MosaicAdaptiveModal, MosaicAdaptiveNavigation, MosaicAgentCard, MosaicAgentChat, MosaicAgentComposer, MosaicAgentComposerDesktop, MosaicAgentComposerMobile, MosaicAgentEditor, MosaicAgentList, AgentListDesktop as MosaicAgentListDesktop, AgentListMobile as MosaicAgentListMobile, MosaicAgentPreview, MosaicAgentTeamPreview, MosaicAlertDialog, MosaicAlertDialogAction, MosaicAlertDialogCancel, MosaicAlertDialogContent, MosaicAlertDialogDescription, MosaicAlertDialogFooter, MosaicAlertDialogHeader, MosaicAlertDialogOverlay, MosaicAlertDialogPortal, MosaicAlertDialogTitle, MosaicAlertDialogTrigger, MosaicAnimatedList, MosaicApiKeyPanel, MosaicAppSidebar, MosaicApprovalPrompt, MosaicAvatar, MosaicBadge, MosaicBlurredOrb, MosaicButton, MosaicCard, MosaicCardContent, MosaicCardDescription, MosaicCardFooter, MosaicCardHeader, MosaicCardTitle, MosaicChatComposer, MosaicChatMessage, MosaicChatThread, MosaicCheckbox, MosaicClerkOrgSwitcher, MosaicClerkWebhookHandler, MosaicCollapsible, MosaicCollapsiblePanel, MosaicCollapsibleTrigger, MosaicCombobox, MosaicCounter, MosaicCreateOrgDialog, MosaicDashboardContent, MosaicDashboardHeader, MosaicDashboardLayout, MosaicDataTable, MosaicDeleteConfirmationDialog, MosaicDeviceProvider, MosaicDocumentUpload, MosaicDrawer, MosaicDropdownMenu, MosaicEmptyState, MosaicFallingPattern, MosaicFeature3Col, MosaicFeatureCenteredMedia, MosaicField, MosaicFieldControl, MosaicFieldDescription, MosaicFieldError, MosaicFieldLabel, MosaicFilterBar, MosaicFilterSidebar, MosaicFooterSimple, MosaicHeroSplit, MosaicInput, MosaicInputGroup, MosaicIntegrationsBadge, MosaicInviteMemberDialog, MosaicKanbanBoard, MosaicKanbanColumn, MosaicLogosGrid, MosaicMainNav, MosaicMarkdown, MosaicMarketplaceCard, MosaicMarketplaceList, MarketplaceListDesktop as MosaicMarketplaceListDesktop, MarketplaceListMobile as MosaicMarketplaceListMobile, MosaicMemberList, MosaicMemoryCard, MosaicMessageCard, MosaicMessageList, MessageListDesktop as MosaicMessageListDesktop, MessageListMobile as MosaicMessageListMobile, MosaicModelSelector, MosaicModuleCard, MosaicModuleForm, MosaicModuleLibrary, MosaicMultiOrgIndicator, MosaicMultiTenantProvider, MosaicNavbar, MosaicOrgPanel, MosaicOrgProfilePage, MosaicOrgRoleBadge, MosaicOrgSwitcher, MosaicPdfViewer, MosaicPreferencesPanel, MosaicPricingCard, MosaicProfilePanel, MosaicProgress, MosaicQuickActionCard, MosaicQuickActionsMenu, MosaicQuickAgentSelector, MosaicQuickStartPanel, MosaicRadioGroup, MosaicRadioGroupItem, MosaicResizableSplitPane, MosaicSaveTemplateModal, MosaicScrollArea, MosaicSelect, MosaicSelectorModal, MosaicSeparator, MosaicSignInLayout, MosaicSignUpLayout, MosaicSkeleton, MosaicSlider, MosaicStatsGrid, MosaicStepPipeline, MosaicSwitch, MosaicTabs, MosaicTabsList, MosaicTabsPanel, MosaicTabsTrigger, MosaicTagInput, MosaicTemplateAgentCard, MosaicTemplateCard, MosaicTemplateCategoryChips, MosaicTemplateGallery, MosaicTemplateList, MosaicTemplatePreview, MosaicTestimonialsGrid, MosaicTextarea, MosaicThemeProvider, MosaicThemeToggle, MosaicToast, MosaicToastProvider, MosaicToolToggleList, MosaicTooltip, MosaicTooltipContent, MosaicTooltipProvider, MosaicTooltipRoot, MosaicTooltipTrigger, MosaicUrlScraper, MosaicUserButton, Placeholder, agentChatRootVariants, agentEditorVariants, agentPreviewVariants, alertDialogContentVariants, alertDialogOverlayVariants, badgeVariants, buttonVariants, chatMessageBubbleVariants, chatMessageContainerVariants, chatMessageToolStatusVariants, drawerBackdropVariants, drawerPopupVariants, marketplaceCardVariants, pdfViewerFrameVariants, pdfViewerStatusVariants, pdfViewerToolbarButtonVariants, saveTemplateModalBodyVariants, saveTemplateModalButtonVariants, saveTemplateModalErrorVariants, saveTemplateModalFieldVariants, saveTemplateModalFooterVariants, skeletonVariants, splitPaneCollapseButtonVariants, splitPaneHandleVariants, splitPaneRootVariants, tagInputFieldVariants, tagInputRemoveButtonVariants, tagInputRootVariants, tagInputTagVariants, templateAgentCardBadgeVariants, templateAgentCardTagVariants, templateAgentCardVariants, templateCategoryChipVariants, templateListVariants, toastCardVariants, toastDismissButtonVariants, toastProviderPositionVariants, toastTitleVariants, toolToggleListRowVariants, toolToggleListSectionVariants, useBreakpoint, useDevice, useMosaicWorkspace as useEffectiveWorkspaceId, useIsDesktop, useIsMobile, useIsTablet, useMediaQuery, useMosaicWorkspace, useOrientation, useViewport, version };
|
|
14214
14617
|
//# sourceMappingURL=index.js.map
|
|
14215
14618
|
//# sourceMappingURL=index.js.map
|