praxys-ui 1.2.0 → 1.2.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/CHANGELOG.md +32 -0
- package/dist/index.js +7 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Praxys UI are documented here.
|
|
4
4
|
|
|
5
|
+
## [1.2.2] — Feb 15, 2026
|
|
6
|
+
|
|
7
|
+
**Autocomplete API Fix**
|
|
8
|
+
|
|
9
|
+
Fixed Autocomplete component API to use onSelect callback instead of onChange for better clarity and type safety.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Autocomplete — changed API from onChange to onSelect, now passes full option object instead of just value string
|
|
14
|
+
- Autocomplete demo and documentation updated to reflect new API
|
|
15
|
+
- TypeScript errors resolved in Autocomplete component
|
|
16
|
+
|
|
17
|
+
## [1.2.1] — Feb 15, 2026
|
|
18
|
+
|
|
19
|
+
**6 New Components — Essential UI Elements**
|
|
20
|
+
|
|
21
|
+
Essential interactive components: Switch, Slider, File Upload, OTP Input, Rating, and Autocomplete with async search — bringing the total to 69 components.
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- Switch — simple on/off toggle with spring animation, 3 sizes, optional label, keyboard accessible
|
|
26
|
+
- Slider — range input with draggable thumb, animated track fill, value tooltip, min/max labels, step support, keyboard navigation
|
|
27
|
+
- File Upload — drag-and-drop zone with animated borders, file list with remove buttons, progress bars, file type and size validation, multiple file support
|
|
28
|
+
- OTP Input — PIN/verification code input with auto-focus next/prev, paste support, animated focus rings, configurable length (4-6)
|
|
29
|
+
- Rating — interactive star rating with half-star support, hover preview, animated fill, read-only mode, 3 sizes, custom icon support
|
|
30
|
+
- Autocomplete — async search input with debouncing, loading state, keyboard navigation, highlighted matching text, empty state
|
|
31
|
+
|
|
32
|
+
### Improved
|
|
33
|
+
|
|
34
|
+
- CLI updated to v1.2.1 with all 69 components
|
|
35
|
+
- Component count updated from 63 to 69 across site
|
|
36
|
+
|
|
5
37
|
## [1.2.0] — Feb 15, 2026
|
|
6
38
|
|
|
7
39
|
**3 New Form Components — Complete Your Forms**
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import prompts from "prompts";
|
|
|
6
6
|
import { existsSync, mkdirSync, writeFileSync } from "fs";
|
|
7
7
|
import { join } from "path";
|
|
8
8
|
import { execSync } from "child_process";
|
|
9
|
-
const VERSION = "1.2.
|
|
9
|
+
const VERSION = "1.2.2";
|
|
10
10
|
// ─── Utility file contents ──────────────────────────────
|
|
11
11
|
const UTILS_CONTENT = `import { clsx, type ClassValue } from "clsx";
|
|
12
12
|
import { twMerge } from "tailwind-merge";
|
|
@@ -29,6 +29,7 @@ const COMPONENT_LIST = [
|
|
|
29
29
|
"animated-tabs",
|
|
30
30
|
"animated-textarea",
|
|
31
31
|
"animated-toggle",
|
|
32
|
+
"autocomplete",
|
|
32
33
|
"avatar-group",
|
|
33
34
|
"badge",
|
|
34
35
|
"breadcrumbs",
|
|
@@ -43,6 +44,7 @@ const COMPONENT_LIST = [
|
|
|
43
44
|
"divider",
|
|
44
45
|
"dropdown-menu",
|
|
45
46
|
"expandable-bento-grid",
|
|
47
|
+
"file-upload",
|
|
46
48
|
"flip-fade-text",
|
|
47
49
|
"flip-text",
|
|
48
50
|
"folder-preview",
|
|
@@ -62,20 +64,24 @@ const COMPONENT_LIST = [
|
|
|
62
64
|
"masked-avatars",
|
|
63
65
|
"modal-dialog",
|
|
64
66
|
"morphing-text",
|
|
67
|
+
"otp-input",
|
|
65
68
|
"pagination",
|
|
66
69
|
"parallax-scroll",
|
|
67
70
|
"perspective-grid",
|
|
68
71
|
"progress-bar",
|
|
69
72
|
"radio-group",
|
|
73
|
+
"rating",
|
|
70
74
|
"reveal-loader",
|
|
71
75
|
"sheet",
|
|
72
76
|
"skeleton-loader",
|
|
77
|
+
"slider",
|
|
73
78
|
"social-flip-button",
|
|
74
79
|
"spotlight-card",
|
|
75
80
|
"spotlight-navbar",
|
|
76
81
|
"staggered-grid",
|
|
77
82
|
"stats-card",
|
|
78
83
|
"stepper",
|
|
84
|
+
"switch",
|
|
79
85
|
"tag-input",
|
|
80
86
|
"testimonials-card",
|
|
81
87
|
"timeline",
|