Commit 3a9054e
committed
feat(agent-html): add Text primitive component and support
This commit adds the Text primitive component to the agent-html DSL, including:
- Add Text tag to all tag sets and UI tag union type
- Add variant prop support for Text component
- Add validation to block element children inside Text nodes
- Create test fixtures and tests for basic Text usage
- Update example dashboard to use new Text components
- Refactor example shell to use dialog for source view1 parent ec5a81e commit 3a9054e
30 files changed
Lines changed: 741 additions & 330 deletions
File tree
- .agents/skills/agent-html/references
- apps/agent-html/src
- agent-html-example
- cases
- agent-html
- ast
- fixtures
- invalid
- valid
- parse
- runtime
- render
- ui
- schema
- validate
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| 96 | + | |
| 97 | + | |
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| |||
Lines changed: 110 additions & 101 deletions
Large diffs are not rendered by default.
0 commit comments