component-plan.json 821 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "components": [
  3. {
  4. "node_id": "20:1",
  5. "name": "LearningCard",
  6. "tag": "article"
  7. },
  8. {
  9. "node_id": "20:2",
  10. "name": "CardTitle",
  11. "tag": "h1"
  12. },
  13. {
  14. "node_id": "20:3",
  15. "name": "CardDescription",
  16. "tag": "p"
  17. },
  18. {
  19. "node_id": "20:4",
  20. "name": "PrimaryButton",
  21. "tag": "button"
  22. },
  23. {
  24. "node_id": "20:5",
  25. "name": "ButtonLabel",
  26. "tag": "span"
  27. },
  28. {
  29. "node_id": "20:6",
  30. "name": "FooterNote",
  31. "tag": "p"
  32. }
  33. ],
  34. "notes": [
  35. "根节点使用 article 表示独立的学习引导卡片。",
  36. "主按钮使用原生 button,按钮内文本使用 span 以保证可访问文本。",
  37. "原始数据缺少 padding、gap、border-radius 与交互态,建议实现时补齐。"
  38. ]
  39. }