|
1 | | -# ShellUI v0.3.0-alpha.2 🚧 |
| 1 | +# ShellUI v0.3.0-alpha.3 🚧 |
| 2 | + |
| 3 | +> Third alpha of v0.3.0 — dashboard sidebar blocks, JS install fixes, and NuGet Core packaging. Report issues via [GitHub Issues](https://github.com/shellui-dev/shellui/issues). |
| 4 | +
|
| 5 | +## What's in this release |
| 6 | + |
| 7 | +v0.3.0-alpha.3 adds shadcn-style dashboard layout blocks, completes the sidebar component install chain (including JavaScript interop), and fixes NuGet so `ShellUI.Components` can resolve `ShellUI.Core`. |
| 8 | + |
| 9 | +### ✨ New |
| 10 | + |
| 11 | +- **Dashboard layout blocks** — `dotnet shellui add dashboard-01` (header scrolls, shadcn sidebar-01) and `dashboard-02` (sticky header, shadcn sidebar-02) |
| 12 | +- **`shellui-js` template** — installs `wwwroot/shellui.js` at init and as a dependency of `copy-button` / `file-upload` |
| 13 | +- **Blocks demo** — `/blocks` page with live previews, install commands, and `CopyButton` per block |
| 14 | +- **`DashboardDemoSidebar`** — isolated demo sidebar content (separate from main app sidebar) |
| 15 | + |
| 16 | +### 🐛 Fixes |
| 17 | + |
| 18 | +- **NuGet: `ShellUI.Core` now published** — `ShellUI.Core` is packable; release workflow pushes Core + Components so `dotnet add package ShellUI.Components` restores successfully (was NU1102 when only Core 0.1.0 existed on NuGet) |
| 19 | +- **Dependency auto-install** — variant/service templates (`alert-variants`, `badge-variants`, `avatar-variants`, `sonner-variants`, `sonner-service`, `toggle-variants`) marked `IsAvailable = false` so they install only with their parent |
| 20 | +- **Breadcrumb** — single `dotnet shellui add breadcrumb`; `breadcrumb-item` auto-installed |
| 21 | +- **Blazor error UI** — hidden until an error occurs (`.show` class) |
| 22 | +- **Init** — installs `shellui.js` and reminds you to add `<script src="shellui.js"></script>` in App.razor or index.html |
| 23 | + |
| 24 | +### 🔧 Sidebar / JS |
| 25 | + |
| 26 | +| Asset | Installed when | CLI usage | |
| 27 | +|-------|----------------|-----------| |
| 28 | +| `shellui-sidebar.js` | `sidebar-provider` → `sidebar-js` | Dynamic import in `SidebarProvider` | |
| 29 | +| `shellui.js` | `init`, `copy-button`, `file-upload` | Global `ShellUI.*`; requires script tag in HTML | |
| 30 | + |
| 31 | +NuGet consumers: both JS files ship as static web assets under `_content/ShellUI.Components/`. |
| 32 | + |
| 33 | +### 📦 Installation |
| 34 | + |
| 35 | +```bash |
| 36 | +# CLI |
| 37 | +dotnet tool install -g ShellUI.CLI --version 0.3.0-alpha.3 |
| 38 | +# or |
| 39 | +dotnet tool update -g ShellUI.CLI --version 0.3.0-alpha.3 |
| 40 | + |
| 41 | +shellui init |
| 42 | +shellui add dashboard-01 # or dashboard-02 |
| 43 | +``` |
| 44 | + |
| 45 | +```bash |
| 46 | +# NuGet (requires ShellUI.Core on NuGet at same version) |
| 47 | +dotnet add package ShellUI.Core --version 0.3.0-alpha.3 --prerelease |
| 48 | +dotnet add package ShellUI.Components --version 0.3.0-alpha.3 --prerelease |
| 49 | +``` |
| 50 | + |
| 51 | +After `shellui init`, add before the Blazor script: |
| 52 | + |
| 53 | +```html |
| 54 | +<script src="shellui.js"></script> |
| 55 | +``` |
| 56 | + |
| 57 | +## 🔗 Links |
| 58 | + |
| 59 | +- **Documentation**: https://shellui.dev |
| 60 | +- **GitHub**: https://github.com/shellui-dev/shellui |
| 61 | +- **NuGet**: https://www.nuget.org/packages/ShellUI.Components |
| 62 | + |
| 63 | +**Full Changelog**: https://github.com/shellui-dev/shellui/compare/v0.3.0-alpha.2...v0.3.0-alpha.3 |
| 64 | + |
| 65 | +--- |
| 66 | + |
| 67 | +# ShellUI v0.3.0-alpha.2 🚧 (Historical) |
2 | 68 |
|
3 | 69 | > Second alpha of v0.3.0 — fixes CLI registry for Drawer/Sheet compositional subcomponents. Report issues via [GitHub Issues](https://github.com/shellui-dev/shellui/issues). |
4 | 70 |
|
|
0 commit comments