@work-rjkashyap/unified-ui 0.1.2 → 0.2.1
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 +106 -1
- package/bin/cli.mjs +721 -0
- package/dist/{chunk-EO4WROWH.mjs → chunk-3OZJ4JLW.mjs} +116 -2
- package/dist/chunk-B3CW2WZS.cjs +20748 -0
- package/dist/chunk-CTWNFFLB.mjs +20438 -0
- package/dist/{chunk-7ITQSRGX.cjs → chunk-FUWXGHWQ.cjs} +0 -1
- package/dist/{chunk-ZPIPKY2J.cjs → chunk-HITTFB2U.cjs} +127 -1
- package/dist/{chunk-F5S6NLOT.mjs → chunk-OHEH57BV.mjs} +0 -1
- package/dist/{chunk-PQR7C4OH.cjs → chunk-TESKVASH.cjs} +332 -99
- package/dist/{chunk-ZDB557B2.mjs → chunk-YFH5JPAA.mjs} +331 -101
- package/dist/components.cjs +780 -126
- package/dist/components.d.cts +5183 -1464
- package/dist/components.d.ts +5183 -1464
- package/dist/components.mjs +3 -1
- package/dist/index.cjs +926 -214
- package/dist/index.d.cts +9 -6
- package/dist/index.d.ts +9 -6
- package/dist/index.mjs +5 -5
- package/dist/motion.cjs +94 -46
- package/dist/motion.d.cts +53 -2
- package/dist/motion.d.ts +53 -2
- package/dist/motion.mjs +1 -1
- package/dist/primitives.cjs +13 -13
- package/dist/primitives.mjs +1 -1
- package/dist/theme.cjs +40 -28
- package/dist/theme.d.cts +100 -62
- package/dist/theme.d.ts +100 -62
- package/dist/theme.mjs +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +190 -183
- package/styles.css +636 -473
- package/dist/chunk-4NYLE2LT.cjs +0 -10042
- package/dist/chunk-A4YYJAAJ.mjs +0 -9897
package/CHANGELOG.md
CHANGED
|
@@ -6,10 +6,115 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
### Planned
|
|
8
8
|
- Migration guide — mapping from legacy `--ds-*` tokens to new plain `--*` tokens
|
|
9
|
-
- CI/CD pipeline for automated publishing on git tags
|
|
10
9
|
- `UnifiedUIProvider` component for optional auto CSS injection
|
|
11
10
|
- Component tests with Vitest + Testing Library
|
|
12
11
|
---
|
|
12
|
+
|
|
13
|
+
## [0.2.1] — 2026-03-06
|
|
14
|
+
### Fixed
|
|
15
|
+
- **CLI: Registry URL** — Fixed the hardcoded registry base URL in the CLI from `unified-ui.vercel.app` (a different, unrelated Vercel project) to the correct `unified-ui-rajeshwar.vercel.app`. This caused `npx @work-rjkashyap/unified-ui add <component>` to fail with a 404 error for all users of the published npm package.
|
|
16
|
+
- **CLI: `$schema` URL** — Updated the default `$schema` reference in `unified-ui.json` config to point to the correct registry domain.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- **Homepage text sizes** — Increased font sizes across all homepage sections (Hero, Features, Showcase, Testimonials/Why, CTA, Footer) for improved readability. Bumped headings, descriptions, card titles, labels, code blocks, and stat numbers up by roughly one Tailwind size step (e.g. `text-[10px]` → `text-xs`, `text-xs` → `text-sm`, `text-sm` → `text-base`).
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
- **Automated changelog generation** — Added GitHub Actions workflow (`.github/workflows/changelog.yml`) that auto-generates changelog entries from Conventional Commit messages on every push to `main`. Uses `git-cliff` to parse `feat:`, `fix:`, `refactor:`, `chore:` prefixes and appends to `CHANGELOG.md`.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## [0.2.0] — 2026-03-05
|
|
27
|
+
### Added
|
|
28
|
+
#### 40 New Components
|
|
29
|
+
- **AlertDialog** — Radix-based modal confirmation dialog with composable header/body/footer
|
|
30
|
+
- **AspectRatio** — Radix-based responsive aspect-ratio container
|
|
31
|
+
- **Banner** — Full-width notification banner with variants
|
|
32
|
+
- **Calendar** — Date calendar component for date selection
|
|
33
|
+
- **Callout** — Highlighted contextual message block with icon support
|
|
34
|
+
- **Carousel** — Scrollable content carousel with navigation controls
|
|
35
|
+
- **Code** — Styled code block with syntax formatting
|
|
36
|
+
- **Collapsible** — Radix-based expandable/collapsible content region
|
|
37
|
+
- **Combobox** — Searchable dropdown with keyboard navigation and filtering
|
|
38
|
+
- **Command** — Command palette / search interface (cmdk-style)
|
|
39
|
+
- **ConfirmDialog** — Simplified confirmation dialog with accept/cancel actions
|
|
40
|
+
- **ContextMenu** — Radix-based right-click context menu with items, sub-menus, and shortcuts
|
|
41
|
+
- **CopyButton** — Click-to-copy button with success feedback
|
|
42
|
+
- **DataList** — Key-value display list for structured data
|
|
43
|
+
- **DatePicker** — Calendar-powered date input with popover picker
|
|
44
|
+
- **EmptyState** — Placeholder for empty content areas with icon, title, description, and action
|
|
45
|
+
- **FileUpload** — Drag-and-drop file upload zone with file list management
|
|
46
|
+
- **FormField** — Form field wrapper with label, description, error message, and validation state
|
|
47
|
+
- **HoverCard** — Radix-based hover-triggered floating card
|
|
48
|
+
- **InputGroup** — Grouped input with addon/prefix/suffix slots
|
|
49
|
+
- **Kbd** — Keyboard shortcut key display
|
|
50
|
+
- **Label** — Standalone form label component (extracted from primitives)
|
|
51
|
+
- **Menubar** — Radix-based horizontal menu bar with dropdowns, checkbox items, and radio items
|
|
52
|
+
- **NavigationMenu** — Radix-based site navigation with flyout content panels
|
|
53
|
+
- **NumberInput** — Numeric input with increment/decrement controls
|
|
54
|
+
- **PinInput** — Multi-digit OTP / PIN code input with auto-focus advancement
|
|
55
|
+
- **Progress** — Determinate and indeterminate progress bar with label
|
|
56
|
+
- **Resizable** — Resizable panel layout powered by `react-resizable-panels`
|
|
57
|
+
- **ScrollArea** — Radix-based custom scrollbar container (vertical + horizontal)
|
|
58
|
+
- **SearchInput** — Input with search icon, clear button, and keyboard shortcut hint
|
|
59
|
+
- **Sidebar** — Collapsible application sidebar with sections, items, and nested groups
|
|
60
|
+
- **Slider** — Radix-based range slider with single and multi-thumb support
|
|
61
|
+
- **Spinner** — Loading spinner with size variants
|
|
62
|
+
- **Stat** — Statistic display with label, value, and trend indicator
|
|
63
|
+
- **Steps** — Multi-step progress indicator with vertical/horizontal orientation
|
|
64
|
+
- **Tag** — Compact label/tag with removable action
|
|
65
|
+
- **Timeline** — Vertical timeline with customizable markers and connectors
|
|
66
|
+
- **Toggle** — Radix-based toggle button with multiple visual variants, sizes, and icon support
|
|
67
|
+
- **ToggleGroup** — Radix-based single/multi toggle group with shared styling
|
|
68
|
+
- **VisuallyHidden** — Accessible screen-reader-only content wrapper
|
|
69
|
+
|
|
70
|
+
#### 13 New Motion Presets
|
|
71
|
+
- **`shakeX`** — Horizontal shake for invalid input feedback
|
|
72
|
+
- **`springHover`** — Spring-based hover micro-interaction
|
|
73
|
+
- **`springPress`** — Spring-based press micro-interaction
|
|
74
|
+
- **`countUp`** — Animated number count-up
|
|
75
|
+
- **`crossfade`** — Crossfade transition between elements
|
|
76
|
+
- **`dragDismiss`** — Drag-to-dismiss gesture preset
|
|
77
|
+
- **`numberRoll`** — Rolling number transition
|
|
78
|
+
- **`revealMask`** — Mask-based content reveal
|
|
79
|
+
- **`slidePanelTop`** — Directional slide panel from top
|
|
80
|
+
- **`slidePanelBottom`** — Directional slide panel from bottom
|
|
81
|
+
- **`slidePanelLeft`** — Directional slide panel from left
|
|
82
|
+
- **`slidePanelRight`** — Directional slide panel from right
|
|
83
|
+
|
|
84
|
+
### Changed
|
|
85
|
+
#### Component Refactors
|
|
86
|
+
- **Accordion** — Major rewrite with improved variant composition and accessibility
|
|
87
|
+
- **Breadcrumb** — Refactored with enhanced composability and truncation logic
|
|
88
|
+
- **Button** — Expanded with new variants and improved styles (618 lines changed)
|
|
89
|
+
- **Card** — Restructured composable sub-components
|
|
90
|
+
- **Checkbox** — Overhauled with `CheckboxGroup` improvements
|
|
91
|
+
- **DataTable** — Major refactor with enhanced filtering, sorting, and pagination (3480 lines changed)
|
|
92
|
+
- **Dialog** — Restructured with improved sizing and scroll behavior
|
|
93
|
+
- **DropdownMenu** — Refactored sub-component exports and styling
|
|
94
|
+
- **Input** — Enhanced with new slot patterns and error states
|
|
95
|
+
- **Pagination** — Rewritten with improved responsive behavior
|
|
96
|
+
- **Popover** — Cleaned up code structure and formatting
|
|
97
|
+
- **Radio** — Refactored `RadioGroup` / `RadioGroupItem` / `RadioCard` styling
|
|
98
|
+
- **Select** — Updated compositional sub-component pattern
|
|
99
|
+
- **Sheet** — Improved directional slide-out behavior
|
|
100
|
+
- **Switch** — Enhanced with new size and label options
|
|
101
|
+
- **Table** — Expanded density and styling options
|
|
102
|
+
- **Tabs** — Reworked variant composition for underline/segment/pills
|
|
103
|
+
- **Textarea** — Improved auto-resize and character count logic
|
|
104
|
+
- **Toast** — Major refactor with improved stacking and animations (1209 lines changed)
|
|
105
|
+
|
|
106
|
+
#### Code Cleanup
|
|
107
|
+
- Cleaned up formatting and structure in **NavigationMenu**, **Popover**, and **ScrollArea** components
|
|
108
|
+
- Updated `styles.css` with restructured CSS custom properties and new token categories
|
|
109
|
+
- Improved `tokens/colors.ts` with expanded palette definitions
|
|
110
|
+
- Updated `utils/contrast.ts` with refined WCAG checking utilities
|
|
111
|
+
- Updated `motion/presets.ts` — `reduceMotion()` signature cleaned up (unused parameter prefixed with `_`)
|
|
112
|
+
|
|
113
|
+
#### Other
|
|
114
|
+
- Updated `UNIFIED_UI_VERSION` exported constant from `"0.1.2"` to `"0.2.0"`
|
|
115
|
+
- Component count increased from 23 to 63+
|
|
116
|
+
- Barrel exports in `components/index.ts` and `src/index.ts` expanded for all new components
|
|
117
|
+
---
|
|
13
118
|
## [0.1.2] — 2026-03-03
|
|
14
119
|
### Added
|
|
15
120
|
#### Theme Customizer System
|