@work-rjkashyap/unified-ui 0.2.1 → 0.2.3

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
@@ -1,299 +1,252 @@
1
- # Unified UI Changelog
2
- All notable changes to the Unified UI design system will be documented in this file.
1
+ # Changelog
2
+
3
+ All notable changes to the **Unified UI** design system will be documented in this file.
4
+
3
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
4
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
- ---
7
+
8
+
6
9
  ## [Unreleased]
7
- ### Planned
8
- - Migration guide — mapping from legacy `--ds-*` tokens to new plain `--*` tokens
9
- - `UnifiedUIProvider` component for optional auto CSS injection
10
- - Component tests with Vitest + Testing Library
11
- ---
12
10
 
11
+ ## [0.3.0] — 2026-03-07
12
+
13
+ ### 🚀 Features
14
+
15
+ - Update layouts and navigation components for improved UI and new themes
16
+ - Enhanced the Layout components across various sections (company, docs, legal, resources) to include a transparent navigation mode.
17
+ - Introduced a new Themes page with a placeholder and updated layout.
18
+ - Updated the layout configuration to include new links for Blocks, Colors, and Themes, along with a Discord icon.
19
+ - Refactored the Logo component for better styling and consistency.
20
+ - Improved the Nav component with new icons and a more dynamic navigation experience.
21
+ - Updated the ThemeToggle component for better accessibility and visual feedback. ([d9fe590](https://github.com/imrj05/unified-ui/commit/d9fe590b84dbdfaac8473bef324fef756176ad4f))
22
+ - Add TestDropdownPage component with various dropdown menu tests
23
+ - Implemented a new TestDropdownPage component to showcase different dropdown menu functionalities including basic options, keyboard shortcuts, submenus, and standalone shortcut rendering.
24
+ - Added a new AvatarCircle helper component for displaying user initials in a circular format.
25
+ - Enhanced the virtual list demos by integrating AvatarCircle for user representation and improving layout consistency.
26
+ - Introduced PreviewCard and PreviewCardShell components for rendering preview and code sections with copy functionality.
27
+ - Updated MDX components to include the new PreviewCard for better documentation presentation. ([1fdf52e](https://github.com/imrj05/unified-ui/commit/1fdf52ea093572be29403e4ab13f6a0c72e1abf8))
28
+ - Update Open Graph metadata and enhance OG image content for better SEO ([6e5728d](https://github.com/imrj05/unified-ui/commit/6e5728d6226ea9b11eed5214df30970cc71eb138))
29
+ - Feat: add AppleIcon and Icon components with responsive design and SVG graphics
30
+ feat: implement OGImage component for enhanced Open Graph support
31
+ refactor: update layout component for improved readability and structure
32
+ fix: correct site name in route handler for Open Graph image generation ([f92e1fe](https://github.com/imrj05/unified-ui/commit/f92e1fee67ac7753dbbabc39b20ce06168183fae))
33
+
34
+ ### 🐛 Bug Fixes
35
+
36
+ - Enhance changelog script to scan all commits if no tags are found ([fdbb105](https://github.com/imrj05/unified-ui/commit/fdbb105c47e4afa1f999b0eddfe884a903b76466))
37
+ - Update component links from /docs/components to /components ([d511280](https://github.com/imrj05/unified-ui/commit/d511280063616413efb9235d81d21eabf467b2ca))
38
+
39
+ ### 🔧 Refactors
40
+
41
+ - **changelog-renderer:** Enhance changelog parsing and rendering logic
42
+ - Improved parsing logic to handle multi-line items and indented sub-items.
43
+ - Added support for section titles with emojis by stripping them before processing.
44
+ - Enhanced section color mapping to include additional categories and keywords.
45
+ - Refactored the rendering of changelog items and sections for better readability and maintainability.
46
+ - Updated the stats calculation to normalize section titles for accurate feature and fix counts. ([f3b47fe](https://github.com/imrj05/unified-ui/commit/f3b47fe55a9c7637570e833b6256b2adb969dbcc))
47
+
48
+ ### 🏗️ Miscellaneous
49
+
50
+ - **changelog:** Auto-update unreleased entries [skip ci] ([1971cd8](https://github.com/imrj05/unified-ui/commit/1971cd81a04d7b6e92e0ed925a3f33783254bf2c))
51
+ - **changelog:** Auto-update unreleased entries [skip ci] ([c226782](https://github.com/imrj05/unified-ui/commit/c2267822c0705401a6de57a60dbe3227abb76533))
52
+ - **changelog:** Auto-update unreleased entries [skip ci] ([f216b6e](https://github.com/imrj05/unified-ui/commit/f216b6ebb6d436148256b784898833cea8613a14))
53
+ - **changelog:** Auto-update unreleased entries [skip ci] ([6658a0a](https://github.com/imrj05/unified-ui/commit/6658a0a50017a21e4fe868d86381ea0b9a76601e))
54
+ - **changelog:** Auto-update unreleased entries [skip ci] ([8dc0ab8](https://github.com/imrj05/unified-ui/commit/8dc0ab8f9ed198e4b0da315a91869ca374626fd5))
55
+ - Stop tracking CHANGELOG.md locally ([4973cf5](https://github.com/imrj05/unified-ui/commit/4973cf5a401970d23922e39e7590187a40497307))
56
+
57
+ ### Other
58
+
59
+ - Merge branch 'main' of github.com:imrj05/unified-ui ([1e620eb](https://github.com/imrj05/unified-ui/commit/1e620ebb87a8f04079f9f266e769e3ba9e327293))
60
+ - Merge branch 'main' of github.com:imrj05/unified-ui ([d85b413](https://github.com/imrj05/unified-ui/commit/d85b413531b6e38eabf397f6347b6cbb740dd961))
61
+ - Merge branch 'main' of github.com:imrj05/unified-ui ([055de42](https://github.com/imrj05/unified-ui/commit/055de4202aa7a813902e5beeeddfd0ae904c29f0))
62
+ - Add CHANGELOG for packages/unified-ui ([06dc82a](https://github.com/imrj05/unified-ui/commit/06dc82a36328e9a289adea9eaade36abd0f49bdf))
63
+ - Add changelog generator and update workflow
64
+
65
+ Add .github/scripts/generate-changelog.sh and call it from the
66
+ changelog workflow. Also add .zed/settings.json with editor/assistant
67
+ settings. ([bbd4f82](https://github.com/imrj05/unified-ui/commit/bbd4f827837dd91acbf5be5005ca3c4cc50c38aa))
68
+ - Ignore CI changelog and set workflow shell to bash ([ac4da0a](https://github.com/imrj05/unified-ui/commit/ac4da0a4851cfd75930bc8208df04fc395963bfc))
69
+ - Merge branch 'main' of github.com:imrj05/unified-ui ([1ae2200](https://github.com/imrj05/unified-ui/commit/1ae2200684ee757e24fa6ba7f7a342c76dc4d959))
70
+ - Automate changelog and release workflow
71
+
72
+ Add a custom changelog workflow that parses Conventional Commits and
73
+ prepends entries into packages/unified-ui/CHANGELOG.md without
74
+ overwriting
75
+ hand-written release notes. Overhaul the release pipeline to validate
76
+ tag
77
+ versions, build and publish the design system, promote [Unreleased] → a
78
+ versioned changelog entry, and create the GitHub Release with notes.
79
+ Update cliff.toml comments to reflect its role for GitHub release notes. ([a1167e7](https://github.com/imrj05/unified-ui/commit/a1167e7bef2fb78093408738c450a8d2da70f3af))
13
80
  ## [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
81
 
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`).
82
+ ### 🐛 Bug Fixes
83
+
84
+ - Update placeholder API key in ConfirmDialog documentation ([6ca53c5](https://github.com/imrj05/unified-ui/commit/6ca53c5d1cecaee31afb376b860908981d9bf04c))
85
+
86
+ ### 🔧 Refactors
20
87
 
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`.
88
+ - Clean up formatting and remove unnecessary whitespace in ConfirmDialog documentation ([a8c382f](https://github.com/imrj05/unified-ui/commit/a8c382fbdcf0038b9e85160e472e45ac98da7579))
23
89
 
24
- ---
90
+ ### Other
25
91
 
92
+ - Add automated changelog and release workflows
93
+
94
+ Include git-cliff config and CI workflows for changelog generation
95
+ and releases
96
+
97
+ - Add cliff.toml and .github/workflows/changelog.yml to auto-generate
98
+ packages/unified-ui/CHANGELOG.md from Conventional Commits on pushes
99
+ to main
100
+ - Add .github/workflows/release.yml to validate tag, build the design
101
+ system, publish to npm, and create a GitHub Release with changelog
102
+ notes
103
+ - Add server-side changelog page and renderer under src to surface the
104
+ generated CHANGELOG.md in the docs site
105
+ - Commit generated CHANGELOG.md and bump @work-rjkashyap/unified-ui to
106
+ 0.2.1 ([8e036bd](https://github.com/imrj05/unified-ui/commit/8e036bdf7e9004f43a28f01a8a220a49f4afd8fd))
107
+ - Use unified-ui-rajeshwar registry
108
+
109
+ Add a build:registry step to the root build script; update CLI and
110
+ registry build scripts to use the new registry homepage and tweak
111
+ imports/formatting. Bump typography and spacing across home components
112
+ for improved readability. ([c55b091](https://github.com/imrj05/unified-ui/commit/c55b091dfb5843ad1a89230740cf5646f918f897))
113
+ - Format Confirm Dialog MDX and fix examples
114
+
115
+ Adjust whitespace and indentation in
116
+ content/components/confirm-dialog.mdx.
117
+ Separate the AlertDialog primitives example from the barrel import and
118
+ clean
119
+ up code fences for usage, variants, and preview snippets. ([50a0c83](https://github.com/imrj05/unified-ui/commit/50a0c830ac27441b9fdcd6bb415f2bf8d7f6e260))
26
120
  ## [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
- ---
118
- ## [0.1.2] — 2026-03-03
119
- ### Added
120
- #### Theme Customizer System
121
- - **`ThemeCustomizerProvider`** — React context provider for runtime theme management with `localStorage` persistence and cross-tab sync via `StorageEvent`
122
- - **`useThemeCustomizer()`** — hook exposing `config`, `setColorPreset`, `setRadius`, `setFont`, `setShadow`, `setSurfaceStyle`, `resetConfig`, `isDefault`, `generateCSS`
123
- - **`ThemeCustomizer`** — drop-in UI component with color swatch picker, radius preview, font preview, shadow/surface style toggles, "Copy CSS" button, and reset
124
- - **13 color presets**: 5 neutral (`Zinc`, `Slate`, `Gray`, `Stone`, `Neutral`) + 8 chromatic (`Blue`, `Green`, `Violet`, `Rose`, `Orange`, `Red`, `Teal`, `Brand`)
125
- - **7 radius presets**: None (0px) through XL (16px), default 10px
126
- - **5 font presets**: Outfit, Inter, System, Serif, Mono
127
- - **4 shadow presets**: None, Subtle, Default, Heavy (each with light/dark scales)
128
- - **3 surface style presets**: Bordered, Elevated, Mixed
129
- - `ThemeConfig` type, `DEFAULT_THEME_CONFIG`, `buildThemeOverrides()`, `generateThemeCSS()` utilities
130
- - `COLOR_PRESET_KEYS`, `COLOR_PRESETS`, `getColorPreset`, `getFontPreset`, `getRadiusPreset`, `getShadowPreset` helpers
131
- - Exported types: `ColorPreset`, `ColorPresetKey`, `FontPreset`, `RadiusPreset`, `ShadowPreset`, `SurfaceStylePreset`, `PresetSemanticColors`, `ThemeCustomizerContextValue`, `ThemeCustomizerProps`, `ThemeCustomizerProviderProps`
132
- #### New Tokens
133
- - `neutral` color palette added to `tokens/colors`
134
- - New CSS custom properties: `--card`, `--card-foreground`, `--popover`, `--popover-foreground`, `--accent`, `--accent-foreground`, `--destructive`, `--destructive-foreground`, `--ring`, `--radius`, `--chart-1` through `--chart-5`, `--sidebar-*` (8 tokens)
135
- #### Select Sub-component Exports
136
- - Newly exported: `SelectContent`, `SelectContentProps`, `SelectTrigger`, `SelectTriggerProps`, `SelectValue`, `SelectScrollUpButton`, `SelectScrollUpButtonProps`, `SelectScrollDownButton`, `SelectScrollDownButtonProps`
137
- ### Changed
138
- #### Color Format: RGB → oklch
139
- - All color tokens migrated from RGB channel strings (e.g. `"79 70 229"`) to complete `oklch()` values (e.g. `"oklch(0.585 0.233 277.117)"`)
140
- - Affects all palettes: `slate`, `gray`, `zinc`, `brand`, `blue`, `green`, `red`, `amber`, `teal`
141
- - Semantic colors (light + dark) updated to use oklch values
142
- - Shadow tokens updated from `rgba()` to `oklch()` syntax
143
- - `dsColorVar()` now returns `var(--{name})` and uses `color-mix(in oklch, ...)` for alpha variants instead of `rgb(... / alpha)`
144
- #### CSS Variable Prefix Removal (`--ds-*` → `--*`)
145
- - Removed the `PREFIX` constant from `contract.ts`
146
- - All CSS custom properties simplified: `--ds-color-primary` → `--primary`, `--ds-radius-md` → `--radius-md`, `--ds-shadow-lg` → `--shadow-lg`, `--ds-z-modal` → `--z-modal`, `--ds-duration-fast` → `--duration-fast`, `--ds-easing-standard` → `--easing-standard`, `--ds-font-sans` → `--font-sans`
147
- - All Tailwind utility classes updated: `bg-ds-primary` → `bg-primary`, `text-ds-foreground` → `text-foreground`, `rounded-ds-md` → `rounded-md`, etc.
148
- - All 25 components, 3 primitives, and all utilities updated for the new naming
149
- #### Focus Ring System Overhaul
150
- - Redesigned from ring-based (`focus-visible:ring-2 focus-visible:ring-ds-focus-ring focus-visible:ring-offset-2`) to border-based (`focus-visible:border-border-strong`) focus indicators
151
- - All focus ring variants updated: `focusRingClasses`, `focusRingInsetClasses`, `focusRingCompactClasses`, `focusWithinRingClasses`, `focusRingGroupRingClasses`, `focusRingGroupTriggerClasses`
152
- #### Component Updates
153
- - **Button** — Added `not-prose no-underline` to base styles to prevent prose typography overrides on `<a>` buttons
154
- - **Select** — Refactored to compositional sub-component pattern; removed `SelectProps` type (use sub-component props instead)
155
- - **DropdownMenu** — Major refactor (618 lines changed)
156
- - **Popover** — Major refactor (332 lines changed)
157
- - **DataTable** — Updated for new token naming and focus styles
158
- #### Other
159
- - Updated `UNIFIED_UI_VERSION` exported constant from `"0.1.1"` to `"0.1.2"`
160
- - `@theme` block in `styles.css` completely rewritten with plain `--{name}` properties and new token categories
161
- - `dsVar()` now generates `--{category}-{name}` (was `--ds-{category}-{name}`)
162
- ---
121
+
122
+ ### 🚀 Features
123
+
124
+ - Enhance component previews and theme customizer
125
+ - Added VSCodeCodeBlock for improved code display in ComponentPage.
126
+ - Introduced CustomizerPanel for theme customization options including color, radius, font, shadow, and surface styles.
127
+ - Updated input-previews to streamline imports.
128
+ - Renamed Tag components to Badge for consistency and clarity in tag previews.
129
+ - Implemented ThemeToggle previews for various configurations and sizes.
130
+ - Enhanced ThemeCustomizerTrigger with mode selection for light, dark, and system themes.
131
+ - Updated MDX components to include new previews and components for better documentation. ([7148072](https://github.com/imrj05/unified-ui/commit/7148072478ceb2857e40c70251380c4be244ede1))
132
+ - Add Toggle component and related previews
133
+ - Implemented Toggle component using Radix UI's Toggle primitive with support for multiple visual variants, sizes, and icons.
134
+ - Added Toggle to the unified-ui index for export.
135
+ - Created navigation component previews for ContextMenu, Menubar, Steps, and Command, showcasing various states and interactions.
136
+ - Updated MDX components to include new previews for documentation. ([63b0f57](https://github.com/imrj05/unified-ui/commit/63b0f57dcc8150f5648b7541b8d93d70f42ebd45))
137
+
138
+ ### 🔧 Refactors
139
+
140
+ - Clean up component code formatting and structure in navigation menu, popover, and scroll area ([c0935d9](https://github.com/imrj05/unified-ui/commit/c0935d92ca5324338f590d25a2406ca85e0921f3))
141
+ ## [0.1.2]2026-03-02
142
+
143
+ ### 🚀 Features
144
+
145
+ - Integrate theme customizer and improve UI components
146
+ - Added ThemeCustomizerProvider and ThemeCustomizerTrigger to layout for theme customization.
147
+ - Updated button styles to enhance focus visibility and hover effects.
148
+ - Refactored collapsible component to improve readability and maintainability.
149
+ - Updated navigation menu and popover components to use new radix-ui imports.
150
+ - Enhanced data table demo with consistent text color updates.
151
+ - Improved scroll area component for better overflow handling.
152
+ - Updated TypeScript configuration to include new unified-ui paths for better module resolution. ([69bb594](https://github.com/imrj05/unified-ui/commit/69bb5940835fb0d45f29d21e4bf4bb44f67c66e1))
153
+
154
+ ### 🏗️ Miscellaneous
155
+
156
+ - Bump version to 0.1.2 and update changelog ([b09bbbf](https://github.com/imrj05/unified-ui/commit/b09bbbf4de830fad0211f8491e622436dc0ce783))
157
+
158
+ ### Other
159
+
160
+ - Regenerate package-lock
161
+
162
+ Bump @biomejs/biome to 2.4.4 and shikijs packages to 3.23.0.
163
+ Consolidate duplicated @radix-ui/react-slot entries into one resolved
164
+ entry. Lockfile churn from dependency updates only. ([2d0f0ed](https://github.com/imrj05/unified-ui/commit/2d0f0ed95660e49b64c5135e27e732747541b2b1))
165
+ - Revise README with expanded overview and docs ([f67f910](https://github.com/imrj05/unified-ui/commit/f67f910d6542877e57f6ad54b62d10538021b5f8))
163
166
  ## [0.1.1] — 2026-02-28
164
- ### Added
165
- #### DataTable Component
166
- - **DataTable** — Full-featured data table powered by TanStack Table (`@tanstack/react-table` ≥ 8.0.0)
167
- - Column sorting, filtering (text + faceted), row selection, column visibility toggles
168
- - Built-in pagination with configurable page sizes
169
- - `useDataTable` hook for headless table state management
170
- - `createColumnHelper` re-export for type-safe column definitions
171
- - Exported types: `DataTableProps`, `DataTableColumnMeta`, `DataTableFacetedFilter`, `UseDataTableOptions`, `UseDataTableReturn`, `ColumnDef`, `ColumnFiltersState`, `PaginationState`, `Row`, `RowSelectionState`, `SortingState`, `VisibilityState`
172
- - `@tanstack/react-table` added as an optional peer dependency
173
- #### Motion Hooks
174
- - `useMotion()` — hook for accessing motion presets with reduced-motion awareness
175
- - `useMotionProps()` hook that returns spread-ready motion props
176
- - `useMotionSpringConfig()` — hook for accessing spring configuration tokens
177
- - `useReducedMotion()` hook for detecting `prefers-reduced-motion` user preference
178
- - `MotionSafe` wrapper component that conditionally renders motion based on user preference
179
- ### Changed
180
- - Updated `UNIFIED_UI_VERSION` exported constant from `"0.1.0"` to `"0.1.1"`
181
- - Component count updated from 22 to 23 across documentation and metadata
182
- - Package description updated to reflect 23+ components
183
- ### Fixed
184
- - Removed self-referential dependency (`@work-rjkashyap/unified-ui` depending on itself) from `package.json`
185
- - Added missing `homepage` and `bugs` fields to `package.json`
186
- - Added `funding` field to `package.json`
187
- - Expanded `keywords` in `package.json` for better npm discoverability (`tailwind-css-v4`, `design-tokens`, `css-variables`, `theming`, `dark-mode`, `typescript`, `tree-shakeable`)
188
- ---
167
+
168
+ ### Other
169
+
170
+ - Add DataTable, docs overhaul, and bump version
171
+
172
+ Implement a full DataTable component (TanStack Table) and export
173
+ hooks/types.
174
+ Bump UNIFIED_UI_VERSION to 0.1.1 and update package metadata (homepage,
175
+ bugs,
176
+ funding). Revamp many MDX component pages to use interactive
177
+ ComponentPage
178
+ previews and update icons/imports. Add ToastPreview demo component and
179
+ adjust
180
+ site links/README/CHANGELOG accordingly. ([8fb7338](https://github.com/imrj05/unified-ui/commit/8fb7338ca305daac24a6b595bf1ea30022d1e250))
181
+ - Add DataTable component and docs
182
+
183
+ Introduce DataTable powered by TanStack Table with sorting,
184
+ filtering, pagination, row selection, column visibility and a
185
+ useDataTable hook. Add a DataTableDemo component and a full MDX
186
+ documentation page. Also add a global hide-scrollbar CSS utility
187
+ and miscellaneous layout/formatting updates to notebook/sidebar
188
+ components. ([f10f8f0](https://github.com/imrj05/unified-ui/commit/f10f8f0fbc04321d545a0b1abe2e538a861b140b))
189
+ - Add @work-rjkashyap/unified-ui dependency
190
+
191
+ Move framer-motion to optionalDependencies and reorder devDependencies.
192
+ Format typesVersions arrays and update package-lock.json accordingly ([a3dec68](https://github.com/imrj05/unified-ui/commit/a3dec6872110b6db3de18ccb3152e8a3b4a3fd85))
189
193
  ## [0.1.0] — 2026-02-27
190
- ### Added
191
- #### Design Tokens
192
- - Color palettes: `slate`, `gray`, `zinc`, `neutral`, `red`, `green`, `blue`, `amber`, `teal`, `brand`, `pure`
193
- - Semantic color mappings for light and dark themes (`semanticLight`, `semanticDark`)
194
- - Spacing scale (0–96 + custom values)
195
- - Typography tokens: `fontFamily` (display, sans, serif, mono, inherit), `fontSize`, `fontWeight`, `lineHeight`, `letterSpacing`, typography variant presets
196
- - Radius scale (`none` through `full`)
197
- - Shadow scale with light and dark variants
198
- - Z-index scale (`hide`, `base`, `dropdown`, `sticky`, `overlay`, `modal`, `popover`, `toast`, `max`)
199
- - Motion tokens: `duration`, `easing`, `spring`, `stagger` (with CSS and seconds variants)
200
- #### Theme System
201
- - CSS variable contract mapping all tokens to plain CSS custom properties
202
- - `DSThemeProvider` component with light/dark/system mode support
203
- - `useDSTheme()` hook for programmatic theme access
204
- - `buildLightThemeVars()` / `buildDarkThemeVars()` / `buildThemeCSS()` utilities
205
- - `cssVar()` helper for type-safe CSS variable references
206
- #### Typography System
207
- - Multi-font architecture with four font families:
208
- - **Outfit** (`--font-outfit`) primary sans-serif UI typeface
209
- - **Inter** (`--font-inter`) display / headings
210
- - **Lora** (`--font-lora`) serif / editorial
211
- - **JetBrains Mono** (`--font-jetbrains`) monospace / code
212
- - `font` prop on `Typography` component for runtime font switching
213
- - Graceful fallback to system font stacks when web fonts are unavailable
214
- #### Tailwind CSS v4 Integration
215
- - `styles.css` with full `@theme` block mapping all tokens to Tailwind utilities
216
- - Direct Tailwind utilities for colors, radius, shadows, transitions, fonts (no prefix)
217
- - Font CSS custom properties (`--font-outfit`, `--font-inter`, `--font-lora`, `--font-jetbrains`)
218
- #### Primitive Components
219
- - **Typography** polymorphic text component with `variant`, `font`, `color`, `align`, `truncate` props
220
- - **Heading** semantic heading (h1–h6) with automatic size mapping
221
- - **Subheading** secondary heading variant
222
- - **Body** paragraph text with size variants
223
- - **Caption** small supporting text
224
- - **Label** form label with required indicator support
225
- - **Overline** uppercase label text
226
- - **InlineCode** inline code formatting
227
- - **Container** responsive max-width wrapper (`sm` through `2xl`)
228
- - **Stack** flexbox layout with `direction`, `gap`, `align`, `justify`
229
- - **Grid** CSS grid layout with responsive column configuration
230
- - **Divider** horizontal/vertical separator with label support
231
- #### Composite Components (22 total)
232
- - **Button** — primary, secondary, outline, ghost, danger, link variants; sm/md/lg sizes; icon-only mode; loading state
233
- - **Input** — text input with prefix/suffix slots, error state, disabled state
234
- - **Textarea** — auto-resize support, character count, error state
235
- - **Select** Radix-based with groups, labels, separators; searchable variant
236
- - **Checkbox** with `CheckboxGroup` for managing groups; indeterminate state
237
- - **Radio** `RadioGroup` + `RadioGroupItem` + `RadioCard` variant
238
- - **Switch** toggle with label positioning (start/end), sizes
239
- - **Card** composable `Card` / `CardHeader` / `CardBody` / `CardFooter`; elevated, outline, ghost variants
240
- - **Badge** default, secondary, outline, success, warning, danger variants; sm/md/lg sizes
241
- - **Avatar** image with fallback initials, status indicator, `AvatarGroup` stacking
242
- - **Tooltip** Radix-based with configurable side, align, delay
243
- - **Popover** Radix-based with arrow, close button, controlled/uncontrolled
244
- - **DropdownMenu** full Radix menu with items, checkbox items, radio items, sub-menus, shortcuts
245
- - **Dialog** — modal with sm/md/lg/xl/full sizes; composable header/body/footer; scroll locking
246
- - **Sheet** — slide-out drawer from top/right/bottom/left; sm/md/lg/xl sizes
247
- - **Tabs** — underline, segment, pills variants; horizontal/vertical orientation
248
- - **Accordion** single/multiple mode; default/bordered/ghost variants; sm/md/lg sizes
249
- - **Toast** — portal-based with stacking, auto-dismiss, pause-on-hover, progress bar, `useToast()` hook
250
- - **Alert** — info, success, warning, error variants with icon, title, description
251
- - **Skeleton** — base `Skeleton` + `SkeletonText`, `SkeletonCircle`, `SkeletonRect` presets; pulse animation
252
- - **Table** — semantic table with striped rows, hover highlight, sticky header, responsive wrapper; compact/default/relaxed density
253
- - **Pagination** — page numbers with ellipsis, prev/next, compact variant, controlled/uncontrolled
254
- - **Breadcrumb** — composable sub-components + `BreadcrumbNav` shorthand; truncation with ellipsis
255
- #### Motion System
256
- - Fade presets: `fadeIn`, `fadeInFast`, `fadeInSlow`
257
- - Slide presets: `slideUp`, `slideUpSm`, `slideUpLg`, `slideUpSpring`, `slideDown`, `slideDownSm`, `slideLeft`, `slideRight`, `slideInFromLeft`, `slideInFromRight`, `slideInFromBottom`
258
- - Scale presets: `scaleIn`, `scaleInLg`, `scaleInSpring`
259
- - Blur presets: `blurIn`, `blurInSubtle`
260
- - Overlay/modal: `overlayBackdrop`, `modalContent`, `modalContentSpring`
261
- - Toast: `toastSlideIn`, `toastSlideUp`
262
- - Expand/collapse: `expandHeight`, `expandHeightSlow`
263
- - Micro-interactions: `press`, `tapScale`, `hoverScale`, `hoverLift`, `pop`, `popSubtle`
264
- - Loading: `pulse`, `spin`
265
- - Stagger containers: `staggerContainer`, `staggerContainerFast`, `staggerContainerSlow`
266
- - `motionProps()` spread helper for clean JSX usage
267
- - `reduceMotion` / `withReducedMotion()` utilities for `prefers-reduced-motion` support
268
- #### Utilities
269
- - `cn()` — class name merger (clsx + tailwind-merge)
270
- - `mergeSlots()` — slot-based class merging for composite components
271
- - `composeRefs()` — compose multiple React refs into one
272
- - `dsAttr()` / `dsDataAttrs()` — data attribute generators for component identification
273
- - `dsStateAttr()` — conditional data attribute for component states
274
- - `dsVar()` / `dsColorVar()` — CSS custom property reference helpers
275
- - `typedKeys()` — type-safe `Object.keys`
276
- - `noop` — no-operation function
277
- - Focus ring utilities: `focusRingClasses`, `focusRingInsetClasses`, `focusRingCompactClasses`, `focusWithinRingClasses`, `focusRingGroupRingClasses`, `focusRingGroupTriggerClasses`, `focusRingVariantOverrides`
278
- - WCAG contrast checking: `checkHexContrast`, `checkDSContrast`, `auditContrast`, `contrastRatio`, `relativeLuminance`, `meetsAA`, `meetsAAA`, `meetsNonTextAA`, `parseHex`, `parseRGBString`, `toRGBString`
279
- - Polymorphic component types: `AsProp`, `PolymorphicProps`, `PolymorphicPropsWithRef`, `PolymorphicRef`, `PolymorphicComponent`
280
- - Slot types: `SlotClasses`, `SlotConfig`, `SlotDefinition`, `SlotRenderFn`, `Slots`
281
- - Component types: `ComponentSize`, `ComponentIntent`, `ChildrenProps`, `OptionalChildrenProps`
282
- #### Package & Build
283
- - `tsup` build pipeline producing ESM (`.mjs`) and CJS (`.cjs`) with TypeScript declarations (`.d.ts` / `.d.cts`)
284
- - 7 entry points: `index`, `tokens`, `theme`, `primitives`, `components`, `motion`, `utils`
285
- - Selective `"use client"` directive — applied only to client entry points (not tokens/utils)
286
- - Radix UI packages externalized as optional peer dependencies
287
- - Tree-shakeable with code splitting enabled
288
- - `styles.css` exported as `@work-rjkashyap/unified-ui/styles.css` for Tailwind `@theme` integration
289
- - `@unified-ui/*` TypeScript path aliases (zero relative cross-directory imports)
290
- #### Infrastructure
291
- - `UNIFIED_UI_VERSION` exported constant for runtime version checking
292
- - `.npmignore` for clean package distribution
293
- - `sideEffects` field for optimal tree-shaking
294
- - Conditional `exports` map with full `import`/`require`/`types` resolution
295
- - `typesVersions` fallback for older TypeScript resolvers
296
- ---
297
- _Design system: Unified UI_
298
- _Maintainer: Rajeshwar Kashyap_
299
- _Repository: [github.com/imrj05/unified-ui](https://github.com/imrj05/unified-ui)_
194
+
195
+ ### 🚀 Features
196
+
197
+ - Publish @work-rjkashyap/unified-ui@0.1.0 to npm
198
+ Rename package scope from @unified-ui/react to
199
+ @work-rjkashyap/unified-ui
200
+ to match npm organization ownership.
201
+
202
+ Updated references across 39 files:
203
+ - packages/unified-ui/package.json (package name)
204
+ - Root package.json (workspace scripts + dependency)
205
+ - src/app/global.css (CSS import)
206
+ - All 22 component MDX docs (imports + code examples)
207
+ - 8 design system MDX docs (tokens, colors, motion, etc.)
208
+ - README.md, TODO.md, copilot-instructions.md ([4872c9a](https://github.com/imrj05/unified-ui/commit/4872c9a6b68b99eee42c8f3e2795b3c46ad22ade))
209
+ - Enhance layout components and navigation
210
+ - Refactored HomeLayout to improve structure and readability.
211
+ - Updated Nav component to include type safety for link items and improved rendering logic.
212
+ - Enhanced DocsLayout and DocsSidebar for better sidebar management and navigation.
213
+ - Added new legal, company, and resource sources in the source loader for better content organization.
214
+ - Improved styling and responsiveness in various layout components. ([c6f5803](https://github.com/imrj05/unified-ui/commit/c6f58032da8c7e07b3b1d3877ccc93b076875ad6))
215
+ - Add new components including Collapsible, Popover, Scroll Area, and Navigation Menu; update existing components with icons ([8907f41](https://github.com/imrj05/unified-ui/commit/8907f410b1d4abd94ff3613e32bf082b0c24a2c3))
216
+ - Enhance HomePage layout and HeroSection design, improve sidebar component structure ([e894c85](https://github.com/imrj05/unified-ui/commit/e894c85dbb9b18bb41fe1020602df20912d983d6))
217
+ - Update layout components with new Logo and navigation structure, enhance HeroSection design ([6a5bb28](https://github.com/imrj05/unified-ui/commit/6a5bb28aaea526e8b643b3fc805e54180bc31d4f))
218
+ - Add showcase and testimonials sections, enhance layout components
219
+ - Introduced `ShowcaseSection` component showcasing key features with interactive elements.
220
+ - Added `TestimonialsSection` component to display user feedback and experiences.
221
+ - Created `ComponentPage` layout for displaying component details, including preview and code tabs.
222
+ - Implemented `Logo` component for branding in the layout.
223
+ - Developed `Nav` component for navigation with links to documentation and components.
224
+ - Added `NavbarLinkItem` and `Navbar` components for structured navigation.
225
+ - Created `DocsSidebar` for sidebar navigation with page tree and tabs.
226
+ - Defined `SIDEBAR_TABS` for easy management of sidebar navigation items. ([88212b5](https://github.com/imrj05/unified-ui/commit/88212b5b150e0c41d5f87a87ffc4de1619fd7e84))
227
+ - Add sidebar link item and page tree components
228
+ - Implemented `createLinkItemRenderer` for rendering sidebar items based on the page tree structure.
229
+ - Added `createPageTreeRenderer` to manage the rendering of page tree items, including folders and separators.
230
+ - Introduced a dropdown component for sidebar tabs with enhanced accessibility and styling.
231
+ - Created utility functions for managing sidebar tabs and their properties.
232
+ - Added theme toggle functionality with improved user experience.
233
+ - Developed a table of contents (TOC) component with dynamic resizing and rendering based on headings.
234
+ - Enhanced UI components including buttons, collapsibles, navigation menus, and popovers for better usability and aesthetics.
235
+ - Introduced utility functions for merging refs and normalizing URLs. ([1b5c1da](https://github.com/imrj05/unified-ui/commit/1b5c1dad14d4720dc37cf3f388ea30d7afc5efae))
236
+
237
+ ### 🔧 Refactors
238
+
239
+ - Streamline HomeLayout component structure and improve readability ([4b3321d](https://github.com/imrj05/unified-ui/commit/4b3321de6a308a3a93938ed4af0e6d07f0bf17c9))
240
+ - Improve layout components and sidebar functionality
241
+ - Refactored LayoutContext and LayoutContextProvider for better readability and performance.
242
+ - Updated LayoutHeader and LayoutBody components to enhance styling and structure.
243
+ - Adjusted sidebar components to improve usability and visual consistency.
244
+ - Enhanced ThemeToggle component to support button type and improved accessibility.
245
+ - Added a new StatusPage component to display system status and incident history.
246
+ - Updated Popover and ScrollArea components for better z-index management and scroll behavior. ([1ae241f](https://github.com/imrj05/unified-ui/commit/1ae241f315563fd789bc176bdb0c45226ee1160a))
247
+ - Improve code formatting and readability across layout components ([08653fd](https://github.com/imrj05/unified-ui/commit/08653fdb7bccc8201ea9c826c663d0b2298a85a4))
248
+ - Format code for improved readability in HomeLayout component ([830877e](https://github.com/imrj05/unified-ui/commit/830877e2120c14ae964ca79186e99992fd4b9a9b))
249
+
250
+ ### Other
251
+
252
+ - Initial commit from Create Fumadocs App ([8fd3237](https://github.com/imrj05/unified-ui/commit/8fd3237b58fb87870e9db4b5aac9ec98060d2362))