src/dazzle_ui/specs/component.py¶
Generated: 2026-03-30T04:38:49.344875+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_ui
Purpose¶
Component specification types for UISpec.
Defines component structure and props schemas.
Key Exports¶
PropFieldSpecPropsSchemaComponentCategoryComponentRoleComponentSpecget_fieldvalidate_nameis_primitiveis_patternis_customis_presentationalis_containerget_actionget_state
Dependencies¶
Imports¶
__future__.annotationstyping.Anypydantic.BaseModelpydantic.ConfigDictpydantic.Fieldpydantic.field_validatordazzle_ui.specs.actions.ActionSpecdazzle_ui.specs.state.StateSpecdazzle_ui.specs.view.ViewNode
Event Interactions¶
None detected.
Invariants and Assumptions¶
- Validates: Component name
Tests¶
tests/unit/test_component_bridge.pytests/unit/test_component_roles.pytests/unit/test_component_rules.pytests/unit/test_specs.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.