@work-rjkashyap/unified-ui 0.2.2 → 0.2.4
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 +123 -6
- package/bin/cli.mjs +0 -0
- package/dist/{chunk-TESKVASH.cjs → chunk-5TP7J7T4.cjs} +57 -57
- package/dist/{chunk-2AERX4AM.mjs → chunk-AQJ7H5SF.mjs} +1153 -302
- package/dist/{chunk-YFH5JPAA.mjs → chunk-EQWESXRH.mjs} +1 -1
- package/dist/{chunk-PRQIFQRK.cjs → chunk-EUHL6H76.cjs} +1170 -298
- package/dist/{chunk-TVCJRD3S.mjs → chunk-IVZAB7BV.mjs} +9 -9
- package/dist/{chunk-QEFOXYBO.cjs → chunk-ZBGR7MUW.cjs} +9 -9
- package/dist/components.cjs +373 -289
- package/dist/components.d.cts +780 -37
- package/dist/components.d.ts +780 -37
- package/dist/components.mjs +1 -1
- package/dist/index.cjs +423 -339
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/theme.cjs +32 -32
- package/dist/theme.d.cts +2 -2
- package/dist/theme.d.ts +2 -2
- package/dist/theme.mjs +2 -2
- package/dist/tokens.cjs +19 -19
- package/dist/tokens.d.cts +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.mjs +1 -1
- package/dist/{z-index-G0PBTHL2.d.cts → z-index-Dd8IllRx.d.cts} +9 -9
- package/dist/{z-index-G0PBTHL2.d.ts → z-index-Dd8IllRx.d.ts} +9 -9
- package/package.json +2 -2
- package/styles.css +17 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,38 +1,122 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
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).
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [Unreleased]
|
|
6
|
-
|
|
10
|
+
|
|
7
11
|
### 🚀 Features
|
|
8
|
-
|
|
9
|
-
- Add
|
|
10
|
-
- Add
|
|
11
|
-
-
|
|
12
|
-
-
|
|
12
|
+
|
|
13
|
+
- Add Separator component with customizable styles and accessibility features ([a8320ae](https://github.com/imrj05/unified-ui/commit/a8320aea8c105b954b28e5c7d0ab73f22dfea085))
|
|
14
|
+
- Add loading skeleton for themes page and enhance sidebar functionality
|
|
15
|
+
- Implemented a loading skeleton component for the themes page to improve user experience during data fetching.
|
|
16
|
+
- Refactored sidebar components to enhance readability and maintainability, including updates to context management and hover behavior.
|
|
17
|
+
- Updated toast preview component with new variant definitions and improved UI for toast actions.
|
|
18
|
+
- Enhanced MDX components registration to include new previews and maintain consistency across the application. ([8365d81](https://github.com/imrj05/unified-ui/commit/8365d812ea7afcab2917043935669e7bc07f9e07))
|
|
19
|
+
- Add overlays preview component with dialogs, dropdowns, and popovers; implement table preview with sample data and actions ([ea1cd70](https://github.com/imrj05/unified-ui/commit/ea1cd70f5f0456760ba15aebde3702f18e580191))
|
|
20
|
+
- Update layouts and navigation components for improved UI and new themes
|
|
21
|
+
- Enhanced the Layout components across various sections (company, docs, legal, resources) to include a transparent navigation mode.
|
|
22
|
+
- Introduced a new Themes page with a placeholder and updated layout.
|
|
23
|
+
- Updated the layout configuration to include new links for Blocks, Colors, and Themes, along with a Discord icon.
|
|
24
|
+
- Refactored the Logo component for better styling and consistency.
|
|
25
|
+
- Improved the Nav component with new icons and a more dynamic navigation experience.
|
|
26
|
+
- Updated the ThemeToggle component for better accessibility and visual feedback. ([d9fe590](https://github.com/imrj05/unified-ui/commit/d9fe590b84dbdfaac8473bef324fef756176ad4f))
|
|
27
|
+
- Add TestDropdownPage component with various dropdown menu tests
|
|
28
|
+
- Implemented a new TestDropdownPage component to showcase different dropdown menu functionalities including basic options, keyboard shortcuts, submenus, and standalone shortcut rendering.
|
|
29
|
+
- Added a new AvatarCircle helper component for displaying user initials in a circular format.
|
|
30
|
+
- Enhanced the virtual list demos by integrating AvatarCircle for user representation and improving layout consistency.
|
|
31
|
+
- Introduced PreviewCard and PreviewCardShell components for rendering preview and code sections with copy functionality.
|
|
32
|
+
- Updated MDX components to include the new PreviewCard for better documentation presentation. ([1fdf52e](https://github.com/imrj05/unified-ui/commit/1fdf52ea093572be29403e4ab13f6a0c72e1abf8))
|
|
33
|
+
- Update Open Graph metadata and enhance OG image content for better SEO ([6e5728d](https://github.com/imrj05/unified-ui/commit/6e5728d6226ea9b11eed5214df30970cc71eb138))
|
|
34
|
+
- Feat: add AppleIcon and Icon components with responsive design and SVG graphics
|
|
35
|
+
feat: implement OGImage component for enhanced Open Graph support
|
|
36
|
+
refactor: update layout component for improved readability and structure
|
|
37
|
+
fix: correct site name in route handler for Open Graph image generation ([f92e1fe](https://github.com/imrj05/unified-ui/commit/f92e1fee67ac7753dbbabc39b20ce06168183fae))
|
|
38
|
+
|
|
13
39
|
### 🐛 Bug Fixes
|
|
40
|
+
|
|
14
41
|
- Enhance changelog script to scan all commits if no tags are found ([fdbb105](https://github.com/imrj05/unified-ui/commit/fdbb105c47e4afa1f999b0eddfe884a903b76466))
|
|
15
42
|
- Update component links from /docs/components to /components ([d511280](https://github.com/imrj05/unified-ui/commit/d511280063616413efb9235d81d21eabf467b2ca))
|
|
43
|
+
|
|
16
44
|
### 🔧 Refactors
|
|
45
|
+
|
|
17
46
|
- **changelog-renderer:** Enhance changelog parsing and rendering logic
|
|
18
47
|
- Improved parsing logic to handle multi-line items and indented sub-items.
|
|
19
48
|
- Added support for section titles with emojis by stripping them before processing.
|
|
20
49
|
- Enhanced section color mapping to include additional categories and keywords.
|
|
21
50
|
- Refactored the rendering of changelog items and sections for better readability and maintainability.
|
|
22
51
|
- Updated the stats calculation to normalize section titles for accurate feature and fix counts. ([f3b47fe](https://github.com/imrj05/unified-ui/commit/f3b47fe55a9c7637570e833b6256b2adb969dbcc))
|
|
52
|
+
|
|
23
53
|
### 🏗️ Miscellaneous
|
|
54
|
+
|
|
55
|
+
- **changelog:** Auto-update unreleased entries [skip ci] ([29ba39b](https://github.com/imrj05/unified-ui/commit/29ba39bfb6657de25e35aec17a2318a8c309a029))
|
|
56
|
+
- **changelog:** Auto-update unreleased entries [skip ci] ([ea0ff88](https://github.com/imrj05/unified-ui/commit/ea0ff88e24c5bfa919db43f313b679b4c69dad1a))
|
|
57
|
+
- **changelog:** Auto-update unreleased entries [skip ci] ([e5002e4](https://github.com/imrj05/unified-ui/commit/e5002e412e06361d1f6e71ace066f354b38ee631))
|
|
58
|
+
- **changelog:** Auto-update unreleased entries [skip ci] ([6bcfc25](https://github.com/imrj05/unified-ui/commit/6bcfc259c33d596ac0324831df95cc29e60f303f))
|
|
59
|
+
- **changelog:** Auto-update unreleased entries [skip ci] ([1971cd8](https://github.com/imrj05/unified-ui/commit/1971cd81a04d7b6e92e0ed925a3f33783254bf2c))
|
|
60
|
+
- **changelog:** Auto-update unreleased entries [skip ci] ([c226782](https://github.com/imrj05/unified-ui/commit/c2267822c0705401a6de57a60dbe3227abb76533))
|
|
61
|
+
- **changelog:** Auto-update unreleased entries [skip ci] ([f216b6e](https://github.com/imrj05/unified-ui/commit/f216b6ebb6d436148256b784898833cea8613a14))
|
|
24
62
|
- **changelog:** Auto-update unreleased entries [skip ci] ([6658a0a](https://github.com/imrj05/unified-ui/commit/6658a0a50017a21e4fe868d86381ea0b9a76601e))
|
|
25
63
|
- **changelog:** Auto-update unreleased entries [skip ci] ([8dc0ab8](https://github.com/imrj05/unified-ui/commit/8dc0ab8f9ed198e4b0da315a91869ca374626fd5))
|
|
26
64
|
- Stop tracking CHANGELOG.md locally ([4973cf5](https://github.com/imrj05/unified-ui/commit/4973cf5a401970d23922e39e7590187a40497307))
|
|
65
|
+
|
|
27
66
|
### Other
|
|
67
|
+
|
|
68
|
+
- Merge pull request #1 from imrj05/vercel/vercel-web-analytics-to-nextjs-g6zfpb
|
|
69
|
+
|
|
70
|
+
Add Vercel Web Analytics to Next.js ([#1](https://github.com/imrj05/unified-ui/issues/1)) ([ce8670a](https://github.com/imrj05/unified-ui/commit/ce8670a5682780d1f6ef58eb880ef5a414edcb68))
|
|
71
|
+
- Add Vercel Web Analytics to Next.js
|
|
72
|
+
|
|
73
|
+
Implemented Vercel Web Analytics for Next.js
|
|
74
|
+
|
|
75
|
+
## Summary
|
|
76
|
+
Successfully installed and configured Vercel Web Analytics for this Next.js App Router project.
|
|
77
|
+
|
|
78
|
+
## Changes Made
|
|
79
|
+
|
|
80
|
+
### 1. Package Installation
|
|
81
|
+
- Installed `@vercel/analytics` package using npm
|
|
82
|
+
- Updated `package.json` to include the new dependency
|
|
83
|
+
- Updated `package-lock.json` with the new dependency tree
|
|
84
|
+
|
|
85
|
+
### 2. Analytics Integration
|
|
86
|
+
Modified: `src/app/layout.tsx`
|
|
87
|
+
- Imported `Analytics` component from '@vercel/analytics/next'
|
|
88
|
+
- Added `<Analytics />` component inside the `<body>` tag
|
|
89
|
+
- Placed after the `<RootProvider>` closing tag to ensure proper initialization
|
|
90
|
+
- Organized imports using the project's Biome linter configuration
|
|
91
|
+
- Applied consistent formatting with the project's code style
|
|
92
|
+
|
|
93
|
+
## Implementation Details
|
|
94
|
+
This is an App Router Next.js project, so the Analytics component was added to the root layout file (`src/app/layout.tsx`) as per Vercel's best practices. The component is placed at the end of the body tag to ensure it doesn't block the rendering of the main application content.
|
|
95
|
+
|
|
96
|
+
## Verification
|
|
97
|
+
- ✅ Build completed successfully with no errors
|
|
98
|
+
- ✅ Linter checks passed for the modified file
|
|
99
|
+
- ✅ Code formatting applied using Biome
|
|
100
|
+
- ✅ All existing functionality preserved
|
|
101
|
+
- ✅ Lock files properly updated
|
|
102
|
+
|
|
103
|
+
## Notes
|
|
104
|
+
The Analytics component will automatically track page views and web vitals when deployed to Vercel. No additional configuration is required for basic analytics tracking.
|
|
105
|
+
|
|
106
|
+
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com> ([4d967d5](https://github.com/imrj05/unified-ui/commit/4d967d5473f62f8a9fa6a4f3bf1f3cb54de0616e))
|
|
107
|
+
- Merge branch 'main' of github.com:imrj05/unified-ui ([1e620eb](https://github.com/imrj05/unified-ui/commit/1e620ebb87a8f04079f9f266e769e3ba9e327293))
|
|
108
|
+
- Merge branch 'main' of github.com:imrj05/unified-ui ([d85b413](https://github.com/imrj05/unified-ui/commit/d85b413531b6e38eabf397f6347b6cbb740dd961))
|
|
109
|
+
- Merge branch 'main' of github.com:imrj05/unified-ui ([055de42](https://github.com/imrj05/unified-ui/commit/055de4202aa7a813902e5beeeddfd0ae904c29f0))
|
|
28
110
|
- Add CHANGELOG for packages/unified-ui ([06dc82a](https://github.com/imrj05/unified-ui/commit/06dc82a36328e9a289adea9eaade36abd0f49bdf))
|
|
29
111
|
- Add changelog generator and update workflow
|
|
112
|
+
|
|
30
113
|
Add .github/scripts/generate-changelog.sh and call it from the
|
|
31
114
|
changelog workflow. Also add .zed/settings.json with editor/assistant
|
|
32
115
|
settings. ([bbd4f82](https://github.com/imrj05/unified-ui/commit/bbd4f827837dd91acbf5be5005ca3c4cc50c38aa))
|
|
33
116
|
- Ignore CI changelog and set workflow shell to bash ([ac4da0a](https://github.com/imrj05/unified-ui/commit/ac4da0a4851cfd75930bc8208df04fc395963bfc))
|
|
34
117
|
- Merge branch 'main' of github.com:imrj05/unified-ui ([1ae2200](https://github.com/imrj05/unified-ui/commit/1ae2200684ee757e24fa6ba7f7a342c76dc4d959))
|
|
35
118
|
- Automate changelog and release workflow
|
|
119
|
+
|
|
36
120
|
Add a custom changelog workflow that parses Conventional Commits and
|
|
37
121
|
prepends entries into packages/unified-ui/CHANGELOG.md without
|
|
38
122
|
overwriting
|
|
@@ -42,14 +126,22 @@ versions, build and publish the design system, promote [Unreleased] → a
|
|
|
42
126
|
versioned changelog entry, and create the GitHub Release with notes.
|
|
43
127
|
Update cliff.toml comments to reflect its role for GitHub release notes. ([a1167e7](https://github.com/imrj05/unified-ui/commit/a1167e7bef2fb78093408738c450a8d2da70f3af))
|
|
44
128
|
## [0.2.1] — 2026-03-06
|
|
129
|
+
|
|
45
130
|
### 🐛 Bug Fixes
|
|
131
|
+
|
|
46
132
|
- Update placeholder API key in ConfirmDialog documentation ([6ca53c5](https://github.com/imrj05/unified-ui/commit/6ca53c5d1cecaee31afb376b860908981d9bf04c))
|
|
133
|
+
|
|
47
134
|
### 🔧 Refactors
|
|
135
|
+
|
|
48
136
|
- Clean up formatting and remove unnecessary whitespace in ConfirmDialog documentation ([a8c382f](https://github.com/imrj05/unified-ui/commit/a8c382fbdcf0038b9e85160e472e45ac98da7579))
|
|
137
|
+
|
|
49
138
|
### Other
|
|
139
|
+
|
|
50
140
|
- Add automated changelog and release workflows
|
|
141
|
+
|
|
51
142
|
Include git-cliff config and CI workflows for changelog generation
|
|
52
143
|
and releases
|
|
144
|
+
|
|
53
145
|
- Add cliff.toml and .github/workflows/changelog.yml to auto-generate
|
|
54
146
|
packages/unified-ui/CHANGELOG.md from Conventional Commits on pushes
|
|
55
147
|
to main
|
|
@@ -61,18 +153,22 @@ and releases
|
|
|
61
153
|
- Commit generated CHANGELOG.md and bump @work-rjkashyap/unified-ui to
|
|
62
154
|
0.2.1 ([8e036bd](https://github.com/imrj05/unified-ui/commit/8e036bdf7e9004f43a28f01a8a220a49f4afd8fd))
|
|
63
155
|
- Use unified-ui-rajeshwar registry
|
|
156
|
+
|
|
64
157
|
Add a build:registry step to the root build script; update CLI and
|
|
65
158
|
registry build scripts to use the new registry homepage and tweak
|
|
66
159
|
imports/formatting. Bump typography and spacing across home components
|
|
67
160
|
for improved readability. ([c55b091](https://github.com/imrj05/unified-ui/commit/c55b091dfb5843ad1a89230740cf5646f918f897))
|
|
68
161
|
- Format Confirm Dialog MDX and fix examples
|
|
162
|
+
|
|
69
163
|
Adjust whitespace and indentation in
|
|
70
164
|
content/components/confirm-dialog.mdx.
|
|
71
165
|
Separate the AlertDialog primitives example from the barrel import and
|
|
72
166
|
clean
|
|
73
167
|
up code fences for usage, variants, and preview snippets. ([50a0c83](https://github.com/imrj05/unified-ui/commit/50a0c830ac27441b9fdcd6bb415f2bf8d7f6e260))
|
|
74
168
|
## [0.2.0] — 2026-03-05
|
|
169
|
+
|
|
75
170
|
### 🚀 Features
|
|
171
|
+
|
|
76
172
|
- Enhance component previews and theme customizer
|
|
77
173
|
- Added VSCodeCodeBlock for improved code display in ComponentPage.
|
|
78
174
|
- Introduced CustomizerPanel for theme customization options including color, radius, font, shadow, and surface styles.
|
|
@@ -86,10 +182,14 @@ up code fences for usage, variants, and preview snippets. ([50a0c83](https://git
|
|
|
86
182
|
- Added Toggle to the unified-ui index for export.
|
|
87
183
|
- Created navigation component previews for ContextMenu, Menubar, Steps, and Command, showcasing various states and interactions.
|
|
88
184
|
- Updated MDX components to include new previews for documentation. ([63b0f57](https://github.com/imrj05/unified-ui/commit/63b0f57dcc8150f5648b7541b8d93d70f42ebd45))
|
|
185
|
+
|
|
89
186
|
### 🔧 Refactors
|
|
187
|
+
|
|
90
188
|
- Clean up component code formatting and structure in navigation menu, popover, and scroll area ([c0935d9](https://github.com/imrj05/unified-ui/commit/c0935d92ca5324338f590d25a2406ca85e0921f3))
|
|
91
189
|
## [0.1.2] — 2026-03-02
|
|
190
|
+
|
|
92
191
|
### 🚀 Features
|
|
192
|
+
|
|
93
193
|
- Integrate theme customizer and improve UI components
|
|
94
194
|
- Added ThemeCustomizerProvider and ThemeCustomizerTrigger to layout for theme customization.
|
|
95
195
|
- Updated button styles to enhance focus visibility and hover effects.
|
|
@@ -98,17 +198,25 @@ up code fences for usage, variants, and preview snippets. ([50a0c83](https://git
|
|
|
98
198
|
- Enhanced data table demo with consistent text color updates.
|
|
99
199
|
- Improved scroll area component for better overflow handling.
|
|
100
200
|
- Updated TypeScript configuration to include new unified-ui paths for better module resolution. ([69bb594](https://github.com/imrj05/unified-ui/commit/69bb5940835fb0d45f29d21e4bf4bb44f67c66e1))
|
|
201
|
+
|
|
101
202
|
### 🏗️ Miscellaneous
|
|
203
|
+
|
|
102
204
|
- Bump version to 0.1.2 and update changelog ([b09bbbf](https://github.com/imrj05/unified-ui/commit/b09bbbf4de830fad0211f8491e622436dc0ce783))
|
|
205
|
+
|
|
103
206
|
### Other
|
|
207
|
+
|
|
104
208
|
- Regenerate package-lock
|
|
209
|
+
|
|
105
210
|
Bump @biomejs/biome to 2.4.4 and shikijs packages to 3.23.0.
|
|
106
211
|
Consolidate duplicated @radix-ui/react-slot entries into one resolved
|
|
107
212
|
entry. Lockfile churn from dependency updates only. ([2d0f0ed](https://github.com/imrj05/unified-ui/commit/2d0f0ed95660e49b64c5135e27e732747541b2b1))
|
|
108
213
|
- Revise README with expanded overview and docs ([f67f910](https://github.com/imrj05/unified-ui/commit/f67f910d6542877e57f6ad54b62d10538021b5f8))
|
|
109
214
|
## [0.1.1] — 2026-02-28
|
|
215
|
+
|
|
110
216
|
### Other
|
|
217
|
+
|
|
111
218
|
- Add DataTable, docs overhaul, and bump version
|
|
219
|
+
|
|
112
220
|
Implement a full DataTable component (TanStack Table) and export
|
|
113
221
|
hooks/types.
|
|
114
222
|
Bump UNIFIED_UI_VERSION to 0.1.1 and update package metadata (homepage,
|
|
@@ -119,6 +227,7 @@ previews and update icons/imports. Add ToastPreview demo component and
|
|
|
119
227
|
adjust
|
|
120
228
|
site links/README/CHANGELOG accordingly. ([8fb7338](https://github.com/imrj05/unified-ui/commit/8fb7338ca305daac24a6b595bf1ea30022d1e250))
|
|
121
229
|
- Add DataTable component and docs
|
|
230
|
+
|
|
122
231
|
Introduce DataTable powered by TanStack Table with sorting,
|
|
123
232
|
filtering, pagination, row selection, column visibility and a
|
|
124
233
|
useDataTable hook. Add a DataTableDemo component and a full MDX
|
|
@@ -126,14 +235,18 @@ documentation page. Also add a global hide-scrollbar CSS utility
|
|
|
126
235
|
and miscellaneous layout/formatting updates to notebook/sidebar
|
|
127
236
|
components. ([f10f8f0](https://github.com/imrj05/unified-ui/commit/f10f8f0fbc04321d545a0b1abe2e538a861b140b))
|
|
128
237
|
- Add @work-rjkashyap/unified-ui dependency
|
|
238
|
+
|
|
129
239
|
Move framer-motion to optionalDependencies and reorder devDependencies.
|
|
130
240
|
Format typesVersions arrays and update package-lock.json accordingly ([a3dec68](https://github.com/imrj05/unified-ui/commit/a3dec6872110b6db3de18ccb3152e8a3b4a3fd85))
|
|
131
241
|
## [0.1.0] — 2026-02-27
|
|
242
|
+
|
|
132
243
|
### 🚀 Features
|
|
244
|
+
|
|
133
245
|
- Publish @work-rjkashyap/unified-ui@0.1.0 to npm
|
|
134
246
|
Rename package scope from @unified-ui/react to
|
|
135
247
|
@work-rjkashyap/unified-ui
|
|
136
248
|
to match npm organization ownership.
|
|
249
|
+
|
|
137
250
|
Updated references across 39 files:
|
|
138
251
|
- packages/unified-ui/package.json (package name)
|
|
139
252
|
- Root package.json (workspace scripts + dependency)
|
|
@@ -168,7 +281,9 @@ Rename package scope from @unified-ui/react to
|
|
|
168
281
|
- Developed a table of contents (TOC) component with dynamic resizing and rendering based on headings.
|
|
169
282
|
- Enhanced UI components including buttons, collapsibles, navigation menus, and popovers for better usability and aesthetics.
|
|
170
283
|
- Introduced utility functions for merging refs and normalizing URLs. ([1b5c1da](https://github.com/imrj05/unified-ui/commit/1b5c1dad14d4720dc37cf3f388ea30d7afc5efae))
|
|
284
|
+
|
|
171
285
|
### 🔧 Refactors
|
|
286
|
+
|
|
172
287
|
- Streamline HomeLayout component structure and improve readability ([4b3321d](https://github.com/imrj05/unified-ui/commit/4b3321de6a308a3a93938ed4af0e6d07f0bf17c9))
|
|
173
288
|
- Improve layout components and sidebar functionality
|
|
174
289
|
- Refactored LayoutContext and LayoutContextProvider for better readability and performance.
|
|
@@ -179,5 +294,7 @@ Rename package scope from @unified-ui/react to
|
|
|
179
294
|
- Updated Popover and ScrollArea components for better z-index management and scroll behavior. ([1ae241f](https://github.com/imrj05/unified-ui/commit/1ae241f315563fd789bc176bdb0c45226ee1160a))
|
|
180
295
|
- Improve code formatting and readability across layout components ([08653fd](https://github.com/imrj05/unified-ui/commit/08653fdb7bccc8201ea9c826c663d0b2298a85a4))
|
|
181
296
|
- Format code for improved readability in HomeLayout component ([830877e](https://github.com/imrj05/unified-ui/commit/830877e2120c14ae964ca79186e99992fd4b9a9b))
|
|
297
|
+
|
|
182
298
|
### Other
|
|
299
|
+
|
|
183
300
|
- Initial commit from Create Fumadocs App ([8fd3237](https://github.com/imrj05/unified-ui/commit/8fd3237b58fb87870e9db4b5aac9ec98060d2362))
|
package/bin/cli.mjs
CHANGED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZBGR7MUW_cjs = require('./chunk-ZBGR7MUW.cjs');
|
|
4
4
|
var chunkECIGDEAH_cjs = require('./chunk-ECIGDEAH.cjs');
|
|
5
5
|
var chunkXCKK6P46_cjs = require('./chunk-XCKK6P46.cjs');
|
|
6
6
|
var chunk4ON3M3OM_cjs = require('./chunk-4ON3M3OM.cjs');
|
|
@@ -138,10 +138,10 @@ function mapRecord(varNames, values) {
|
|
|
138
138
|
}
|
|
139
139
|
function buildLightThemeVars() {
|
|
140
140
|
return {
|
|
141
|
-
...mapRecord(colorVarNames,
|
|
142
|
-
...mapRecord(radiusVarNames,
|
|
143
|
-
...mapRecord(shadowVarNames,
|
|
144
|
-
...mapRecord(zIndexVarNames,
|
|
141
|
+
...mapRecord(colorVarNames, chunkZBGR7MUW_cjs.semanticLight),
|
|
142
|
+
...mapRecord(radiusVarNames, chunkZBGR7MUW_cjs.radius),
|
|
143
|
+
...mapRecord(shadowVarNames, chunkZBGR7MUW_cjs.shadow),
|
|
144
|
+
...mapRecord(zIndexVarNames, chunkZBGR7MUW_cjs.zIndex),
|
|
145
145
|
...mapRecord(durationVarNames, chunkXCKK6P46_cjs.durationCSS),
|
|
146
146
|
...mapRecord(easingVarNames, chunkXCKK6P46_cjs.easingCSS),
|
|
147
147
|
...mapRecord(fontFamilyVarNames, chunkECIGDEAH_cjs.fontFamily)
|
|
@@ -149,10 +149,10 @@ function buildLightThemeVars() {
|
|
|
149
149
|
}
|
|
150
150
|
function buildDarkThemeVars() {
|
|
151
151
|
return {
|
|
152
|
-
...mapRecord(colorVarNames,
|
|
153
|
-
...mapRecord(radiusVarNames,
|
|
154
|
-
...mapRecord(shadowVarNames,
|
|
155
|
-
...mapRecord(zIndexVarNames,
|
|
152
|
+
...mapRecord(colorVarNames, chunkZBGR7MUW_cjs.semanticDark),
|
|
153
|
+
...mapRecord(radiusVarNames, chunkZBGR7MUW_cjs.radius),
|
|
154
|
+
...mapRecord(shadowVarNames, chunkZBGR7MUW_cjs.shadowDark),
|
|
155
|
+
...mapRecord(zIndexVarNames, chunkZBGR7MUW_cjs.zIndex),
|
|
156
156
|
...mapRecord(durationVarNames, chunkXCKK6P46_cjs.durationCSS),
|
|
157
157
|
...mapRecord(easingVarNames, chunkXCKK6P46_cjs.easingCSS),
|
|
158
158
|
...mapRecord(fontFamilyVarNames, chunkECIGDEAH_cjs.fontFamily)
|
|
@@ -215,48 +215,48 @@ var cssVar = {
|
|
|
215
215
|
|
|
216
216
|
// src/theme/presets.ts
|
|
217
217
|
var STATUS_LIGHT = {
|
|
218
|
-
success:
|
|
218
|
+
success: chunkZBGR7MUW_cjs.green[600],
|
|
219
219
|
successForeground: "oklch(0.145 0 0)",
|
|
220
|
-
successMuted:
|
|
221
|
-
successMutedForeground:
|
|
222
|
-
warning:
|
|
220
|
+
successMuted: chunkZBGR7MUW_cjs.green[50],
|
|
221
|
+
successMutedForeground: chunkZBGR7MUW_cjs.green[700],
|
|
222
|
+
warning: chunkZBGR7MUW_cjs.amber[500],
|
|
223
223
|
warningForeground: "oklch(0.145 0 0)",
|
|
224
|
-
warningMuted:
|
|
225
|
-
warningMutedForeground:
|
|
226
|
-
danger:
|
|
224
|
+
warningMuted: chunkZBGR7MUW_cjs.amber[50],
|
|
225
|
+
warningMutedForeground: chunkZBGR7MUW_cjs.amber[700],
|
|
226
|
+
danger: chunkZBGR7MUW_cjs.red[600],
|
|
227
227
|
dangerForeground: "oklch(0.985 0 0)",
|
|
228
|
-
dangerHover:
|
|
229
|
-
dangerActive:
|
|
230
|
-
dangerMuted:
|
|
231
|
-
dangerMutedForeground:
|
|
232
|
-
destructive:
|
|
228
|
+
dangerHover: chunkZBGR7MUW_cjs.red[700],
|
|
229
|
+
dangerActive: chunkZBGR7MUW_cjs.red[800],
|
|
230
|
+
dangerMuted: chunkZBGR7MUW_cjs.red[50],
|
|
231
|
+
dangerMutedForeground: chunkZBGR7MUW_cjs.red[700],
|
|
232
|
+
destructive: chunkZBGR7MUW_cjs.red[600],
|
|
233
233
|
destructiveForeground: "oklch(0.985 0 0)",
|
|
234
|
-
info:
|
|
234
|
+
info: chunkZBGR7MUW_cjs.blue[600],
|
|
235
235
|
infoForeground: "oklch(0.985 0 0)",
|
|
236
|
-
infoMuted:
|
|
237
|
-
infoMutedForeground:
|
|
236
|
+
infoMuted: chunkZBGR7MUW_cjs.blue[50],
|
|
237
|
+
infoMutedForeground: chunkZBGR7MUW_cjs.blue[700]
|
|
238
238
|
};
|
|
239
239
|
var STATUS_DARK = {
|
|
240
|
-
success:
|
|
240
|
+
success: chunkZBGR7MUW_cjs.green[500],
|
|
241
241
|
successForeground: "oklch(0.145 0 0)",
|
|
242
|
-
successMuted:
|
|
243
|
-
successMutedForeground:
|
|
244
|
-
warning:
|
|
242
|
+
successMuted: chunkZBGR7MUW_cjs.green[950],
|
|
243
|
+
successMutedForeground: chunkZBGR7MUW_cjs.green[300],
|
|
244
|
+
warning: chunkZBGR7MUW_cjs.amber[400],
|
|
245
245
|
warningForeground: "oklch(0.145 0 0)",
|
|
246
|
-
warningMuted:
|
|
247
|
-
warningMutedForeground:
|
|
248
|
-
danger:
|
|
246
|
+
warningMuted: chunkZBGR7MUW_cjs.amber[950],
|
|
247
|
+
warningMutedForeground: chunkZBGR7MUW_cjs.amber[300],
|
|
248
|
+
danger: chunkZBGR7MUW_cjs.red[500],
|
|
249
249
|
dangerForeground: "oklch(0.985 0 0)",
|
|
250
|
-
dangerHover:
|
|
251
|
-
dangerActive:
|
|
252
|
-
dangerMuted:
|
|
253
|
-
dangerMutedForeground:
|
|
254
|
-
destructive:
|
|
250
|
+
dangerHover: chunkZBGR7MUW_cjs.red[400],
|
|
251
|
+
dangerActive: chunkZBGR7MUW_cjs.red[300],
|
|
252
|
+
dangerMuted: chunkZBGR7MUW_cjs.red[950],
|
|
253
|
+
dangerMutedForeground: chunkZBGR7MUW_cjs.red[300],
|
|
254
|
+
destructive: chunkZBGR7MUW_cjs.red[500],
|
|
255
255
|
destructiveForeground: "oklch(0.985 0 0)",
|
|
256
|
-
info:
|
|
256
|
+
info: chunkZBGR7MUW_cjs.blue[400],
|
|
257
257
|
infoForeground: "oklch(0.145 0 0)",
|
|
258
|
-
infoMuted:
|
|
259
|
-
infoMutedForeground:
|
|
258
|
+
infoMuted: chunkZBGR7MUW_cjs.blue[950],
|
|
259
|
+
infoMutedForeground: chunkZBGR7MUW_cjs.blue[300]
|
|
260
260
|
};
|
|
261
261
|
var CHART_LIGHT = {
|
|
262
262
|
chart1: "oklch(0.646 0.222 41.116)",
|
|
@@ -416,7 +416,7 @@ function buildNeutralPreset(name, key, palette) {
|
|
|
416
416
|
disabledForeground: palette[600],
|
|
417
417
|
sidebar: palette[900],
|
|
418
418
|
sidebarForeground: palette[50],
|
|
419
|
-
sidebarPrimary:
|
|
419
|
+
sidebarPrimary: chunkZBGR7MUW_cjs.blue[600],
|
|
420
420
|
sidebarPrimaryForeground: palette[50],
|
|
421
421
|
sidebarAccent: palette[800],
|
|
422
422
|
sidebarAccentForeground: palette[50],
|
|
@@ -425,7 +425,7 @@ function buildNeutralPreset(name, key, palette) {
|
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
}
|
|
428
|
-
function buildChromaticPreset(name, key, primary, surface =
|
|
428
|
+
function buildChromaticPreset(name, key, primary, surface = chunkZBGR7MUW_cjs.zinc) {
|
|
429
429
|
return {
|
|
430
430
|
name,
|
|
431
431
|
key,
|
|
@@ -527,16 +527,16 @@ var COLOR_PRESETS = [
|
|
|
527
527
|
// Neutral Presets (achromatic primaries)
|
|
528
528
|
// -------------------------------------------------------------------------
|
|
529
529
|
{
|
|
530
|
-
swatch:
|
|
531
|
-
...buildNeutralPreset("Zinc", "zinc",
|
|
530
|
+
swatch: chunkZBGR7MUW_cjs.zinc[900],
|
|
531
|
+
...buildNeutralPreset("Zinc", "zinc", chunkZBGR7MUW_cjs.zinc)
|
|
532
532
|
},
|
|
533
533
|
{
|
|
534
|
-
swatch:
|
|
535
|
-
...buildNeutralPreset("Slate", "slate",
|
|
534
|
+
swatch: chunkZBGR7MUW_cjs.slate[900],
|
|
535
|
+
...buildNeutralPreset("Slate", "slate", chunkZBGR7MUW_cjs.slate)
|
|
536
536
|
},
|
|
537
537
|
{
|
|
538
|
-
swatch:
|
|
539
|
-
...buildNeutralPreset("Gray", "gray",
|
|
538
|
+
swatch: chunkZBGR7MUW_cjs.gray[900],
|
|
539
|
+
...buildNeutralPreset("Gray", "gray", chunkZBGR7MUW_cjs.gray)
|
|
540
540
|
},
|
|
541
541
|
{
|
|
542
542
|
swatch: stone[900],
|
|
@@ -550,12 +550,12 @@ var COLOR_PRESETS = [
|
|
|
550
550
|
// Chromatic Presets (colored primaries)
|
|
551
551
|
// -------------------------------------------------------------------------
|
|
552
552
|
{
|
|
553
|
-
swatch:
|
|
554
|
-
...buildChromaticPreset("Blue", "blue",
|
|
553
|
+
swatch: chunkZBGR7MUW_cjs.blue[600],
|
|
554
|
+
...buildChromaticPreset("Blue", "blue", chunkZBGR7MUW_cjs.blue)
|
|
555
555
|
},
|
|
556
556
|
{
|
|
557
|
-
swatch:
|
|
558
|
-
...buildChromaticPreset("Green", "green",
|
|
557
|
+
swatch: chunkZBGR7MUW_cjs.green[600],
|
|
558
|
+
...buildChromaticPreset("Green", "green", chunkZBGR7MUW_cjs.green)
|
|
559
559
|
},
|
|
560
560
|
{
|
|
561
561
|
swatch: violet[600],
|
|
@@ -570,16 +570,16 @@ var COLOR_PRESETS = [
|
|
|
570
570
|
...buildChromaticPreset("Orange", "orange", orange)
|
|
571
571
|
},
|
|
572
572
|
{
|
|
573
|
-
swatch:
|
|
574
|
-
...buildChromaticPreset("Red", "red",
|
|
573
|
+
swatch: chunkZBGR7MUW_cjs.red[600],
|
|
574
|
+
...buildChromaticPreset("Red", "red", chunkZBGR7MUW_cjs.red)
|
|
575
575
|
},
|
|
576
576
|
{
|
|
577
|
-
swatch:
|
|
578
|
-
...buildChromaticPreset("Teal", "teal",
|
|
577
|
+
swatch: chunkZBGR7MUW_cjs.teal[600],
|
|
578
|
+
...buildChromaticPreset("Teal", "teal", chunkZBGR7MUW_cjs.teal)
|
|
579
579
|
},
|
|
580
580
|
{
|
|
581
|
-
swatch:
|
|
582
|
-
...buildChromaticPreset("Brand", "brand",
|
|
581
|
+
swatch: chunkZBGR7MUW_cjs.brand[600],
|
|
582
|
+
...buildChromaticPreset("Brand", "brand", chunkZBGR7MUW_cjs.brand)
|
|
583
583
|
}
|
|
584
584
|
];
|
|
585
585
|
function getColorPreset(key) {
|