@moontra/moonui-pro 2.7.2 → 2.8.0
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
|
@@ -72352,24 +72352,24 @@ var MoonUICreditCardInputPro = t__default.forwardRef(({
|
|
|
72352
72352
|
showCardPreview && /* @__PURE__ */ jsxs(
|
|
72353
72353
|
motion.div,
|
|
72354
72354
|
{
|
|
72355
|
-
className: "relative w-full max-w-md mx-auto h-48 rounded-xl bg-gradient-to-r from-
|
|
72355
|
+
className: "relative w-full max-w-md mx-auto h-48 rounded-xl bg-gradient-to-r from-blue-600 to-purple-600 dark:from-blue-700 dark:to-purple-700 p-6 text-white shadow-xl overflow-hidden",
|
|
72356
72356
|
initial: { opacity: 0, y: -20 },
|
|
72357
72357
|
animate: { opacity: 1, y: 0 },
|
|
72358
72358
|
transition: { duration: 0.3 },
|
|
72359
72359
|
children: [
|
|
72360
72360
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-start mb-8", children: [
|
|
72361
72361
|
/* @__PURE__ */ jsx("div", { className: "text-lg font-semibold", children: cardType ? cardType.toUpperCase() : "CARD" }),
|
|
72362
|
-
/* @__PURE__ */ jsx(CreditCard, { className: "w-8 h-8" })
|
|
72362
|
+
/* @__PURE__ */ jsx(CreditCard, { className: "w-8 h-8 text-white/80" })
|
|
72363
72363
|
] }),
|
|
72364
72364
|
/* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
|
|
72365
72365
|
/* @__PURE__ */ jsx("div", { className: "text-xl font-mono tracking-wider", children: value.number || "\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022" }),
|
|
72366
72366
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between", children: [
|
|
72367
72367
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
72368
|
-
/* @__PURE__ */ jsx("div", { className: "text-xs
|
|
72368
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs text-white/70", children: "NAME" }),
|
|
72369
72369
|
/* @__PURE__ */ jsx("div", { className: "text-sm uppercase", children: value.name || "YOUR NAME" })
|
|
72370
72370
|
] }),
|
|
72371
72371
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
72372
|
-
/* @__PURE__ */ jsx("div", { className: "text-xs
|
|
72372
|
+
/* @__PURE__ */ jsx("div", { className: "text-xs text-white/70", children: "EXPIRES" }),
|
|
72373
72373
|
/* @__PURE__ */ jsx("div", { className: "text-sm", children: value.expiry || "MM/YY" })
|
|
72374
72374
|
] })
|
|
72375
72375
|
] })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
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",
|
|
@@ -227,7 +227,7 @@ export const MoonUICreditCardInputPro = React.forwardRef<HTMLDivElement, CreditC
|
|
|
227
227
|
<div ref={ref} className={cn("space-y-4", className)} {...props}>
|
|
228
228
|
{showCardPreview && (
|
|
229
229
|
<motion.div
|
|
230
|
-
className="relative w-full max-w-md mx-auto h-48 rounded-xl bg-gradient-to-r from-
|
|
230
|
+
className="relative w-full max-w-md mx-auto h-48 rounded-xl bg-gradient-to-r from-blue-600 to-purple-600 dark:from-blue-700 dark:to-purple-700 p-6 text-white shadow-xl overflow-hidden"
|
|
231
231
|
initial={{ opacity: 0, y: -20 }}
|
|
232
232
|
animate={{ opacity: 1, y: 0 }}
|
|
233
233
|
transition={{ duration: 0.3 }}
|
|
@@ -236,7 +236,7 @@ export const MoonUICreditCardInputPro = React.forwardRef<HTMLDivElement, CreditC
|
|
|
236
236
|
<div className="text-lg font-semibold">
|
|
237
237
|
{cardType ? cardType.toUpperCase() : 'CARD'}
|
|
238
238
|
</div>
|
|
239
|
-
<CreditCard className="w-8 h-8" />
|
|
239
|
+
<CreditCard className="w-8 h-8 text-white/80" />
|
|
240
240
|
</div>
|
|
241
241
|
|
|
242
242
|
<div className="space-y-4">
|
|
@@ -246,14 +246,14 @@ export const MoonUICreditCardInputPro = React.forwardRef<HTMLDivElement, CreditC
|
|
|
246
246
|
|
|
247
247
|
<div className="flex justify-between">
|
|
248
248
|
<div>
|
|
249
|
-
<div className="text-xs
|
|
249
|
+
<div className="text-xs text-white/70">NAME</div>
|
|
250
250
|
<div className="text-sm uppercase">
|
|
251
251
|
{value.name || 'YOUR NAME'}
|
|
252
252
|
</div>
|
|
253
253
|
</div>
|
|
254
254
|
|
|
255
255
|
<div>
|
|
256
|
-
<div className="text-xs
|
|
256
|
+
<div className="text-xs text-white/70">EXPIRES</div>
|
|
257
257
|
<div className="text-sm">
|
|
258
258
|
{value.expiry || 'MM/YY'}
|
|
259
259
|
</div>
|