kesp-ui 1.0.1 → 1.0.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/package.json +1 -1
- package/registry/otp-input.tsx +3 -4
- package/registry.json +25 -0
package/package.json
CHANGED
package/registry/otp-input.tsx
CHANGED
|
@@ -150,7 +150,7 @@ const OtpInput = ({
|
|
|
150
150
|
return (
|
|
151
151
|
<div className={`space-y-4${className ? ` ${className}` : ""}`}>
|
|
152
152
|
{/* Header */}
|
|
153
|
-
<div className="flex items-center gap-2">
|
|
153
|
+
<div className="flex items-center gap-2 mb-2">
|
|
154
154
|
<ShieldCheck className="h-5 w-5 text-primary" />
|
|
155
155
|
<span className="text-sm font-medium text-foreground">
|
|
156
156
|
Enter {length}-digit OTP
|
|
@@ -190,9 +190,8 @@ const OtpInput = ({
|
|
|
190
190
|
{digits.map((d, i) => (
|
|
191
191
|
<div
|
|
192
192
|
key={i}
|
|
193
|
-
className={`h-1.5 w-1.5 rounded-full transition-all duration-200 ${
|
|
194
|
-
|
|
195
|
-
}`}
|
|
193
|
+
className={`h-1.5 w-1.5 rounded-full transition-all duration-200 ${d ? "bg-primary scale-125" : "bg-muted-foreground/30"
|
|
194
|
+
}`}
|
|
196
195
|
/>
|
|
197
196
|
))}
|
|
198
197
|
</div>
|
package/registry.json
CHANGED
|
@@ -72,6 +72,31 @@
|
|
|
72
72
|
"devDependencies": [],
|
|
73
73
|
"tailwind": {},
|
|
74
74
|
"cssVars": {}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "masked-aadhar",
|
|
78
|
+
"type": "registry:ui",
|
|
79
|
+
"description": "Masked Aadhaar number display with toggle visibility",
|
|
80
|
+
"files": [
|
|
81
|
+
{
|
|
82
|
+
"path": "registry/maskedAadhar.tsx",
|
|
83
|
+
"type": "registry:ui"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"path": "registry/utils.ts",
|
|
87
|
+
"type": "registry:lib"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"dependencies": [
|
|
91
|
+
"react",
|
|
92
|
+
"lucide-react",
|
|
93
|
+
"clsx",
|
|
94
|
+
"tailwind-merge"
|
|
95
|
+
],
|
|
96
|
+
"registryDependencies": [],
|
|
97
|
+
"devDependencies": [],
|
|
98
|
+
"tailwind": {},
|
|
99
|
+
"cssVars": {}
|
|
75
100
|
}
|
|
76
101
|
]
|
|
77
102
|
}
|