@svadmin/create 0.40.1 → 0.40.2
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/guidance/DESIGN.md +6 -3
- package/package.json +1 -1
- package/scaffold-manifest.json +1 -1
package/guidance/DESIGN.md
CHANGED
|
@@ -300,10 +300,10 @@ Use `PagePattern` for custom business compositions that do not fit those
|
|
|
300
300
|
resource routes. It supplies layout only, not querying, permissions, form
|
|
301
301
|
submission, or loading/error handling:
|
|
302
302
|
|
|
303
|
-
- `list`:
|
|
303
|
+
- `list`: comfortable title, toolbar, table/list content, and list empty states.
|
|
304
304
|
- `form`: narrow reading width, comfortable grouped fields and a single save area.
|
|
305
305
|
- `detail`: read-only summary and related content.
|
|
306
|
-
- `workspace`: primary work area plus an optional secondary panel.
|
|
306
|
+
- `workspace`: comfortable primary work area plus an optional secondary panel.
|
|
307
307
|
- `dashboard`: wide layout with optional metrics and secondary context.
|
|
308
308
|
|
|
309
309
|
Optional `secondary` content renders beside the primary content for every kind.
|
|
@@ -357,7 +357,10 @@ cards, repeated title bars, or unrestricted two-column fields.
|
|
|
357
357
|
persistence request succeeds; preserve edits after failure.
|
|
358
358
|
- Separate initial-empty content from filtered-no-results content. Offer
|
|
359
359
|
creation only when permitted, and clearing filters only when filters exist.
|
|
360
|
-
-
|
|
360
|
+
- Page patterns default to comfortable density so generated and custom pages
|
|
361
|
+
have a consistent baseline. Use compact density explicitly for operational
|
|
362
|
+
work that prioritizes scanning speed; use comfortable density for forms and
|
|
363
|
+
general-purpose pages.
|
|
361
364
|
- Reference `packages/ui/stories/ConfigurationExample.svelte` in the SVAdmin
|
|
362
365
|
source for a working composition; its save action is in-memory demo state,
|
|
363
366
|
not a persistence implementation.
|
package/package.json
CHANGED
package/scaffold-manifest.json
CHANGED