@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.cjs
CHANGED
|
@@ -47,7 +47,7 @@ function _interopNamespace(e) {
|
|
|
47
47
|
var React29__namespace = /*#__PURE__*/_interopNamespace(React29);
|
|
48
48
|
|
|
49
49
|
// src/version.ts
|
|
50
|
-
var version = "0.5.
|
|
50
|
+
var version = "0.5.23-alpha";
|
|
51
51
|
function Placeholder({ label = "mosaic-blocks placeholder" }) {
|
|
52
52
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-mosaic-block": "placeholder", children: label });
|
|
53
53
|
}
|
|
@@ -8524,9 +8524,132 @@ function MosaicMarketplaceList(props) {
|
|
|
8524
8524
|
return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(MarketplaceListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(MarketplaceListDesktop, { ...props });
|
|
8525
8525
|
}
|
|
8526
8526
|
MosaicMarketplaceList.displayName = "MosaicMarketplaceList";
|
|
8527
|
+
var marketplaceCardVariants = classVarianceAuthority.cva(
|
|
8528
|
+
["rounded-xl border border-border bg-card p-4 transition-shadow", "hover:shadow-md"],
|
|
8529
|
+
{
|
|
8530
|
+
variants: {
|
|
8531
|
+
variant: {
|
|
8532
|
+
default: "flex flex-col gap-3",
|
|
8533
|
+
compact: "flex flex-row items-center gap-3"
|
|
8534
|
+
}
|
|
8535
|
+
},
|
|
8536
|
+
defaultVariants: {
|
|
8537
|
+
variant: "default"
|
|
8538
|
+
}
|
|
8539
|
+
}
|
|
8540
|
+
);
|
|
8527
8541
|
function cn64(...classes) {
|
|
8528
8542
|
return classes.filter(Boolean).join(" ");
|
|
8529
8543
|
}
|
|
8544
|
+
function MosaicMarketplaceCard({
|
|
8545
|
+
id,
|
|
8546
|
+
name,
|
|
8547
|
+
description,
|
|
8548
|
+
icon,
|
|
8549
|
+
rating,
|
|
8550
|
+
mentions,
|
|
8551
|
+
isAdopted = false,
|
|
8552
|
+
onAdopt,
|
|
8553
|
+
onUnadopt,
|
|
8554
|
+
onPreview,
|
|
8555
|
+
adoptLabel,
|
|
8556
|
+
unadoptLabel,
|
|
8557
|
+
previewLabel,
|
|
8558
|
+
ratingLabel,
|
|
8559
|
+
variant = "default",
|
|
8560
|
+
className
|
|
8561
|
+
}) {
|
|
8562
|
+
const compact = variant === "compact";
|
|
8563
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8564
|
+
MosaicCard,
|
|
8565
|
+
{
|
|
8566
|
+
"data-slot": "marketplace-card",
|
|
8567
|
+
className: cn64(marketplaceCardVariants({ variant }), className),
|
|
8568
|
+
children: [
|
|
8569
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8570
|
+
"div",
|
|
8571
|
+
{
|
|
8572
|
+
className: cn64(
|
|
8573
|
+
"flex shrink-0 items-center justify-center rounded-lg bg-muted text-muted-foreground",
|
|
8574
|
+
compact ? "h-10 w-10" : "h-12 w-12"
|
|
8575
|
+
),
|
|
8576
|
+
children: icon
|
|
8577
|
+
}
|
|
8578
|
+
),
|
|
8579
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
8580
|
+
/* @__PURE__ */ jsxRuntime.jsx(MosaicCardTitle, { className: cn64("truncate", compact ? "text-sm" : "text-base"), children: name }),
|
|
8581
|
+
description && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8582
|
+
MosaicCardDescription,
|
|
8583
|
+
{
|
|
8584
|
+
"data-slot": "marketplace-card-description",
|
|
8585
|
+
className: "mt-1 line-clamp-2",
|
|
8586
|
+
children: description
|
|
8587
|
+
}
|
|
8588
|
+
),
|
|
8589
|
+
mentions && mentions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2 flex flex-wrap gap-1", children: mentions.map((mention) => /* @__PURE__ */ jsxRuntime.jsx(MosaicBadge, { variant: "secondary", children: mention }, mention)) }),
|
|
8590
|
+
rating != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8591
|
+
"div",
|
|
8592
|
+
{
|
|
8593
|
+
"data-slot": "marketplace-card-rating",
|
|
8594
|
+
className: "mt-2 flex items-center gap-1 text-xs text-muted-foreground",
|
|
8595
|
+
children: [
|
|
8596
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium text-foreground", children: rating }),
|
|
8597
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: ratingLabel })
|
|
8598
|
+
]
|
|
8599
|
+
}
|
|
8600
|
+
)
|
|
8601
|
+
] }),
|
|
8602
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn64("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
|
|
8603
|
+
onPreview && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8604
|
+
"button",
|
|
8605
|
+
{
|
|
8606
|
+
type: "button",
|
|
8607
|
+
onClick: () => onPreview(id),
|
|
8608
|
+
className: cn64(
|
|
8609
|
+
"inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
|
|
8610
|
+
"bg-background px-3 text-xs font-medium text-foreground",
|
|
8611
|
+
"hover:bg-accent hover:text-accent-foreground",
|
|
8612
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
8613
|
+
),
|
|
8614
|
+
children: previewLabel
|
|
8615
|
+
}
|
|
8616
|
+
),
|
|
8617
|
+
isAdopted ? onUnadopt && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8618
|
+
"button",
|
|
8619
|
+
{
|
|
8620
|
+
type: "button",
|
|
8621
|
+
onClick: () => onUnadopt(id),
|
|
8622
|
+
className: cn64(
|
|
8623
|
+
"inline-flex min-h-[36px] items-center justify-center rounded-md",
|
|
8624
|
+
"bg-secondary px-3 text-xs font-medium text-secondary-foreground",
|
|
8625
|
+
"hover:bg-secondary/80",
|
|
8626
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
8627
|
+
),
|
|
8628
|
+
children: unadoptLabel
|
|
8629
|
+
}
|
|
8630
|
+
) : onAdopt && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8631
|
+
"button",
|
|
8632
|
+
{
|
|
8633
|
+
type: "button",
|
|
8634
|
+
onClick: () => onAdopt(id),
|
|
8635
|
+
className: cn64(
|
|
8636
|
+
"inline-flex min-h-[36px] items-center justify-center rounded-md",
|
|
8637
|
+
"bg-primary px-3 text-xs font-medium text-primary-foreground",
|
|
8638
|
+
"hover:bg-primary/90",
|
|
8639
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
8640
|
+
),
|
|
8641
|
+
children: adoptLabel
|
|
8642
|
+
}
|
|
8643
|
+
)
|
|
8644
|
+
] })
|
|
8645
|
+
]
|
|
8646
|
+
}
|
|
8647
|
+
);
|
|
8648
|
+
}
|
|
8649
|
+
MosaicMarketplaceCard.displayName = "MosaicMarketplaceCard";
|
|
8650
|
+
function cn65(...classes) {
|
|
8651
|
+
return classes.filter(Boolean).join(" ");
|
|
8652
|
+
}
|
|
8530
8653
|
function StarIcon2() {
|
|
8531
8654
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8532
8655
|
"svg",
|
|
@@ -8645,7 +8768,7 @@ function MosaicTemplateCard({
|
|
|
8645
8768
|
type: "button",
|
|
8646
8769
|
onClick: () => onSelect(template),
|
|
8647
8770
|
"data-slot": "template-card",
|
|
8648
|
-
className:
|
|
8771
|
+
className: cn65(
|
|
8649
8772
|
"w-full text-left rounded-lg border transition-all duration-200",
|
|
8650
8773
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
8651
8774
|
isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50",
|
|
@@ -8746,7 +8869,7 @@ function MosaicTemplatePreview({
|
|
|
8746
8869
|
agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8747
8870
|
"span",
|
|
8748
8871
|
{
|
|
8749
|
-
className:
|
|
8872
|
+
className: cn65("h-2 w-2 rounded-full", agent.accentColor),
|
|
8750
8873
|
"aria-hidden": "true"
|
|
8751
8874
|
}
|
|
8752
8875
|
),
|
|
@@ -8806,7 +8929,7 @@ function MosaicAgentTeamPreview({ agents, label }) {
|
|
|
8806
8929
|
agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8807
8930
|
"span",
|
|
8808
8931
|
{
|
|
8809
|
-
className:
|
|
8932
|
+
className: cn65("h-2.5 w-2.5 rounded-full", agent.accentColor),
|
|
8810
8933
|
"aria-hidden": "true"
|
|
8811
8934
|
}
|
|
8812
8935
|
),
|
|
@@ -8830,7 +8953,7 @@ function MosaicQuickStartPanel({
|
|
|
8830
8953
|
scratchLabel,
|
|
8831
8954
|
className
|
|
8832
8955
|
}) {
|
|
8833
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-start-panel", className:
|
|
8956
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-start-panel", className: cn65("flex flex-col gap-6", className), children: [
|
|
8834
8957
|
scenarios.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
8835
8958
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: scenariosTitle }),
|
|
8836
8959
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: scenarios.map((scenario) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -8838,7 +8961,7 @@ function MosaicQuickStartPanel({
|
|
|
8838
8961
|
{
|
|
8839
8962
|
type: "button",
|
|
8840
8963
|
onClick: () => onSelectScenario(scenario),
|
|
8841
|
-
className:
|
|
8964
|
+
className: cn65(
|
|
8842
8965
|
"flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left",
|
|
8843
8966
|
"hover:border-primary/50 hover:bg-primary/5",
|
|
8844
8967
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -8870,7 +8993,7 @@ function MosaicQuickStartPanel({
|
|
|
8870
8993
|
{
|
|
8871
8994
|
type: "button",
|
|
8872
8995
|
onClick: () => onSelectPreset(preset),
|
|
8873
|
-
className:
|
|
8996
|
+
className: cn65(
|
|
8874
8997
|
"flex items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",
|
|
8875
8998
|
"hover:border-primary/50",
|
|
8876
8999
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -8884,7 +9007,7 @@ function MosaicQuickStartPanel({
|
|
|
8884
9007
|
a.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8885
9008
|
"span",
|
|
8886
9009
|
{
|
|
8887
|
-
className:
|
|
9010
|
+
className: cn65("h-2 w-2 rounded-full", a.accentColor),
|
|
8888
9011
|
"aria-hidden": "true"
|
|
8889
9012
|
}
|
|
8890
9013
|
),
|
|
@@ -8902,7 +9025,7 @@ function MosaicQuickStartPanel({
|
|
|
8902
9025
|
{
|
|
8903
9026
|
type: "button",
|
|
8904
9027
|
onClick: onStartFromScratch,
|
|
8905
|
-
className:
|
|
9028
|
+
className: cn65(
|
|
8906
9029
|
"inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
|
|
8907
9030
|
"bg-background px-4 text-sm font-medium text-foreground",
|
|
8908
9031
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -8996,7 +9119,7 @@ function TemplateGalleryContent({
|
|
|
8996
9119
|
value: query,
|
|
8997
9120
|
onChange: (e) => setQuery(e.target.value),
|
|
8998
9121
|
placeholder: searchPlaceholder,
|
|
8999
|
-
className:
|
|
9122
|
+
className: cn65(
|
|
9000
9123
|
"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"
|
|
9001
9124
|
)
|
|
9002
9125
|
}
|
|
@@ -9047,7 +9170,7 @@ function TemplateGalleryContent({
|
|
|
9047
9170
|
value: query,
|
|
9048
9171
|
onChange: (e) => setQuery(e.target.value),
|
|
9049
9172
|
placeholder: searchPlaceholder,
|
|
9050
|
-
className:
|
|
9173
|
+
className: cn65(
|
|
9051
9174
|
"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"
|
|
9052
9175
|
)
|
|
9053
9176
|
}
|
|
@@ -9079,7 +9202,7 @@ function MosaicTemplateGallery(props) {
|
|
|
9079
9202
|
return /* @__PURE__ */ jsxRuntime.jsx(TemplateGalleryContent, { ...props, isMobile });
|
|
9080
9203
|
}
|
|
9081
9204
|
MosaicTemplateGallery.displayName = "MosaicTemplateGallery";
|
|
9082
|
-
function
|
|
9205
|
+
function cn66(...classes) {
|
|
9083
9206
|
return classes.filter(Boolean).join(" ");
|
|
9084
9207
|
}
|
|
9085
9208
|
function PlusIcon5() {
|
|
@@ -9230,7 +9353,7 @@ function MosaicModuleForm(props) {
|
|
|
9230
9353
|
onChange: (e) => update("name", e.target.value),
|
|
9231
9354
|
placeholder: namePlaceholder,
|
|
9232
9355
|
required: true,
|
|
9233
|
-
className:
|
|
9356
|
+
className: cn66(
|
|
9234
9357
|
"w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
|
|
9235
9358
|
"text-sm placeholder:text-muted-foreground",
|
|
9236
9359
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9248,7 +9371,7 @@ function MosaicModuleForm(props) {
|
|
|
9248
9371
|
onChange: (e) => update("description", e.target.value),
|
|
9249
9372
|
placeholder: descriptionPlaceholder,
|
|
9250
9373
|
rows: 3,
|
|
9251
|
-
className:
|
|
9374
|
+
className: cn66(
|
|
9252
9375
|
"w-full rounded-md border border-input bg-background px-3 py-2",
|
|
9253
9376
|
"text-sm placeholder:text-muted-foreground resize-none",
|
|
9254
9377
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9270,7 +9393,7 @@ function MosaicModuleForm(props) {
|
|
|
9270
9393
|
value: formData[field.id] ?? "",
|
|
9271
9394
|
onChange: (e) => update(field.id, e.target.value),
|
|
9272
9395
|
placeholder: field.placeholder,
|
|
9273
|
-
className:
|
|
9396
|
+
className: cn66(
|
|
9274
9397
|
"w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
|
|
9275
9398
|
"text-sm placeholder:text-muted-foreground",
|
|
9276
9399
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9285,7 +9408,7 @@ function MosaicModuleForm(props) {
|
|
|
9285
9408
|
onChange: (e) => update(field.id, e.target.value),
|
|
9286
9409
|
placeholder: field.placeholder,
|
|
9287
9410
|
rows: 3,
|
|
9288
|
-
className:
|
|
9411
|
+
className: cn66(
|
|
9289
9412
|
"w-full rounded-md border border-input bg-background px-3 py-2",
|
|
9290
9413
|
"text-sm placeholder:text-muted-foreground resize-none",
|
|
9291
9414
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9301,7 +9424,7 @@ function MosaicModuleForm(props) {
|
|
|
9301
9424
|
onChange: (e) => update(field.id, e.target.value),
|
|
9302
9425
|
placeholder: field.placeholder ?? "\u{1F9E0}",
|
|
9303
9426
|
maxLength: 4,
|
|
9304
|
-
className:
|
|
9427
|
+
className: cn66(
|
|
9305
9428
|
"w-20 rounded-md border border-input bg-background px-3 py-2 text-2xl",
|
|
9306
9429
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
9307
9430
|
)
|
|
@@ -9322,7 +9445,7 @@ function MosaicModuleForm(props) {
|
|
|
9322
9445
|
}
|
|
9323
9446
|
},
|
|
9324
9447
|
placeholder: field.placeholder ?? tagListAddPlaceholder,
|
|
9325
|
-
className:
|
|
9448
|
+
className: cn66(
|
|
9326
9449
|
"flex-1 rounded-md border border-input bg-background px-3 py-2 min-h-[36px]",
|
|
9327
9450
|
"text-sm placeholder:text-muted-foreground",
|
|
9328
9451
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9534,7 +9657,7 @@ function LibraryContent({
|
|
|
9534
9657
|
{
|
|
9535
9658
|
type: "button",
|
|
9536
9659
|
onClick: openCreate,
|
|
9537
|
-
className:
|
|
9660
|
+
className: cn66(
|
|
9538
9661
|
"inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground",
|
|
9539
9662
|
"hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
9540
9663
|
),
|
|
@@ -9554,7 +9677,7 @@ function LibraryContent({
|
|
|
9554
9677
|
value: query,
|
|
9555
9678
|
onChange: (e) => setQuery(e.target.value),
|
|
9556
9679
|
placeholder: searchPlaceholder,
|
|
9557
|
-
className:
|
|
9680
|
+
className: cn66(
|
|
9558
9681
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
9559
9682
|
"text-sm placeholder:text-muted-foreground",
|
|
9560
9683
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9567,7 +9690,7 @@ function LibraryContent({
|
|
|
9567
9690
|
{
|
|
9568
9691
|
type: "button",
|
|
9569
9692
|
onClick: () => setActiveTab(tab.id),
|
|
9570
|
-
className:
|
|
9693
|
+
className: cn66(
|
|
9571
9694
|
"rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
9572
9695
|
activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
9573
9696
|
),
|
|
@@ -9619,7 +9742,7 @@ function MosaicModuleLibrary(props) {
|
|
|
9619
9742
|
return /* @__PURE__ */ jsxRuntime.jsx(LibraryContent, { ...props });
|
|
9620
9743
|
}
|
|
9621
9744
|
MosaicModuleLibrary.displayName = "MosaicModuleLibrary";
|
|
9622
|
-
function
|
|
9745
|
+
function cn67(...classes) {
|
|
9623
9746
|
return classes.filter(Boolean).join(" ");
|
|
9624
9747
|
}
|
|
9625
9748
|
var roleConfig = {
|
|
@@ -9646,7 +9769,7 @@ function MosaicOrgRoleBadge({ role, className }) {
|
|
|
9646
9769
|
{
|
|
9647
9770
|
"data-slot": "org-role-badge",
|
|
9648
9771
|
title: config.description,
|
|
9649
|
-
className:
|
|
9772
|
+
className: cn67(
|
|
9650
9773
|
"inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
|
|
9651
9774
|
config.className,
|
|
9652
9775
|
className
|
|
@@ -9663,13 +9786,13 @@ function MosaicMultiOrgIndicator({
|
|
|
9663
9786
|
className
|
|
9664
9787
|
}) {
|
|
9665
9788
|
if (orgCount <= 1) return null;
|
|
9666
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "multi-org-indicator", className:
|
|
9789
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "multi-org-indicator", className: cn67("flex items-center gap-2", className), children: [
|
|
9667
9790
|
onSwitchOrg ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
9668
9791
|
"button",
|
|
9669
9792
|
{
|
|
9670
9793
|
type: "button",
|
|
9671
9794
|
onClick: onSwitchOrg,
|
|
9672
|
-
className:
|
|
9795
|
+
className: cn67(
|
|
9673
9796
|
"inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground",
|
|
9674
9797
|
"hover:bg-secondary/80",
|
|
9675
9798
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -9783,7 +9906,7 @@ function MosaicCreateOrgDialog({
|
|
|
9783
9906
|
onChange: (e) => setName(e.target.value),
|
|
9784
9907
|
placeholder: orgNamePlaceholder,
|
|
9785
9908
|
required: true,
|
|
9786
|
-
className:
|
|
9909
|
+
className: cn67(
|
|
9787
9910
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
9788
9911
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
9789
9912
|
errors.name ? "border-destructive" : "border-input"
|
|
@@ -9803,7 +9926,7 @@ function MosaicCreateOrgDialog({
|
|
|
9803
9926
|
onChange: (e) => setSlug(e.target.value),
|
|
9804
9927
|
placeholder: "acme-inc",
|
|
9805
9928
|
required: true,
|
|
9806
|
-
className:
|
|
9929
|
+
className: cn67(
|
|
9807
9930
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
9808
9931
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
9809
9932
|
errors.slug ? "border-destructive" : "border-input"
|
|
@@ -9916,7 +10039,7 @@ function MosaicInviteMemberDialog({
|
|
|
9916
10039
|
onChange: (e) => setEmail(e.target.value),
|
|
9917
10040
|
placeholder: emailPlaceholder,
|
|
9918
10041
|
required: true,
|
|
9919
|
-
className:
|
|
10042
|
+
className: cn67(
|
|
9920
10043
|
"w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
|
|
9921
10044
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
9922
10045
|
errors.email ? "border-destructive" : "border-input"
|
|
@@ -10103,7 +10226,7 @@ function MosaicMemberList({
|
|
|
10103
10226
|
const filtered = members.filter(
|
|
10104
10227
|
(m) => !query || m.name.toLowerCase().includes(query.toLowerCase()) || m.email.toLowerCase().includes(query.toLowerCase())
|
|
10105
10228
|
);
|
|
10106
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "member-list", className:
|
|
10229
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "member-list", className: cn67("flex flex-col gap-4", className), children: [
|
|
10107
10230
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
10108
10231
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex-1", children: [
|
|
10109
10232
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -10199,7 +10322,7 @@ function MosaicOrgPanel({
|
|
|
10199
10322
|
const { isMobile } = useDevice();
|
|
10200
10323
|
const [activeTab, setActiveTab] = React29__namespace.useState(defaultTab ?? tabs[0]?.id ?? "");
|
|
10201
10324
|
const activeContent = tabs.find((t) => t.id === activeTab)?.content;
|
|
10202
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "org-panel", className:
|
|
10325
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "org-panel", className: cn67("flex h-full flex-col", className), children: [
|
|
10203
10326
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border px-4 py-4 md:px-6", children: [
|
|
10204
10327
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
10205
10328
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
@@ -10221,12 +10344,12 @@ function MosaicOrgPanel({
|
|
|
10221
10344
|
] }),
|
|
10222
10345
|
headerActions
|
|
10223
10346
|
] }),
|
|
10224
|
-
tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
10347
|
+
tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn67("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10225
10348
|
"button",
|
|
10226
10349
|
{
|
|
10227
10350
|
type: "button",
|
|
10228
10351
|
onClick: () => setActiveTab(tab.id),
|
|
10229
|
-
className:
|
|
10352
|
+
className: cn67(
|
|
10230
10353
|
"shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
|
|
10231
10354
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
10232
10355
|
activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
@@ -10240,7 +10363,7 @@ function MosaicOrgPanel({
|
|
|
10240
10363
|
] });
|
|
10241
10364
|
}
|
|
10242
10365
|
MosaicOrgPanel.displayName = "MosaicOrgPanel";
|
|
10243
|
-
function
|
|
10366
|
+
function cn68(...classes) {
|
|
10244
10367
|
return classes.filter(Boolean).join(" ");
|
|
10245
10368
|
}
|
|
10246
10369
|
var ANIM_ID8 = "mosaic-dashboard-content-kf";
|
|
@@ -10277,7 +10400,7 @@ function MosaicDashboardContent({
|
|
|
10277
10400
|
"div",
|
|
10278
10401
|
{
|
|
10279
10402
|
"data-slot": "dashboard-content",
|
|
10280
|
-
className:
|
|
10403
|
+
className: cn68("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
|
|
10281
10404
|
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: [
|
|
10282
10405
|
"View not found: ",
|
|
10283
10406
|
currentView
|
|
@@ -10286,7 +10409,7 @@ function MosaicDashboardContent({
|
|
|
10286
10409
|
);
|
|
10287
10410
|
}
|
|
10288
10411
|
MosaicDashboardContent.displayName = "MosaicDashboardContent";
|
|
10289
|
-
function
|
|
10412
|
+
function cn69(...classes) {
|
|
10290
10413
|
return classes.filter(Boolean).join(" ");
|
|
10291
10414
|
}
|
|
10292
10415
|
var ANIM_ID9 = "mosaic-dashboard-header2-kf";
|
|
@@ -10398,16 +10521,16 @@ function MosaicDashboardHeader({
|
|
|
10398
10521
|
"header",
|
|
10399
10522
|
{
|
|
10400
10523
|
"data-slot": "dashboard-header",
|
|
10401
|
-
className:
|
|
10524
|
+
className: cn69(
|
|
10402
10525
|
"mosaic-dashboard-header2",
|
|
10403
10526
|
"sticky top-0 z-40 border-b border-border/50 bg-background/80 backdrop-blur-sm",
|
|
10404
10527
|
className
|
|
10405
10528
|
),
|
|
10406
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
10529
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn69(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: [
|
|
10407
10530
|
/* @__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: [
|
|
10408
10531
|
logoSlot ?? /* @__PURE__ */ jsxRuntime.jsx(SparklesIcon4, {}),
|
|
10409
10532
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
|
|
10410
|
-
/* @__PURE__ */ jsxRuntime.jsx("h1", { className:
|
|
10533
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn69("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
|
|
10411
10534
|
subtitle && !isMobile && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground truncate", children: subtitle })
|
|
10412
10535
|
] })
|
|
10413
10536
|
] }) }),
|
|
@@ -10420,7 +10543,7 @@ function MosaicDashboardHeader({
|
|
|
10420
10543
|
value: searchQuery,
|
|
10421
10544
|
onChange: handleSearch,
|
|
10422
10545
|
placeholder: searchPlaceholder,
|
|
10423
|
-
className:
|
|
10546
|
+
className: cn69(
|
|
10424
10547
|
"w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
|
|
10425
10548
|
"text-sm placeholder:text-muted-foreground",
|
|
10426
10549
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -10460,7 +10583,7 @@ function MosaicDashboardHeader({
|
|
|
10460
10583
|
);
|
|
10461
10584
|
}
|
|
10462
10585
|
MosaicDashboardHeader.displayName = "MosaicDashboardHeader";
|
|
10463
|
-
function
|
|
10586
|
+
function cn70(...classes) {
|
|
10464
10587
|
return classes.filter(Boolean).join(" ");
|
|
10465
10588
|
}
|
|
10466
10589
|
function ChevronDownIcon4() {
|
|
@@ -10543,13 +10666,13 @@ function MosaicOrgSwitcher({
|
|
|
10543
10666
|
}, [open]);
|
|
10544
10667
|
if (!currentOrg && organizations.length === 0 && !onCreateOrg) return null;
|
|
10545
10668
|
const initials = currentOrg?.name.split(" ").map((n) => n[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() ?? "?";
|
|
10546
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "org-switcher", className:
|
|
10669
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "org-switcher", className: cn70("relative", className), children: [
|
|
10547
10670
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
10548
10671
|
"button",
|
|
10549
10672
|
{
|
|
10550
10673
|
type: "button",
|
|
10551
10674
|
onClick: () => setOpen((v) => !v),
|
|
10552
|
-
className:
|
|
10675
|
+
className: cn70(
|
|
10553
10676
|
"inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5",
|
|
10554
10677
|
"text-sm font-medium text-foreground",
|
|
10555
10678
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -10576,7 +10699,7 @@ function MosaicOrgSwitcher({
|
|
|
10576
10699
|
{
|
|
10577
10700
|
role: "menu",
|
|
10578
10701
|
"aria-label": triggerAriaLabel,
|
|
10579
|
-
className:
|
|
10702
|
+
className: cn70(
|
|
10580
10703
|
"absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-border",
|
|
10581
10704
|
"bg-popover py-1 shadow-md"
|
|
10582
10705
|
),
|
|
@@ -10591,7 +10714,7 @@ function MosaicOrgSwitcher({
|
|
|
10591
10714
|
onSelectOrg?.(org.id);
|
|
10592
10715
|
setOpen(false);
|
|
10593
10716
|
},
|
|
10594
|
-
className:
|
|
10717
|
+
className: cn70(
|
|
10595
10718
|
"flex w-full items-center gap-2.5 px-3 py-2 text-sm text-foreground",
|
|
10596
10719
|
"hover:bg-accent hover:text-accent-foreground",
|
|
10597
10720
|
org.id === currentOrgId && "bg-primary/10 text-primary"
|
|
@@ -10628,7 +10751,7 @@ function MosaicOrgSwitcher({
|
|
|
10628
10751
|
] });
|
|
10629
10752
|
}
|
|
10630
10753
|
MosaicOrgSwitcher.displayName = "MosaicOrgSwitcher";
|
|
10631
|
-
function
|
|
10754
|
+
function cn71(...classes) {
|
|
10632
10755
|
return classes.filter(Boolean).join(" ");
|
|
10633
10756
|
}
|
|
10634
10757
|
function PlusIcon7() {
|
|
@@ -10673,19 +10796,19 @@ function MosaicQuickActionsMenu({
|
|
|
10673
10796
|
document.addEventListener("mousedown", h);
|
|
10674
10797
|
return () => document.removeEventListener("mousedown", h);
|
|
10675
10798
|
}, [open]);
|
|
10676
|
-
const itemClass =
|
|
10799
|
+
const itemClass = cn71(
|
|
10677
10800
|
"flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
|
|
10678
10801
|
"hover:bg-accent hover:text-accent-foreground",
|
|
10679
10802
|
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
10680
10803
|
"min-h-[44px]"
|
|
10681
10804
|
);
|
|
10682
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "quick-actions-menu", className:
|
|
10805
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn71("relative", className), children: [
|
|
10683
10806
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
10684
10807
|
"button",
|
|
10685
10808
|
{
|
|
10686
10809
|
type: "button",
|
|
10687
10810
|
onClick: () => setOpen((v) => !v),
|
|
10688
|
-
className:
|
|
10811
|
+
className: cn71(
|
|
10689
10812
|
"inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
|
|
10690
10813
|
"min-h-[44px] min-w-[44px] px-3 py-2 text-sm font-medium text-foreground",
|
|
10691
10814
|
"hover:bg-accent hover:text-accent-foreground",
|
|
@@ -10696,7 +10819,7 @@ function MosaicQuickActionsMenu({
|
|
|
10696
10819
|
"aria-label": label,
|
|
10697
10820
|
children: [
|
|
10698
10821
|
triggerIcon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon7, {}),
|
|
10699
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
10822
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: cn71("hidden md:inline"), children: label })
|
|
10700
10823
|
]
|
|
10701
10824
|
}
|
|
10702
10825
|
),
|
|
@@ -10705,13 +10828,13 @@ function MosaicQuickActionsMenu({
|
|
|
10705
10828
|
{
|
|
10706
10829
|
role: "menu",
|
|
10707
10830
|
"aria-label": menuTitle,
|
|
10708
|
-
className:
|
|
10831
|
+
className: cn71(
|
|
10709
10832
|
"absolute right-0 top-full z-50 mt-1 rounded-md border border-border bg-popover py-1 shadow-md",
|
|
10710
10833
|
isMobile ? "w-[min(90vw,280px)]" : "w-56"
|
|
10711
10834
|
),
|
|
10712
10835
|
children: [
|
|
10713
10836
|
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 }) }),
|
|
10714
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
10837
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn71(menuTitle && "border-t border-border") }),
|
|
10715
10838
|
actions.map((action) => /* @__PURE__ */ jsxRuntime.jsxs(React29__namespace.Fragment, { children: [
|
|
10716
10839
|
action.separator && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-1 border-t border-border" }),
|
|
10717
10840
|
action.href && renderLink ? renderLink(
|
|
@@ -11016,7 +11139,7 @@ function MosaicOrgProfilePage({
|
|
|
11016
11139
|
);
|
|
11017
11140
|
}
|
|
11018
11141
|
MosaicOrgProfilePage.displayName = "MosaicOrgProfilePage";
|
|
11019
|
-
function
|
|
11142
|
+
function cn72(...classes) {
|
|
11020
11143
|
return classes.filter(Boolean).join(" ");
|
|
11021
11144
|
}
|
|
11022
11145
|
function defaultCompare(a, b) {
|
|
@@ -11079,7 +11202,7 @@ function MosaicDataTable({
|
|
|
11079
11202
|
{
|
|
11080
11203
|
ref,
|
|
11081
11204
|
"data-slot": "data-table",
|
|
11082
|
-
className:
|
|
11205
|
+
className: cn72("w-full border-collapse text-sm", className),
|
|
11083
11206
|
children: [
|
|
11084
11207
|
/* @__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) => {
|
|
11085
11208
|
const isSortable = masterSortable && col.sortable;
|
|
@@ -11097,7 +11220,7 @@ function MosaicDataTable({
|
|
|
11097
11220
|
handleHeaderClick(col);
|
|
11098
11221
|
}
|
|
11099
11222
|
} : void 0,
|
|
11100
|
-
className:
|
|
11223
|
+
className: cn72(
|
|
11101
11224
|
"px-4 py-3 font-medium text-muted-foreground",
|
|
11102
11225
|
alignClass(col.align),
|
|
11103
11226
|
col.className,
|
|
@@ -11133,7 +11256,7 @@ function MosaicDataTable({
|
|
|
11133
11256
|
"td",
|
|
11134
11257
|
{
|
|
11135
11258
|
"data-slot": "data-table-td",
|
|
11136
|
-
className:
|
|
11259
|
+
className: cn72(
|
|
11137
11260
|
"px-4 py-3 text-foreground",
|
|
11138
11261
|
alignClass(col.align),
|
|
11139
11262
|
col.className
|
|
@@ -11272,7 +11395,7 @@ var stepSegmentVariants = classVarianceAuthority.cva(["h-1.5 flex-1 min-w-2 roun
|
|
|
11272
11395
|
filled: false
|
|
11273
11396
|
}
|
|
11274
11397
|
});
|
|
11275
|
-
function
|
|
11398
|
+
function cn73(...classes) {
|
|
11276
11399
|
return classes.filter(Boolean).join(" ");
|
|
11277
11400
|
}
|
|
11278
11401
|
function resolveStatus(step, index, currentIndex) {
|
|
@@ -11313,7 +11436,7 @@ function MosaicStepPipelineSegments({
|
|
|
11313
11436
|
"aria-valuemax": total,
|
|
11314
11437
|
"aria-valuenow": current,
|
|
11315
11438
|
"aria-valuetext": progressLabel ? progressLabel(current, total) : void 0,
|
|
11316
|
-
className:
|
|
11439
|
+
className: cn73(stepSegmentBarVariants(), className),
|
|
11317
11440
|
children: steps.map((step, index) => {
|
|
11318
11441
|
const status = resolveStatus(step, index, currentIndex);
|
|
11319
11442
|
const filled = status !== "upcoming";
|
|
@@ -11325,7 +11448,7 @@ function MosaicStepPipelineSegments({
|
|
|
11325
11448
|
"data-status": status,
|
|
11326
11449
|
"data-filled": filled,
|
|
11327
11450
|
"aria-hidden": "true",
|
|
11328
|
-
className:
|
|
11451
|
+
className: cn73(stepSegmentVariants({ filled }))
|
|
11329
11452
|
},
|
|
11330
11453
|
key
|
|
11331
11454
|
);
|
|
@@ -11346,7 +11469,7 @@ function MosaicStepPipelineDots({
|
|
|
11346
11469
|
{
|
|
11347
11470
|
ref,
|
|
11348
11471
|
"data-slot": "step-pipeline",
|
|
11349
|
-
className:
|
|
11472
|
+
className: cn73(stepPipelineVariants({ orientation }), className),
|
|
11350
11473
|
children: steps.map((step, index) => {
|
|
11351
11474
|
const status = resolveStatus(step, index, currentIndex);
|
|
11352
11475
|
const isCurrent = status === "current";
|
|
@@ -11358,7 +11481,7 @@ function MosaicStepPipelineDots({
|
|
|
11358
11481
|
"data-slot": "step",
|
|
11359
11482
|
"data-status": status,
|
|
11360
11483
|
"aria-current": isCurrent ? "step" : void 0,
|
|
11361
|
-
className:
|
|
11484
|
+
className: cn73(
|
|
11362
11485
|
"flex shrink-0",
|
|
11363
11486
|
orientation === "horizontal" ? "flex-col items-center gap-2" : "flex-row items-start gap-3",
|
|
11364
11487
|
orientation === "horizontal" && !isLast && "flex-1"
|
|
@@ -11369,14 +11492,14 @@ function MosaicStepPipelineDots({
|
|
|
11369
11492
|
"div",
|
|
11370
11493
|
{
|
|
11371
11494
|
"data-slot": "step-connector",
|
|
11372
|
-
className:
|
|
11495
|
+
className: cn73(stepConnectorVariants({ status, orientation }))
|
|
11373
11496
|
}
|
|
11374
11497
|
),
|
|
11375
11498
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11376
11499
|
"div",
|
|
11377
11500
|
{
|
|
11378
11501
|
"data-slot": "step-indicator",
|
|
11379
|
-
className:
|
|
11502
|
+
className: cn73(stepIndicatorVariants({ status, orientation })),
|
|
11380
11503
|
"aria-hidden": "true",
|
|
11381
11504
|
children: status === "done" ? "\u2713" : /* @__PURE__ */ jsxRuntime.jsx("span", { children: index + 1 })
|
|
11382
11505
|
}
|
|
@@ -11385,7 +11508,7 @@ function MosaicStepPipelineDots({
|
|
|
11385
11508
|
"div",
|
|
11386
11509
|
{
|
|
11387
11510
|
"data-slot": "step-connector",
|
|
11388
|
-
className:
|
|
11511
|
+
className: cn73(
|
|
11389
11512
|
stepConnectorVariants({
|
|
11390
11513
|
// connector after current step is still upcoming
|
|
11391
11514
|
status: status === "done" ? "done" : "upcoming",
|
|
@@ -11396,12 +11519,12 @@ function MosaicStepPipelineDots({
|
|
|
11396
11519
|
)
|
|
11397
11520
|
] }),
|
|
11398
11521
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-0.5 text-center px-1", children: [
|
|
11399
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className:
|
|
11522
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className: cn73(stepLabelVariants({ status })), children: step.label }),
|
|
11400
11523
|
step.description !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
11401
11524
|
"span",
|
|
11402
11525
|
{
|
|
11403
11526
|
"data-slot": "step-description",
|
|
11404
|
-
className:
|
|
11527
|
+
className: cn73(stepDescriptionVariants({ status })),
|
|
11405
11528
|
children: step.description
|
|
11406
11529
|
}
|
|
11407
11530
|
)
|
|
@@ -11412,7 +11535,7 @@ function MosaicStepPipelineDots({
|
|
|
11412
11535
|
"div",
|
|
11413
11536
|
{
|
|
11414
11537
|
"data-slot": "step-indicator",
|
|
11415
|
-
className:
|
|
11538
|
+
className: cn73(stepIndicatorVariants({ status, orientation })),
|
|
11416
11539
|
"aria-hidden": "true",
|
|
11417
11540
|
children: status === "done" ? "\u2713" : /* @__PURE__ */ jsxRuntime.jsx("span", { children: index + 1 })
|
|
11418
11541
|
}
|
|
@@ -11421,7 +11544,7 @@ function MosaicStepPipelineDots({
|
|
|
11421
11544
|
"div",
|
|
11422
11545
|
{
|
|
11423
11546
|
"data-slot": "step-connector",
|
|
11424
|
-
className:
|
|
11547
|
+
className: cn73(
|
|
11425
11548
|
stepConnectorVariants({
|
|
11426
11549
|
status: status === "done" ? "done" : "upcoming",
|
|
11427
11550
|
orientation
|
|
@@ -11431,12 +11554,12 @@ function MosaicStepPipelineDots({
|
|
|
11431
11554
|
)
|
|
11432
11555
|
] }),
|
|
11433
11556
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0.5 pt-1 pb-4", children: [
|
|
11434
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className:
|
|
11557
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className: cn73(stepLabelVariants({ status })), children: step.label }),
|
|
11435
11558
|
step.description !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
11436
11559
|
"span",
|
|
11437
11560
|
{
|
|
11438
11561
|
"data-slot": "step-description",
|
|
11439
|
-
className:
|
|
11562
|
+
className: cn73(stepDescriptionVariants({ status })),
|
|
11440
11563
|
children: step.description
|
|
11441
11564
|
}
|
|
11442
11565
|
)
|
|
@@ -11450,7 +11573,7 @@ function MosaicStepPipelineDots({
|
|
|
11450
11573
|
);
|
|
11451
11574
|
}
|
|
11452
11575
|
MosaicStepPipelineDots.displayName = "MosaicStepPipelineDots";
|
|
11453
|
-
function
|
|
11576
|
+
function cn74(...classes) {
|
|
11454
11577
|
return classes.filter(Boolean).join(" ");
|
|
11455
11578
|
}
|
|
11456
11579
|
function MosaicKanbanBoard({ children, className, ref, ...props }) {
|
|
@@ -11459,7 +11582,7 @@ function MosaicKanbanBoard({ children, className, ref, ...props }) {
|
|
|
11459
11582
|
{
|
|
11460
11583
|
ref,
|
|
11461
11584
|
"data-slot": "kanban-board",
|
|
11462
|
-
className:
|
|
11585
|
+
className: cn74(
|
|
11463
11586
|
"flex gap-4 overflow-x-auto pb-4",
|
|
11464
11587
|
"min-h-0",
|
|
11465
11588
|
// Smooth momentum scrolling on iOS
|
|
@@ -11472,7 +11595,7 @@ function MosaicKanbanBoard({ children, className, ref, ...props }) {
|
|
|
11472
11595
|
);
|
|
11473
11596
|
}
|
|
11474
11597
|
MosaicKanbanBoard.displayName = "MosaicKanbanBoard";
|
|
11475
|
-
function
|
|
11598
|
+
function cn75(...classes) {
|
|
11476
11599
|
return classes.filter(Boolean).join(" ");
|
|
11477
11600
|
}
|
|
11478
11601
|
function MosaicKanbanColumn({
|
|
@@ -11490,7 +11613,7 @@ function MosaicKanbanColumn({
|
|
|
11490
11613
|
{
|
|
11491
11614
|
ref,
|
|
11492
11615
|
"data-slot": "kanban-column",
|
|
11493
|
-
className:
|
|
11616
|
+
className: cn75(
|
|
11494
11617
|
// Fixed column width, never shrink so board stays scrollable
|
|
11495
11618
|
"flex flex-col w-72 shrink-0",
|
|
11496
11619
|
// Surface
|
|
@@ -11511,7 +11634,7 @@ function MosaicKanbanColumn({
|
|
|
11511
11634
|
{
|
|
11512
11635
|
"data-slot": "kanban-column-count",
|
|
11513
11636
|
"aria-label": countLabel(count),
|
|
11514
|
-
className:
|
|
11637
|
+
className: cn75(
|
|
11515
11638
|
"inline-flex items-center justify-center",
|
|
11516
11639
|
"min-w-[1.25rem] h-5 px-1.5 rounded-full",
|
|
11517
11640
|
"bg-muted text-muted-foreground",
|
|
@@ -11733,7 +11856,7 @@ var documentUploadProgressFillVariants = classVarianceAuthority.cva(
|
|
|
11733
11856
|
defaultVariants: {}
|
|
11734
11857
|
}
|
|
11735
11858
|
);
|
|
11736
|
-
function
|
|
11859
|
+
function cn76(...classes) {
|
|
11737
11860
|
return classes.filter(Boolean).join(" ");
|
|
11738
11861
|
}
|
|
11739
11862
|
function MosaicDocumentUpload({
|
|
@@ -11774,7 +11897,7 @@ function MosaicDocumentUpload({
|
|
|
11774
11897
|
if (selected.length > 0) onFilesSelected(selected);
|
|
11775
11898
|
event.target.value = "";
|
|
11776
11899
|
}
|
|
11777
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "document-upload", className:
|
|
11900
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "document-upload", className: cn76("flex flex-col gap-4", className), children: [
|
|
11778
11901
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
11779
11902
|
"div",
|
|
11780
11903
|
{
|
|
@@ -11839,7 +11962,7 @@ function MosaicDocumentUpload({
|
|
|
11839
11962
|
"aria-valuemin": 0,
|
|
11840
11963
|
"aria-valuemax": 100,
|
|
11841
11964
|
"aria-valuenow": file.progress ?? 0,
|
|
11842
|
-
className:
|
|
11965
|
+
className: cn76(documentUploadProgressTrackVariants(), "mt-2"),
|
|
11843
11966
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11844
11967
|
"div",
|
|
11845
11968
|
{
|
|
@@ -11916,7 +12039,7 @@ var urlScraperCardVariants = classVarianceAuthority.cva(["flex flex-col gap-2 ro
|
|
|
11916
12039
|
tone: "neutral"
|
|
11917
12040
|
}
|
|
11918
12041
|
});
|
|
11919
|
-
function
|
|
12042
|
+
function cn77(...classes) {
|
|
11920
12043
|
return classes.filter(Boolean).join(" ");
|
|
11921
12044
|
}
|
|
11922
12045
|
function isSyntacticallyValidUrl(candidate) {
|
|
@@ -11955,7 +12078,7 @@ function MosaicUrlScraper(props) {
|
|
|
11955
12078
|
setIsLocallyInvalid(false);
|
|
11956
12079
|
onUrlChange(event.target.value);
|
|
11957
12080
|
}
|
|
11958
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "url-scraper", className:
|
|
12081
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "url-scraper", className: cn77("flex flex-col gap-4", className), children: [
|
|
11959
12082
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
11960
12083
|
"form",
|
|
11961
12084
|
{
|
|
@@ -12091,7 +12214,7 @@ var chatThreadScrollButtonVariants = classVarianceAuthority.cva([
|
|
|
12091
12214
|
"items-center justify-center rounded-full border border-border bg-card text-foreground shadow-sm",
|
|
12092
12215
|
"transition-colors hover:bg-accent/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
12093
12216
|
]);
|
|
12094
|
-
function
|
|
12217
|
+
function cn78(...classes) {
|
|
12095
12218
|
return classes.filter(Boolean).join(" ");
|
|
12096
12219
|
}
|
|
12097
12220
|
var BOTTOM_THRESHOLD_PX = 24;
|
|
@@ -12175,7 +12298,7 @@ function MosaicChatThread({
|
|
|
12175
12298
|
role: "log",
|
|
12176
12299
|
onScroll: handleScroll,
|
|
12177
12300
|
onKeyDown: handleKeyDown,
|
|
12178
|
-
className:
|
|
12301
|
+
className: cn78(chatThreadRootVariants(), className),
|
|
12179
12302
|
children: [
|
|
12180
12303
|
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "chat-thread-content", className: chatThreadContentVariants(), children }),
|
|
12181
12304
|
!isAtBottom && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -12216,7 +12339,7 @@ var chatComposerActionButtonVariants = classVarianceAuthority.cva(
|
|
|
12216
12339
|
}
|
|
12217
12340
|
}
|
|
12218
12341
|
);
|
|
12219
|
-
function
|
|
12342
|
+
function cn79(...classes) {
|
|
12220
12343
|
return classes.filter(Boolean).join(" ");
|
|
12221
12344
|
}
|
|
12222
12345
|
function MosaicChatComposer(props) {
|
|
@@ -12271,7 +12394,7 @@ function MosaicChatComposer(props) {
|
|
|
12271
12394
|
{
|
|
12272
12395
|
ref,
|
|
12273
12396
|
"data-slot": "chat-composer",
|
|
12274
|
-
className:
|
|
12397
|
+
className: cn79(chatComposerRootVariants(), className),
|
|
12275
12398
|
onSubmit: handleSubmit,
|
|
12276
12399
|
children: [
|
|
12277
12400
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -12387,7 +12510,7 @@ var markdownTableCellVariants = classVarianceAuthority.cva(["border border-borde
|
|
|
12387
12510
|
align: "left"
|
|
12388
12511
|
}
|
|
12389
12512
|
});
|
|
12390
|
-
function
|
|
12513
|
+
function cn80(...classes) {
|
|
12391
12514
|
return classes.filter(Boolean).join(" ");
|
|
12392
12515
|
}
|
|
12393
12516
|
function sanitizeHref(rawHref) {
|
|
@@ -12582,7 +12705,7 @@ function parseBlocks(content) {
|
|
|
12582
12705
|
function MosaicMarkdown({ content, renderCodeBlock, className, ref }) {
|
|
12583
12706
|
const blocks = parseBlocks(content);
|
|
12584
12707
|
const ids = makeIdSource();
|
|
12585
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "markdown", className:
|
|
12708
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "markdown", className: cn80(markdownRootVariants(), className), children: blocks.map((block) => {
|
|
12586
12709
|
if (block.kind === "heading") {
|
|
12587
12710
|
const HeadingTag = `h${block.level}`;
|
|
12588
12711
|
return /* @__PURE__ */ jsxRuntime.jsx(HeadingTag, { className: markdownHeadingVariants({ level: block.level }), children: parseInline(block.text, ids) }, block.id);
|
|
@@ -12660,7 +12783,7 @@ var chatMessageToolStatusVariants = classVarianceAuthority.cva(["text-xs font-me
|
|
|
12660
12783
|
status: "running"
|
|
12661
12784
|
}
|
|
12662
12785
|
});
|
|
12663
|
-
function
|
|
12786
|
+
function cn81(...classes) {
|
|
12664
12787
|
return classes.filter(Boolean).join(" ");
|
|
12665
12788
|
}
|
|
12666
12789
|
function partKey(part, index) {
|
|
@@ -12826,7 +12949,7 @@ function MosaicChatMessage({
|
|
|
12826
12949
|
ref,
|
|
12827
12950
|
"data-slot": "chat-message",
|
|
12828
12951
|
"data-role": messageRole,
|
|
12829
|
-
className:
|
|
12952
|
+
className: cn81(chatMessageContainerVariants({ align: isUser ? "end" : "start" }), className),
|
|
12830
12953
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: chatMessageBubbleVariants({ role: messageRole }), children: parts.map((part, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
12831
12954
|
ChatMessagePartView,
|
|
12832
12955
|
{
|
|
@@ -12881,7 +13004,7 @@ var approvalPromptButtonVariants = classVarianceAuthority.cva(
|
|
|
12881
13004
|
}
|
|
12882
13005
|
}
|
|
12883
13006
|
);
|
|
12884
|
-
function
|
|
13007
|
+
function cn82(...classes) {
|
|
12885
13008
|
return classes.filter(Boolean).join(" ");
|
|
12886
13009
|
}
|
|
12887
13010
|
function MosaicApprovalPrompt(props) {
|
|
@@ -12893,7 +13016,7 @@ function MosaicApprovalPrompt(props) {
|
|
|
12893
13016
|
ref,
|
|
12894
13017
|
"data-slot": "approval-prompt",
|
|
12895
13018
|
"aria-label": promptTitle,
|
|
12896
|
-
className:
|
|
13019
|
+
className: cn82("border-0 p-0 m-0", approvalPromptCardVariants({ tone }), className),
|
|
12897
13020
|
children: [
|
|
12898
13021
|
/* @__PURE__ */ jsxRuntime.jsx("legend", { "data-slot": "approval-prompt-title", className: "text-base font-semibold md:text-lg", children: promptTitle }),
|
|
12899
13022
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "approval-prompt-tool", className: "flex flex-col gap-1", children: [
|
|
@@ -12970,7 +13093,7 @@ var toolToggleListRowVariants = classVarianceAuthority.cva(
|
|
|
12970
13093
|
}
|
|
12971
13094
|
}
|
|
12972
13095
|
);
|
|
12973
|
-
function
|
|
13096
|
+
function cn83(...classes) {
|
|
12974
13097
|
return classes.filter(Boolean).join(" ");
|
|
12975
13098
|
}
|
|
12976
13099
|
function MosaicToolToggleList({
|
|
@@ -12986,7 +13109,7 @@ function MosaicToolToggleList({
|
|
|
12986
13109
|
}) {
|
|
12987
13110
|
const toolsById = new Map(tools.map((tool) => [tool.id, tool]));
|
|
12988
13111
|
const approvalLabelById = new Map(approvalLevels.map((level) => [level.id, level.label]));
|
|
12989
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "tool-toggle-list", className:
|
|
13112
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "tool-toggle-list", className: cn83("flex flex-col gap-6", className), children: sections.map((section) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
12990
13113
|
"div",
|
|
12991
13114
|
{
|
|
12992
13115
|
"data-slot": "tool-toggle-list-section",
|
|
@@ -13017,7 +13140,7 @@ function MosaicToolToggleList({
|
|
|
13017
13140
|
onCheckedChange: (checked) => onToggleTool(tool.id, checked),
|
|
13018
13141
|
"aria-label": toggleAriaLabel(tool.name),
|
|
13019
13142
|
"data-slot": "tool-toggle-list-switch",
|
|
13020
|
-
className:
|
|
13143
|
+
className: cn83(
|
|
13021
13144
|
"relative inline-flex h-6 w-10 shrink-0 cursor-pointer items-center",
|
|
13022
13145
|
"rounded-full border-2 border-transparent outline-none",
|
|
13023
13146
|
"bg-muted transition-colors",
|
|
@@ -13028,7 +13151,7 @@ function MosaicToolToggleList({
|
|
|
13028
13151
|
_switch.Switch.Thumb,
|
|
13029
13152
|
{
|
|
13030
13153
|
"data-slot": "tool-toggle-list-switch-thumb",
|
|
13031
|
-
className:
|
|
13154
|
+
className: cn83(
|
|
13032
13155
|
"pointer-events-none block h-4 w-4 rounded-full",
|
|
13033
13156
|
"bg-background shadow-sm",
|
|
13034
13157
|
"translate-x-0 transition-transform",
|
|
@@ -13070,7 +13193,7 @@ function MosaicToolToggleList({
|
|
|
13070
13193
|
{
|
|
13071
13194
|
"aria-label": approvalSelectAriaLabel(tool.name),
|
|
13072
13195
|
"data-slot": "tool-toggle-list-approval-trigger",
|
|
13073
|
-
className:
|
|
13196
|
+
className: cn83(
|
|
13074
13197
|
"inline-flex h-9 min-w-[10rem] items-center justify-between gap-2",
|
|
13075
13198
|
"rounded-md border border-border bg-background px-3 py-2",
|
|
13076
13199
|
"text-sm text-foreground shadow-xs outline-none",
|
|
@@ -13088,7 +13211,7 @@ function MosaicToolToggleList({
|
|
|
13088
13211
|
select.Select.Popup,
|
|
13089
13212
|
{
|
|
13090
13213
|
"data-slot": "tool-toggle-list-approval-popup",
|
|
13091
|
-
className:
|
|
13214
|
+
className: cn83(
|
|
13092
13215
|
"z-50 min-w-[10rem] overflow-hidden rounded-md border border-border",
|
|
13093
13216
|
"bg-popover p-1 text-popover-foreground shadow-md",
|
|
13094
13217
|
"origin-[var(--transform-origin)]",
|
|
@@ -13101,7 +13224,7 @@ function MosaicToolToggleList({
|
|
|
13101
13224
|
select.Select.Item,
|
|
13102
13225
|
{
|
|
13103
13226
|
value: level.id,
|
|
13104
|
-
className:
|
|
13227
|
+
className: cn83(
|
|
13105
13228
|
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
|
|
13106
13229
|
"text-sm text-popover-foreground outline-none",
|
|
13107
13230
|
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
|
|
@@ -13209,7 +13332,7 @@ var apiKeyPanelMessageVariants = classVarianceAuthority.cva(["text-sm"], {
|
|
|
13209
13332
|
tone: "muted"
|
|
13210
13333
|
}
|
|
13211
13334
|
});
|
|
13212
|
-
function
|
|
13335
|
+
function cn84(...classes) {
|
|
13213
13336
|
return classes.filter(Boolean).join(" ");
|
|
13214
13337
|
}
|
|
13215
13338
|
function MosaicApiKeyPanel(props) {
|
|
@@ -13237,7 +13360,7 @@ function MosaicApiKeyPanel(props) {
|
|
|
13237
13360
|
function handleKeyChange(event) {
|
|
13238
13361
|
onKeyChange(event.target.value);
|
|
13239
13362
|
}
|
|
13240
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "api-key-panel", className:
|
|
13363
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "api-key-panel", className: cn84("flex flex-col gap-3", className), children: [
|
|
13241
13364
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13242
13365
|
"div",
|
|
13243
13366
|
{
|
|
@@ -13332,7 +13455,7 @@ MosaicApiKeyPanel.displayName = "MosaicApiKeyPanel";
|
|
|
13332
13455
|
var agentChatRootVariants = classVarianceAuthority.cva([
|
|
13333
13456
|
"flex min-h-0 w-full flex-1 flex-col gap-2 overflow-hidden rounded-lg border border-border bg-card"
|
|
13334
13457
|
]);
|
|
13335
|
-
function
|
|
13458
|
+
function cn85(...classes) {
|
|
13336
13459
|
return classes.filter(Boolean).join(" ");
|
|
13337
13460
|
}
|
|
13338
13461
|
function formatPayload2(value) {
|
|
@@ -13468,7 +13591,7 @@ function MosaicAgentChat(props) {
|
|
|
13468
13591
|
setDecisions((previous) => ({ ...previous, [payload.requestId]: decision }));
|
|
13469
13592
|
onApprovalResponse(payload);
|
|
13470
13593
|
}
|
|
13471
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "agent-chat", className:
|
|
13594
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "agent-chat", className: cn85(agentChatRootVariants(), className), children: [
|
|
13472
13595
|
/* @__PURE__ */ jsxRuntime.jsx(MosaicChatThread, { scrollToBottomLabel, children: messages.map((message) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
13473
13596
|
MosaicChatMessage,
|
|
13474
13597
|
{
|
|
@@ -13557,7 +13680,7 @@ var toastProviderPositionVariants = classVarianceAuthority.cva(
|
|
|
13557
13680
|
}
|
|
13558
13681
|
}
|
|
13559
13682
|
);
|
|
13560
|
-
function
|
|
13683
|
+
function cn86(...classes) {
|
|
13561
13684
|
return classes.filter(Boolean).join(" ");
|
|
13562
13685
|
}
|
|
13563
13686
|
function MosaicToast({
|
|
@@ -13583,7 +13706,7 @@ function MosaicToast({
|
|
|
13583
13706
|
ref,
|
|
13584
13707
|
"data-slot": "toast",
|
|
13585
13708
|
role,
|
|
13586
|
-
className:
|
|
13709
|
+
className: cn86(toastCardVariants({ variant }), className),
|
|
13587
13710
|
children: [
|
|
13588
13711
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "toast-body", className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
13589
13712
|
/* @__PURE__ */ jsxRuntime.jsx("p", { "data-slot": "toast-title", className: toastTitleVariants({ variant }), children: title }),
|
|
@@ -13623,7 +13746,7 @@ function MosaicToast({
|
|
|
13623
13746
|
);
|
|
13624
13747
|
}
|
|
13625
13748
|
MosaicToast.displayName = "MosaicToast";
|
|
13626
|
-
function
|
|
13749
|
+
function cn87(...classes) {
|
|
13627
13750
|
return classes.filter(Boolean).join(" ");
|
|
13628
13751
|
}
|
|
13629
13752
|
function MosaicToastProvider({
|
|
@@ -13637,7 +13760,7 @@ function MosaicToastProvider({
|
|
|
13637
13760
|
{
|
|
13638
13761
|
ref,
|
|
13639
13762
|
"data-slot": "toast-provider",
|
|
13640
|
-
className:
|
|
13763
|
+
className: cn87(toastProviderPositionVariants({ position }), className),
|
|
13641
13764
|
children
|
|
13642
13765
|
}
|
|
13643
13766
|
);
|
|
@@ -13664,7 +13787,7 @@ var pdfViewerToolbarButtonVariants = classVarianceAuthority.cva([
|
|
|
13664
13787
|
"inline-flex min-h-8 min-w-8 items-center justify-center rounded-md border border-border text-sm",
|
|
13665
13788
|
"transition-colors hover:bg-accent/50 disabled:opacity-50 disabled:hover:bg-transparent"
|
|
13666
13789
|
]);
|
|
13667
|
-
function
|
|
13790
|
+
function cn88(...classes) {
|
|
13668
13791
|
return classes.filter(Boolean).join(" ");
|
|
13669
13792
|
}
|
|
13670
13793
|
function buildFrameSrc(fileUrl, currentPage, zoom) {
|
|
@@ -13729,7 +13852,7 @@ function MosaicPdfViewer({
|
|
|
13729
13852
|
if (zoom === void 0 || onZoomChange === void 0) return;
|
|
13730
13853
|
onZoomChange(Math.round((zoom + 0.1) * 100) / 100);
|
|
13731
13854
|
}
|
|
13732
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "pdf-viewer", className:
|
|
13855
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "pdf-viewer", className: cn88("flex flex-col gap-2", className), children: [
|
|
13733
13856
|
(showPageControls || showZoomControls) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13734
13857
|
"div",
|
|
13735
13858
|
{
|
|
@@ -13818,7 +13941,7 @@ function MosaicPdfViewer({
|
|
|
13818
13941
|
"data-slot": "pdf-viewer-frame",
|
|
13819
13942
|
src: buildFrameSrc(fileUrl, currentPage, zoom),
|
|
13820
13943
|
title: fileUrl,
|
|
13821
|
-
className:
|
|
13944
|
+
className: cn88(
|
|
13822
13945
|
"h-full min-h-64 w-full border-0",
|
|
13823
13946
|
status !== "loaded" && "pointer-events-none absolute inset-0 opacity-0"
|
|
13824
13947
|
)
|
|
@@ -13837,7 +13960,7 @@ var splitPaneCollapseButtonVariants = classVarianceAuthority.cva([
|
|
|
13837
13960
|
"inline-flex h-11 w-6 shrink-0 items-center justify-center self-center rounded-md border border-border text-sm",
|
|
13838
13961
|
"transition-colors hover:bg-accent/50"
|
|
13839
13962
|
]);
|
|
13840
|
-
function
|
|
13963
|
+
function cn89(...classes) {
|
|
13841
13964
|
return classes.filter(Boolean).join(" ");
|
|
13842
13965
|
}
|
|
13843
13966
|
function mergeRefs(externalRef, node) {
|
|
@@ -13910,7 +14033,7 @@ function MosaicResizableSplitPane({
|
|
|
13910
14033
|
mergeRefs(ref, node);
|
|
13911
14034
|
},
|
|
13912
14035
|
"data-slot": "resizable-split-pane",
|
|
13913
|
-
className:
|
|
14036
|
+
className: cn89(splitPaneRootVariants(), className),
|
|
13914
14037
|
children: [
|
|
13915
14038
|
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "resizable-split-pane-main", className: "min-h-0 min-w-0 flex-1 overflow-auto", children: main }),
|
|
13916
14039
|
!isSideCollapsed && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -13977,7 +14100,7 @@ var tagInputFieldVariants = classVarianceAuthority.cva([
|
|
|
13977
14100
|
"min-w-[6ch] flex-1 border-none bg-transparent px-1 py-0.5 text-sm text-foreground outline-none",
|
|
13978
14101
|
"placeholder:text-muted-foreground"
|
|
13979
14102
|
]);
|
|
13980
|
-
function
|
|
14103
|
+
function cn90(...classes) {
|
|
13981
14104
|
return classes.filter(Boolean).join(" ");
|
|
13982
14105
|
}
|
|
13983
14106
|
function mergeRefs2(externalRef, node) {
|
|
@@ -14028,7 +14151,7 @@ function MosaicTagInput({
|
|
|
14028
14151
|
if (lastTag !== void 0) onRemoveTag(lastTag);
|
|
14029
14152
|
}
|
|
14030
14153
|
}
|
|
14031
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "tag-input", className:
|
|
14154
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "tag-input", className: cn90(tagInputRootVariants(), className), children: [
|
|
14032
14155
|
tags.map((tag) => /* @__PURE__ */ jsxRuntime.jsxs("span", { "data-slot": "tag-input-tag", className: tagInputTagVariants(), children: [
|
|
14033
14156
|
tag,
|
|
14034
14157
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -14065,7 +14188,7 @@ function MosaicTagInput({
|
|
|
14065
14188
|
"ul",
|
|
14066
14189
|
{
|
|
14067
14190
|
"data-slot": "tag-input-suggestions",
|
|
14068
|
-
className:
|
|
14191
|
+
className: cn90(
|
|
14069
14192
|
"z-50 mt-1 w-full min-w-[8rem] overflow-hidden rounded-md border border-border",
|
|
14070
14193
|
"bg-popover p-1 text-sm text-popover-foreground shadow-md"
|
|
14071
14194
|
),
|
|
@@ -14105,7 +14228,7 @@ var drawerPopupVariants = classVarianceAuthority.cva(
|
|
|
14105
14228
|
}
|
|
14106
14229
|
);
|
|
14107
14230
|
var drawerBackdropVariants = classVarianceAuthority.cva(["fixed inset-0 z-50 bg-black/50"]);
|
|
14108
|
-
function
|
|
14231
|
+
function cn91(...classes) {
|
|
14109
14232
|
return classes.filter(Boolean).join(" ");
|
|
14110
14233
|
}
|
|
14111
14234
|
function MosaicDrawer({
|
|
@@ -14126,7 +14249,7 @@ function MosaicDrawer({
|
|
|
14126
14249
|
"data-slot": "drawer",
|
|
14127
14250
|
"aria-labelledby": titleId,
|
|
14128
14251
|
"aria-modal": "true",
|
|
14129
|
-
className:
|
|
14252
|
+
className: cn91(drawerPopupVariants({ side }), className),
|
|
14130
14253
|
children: [
|
|
14131
14254
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14132
14255
|
"div",
|
|
@@ -14139,7 +14262,7 @@ function MosaicDrawer({
|
|
|
14139
14262
|
dialog.Dialog.Close,
|
|
14140
14263
|
{
|
|
14141
14264
|
"aria-label": closeAriaLabel,
|
|
14142
|
-
className:
|
|
14265
|
+
className: cn91(
|
|
14143
14266
|
"flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors",
|
|
14144
14267
|
"hover:bg-muted hover:text-foreground",
|
|
14145
14268
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
@@ -14193,7 +14316,7 @@ var templateCategoryChipVariants = classVarianceAuthority.cva(
|
|
|
14193
14316
|
}
|
|
14194
14317
|
}
|
|
14195
14318
|
);
|
|
14196
|
-
function
|
|
14319
|
+
function cn92(...classes) {
|
|
14197
14320
|
return classes.filter(Boolean).join(" ");
|
|
14198
14321
|
}
|
|
14199
14322
|
function MosaicTemplateCategoryChips({
|
|
@@ -14208,7 +14331,7 @@ function MosaicTemplateCategoryChips({
|
|
|
14208
14331
|
{
|
|
14209
14332
|
ref,
|
|
14210
14333
|
"data-slot": "template-category-chips",
|
|
14211
|
-
className:
|
|
14334
|
+
className: cn92("flex flex-wrap items-center gap-2", className),
|
|
14212
14335
|
children: categories.map((category) => {
|
|
14213
14336
|
const isSelected = category.id === selected;
|
|
14214
14337
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -14228,6 +14351,286 @@ function MosaicTemplateCategoryChips({
|
|
|
14228
14351
|
);
|
|
14229
14352
|
}
|
|
14230
14353
|
MosaicTemplateCategoryChips.displayName = "MosaicTemplateCategoryChips";
|
|
14354
|
+
var saveTemplateModalBodyVariants = classVarianceAuthority.cva(["flex flex-col gap-4"]);
|
|
14355
|
+
var saveTemplateModalFieldVariants = classVarianceAuthority.cva(["flex flex-col gap-1.5"]);
|
|
14356
|
+
var saveTemplateModalErrorVariants = classVarianceAuthority.cva(["text-xs font-medium text-destructive"]);
|
|
14357
|
+
var saveTemplateModalFooterVariants = classVarianceAuthority.cva([
|
|
14358
|
+
"flex items-center justify-end gap-3 border-t border-border pt-4"
|
|
14359
|
+
]);
|
|
14360
|
+
var saveTemplateModalButtonVariants = classVarianceAuthority.cva(
|
|
14361
|
+
[
|
|
14362
|
+
"inline-flex min-h-9 items-center justify-center gap-2 rounded-md px-4 text-sm font-medium",
|
|
14363
|
+
"transition-colors disabled:cursor-not-allowed disabled:opacity-50"
|
|
14364
|
+
],
|
|
14365
|
+
{
|
|
14366
|
+
variants: {
|
|
14367
|
+
intent: {
|
|
14368
|
+
cancel: "border border-border bg-background hover:bg-muted",
|
|
14369
|
+
save: "border border-transparent bg-primary text-primary-foreground hover:bg-primary/90"
|
|
14370
|
+
}
|
|
14371
|
+
},
|
|
14372
|
+
defaultVariants: {
|
|
14373
|
+
intent: "cancel"
|
|
14374
|
+
}
|
|
14375
|
+
}
|
|
14376
|
+
);
|
|
14377
|
+
function cn93(...classes) {
|
|
14378
|
+
return classes.filter(Boolean).join(" ");
|
|
14379
|
+
}
|
|
14380
|
+
function MosaicSaveTemplateModal({
|
|
14381
|
+
open,
|
|
14382
|
+
onOpenChange,
|
|
14383
|
+
title,
|
|
14384
|
+
description,
|
|
14385
|
+
closeAriaLabel,
|
|
14386
|
+
name,
|
|
14387
|
+
onNameChange,
|
|
14388
|
+
nameLabel,
|
|
14389
|
+
namePlaceholder,
|
|
14390
|
+
nameError,
|
|
14391
|
+
templateDescription,
|
|
14392
|
+
onTemplateDescriptionChange,
|
|
14393
|
+
descriptionLabel,
|
|
14394
|
+
descriptionPlaceholder,
|
|
14395
|
+
descriptionError,
|
|
14396
|
+
categories,
|
|
14397
|
+
category,
|
|
14398
|
+
onCategoryChange,
|
|
14399
|
+
categoryLabel,
|
|
14400
|
+
tags,
|
|
14401
|
+
onAddTag,
|
|
14402
|
+
onRemoveTag,
|
|
14403
|
+
tagsLabel,
|
|
14404
|
+
tagInputPlaceholder,
|
|
14405
|
+
removeTagAriaLabel,
|
|
14406
|
+
suggestedTags,
|
|
14407
|
+
maxTags,
|
|
14408
|
+
isSaving,
|
|
14409
|
+
canSave,
|
|
14410
|
+
onSave,
|
|
14411
|
+
onCancel,
|
|
14412
|
+
saveButtonLabel,
|
|
14413
|
+
savingLabel,
|
|
14414
|
+
cancelButtonLabel,
|
|
14415
|
+
children,
|
|
14416
|
+
className
|
|
14417
|
+
}) {
|
|
14418
|
+
const nameErrorId = React29.useId();
|
|
14419
|
+
const descriptionErrorId = React29.useId();
|
|
14420
|
+
if (!open) return null;
|
|
14421
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14422
|
+
MosaicAdaptiveModal,
|
|
14423
|
+
{
|
|
14424
|
+
isOpen: open,
|
|
14425
|
+
onClose: () => onOpenChange(false),
|
|
14426
|
+
title,
|
|
14427
|
+
description,
|
|
14428
|
+
closeAriaLabel,
|
|
14429
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14430
|
+
"div",
|
|
14431
|
+
{
|
|
14432
|
+
"data-slot": "save-template-modal",
|
|
14433
|
+
className: cn93(saveTemplateModalBodyVariants(), className),
|
|
14434
|
+
children: [
|
|
14435
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: saveTemplateModalFieldVariants(), children: [
|
|
14436
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14437
|
+
"label",
|
|
14438
|
+
{
|
|
14439
|
+
htmlFor: "mosaic-save-template-name",
|
|
14440
|
+
className: "text-sm font-medium text-foreground",
|
|
14441
|
+
children: nameLabel
|
|
14442
|
+
}
|
|
14443
|
+
),
|
|
14444
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14445
|
+
MosaicInput,
|
|
14446
|
+
{
|
|
14447
|
+
id: "mosaic-save-template-name",
|
|
14448
|
+
value: name,
|
|
14449
|
+
placeholder: namePlaceholder,
|
|
14450
|
+
onChange: (e) => onNameChange(e.target.value),
|
|
14451
|
+
"aria-invalid": nameError ? "true" : "false",
|
|
14452
|
+
"aria-describedby": nameError ? nameErrorId : void 0
|
|
14453
|
+
}
|
|
14454
|
+
),
|
|
14455
|
+
nameError && /* @__PURE__ */ jsxRuntime.jsx("p", { id: nameErrorId, className: saveTemplateModalErrorVariants(), children: nameError })
|
|
14456
|
+
] }),
|
|
14457
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: saveTemplateModalFieldVariants(), children: [
|
|
14458
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14459
|
+
"label",
|
|
14460
|
+
{
|
|
14461
|
+
htmlFor: "mosaic-save-template-description",
|
|
14462
|
+
className: "text-sm font-medium text-foreground",
|
|
14463
|
+
children: descriptionLabel
|
|
14464
|
+
}
|
|
14465
|
+
),
|
|
14466
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14467
|
+
MosaicTextarea,
|
|
14468
|
+
{
|
|
14469
|
+
id: "mosaic-save-template-description",
|
|
14470
|
+
value: templateDescription,
|
|
14471
|
+
placeholder: descriptionPlaceholder,
|
|
14472
|
+
onChange: (e) => onTemplateDescriptionChange(e.target.value),
|
|
14473
|
+
rows: 3,
|
|
14474
|
+
"aria-invalid": descriptionError ? "true" : "false",
|
|
14475
|
+
"aria-describedby": descriptionError ? descriptionErrorId : void 0
|
|
14476
|
+
}
|
|
14477
|
+
),
|
|
14478
|
+
descriptionError && /* @__PURE__ */ jsxRuntime.jsx("p", { id: descriptionErrorId, className: saveTemplateModalErrorVariants(), children: descriptionError })
|
|
14479
|
+
] }),
|
|
14480
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: saveTemplateModalFieldVariants(), children: [
|
|
14481
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-foreground", children: categoryLabel }),
|
|
14482
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14483
|
+
MosaicSelect,
|
|
14484
|
+
{
|
|
14485
|
+
items: categories,
|
|
14486
|
+
value: category,
|
|
14487
|
+
onValueChange: (value) => {
|
|
14488
|
+
if (value) onCategoryChange(value);
|
|
14489
|
+
}
|
|
14490
|
+
}
|
|
14491
|
+
)
|
|
14492
|
+
] }),
|
|
14493
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: saveTemplateModalFieldVariants(), children: [
|
|
14494
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-foreground", children: tagsLabel }),
|
|
14495
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14496
|
+
MosaicTagInput,
|
|
14497
|
+
{
|
|
14498
|
+
tags,
|
|
14499
|
+
onAddTag,
|
|
14500
|
+
onRemoveTag,
|
|
14501
|
+
placeholder: tagInputPlaceholder,
|
|
14502
|
+
removeTagAriaLabel,
|
|
14503
|
+
suggestions: suggestedTags,
|
|
14504
|
+
maxTags
|
|
14505
|
+
}
|
|
14506
|
+
)
|
|
14507
|
+
] }),
|
|
14508
|
+
children,
|
|
14509
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: saveTemplateModalFooterVariants(), children: [
|
|
14510
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14511
|
+
"button",
|
|
14512
|
+
{
|
|
14513
|
+
type: "button",
|
|
14514
|
+
"data-slot": "save-template-modal-cancel-button",
|
|
14515
|
+
onClick: onCancel,
|
|
14516
|
+
disabled: isSaving,
|
|
14517
|
+
className: saveTemplateModalButtonVariants({ intent: "cancel" }),
|
|
14518
|
+
children: cancelButtonLabel
|
|
14519
|
+
}
|
|
14520
|
+
),
|
|
14521
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14522
|
+
"button",
|
|
14523
|
+
{
|
|
14524
|
+
type: "button",
|
|
14525
|
+
"data-slot": "save-template-modal-save-button",
|
|
14526
|
+
onClick: onSave,
|
|
14527
|
+
disabled: !canSave || isSaving,
|
|
14528
|
+
"aria-busy": isSaving ? "true" : "false",
|
|
14529
|
+
className: saveTemplateModalButtonVariants({ intent: "save" }),
|
|
14530
|
+
children: isSaving ? savingLabel : saveButtonLabel
|
|
14531
|
+
}
|
|
14532
|
+
)
|
|
14533
|
+
] })
|
|
14534
|
+
]
|
|
14535
|
+
}
|
|
14536
|
+
)
|
|
14537
|
+
}
|
|
14538
|
+
);
|
|
14539
|
+
}
|
|
14540
|
+
MosaicSaveTemplateModal.displayName = "MosaicSaveTemplateModal";
|
|
14541
|
+
var templateListVariants = classVarianceAuthority.cva(["grid gap-4"], {
|
|
14542
|
+
variants: {
|
|
14543
|
+
layout: {
|
|
14544
|
+
grid: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",
|
|
14545
|
+
list: "grid-cols-1"
|
|
14546
|
+
}
|
|
14547
|
+
},
|
|
14548
|
+
defaultVariants: {
|
|
14549
|
+
layout: "grid"
|
|
14550
|
+
}
|
|
14551
|
+
});
|
|
14552
|
+
function cn94(...classes) {
|
|
14553
|
+
return classes.filter(Boolean).join(" ");
|
|
14554
|
+
}
|
|
14555
|
+
var NEXT_KEYS = /* @__PURE__ */ new Set(["ArrowRight", "ArrowDown"]);
|
|
14556
|
+
var PREV_KEYS = /* @__PURE__ */ new Set(["ArrowLeft", "ArrowUp"]);
|
|
14557
|
+
function MosaicTemplateList({
|
|
14558
|
+
items,
|
|
14559
|
+
renderItem,
|
|
14560
|
+
layout = "grid",
|
|
14561
|
+
emptyMessage,
|
|
14562
|
+
className,
|
|
14563
|
+
itemClassName,
|
|
14564
|
+
ref
|
|
14565
|
+
}) {
|
|
14566
|
+
const itemRefs = React29.useRef([]);
|
|
14567
|
+
const [focusedIndex, setFocusedIndex] = React29.useState(0);
|
|
14568
|
+
function focusItem(index) {
|
|
14569
|
+
if (items.length === 0) {
|
|
14570
|
+
return;
|
|
14571
|
+
}
|
|
14572
|
+
const clamped = Math.max(0, Math.min(items.length - 1, index));
|
|
14573
|
+
setFocusedIndex(clamped);
|
|
14574
|
+
itemRefs.current[clamped]?.focus();
|
|
14575
|
+
}
|
|
14576
|
+
function handleKeyDown(event, index) {
|
|
14577
|
+
if (NEXT_KEYS.has(event.key)) {
|
|
14578
|
+
event.preventDefault();
|
|
14579
|
+
focusItem(index + 1);
|
|
14580
|
+
} else if (PREV_KEYS.has(event.key)) {
|
|
14581
|
+
event.preventDefault();
|
|
14582
|
+
focusItem(index - 1);
|
|
14583
|
+
} else if (event.key === "Home") {
|
|
14584
|
+
event.preventDefault();
|
|
14585
|
+
focusItem(0);
|
|
14586
|
+
} else if (event.key === "End") {
|
|
14587
|
+
event.preventDefault();
|
|
14588
|
+
focusItem(items.length - 1);
|
|
14589
|
+
}
|
|
14590
|
+
}
|
|
14591
|
+
if (items.length === 0) {
|
|
14592
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14593
|
+
"div",
|
|
14594
|
+
{
|
|
14595
|
+
ref,
|
|
14596
|
+
"data-slot": "template-list",
|
|
14597
|
+
className: cn94(templateListVariants({ layout }), className),
|
|
14598
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14599
|
+
"p",
|
|
14600
|
+
{
|
|
14601
|
+
"data-slot": "template-list-empty",
|
|
14602
|
+
className: "col-span-full py-12 text-center text-sm text-muted-foreground",
|
|
14603
|
+
children: emptyMessage
|
|
14604
|
+
}
|
|
14605
|
+
)
|
|
14606
|
+
}
|
|
14607
|
+
);
|
|
14608
|
+
}
|
|
14609
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14610
|
+
"ul",
|
|
14611
|
+
{
|
|
14612
|
+
ref,
|
|
14613
|
+
"data-slot": "template-list",
|
|
14614
|
+
className: cn94("list-none", templateListVariants({ layout }), className),
|
|
14615
|
+
children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
14616
|
+
"li",
|
|
14617
|
+
{
|
|
14618
|
+
ref: (node) => {
|
|
14619
|
+
itemRefs.current[index] = node;
|
|
14620
|
+
},
|
|
14621
|
+
"data-slot": "template-list-item",
|
|
14622
|
+
tabIndex: index === focusedIndex ? 0 : -1,
|
|
14623
|
+
onKeyDown: (event) => handleKeyDown(event, index),
|
|
14624
|
+
onFocus: () => setFocusedIndex(index),
|
|
14625
|
+
className: itemClassName,
|
|
14626
|
+
children: renderItem(item, index)
|
|
14627
|
+
},
|
|
14628
|
+
item.id
|
|
14629
|
+
))
|
|
14630
|
+
}
|
|
14631
|
+
);
|
|
14632
|
+
}
|
|
14633
|
+
MosaicTemplateList.displayName = "MosaicTemplateList";
|
|
14231
14634
|
|
|
14232
14635
|
Object.defineProperty(exports, "Accordion", {
|
|
14233
14636
|
enumerable: true,
|
|
@@ -14325,6 +14728,7 @@ exports.MosaicKanbanColumn = MosaicKanbanColumn;
|
|
|
14325
14728
|
exports.MosaicLogosGrid = MosaicLogosGrid;
|
|
14326
14729
|
exports.MosaicMainNav = MosaicMainNav;
|
|
14327
14730
|
exports.MosaicMarkdown = MosaicMarkdown;
|
|
14731
|
+
exports.MosaicMarketplaceCard = MosaicMarketplaceCard;
|
|
14328
14732
|
exports.MosaicMarketplaceList = MosaicMarketplaceList;
|
|
14329
14733
|
exports.MosaicMarketplaceListDesktop = MarketplaceListDesktop;
|
|
14330
14734
|
exports.MosaicMarketplaceListMobile = MarketplaceListMobile;
|
|
@@ -14357,6 +14761,7 @@ exports.MosaicQuickStartPanel = MosaicQuickStartPanel;
|
|
|
14357
14761
|
exports.MosaicRadioGroup = MosaicRadioGroup;
|
|
14358
14762
|
exports.MosaicRadioGroupItem = MosaicRadioGroupItem;
|
|
14359
14763
|
exports.MosaicResizableSplitPane = MosaicResizableSplitPane;
|
|
14764
|
+
exports.MosaicSaveTemplateModal = MosaicSaveTemplateModal;
|
|
14360
14765
|
exports.MosaicScrollArea = MosaicScrollArea;
|
|
14361
14766
|
exports.MosaicSelect = MosaicSelect;
|
|
14362
14767
|
exports.MosaicSelectorModal = MosaicSelectorModal;
|
|
@@ -14377,6 +14782,7 @@ exports.MosaicTemplateAgentCard = MosaicTemplateAgentCard;
|
|
|
14377
14782
|
exports.MosaicTemplateCard = MosaicTemplateCard;
|
|
14378
14783
|
exports.MosaicTemplateCategoryChips = MosaicTemplateCategoryChips;
|
|
14379
14784
|
exports.MosaicTemplateGallery = MosaicTemplateGallery;
|
|
14785
|
+
exports.MosaicTemplateList = MosaicTemplateList;
|
|
14380
14786
|
exports.MosaicTemplatePreview = MosaicTemplatePreview;
|
|
14381
14787
|
exports.MosaicTestimonialsGrid = MosaicTestimonialsGrid;
|
|
14382
14788
|
exports.MosaicTextarea = MosaicTextarea;
|
|
@@ -14405,9 +14811,15 @@ exports.chatMessageContainerVariants = chatMessageContainerVariants;
|
|
|
14405
14811
|
exports.chatMessageToolStatusVariants = chatMessageToolStatusVariants;
|
|
14406
14812
|
exports.drawerBackdropVariants = drawerBackdropVariants;
|
|
14407
14813
|
exports.drawerPopupVariants = drawerPopupVariants;
|
|
14814
|
+
exports.marketplaceCardVariants = marketplaceCardVariants;
|
|
14408
14815
|
exports.pdfViewerFrameVariants = pdfViewerFrameVariants;
|
|
14409
14816
|
exports.pdfViewerStatusVariants = pdfViewerStatusVariants;
|
|
14410
14817
|
exports.pdfViewerToolbarButtonVariants = pdfViewerToolbarButtonVariants;
|
|
14818
|
+
exports.saveTemplateModalBodyVariants = saveTemplateModalBodyVariants;
|
|
14819
|
+
exports.saveTemplateModalButtonVariants = saveTemplateModalButtonVariants;
|
|
14820
|
+
exports.saveTemplateModalErrorVariants = saveTemplateModalErrorVariants;
|
|
14821
|
+
exports.saveTemplateModalFieldVariants = saveTemplateModalFieldVariants;
|
|
14822
|
+
exports.saveTemplateModalFooterVariants = saveTemplateModalFooterVariants;
|
|
14411
14823
|
exports.skeletonVariants = skeletonVariants;
|
|
14412
14824
|
exports.splitPaneCollapseButtonVariants = splitPaneCollapseButtonVariants;
|
|
14413
14825
|
exports.splitPaneHandleVariants = splitPaneHandleVariants;
|
|
@@ -14420,6 +14832,7 @@ exports.templateAgentCardBadgeVariants = templateAgentCardBadgeVariants;
|
|
|
14420
14832
|
exports.templateAgentCardTagVariants = templateAgentCardTagVariants;
|
|
14421
14833
|
exports.templateAgentCardVariants = templateAgentCardVariants;
|
|
14422
14834
|
exports.templateCategoryChipVariants = templateCategoryChipVariants;
|
|
14835
|
+
exports.templateListVariants = templateListVariants;
|
|
14423
14836
|
exports.toastCardVariants = toastCardVariants;
|
|
14424
14837
|
exports.toastDismissButtonVariants = toastDismissButtonVariants;
|
|
14425
14838
|
exports.toastProviderPositionVariants = toastProviderPositionVariants;
|