@svadmin/lite 0.8.0 → 0.8.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.
Files changed (2) hide show
  1. package/README.md +18 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,7 +13,7 @@ The main `@svadmin/ui` package delivers a premium SPA experience using Svelte 5,
13
13
  **What Lite is:**
14
14
  - A **Zero-JS SSR-first admin component suite** designed with an IE11-safe CSS baseline.
15
15
  - 100% interoperable with `@svadmin/core` — sharing the same `DataProvider`, `AuthProvider`, `Resource`, and `FieldDefinition` contracts.
16
- - An architectural companion to `@svadmin/ui` achieving **100% component parity (72/72 components)** through 1:1 server-rendered matches or deliberate semantic fallbacks.
16
+ - An architectural companion to `@svadmin/ui` achieving **100% component parity (103/103 components)** through 1:1 server-rendered matches, deliberate semantic fallbacks, or explicit SPA-only classification.
17
17
  - **Not** a generic Tailwind-to-IE11 compiler or a full client-side port of shadcn-svelte (which depends on modern browser JS runtimes and CSS custom properties).
18
18
 
19
19
  `@svadmin/lite` provides a server-rendered fallback that **shares the same DataProvider, AuthProvider, and Resource definitions** — only the rendering layer is different.
@@ -246,7 +246,7 @@ IE11 before the decision is made.
246
246
 
247
247
  ## Components & Parity (100% Coverage)
248
248
 
249
- `@svadmin/lite` provides **100% component parity** (72/72 components) corresponding to `@svadmin/ui`. See [PARITY.md](./PARITY.md) for the complete matrix.
249
+ `@svadmin/lite` provides **100% component parity** (103/103 components) corresponding to `@svadmin/ui`. See [PARITY.md](./PARITY.md) for the generated complete matrix and status details.
250
250
 
251
251
  ### Core Pages & Layout
252
252
 
@@ -257,6 +257,9 @@ IE11 before the decision is made.
257
257
  | `LiteListPage` | Full-featured list view with search, table, bulk actions, and pagination |
258
258
  | `LiteCreatePage` / `LiteEditPage` | Auto-generated CRUD form pages |
259
259
  | `LiteShowPage` | Key-value record view with typed field renderers |
260
+ | `LiteMasterDetailView` | URL-synchronized master/detail workspace |
261
+ | `LitePrintableBill` | Controlled A4-style printable business record |
262
+ | `LitePdfDocumentViewer` | Embedded PDF review with document stamp and annotation support |
260
263
  | `LiteProfilePage` | User profile management page with avatar and info |
261
264
  | `LiteRegisterPage` | User registration page with server-side validation |
262
265
  | `LiteForgotPasswordPage` / `LiteUpdatePasswordPage` | Password recovery and credential rotation flows |
@@ -266,14 +269,17 @@ IE11 before the decision is made.
266
269
  | `LitePagination` / `LiteSearch` | URL-driven pagination and GET search controls |
267
270
  | `LiteAlert` | Inline notification banner for success/error/warning states |
268
271
  | `LiteBreadcrumbs` / `LiteTabs` / `LiteEmptyState` | Semantic navigation and placeholder primitives |
272
+ | `LiteCanAccess` / `LiteErrorBoundary` | Server-side access gate and constrained-environment error boundary |
273
+ | `LiteSplitPaneLayout` / `LiteMultiTabKeepAlive` | Dense two-pane layouts and multi-workspace navigation |
269
274
 
270
- ### Field Components (23 Fields)
275
+ ### Field Components (33 Fields)
271
276
 
272
277
  | Category | Components |
273
278
  |----------|------------|
274
279
  | **Text & Numeric** | `LiteTextField`, `LiteNumberField`, `LiteCurrencyField`, `LitePercentField`, `LitePhoneField`, `LiteEmailField`, `LiteUrlField`, `LiteRatingField`, `LiteCopyField` |
275
280
  | **Date & Choice** | `LiteDateField`, `LiteDateRangeField`, `LiteBooleanField`, `LiteSelectField`, `LiteMultiSelectField`, `LiteTreeSelect`, `LiteCascader`, `LiteTagField`, `LiteRelationField` |
276
- | **Media & Rich & Array** | `LiteAvatarField`, `LiteImageField`, `LiteFileField`, `LiteCodeField`, `LiteMarkdownField`, `LiteRichTextField`, `LiteJsonField`, `LiteArrayField`, `LiteDynamicFormList`, `LiteTransfer` |
281
+ | **Media & Rich & Array** | `LiteAvatarField`, `LiteImageField`, `LiteFileField`, `LiteCodeField`, `LiteMarkdownField`, `LiteRichTextField`, `LiteJsonField`, `LiteArrayField`, `LiteDynamicFormList`, `LiteTransfer`, `LiteImageCropper`, `LiteJsonSchemaForm`, `LiteMentionsInput`, `LiteSignaturePad` |
282
+ | **SPA-only** | `VoiceInput` (Web Speech API; no SSR counterpart) |
277
283
 
278
284
  ### Action Buttons (10 Buttons)
279
285
 
@@ -289,6 +295,7 @@ IE11 before the decision is made.
289
295
  |-----------|-------------|
290
296
  | `LiteStatsCard`, `LiteInsightCard`, `LiteAnomalyBadge` | Metric KPI cards and status badges |
291
297
  | `LiteBarChart`, `LiteLineChart`, `LitePieChart` | Server-rendered SVG/HTML charts with fallback data tables |
298
+ | `LitePresenceAvatarGroup`, `LiteGanttChart`, `LiteOfflineSyncBanner` | Presence, schedule, and offline mutation status rendered without client hydration |
292
299
 
293
300
  ### Compatibility & Degradation Primitives
294
301
 
@@ -308,6 +315,12 @@ IE11 before the decision is made.
308
315
  | `LiteDraggableHeader` | Static column header with URL sorter links |
309
316
  | `LiteToast` / `LiteUndoableNotification` | Server-driven flash messages and undo actions |
310
317
  | `LiteFilterBuilder` | Native multi-rule CRUD filter builder with AND/OR logical operators |
318
+ | `LiteConfirmDialog`, `LiteWatermark`, `LiteColumnSettings`, `LiteImportWizard` | Server-safe confirmation, watermark, column, and import workflows |
319
+ | `LiteColumnHeaderFilter`, `LiteTreeTable`, `LiteSensitiveDataMask`, `LiteApprovalActionCard` | Query, hierarchy, masking, and approval fallbacks |
320
+ | `LiteStepForm`, `LiteTableSummary`, `LiteVersionDiffViewer`, `LiteEditableTable`, `LiteDraggableRowTable` | Server-driven enterprise data interaction components |
321
+ | `LiteMediaLibraryModal`, `LiteActivityFeed`, `LiteKanbanBoard`, `LitePivotTable` | Media, activity, workflow, and analysis views |
322
+ | `LiteCanvasAnnotation`, `LiteSpreadsheetView`, `LiteDecisionTable` | SSR-compatible annotation, spreadsheet, and rules views |
323
+ | `DevTools`, `CopilotPanel` | SPA-only components with no Lite counterpart |
311
324
 
312
325
  ## Parity Tracking & Visualization
313
326
 
@@ -316,7 +329,7 @@ To monitor and maintain 100% component parity between `@svadmin/ui` and `@svadmi
316
329
  - **CLI Dashboard**: Run `bun run check:parity` to inspect the live coverage matrix in terminal.
317
330
  - **Parity Matrix Document**: [PARITY.md](./PARITY.md) is auto-generated with exhaustive module-by-module tables.
318
331
  - **Machine-Readable JSON**: `packages/lite/parity.json` provides structured data for automation.
319
- - **Interactive Showroom**: Visit `/lite/parity` in the example app to interactively preview all 72 components and live metrics.
332
+ - **Interactive Showroom**: Visit `/lite/parity` in the example app to interactively preview all 103 components and live metrics.
320
333
  - **CI Contract Test**: `scripts/parity-contract.test.ts` runs in CI to prevent regression and ensure every new UI component has a documented Lite counterpart.
321
334
 
322
335
  ## Server Utilities
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svadmin/lite",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "SSR-first lightweight admin UI for @svadmin with optional progressive enhancement",
5
5
  "type": "module",
6
6
  "sideEffects": [