@work-rjkashyap/unified-ui 0.1.2 → 0.2.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/CHANGELOG.md CHANGED
@@ -10,6 +10,99 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  - `UnifiedUIProvider` component for optional auto CSS injection
11
11
  - Component tests with Vitest + Testing Library
12
12
  ---
13
+
14
+ ## [0.2.0] — 2026-03-05
15
+ ### Added
16
+ #### 40 New Components
17
+ - **AlertDialog** — Radix-based modal confirmation dialog with composable header/body/footer
18
+ - **AspectRatio** — Radix-based responsive aspect-ratio container
19
+ - **Banner** — Full-width notification banner with variants
20
+ - **Calendar** — Date calendar component for date selection
21
+ - **Callout** — Highlighted contextual message block with icon support
22
+ - **Carousel** — Scrollable content carousel with navigation controls
23
+ - **Code** — Styled code block with syntax formatting
24
+ - **Collapsible** — Radix-based expandable/collapsible content region
25
+ - **Combobox** — Searchable dropdown with keyboard navigation and filtering
26
+ - **Command** — Command palette / search interface (cmdk-style)
27
+ - **ConfirmDialog** — Simplified confirmation dialog with accept/cancel actions
28
+ - **ContextMenu** — Radix-based right-click context menu with items, sub-menus, and shortcuts
29
+ - **CopyButton** — Click-to-copy button with success feedback
30
+ - **DataList** — Key-value display list for structured data
31
+ - **DatePicker** — Calendar-powered date input with popover picker
32
+ - **EmptyState** — Placeholder for empty content areas with icon, title, description, and action
33
+ - **FileUpload** — Drag-and-drop file upload zone with file list management
34
+ - **FormField** — Form field wrapper with label, description, error message, and validation state
35
+ - **HoverCard** — Radix-based hover-triggered floating card
36
+ - **InputGroup** — Grouped input with addon/prefix/suffix slots
37
+ - **Kbd** — Keyboard shortcut key display
38
+ - **Label** — Standalone form label component (extracted from primitives)
39
+ - **Menubar** — Radix-based horizontal menu bar with dropdowns, checkbox items, and radio items
40
+ - **NavigationMenu** — Radix-based site navigation with flyout content panels
41
+ - **NumberInput** — Numeric input with increment/decrement controls
42
+ - **PinInput** — Multi-digit OTP / PIN code input with auto-focus advancement
43
+ - **Progress** — Determinate and indeterminate progress bar with label
44
+ - **Resizable** — Resizable panel layout powered by `react-resizable-panels`
45
+ - **ScrollArea** — Radix-based custom scrollbar container (vertical + horizontal)
46
+ - **SearchInput** — Input with search icon, clear button, and keyboard shortcut hint
47
+ - **Sidebar** — Collapsible application sidebar with sections, items, and nested groups
48
+ - **Slider** — Radix-based range slider with single and multi-thumb support
49
+ - **Spinner** — Loading spinner with size variants
50
+ - **Stat** — Statistic display with label, value, and trend indicator
51
+ - **Steps** — Multi-step progress indicator with vertical/horizontal orientation
52
+ - **Tag** — Compact label/tag with removable action
53
+ - **Timeline** — Vertical timeline with customizable markers and connectors
54
+ - **Toggle** — Radix-based toggle button with multiple visual variants, sizes, and icon support
55
+ - **ToggleGroup** — Radix-based single/multi toggle group with shared styling
56
+ - **VisuallyHidden** — Accessible screen-reader-only content wrapper
57
+
58
+ #### 13 New Motion Presets
59
+ - **`shakeX`** — Horizontal shake for invalid input feedback
60
+ - **`springHover`** — Spring-based hover micro-interaction
61
+ - **`springPress`** — Spring-based press micro-interaction
62
+ - **`countUp`** — Animated number count-up
63
+ - **`crossfade`** — Crossfade transition between elements
64
+ - **`dragDismiss`** — Drag-to-dismiss gesture preset
65
+ - **`numberRoll`** — Rolling number transition
66
+ - **`revealMask`** — Mask-based content reveal
67
+ - **`slidePanelTop`** — Directional slide panel from top
68
+ - **`slidePanelBottom`** — Directional slide panel from bottom
69
+ - **`slidePanelLeft`** — Directional slide panel from left
70
+ - **`slidePanelRight`** — Directional slide panel from right
71
+
72
+ ### Changed
73
+ #### Component Refactors
74
+ - **Accordion** — Major rewrite with improved variant composition and accessibility
75
+ - **Breadcrumb** — Refactored with enhanced composability and truncation logic
76
+ - **Button** — Expanded with new variants and improved styles (618 lines changed)
77
+ - **Card** — Restructured composable sub-components
78
+ - **Checkbox** — Overhauled with `CheckboxGroup` improvements
79
+ - **DataTable** — Major refactor with enhanced filtering, sorting, and pagination (3480 lines changed)
80
+ - **Dialog** — Restructured with improved sizing and scroll behavior
81
+ - **DropdownMenu** — Refactored sub-component exports and styling
82
+ - **Input** — Enhanced with new slot patterns and error states
83
+ - **Pagination** — Rewritten with improved responsive behavior
84
+ - **Popover** — Cleaned up code structure and formatting
85
+ - **Radio** — Refactored `RadioGroup` / `RadioGroupItem` / `RadioCard` styling
86
+ - **Select** — Updated compositional sub-component pattern
87
+ - **Sheet** — Improved directional slide-out behavior
88
+ - **Switch** — Enhanced with new size and label options
89
+ - **Table** — Expanded density and styling options
90
+ - **Tabs** — Reworked variant composition for underline/segment/pills
91
+ - **Textarea** — Improved auto-resize and character count logic
92
+ - **Toast** — Major refactor with improved stacking and animations (1209 lines changed)
93
+
94
+ #### Code Cleanup
95
+ - Cleaned up formatting and structure in **NavigationMenu**, **Popover**, and **ScrollArea** components
96
+ - Updated `styles.css` with restructured CSS custom properties and new token categories
97
+ - Improved `tokens/colors.ts` with expanded palette definitions
98
+ - Updated `utils/contrast.ts` with refined WCAG checking utilities
99
+ - Updated `motion/presets.ts` — `reduceMotion()` signature cleaned up (unused parameter prefixed with `_`)
100
+
101
+ #### Other
102
+ - Updated `UNIFIED_UI_VERSION` exported constant from `"0.1.2"` to `"0.2.0"`
103
+ - Component count increased from 23 to 63+
104
+ - Barrel exports in `components/index.ts` and `src/index.ts` expanded for all new components
105
+ ---
13
106
  ## [0.1.2] — 2026-03-03
14
107
  ### Added
15
108
  #### Theme Customizer System