@viliha/vui-ui 1.1.0 → 1.1.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/AGENT.md CHANGED
@@ -226,6 +226,20 @@ Allow RecordView to manage:
226
226
  - bulk actions
227
227
  - import/export
228
228
 
229
+ ## Add / edit form
230
+
231
+ The buffered add/edit form renders in one of two layouts:
232
+
233
+ - **Slide-over panel** — the default; nothing to configure.
234
+ - **Full-page form** — set `formMode="page"` (with `formColumns={1 | 2}`). Add
235
+ `formDescription` and a per-field `description` to show an AWS-style help
236
+ panel beside the form.
237
+
238
+ For the form on its own URL, render the exported `RecordForm` on a route and use
239
+ controlled data (`data` + `onDataChange`) with `onCreate` / `onView` / `onEdit`
240
+ to navigate instead of opening the overlay. Breadcrumbs everywhere come from the
241
+ shared `@viliha/vui-ui/breadcrumbs` component.
242
+
229
243
  ---
230
244
 
231
245
  # Charts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viliha/vui-ui",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Vui UI — a clean, token-driven React admin/CRM component library built on Tailwind CSS v4, shadcn-style patterns, and Radix Icons. Ships as TypeScript source (Just-in-Time), compiled by the consuming app.",
5
5
  "license": "MIT",
6
6
  "author": "Suman Bonakurthi",
@@ -1515,7 +1515,7 @@ function RecordDetailPanel<T extends { id: RowId }>({
1515
1515
 
1516
1516
  // Footer actions — View shows Close/Edit; Add/Edit shows Cancel/Save.
1517
1517
  const formFooter = (
1518
- <div className="flex shrink-0 items-center justify-end gap-2 border-t border-border px-4 py-3">
1518
+ <div className="flex shrink-0 items-center justify-end gap-2 border-y border-border bg-muted/40 px-4 py-3">
1519
1519
  {readOnly ? (
1520
1520
  <>
1521
1521
  <Button onClick={() => dismiss(onCancel)}>