@moontra/moonui-pro 2.14.1 → 2.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs
CHANGED
|
@@ -11243,49 +11243,37 @@ function CardDetailModal({
|
|
|
11243
11243
|
});
|
|
11244
11244
|
};
|
|
11245
11245
|
return /* @__PURE__ */ jsx(MoonUIDialogPro, { open: isOpen, onOpenChange: onClose, children: /* @__PURE__ */ jsxs(MoonUIDialogContentPro, { className: "max-w-4xl max-h-[90vh] overflow-hidden p-0", children: [
|
|
11246
|
-
/* @__PURE__ */ jsx("div", { className: "p-6 pb-0", children: /* @__PURE__ */
|
|
11247
|
-
/* @__PURE__ */
|
|
11248
|
-
|
|
11249
|
-
MoonUIInputPro,
|
|
11250
|
-
{
|
|
11251
|
-
value: card.title,
|
|
11252
|
-
onChange: (e) => updateCard({ title: e.target.value }),
|
|
11253
|
-
onBlur: () => setIsEditingTitle(false),
|
|
11254
|
-
onKeyDown: (e) => {
|
|
11255
|
-
if (e.key === "Enter")
|
|
11256
|
-
setIsEditingTitle(false);
|
|
11257
|
-
if (e.key === "Escape") {
|
|
11258
|
-
setCard(initialCard);
|
|
11259
|
-
setIsEditingTitle(false);
|
|
11260
|
-
}
|
|
11261
|
-
},
|
|
11262
|
-
className: "text-xl font-semibold",
|
|
11263
|
-
autoFocus: true
|
|
11264
|
-
}
|
|
11265
|
-
) : /* @__PURE__ */ jsx(
|
|
11266
|
-
"h2",
|
|
11267
|
-
{
|
|
11268
|
-
className: "text-xl font-semibold cursor-pointer hover:bg-muted rounded px-2 -mx-2 py-1",
|
|
11269
|
-
onClick: () => setIsEditingTitle(true),
|
|
11270
|
-
children: card.title
|
|
11271
|
-
}
|
|
11272
|
-
),
|
|
11273
|
-
currentColumn && /* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground mt-1", children: [
|
|
11274
|
-
"in ",
|
|
11275
|
-
currentColumn
|
|
11276
|
-
] })
|
|
11277
|
-
] }),
|
|
11278
|
-
/* @__PURE__ */ jsx(
|
|
11279
|
-
MoonUIButtonPro,
|
|
11246
|
+
/* @__PURE__ */ jsx("div", { className: "p-6 pb-0", children: /* @__PURE__ */ jsx("div", { className: "flex items-start justify-between", children: /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
11247
|
+
isEditingTitle ? /* @__PURE__ */ jsx(
|
|
11248
|
+
MoonUIInputPro,
|
|
11280
11249
|
{
|
|
11281
|
-
|
|
11282
|
-
|
|
11283
|
-
|
|
11284
|
-
|
|
11285
|
-
|
|
11250
|
+
value: card.title,
|
|
11251
|
+
onChange: (e) => updateCard({ title: e.target.value }),
|
|
11252
|
+
onBlur: () => setIsEditingTitle(false),
|
|
11253
|
+
onKeyDown: (e) => {
|
|
11254
|
+
if (e.key === "Enter")
|
|
11255
|
+
setIsEditingTitle(false);
|
|
11256
|
+
if (e.key === "Escape") {
|
|
11257
|
+
setCard(initialCard);
|
|
11258
|
+
setIsEditingTitle(false);
|
|
11259
|
+
}
|
|
11260
|
+
},
|
|
11261
|
+
className: "text-xl font-semibold",
|
|
11262
|
+
autoFocus: true
|
|
11286
11263
|
}
|
|
11287
|
-
)
|
|
11288
|
-
|
|
11264
|
+
) : /* @__PURE__ */ jsx(
|
|
11265
|
+
"h2",
|
|
11266
|
+
{
|
|
11267
|
+
className: "text-xl font-semibold cursor-pointer hover:bg-muted rounded px-2 -mx-2 py-1",
|
|
11268
|
+
onClick: () => setIsEditingTitle(true),
|
|
11269
|
+
children: card.title
|
|
11270
|
+
}
|
|
11271
|
+
),
|
|
11272
|
+
currentColumn && /* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground mt-1", children: [
|
|
11273
|
+
"in ",
|
|
11274
|
+
currentColumn
|
|
11275
|
+
] })
|
|
11276
|
+
] }) }) }),
|
|
11289
11277
|
/* @__PURE__ */ jsxs(MoonUITabsPro, { value: selectedTab, onValueChange: setSelectedTab, className: "flex-1", children: [
|
|
11290
11278
|
/* @__PURE__ */ jsx("div", { className: "px-6 pt-4", children: /* @__PURE__ */ jsxs(MoonUITabsListPro, { children: [
|
|
11291
11279
|
/* @__PURE__ */ jsx(MoonUITabsTriggerPro, { value: "overview", children: "Overview" }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.2",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|