From a642f3bcd7ba01a7833cfb5726a63d9f31d63bc7 Mon Sep 17 00:00:00 2001 From: Vivek Date: Wed, 7 Oct 2026 16:43:32 +0530 Subject: [PATCH] chore: release ui 0.3.17 Ships the empty, spinner and field components, so a generated app gets the kit's empty state, busy indicator and form-field primitives from `webjs ui add` instead of hand-rolling them. Claude-Session: https://claude.ai/code/session_01SZ72LSPAo4NvYvBDSD6RLo --- changelog/ui/0.3.17.md | 19 +++++++++++++++++++ package-lock.json | 2 +- packages/ui/package.json | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 changelog/ui/0.3.17.md diff --git a/changelog/ui/0.3.17.md b/changelog/ui/0.3.17.md new file mode 100644 index 000000000..3870063f4 --- /dev/null +++ b/changelog/ui/0.3.17.md @@ -0,0 +1,19 @@ +--- +package: "@webjsdev/ui" +version: 0.3.17 +date: 2026-10-07T11:13:32.305Z +commit_count: 1 +--- +## Features + +- **add empty, spinner and field components** ([#1571](https://github.com/webjsdev/webjs/pull/1571)) [`128fadbb`](https://github.com/webjsdev/webjs/commit/128fadbb) + Three new Tier-1 components with shadcn parity. `empty` is the empty state + for a list or region (`emptyClass`, `emptyHeaderClass`, + `emptyMediaClass({ variant })`, `emptyTitleClass`, `emptyDescriptionClass`, + `emptyContentClass`). `spinner` is a busy indicator (`spinnerClass` plus + `spinner({ class, label, decorative })`, an inline SVG with `role="status"`). + `field` is the form-field layout system (`fieldSetClass`, `fieldLegendClass`, + `fieldGroupClass`, `fieldClass({ orientation })`, `fieldContentClass`, + `fieldLabelClass`, `fieldTitleClass`, `fieldDescriptionClass`, + `fieldErrorClass`, `fieldSeparatorClass`, `fieldSeparatorContentClass`). Add + them with `webjs ui add empty spinner field`. diff --git a/package-lock.json b/package-lock.json index acfb49666..23311987d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7086,7 +7086,7 @@ }, "packages/ui": { "name": "@webjsdev/ui", - "version": "0.3.16", + "version": "0.3.17", "license": "MIT", "dependencies": { "commander": "^14.0.0", diff --git a/packages/ui/package.json b/packages/ui/package.json index 34525ecd4..cb26f5f49 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@webjsdev/ui", - "version": "0.3.16", + "version": "0.3.17", "type": "module", "description": "The AI-first component library for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Class-helper functions for visuals, custom elements only where state matters, source-copied into your repo so you own it.", "bin": {