examplePackage manifestv3.0.5

example.form-showcase

Focused ContractSpec form example and template covering field kinds, conditional rules, and layout flows.

@lssm-tech/example.form-showcase
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 3.0.5. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEexample.form-showcaseExemples

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

6 déclarationsSELECT TO INSPECT

@lssm-tech/example.form-showcase

Focused ContractSpec form example and template covering field kinds, conditional rules, and layout flows.

What This Demonstrates

  • Schema-backed defineFormSpec authoring with fromZod.
  • Every current form field kind: text, email, textarea, select, checkbox, radio, switch, autocomplete, address, phone, date, time, datetime, group, and array.
  • Layout variants including responsive columns, full-width spans, section flows, step flows, nested groups, horizontal/responsive orientation, and repeated group arrays.
  • Form metadata for input groups, password fields, read-only/computed hints, conditional visibility/enabled/required rules, custom constraints, PII hints, and submit actions.
  • A FormRegistry that downstream apps can import and filter, including entity projection form metadata.
  • A FormShowcasePreview UI that demonstrates the specs with real form controls across field kinds, sections, arrays, groups, and step layouts.

Running Locally

From examples/form-showcase:

  • bun run build
  • bun run typecheck
  • bun run test
  • bun run smoke
  • bun run preflight

Usage

Import the registry or individual form specs:

ts
import {
	FormShowcaseRegistry,
	FormShowcaseAllFieldsForm,
	FormShowcaseProgressiveStepsForm,
} from "@lssm-tech/example.form-showcase/forms";

Use this package as a form-only template when you want a compact reference for ContractSpec form authoring without a larger business app around it. Import @lssm-tech/example.form-showcase/proof-config when tooling needs the stable docs, sandbox, templates, forms, and UI entrypoint map without reaching into private preview helpers.

Proof map and boundaries

The public proof map is intentionally stable and package-local:

  • Docs routes: /docs/examples/form-showcase, /docs/examples/form-showcase/usage, and /docs/examples/form-showcase/proof-config.
  • Sandbox route: /sandbox?template=form-showcase.
  • Template route: /templates?tag=forms.
  • Public entrypoints: the package barrel, ./example, ./forms, ./docs, ./proof-config, and ./ui.

Private proof helpers under src/ui/proof/* and preview data/model files stay implementation details. Tooling should read @lssm-tech/example.form-showcase/proof-config instead of deep-importing those helpers.

When a form-configuration panel is needed, reuse the design-system FormConfigShell, FormConfigMenuBar, and FormConfigPanel exports from @lssm-tech/lib.design-system/forms. The showcase proof should not fork a local configuration shell.

No persistence, backend, auth, provider, credential custody, or production form-storage guarantee is implied by this example. Capture/readiness proof state is deterministic fixture state only.

Public Entry Points

  • @lssm-tech/example.form-showcase
  • @lssm-tech/example.form-showcase/example
  • @lssm-tech/example.form-showcase/forms
  • @lssm-tech/example.form-showcase/forms/all-fields.form
  • @lssm-tech/example.form-showcase/forms/entity-projections.form
  • @lssm-tech/example.form-showcase/forms/form-showcase.docs
  • @lssm-tech/example.form-showcase/forms/progressive-steps.form
  • @lssm-tech/example.form-showcase/proof-config
  • @lssm-tech/example.form-showcase/docs
  • @lssm-tech/example.form-showcase/ui
  • @lssm-tech/example.form-showcase/ui/FormShowcasePreview

Private proof/state helpers under src/ui/proof/*, any screen-model internals under src/ui/screens/*, and non-existent deep proof shortcuts such as @lssm-tech/example.form-showcase/proof are intentionally not package exports. Use @lssm-tech/example.form-showcase/proof-config for the stable proof map instead of deep imports.

Notes

  • This package intentionally does not ship a production custom renderer. Its preview uses real controls and the same sample data to demonstrate the contract capabilities, while host apps can map FieldSpec objects to their own design-system components for fully interactive forms.
  • The example is available in the templates catalog through surfaces.templates: true.
  • The proof/config preview is deterministic and in-memory only: it does not require persistence, backend routes, authentication, credentials, or network access.

Declaration builds use build:types through the shared Bun tool; build runs bundle and declaration generation. Declared exports are preserved. Generated artifacts exclude test-only files; tests/typecheck remain separate gates.

Declared capabilities.

This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.

Imports and export paths.

11 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

11 imports

Dependencies and related packages.

Runtime dependencies 6
react
catalog:
react-dom
catalog:
zod
catalog:
Development dependencies 5
@types/react
catalog:types
@types/react-dom
catalog:types
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildcontractspec-bun-build build
typechecktsgo --noEmit
testbun test
smokebun test src/example.smoke.test.ts
preflightbun run build && bun run typecheck && bun run test && bun run smoke
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
Votre vue

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.