@adia-ai/a2ui-corpus 0.4.3 → 0.4.4

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 (452) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +51 -51
  3. package/catalog-a2ui_0_9.json +313 -15
  4. package/catalog-a2ui_0_9_rules.txt +18 -0
  5. package/chunks/_index.json +791 -36
  6. package/chunks/agent-activity-feed.json +1 -1
  7. package/chunks/agent-canvas-shell.json +1 -1
  8. package/chunks/agent-reasoning-collapsed.json +1 -1
  9. package/chunks/auth-account-deleted-actions.json +1 -1
  10. package/chunks/auth-account-deleted.json +1 -1
  11. package/chunks/auth-card-content.json +1 -1
  12. package/chunks/auth-card-header.json +1 -1
  13. package/chunks/auth-email-entry.json +1 -1
  14. package/chunks/auth-email-verify-confirm.json +1 -1
  15. package/chunks/auth-email-verify.json +1 -1
  16. package/chunks/auth-forbidden-actions.json +1 -1
  17. package/chunks/auth-forbidden.json +1 -1
  18. package/chunks/auth-invite-actions.json +1 -1
  19. package/chunks/auth-invite-team-card.json +1 -1
  20. package/chunks/auth-link-expired-form.json +1 -1
  21. package/chunks/auth-link-expired.json +1 -1
  22. package/chunks/auth-locked-account.json +1 -1
  23. package/chunks/auth-locked-recovery-options.json +1 -1
  24. package/chunks/auth-mfa-enrollment-submit.json +1 -1
  25. package/chunks/auth-mfa-enrollment.json +224 -2
  26. package/chunks/auth-mfa-fallback-actions.json +1 -1
  27. package/chunks/auth-mfa-recovery.json +1 -1
  28. package/chunks/auth-new-password-form.json +1 -1
  29. package/chunks/auth-new-password.json +156 -2
  30. package/chunks/auth-oauth-fallback-actions.json +1 -1
  31. package/chunks/auth-oauth-interstitial.json +1 -1
  32. package/chunks/auth-password-challenge.json +1 -1
  33. package/chunks/auth-password-reset-form.json +1 -1
  34. package/chunks/auth-password-reset.json +151 -1
  35. package/chunks/auth-profile-form.json +1 -1
  36. package/chunks/auth-profile-setup.json +1 -1
  37. package/chunks/auth-reset-sent.json +1 -1
  38. package/chunks/auth-session-expired-actions.json +1 -1
  39. package/chunks/auth-session-expired.json +1 -1
  40. package/chunks/auth-signin-card-email.json +190 -2
  41. package/chunks/auth-signin-card-magic-link.json +119 -2
  42. package/chunks/auth-signin-card-mfa.json +162 -1
  43. package/chunks/auth-signin-card-otp.json +116 -2
  44. package/chunks/auth-signin-card-password.json +202 -2
  45. package/chunks/auth-signin-card-recovery.json +1 -1
  46. package/chunks/auth-signout-actions.json +1 -1
  47. package/chunks/auth-signout.json +1 -1
  48. package/chunks/auth-signup-email-entry.json +1 -1
  49. package/chunks/auth-signup-entry.json +191 -1
  50. package/chunks/auth-signup-social-auths.json +1 -1
  51. package/chunks/auth-signup-verify.json +1 -1
  52. package/chunks/auth-social-auths.json +1 -1
  53. package/chunks/auth-sso-providers.json +1 -1
  54. package/chunks/auth-sso-required.json +1 -1
  55. package/chunks/auth-team-invite.json +1 -1
  56. package/chunks/card-header-with-description.json +12 -0
  57. package/chunks/chat-page-shell.json +1 -1
  58. package/chunks/chat-streaming-surface.json +1 -1
  59. package/chunks/command-palette.json +1 -1
  60. package/chunks/commerce-pricing-tiers.json +1 -1
  61. package/chunks/conversion-funnel-6step.json +1 -1
  62. package/chunks/dashboard-acquisition-panel.json +162 -1
  63. package/chunks/dashboard-admin-page.json +2879 -4
  64. package/chunks/dashboard-audience-kpis.json +1 -1
  65. package/chunks/dashboard-audience-panel.json +488 -1
  66. package/chunks/dashboard-behavior-panel.json +91 -1
  67. package/chunks/dashboard-chart-recent.json +474 -3
  68. package/chunks/dashboard-cohort-retention.json +1 -1
  69. package/chunks/dashboard-conversion-panel.json +196 -1
  70. package/chunks/dashboard-country-list.json +1 -1
  71. package/chunks/dashboard-filter-bar.json +1 -1
  72. package/chunks/dashboard-funnel.json +1 -1
  73. package/chunks/dashboard-kpi-grid.json +1 -1
  74. package/chunks/dashboard-notifications-feed.json +1 -1
  75. package/chunks/dashboard-notifications-panel.json +383 -1
  76. package/chunks/dashboard-overview-panel.json +1363 -1
  77. package/chunks/dashboard-page-header.json +140 -1
  78. package/chunks/dashboard-pages-table.json +1 -1
  79. package/chunks/dashboard-quick-actions.json +1 -1
  80. package/chunks/dashboard-reports-panel.json +97 -1
  81. package/chunks/dashboard-reports-table.json +1 -1
  82. package/chunks/dashboard-spark-cards.json +1 -1
  83. package/chunks/dashboard-storage-card.json +1 -1
  84. package/chunks/dashboard-tabs.json +1 -1
  85. package/chunks/dashboard-team-actions-storage.json +502 -1
  86. package/chunks/dashboard-team-list.json +1 -1
  87. package/chunks/dashboard-traffic-channels.json +1 -1
  88. package/chunks/dashboard-transactions-table.json +1 -1
  89. package/chunks/destructive-confirm-modal.json +1 -1
  90. package/chunks/doc-editor-shell.json +1 -1
  91. package/chunks/drawer-2fa-key.json +1 -1
  92. package/chunks/drawer-2fa-sms.json +1 -1
  93. package/chunks/drawer-2fa-totp.json +1 -1
  94. package/chunks/drawer-cancel-sub.json +1 -1
  95. package/chunks/drawer-change-plan.json +1 -1
  96. package/chunks/drawer-custom-roles.json +5 -3
  97. package/chunks/drawer-data-start.json +1 -1
  98. package/chunks/drawer-delete-account.json +1 -1
  99. package/chunks/drawer-delete-workspace.json +1 -1
  100. package/chunks/drawer-discord.json +1 -1
  101. package/chunks/drawer-figma.json +1 -1
  102. package/chunks/drawer-first-dashboard.json +1 -1
  103. package/chunks/drawer-gcal.json +1 -1
  104. package/chunks/drawer-github.json +5 -3
  105. package/chunks/drawer-invite.json +1 -1
  106. package/chunks/drawer-payment-method.json +1 -1
  107. package/chunks/drawer-report.json +1 -1
  108. package/chunks/drawer-revoke-session.json +1 -1
  109. package/chunks/drawer-role.json +1 -1
  110. package/chunks/drawer-slack.json +1 -1
  111. package/chunks/drawer-smtp.json +5 -3
  112. package/chunks/drawer-source.json +1 -1
  113. package/chunks/drawer-transaction.json +1 -1
  114. package/chunks/editor-code-pane.json +1 -1
  115. package/chunks/editor-page-shell.json +1 -1
  116. package/chunks/editor-preview-pane.json +1 -1
  117. package/chunks/error-404-actions.json +1 -1
  118. package/chunks/error-404.json +161 -3
  119. package/chunks/error-500-actions.json +1 -1
  120. package/chunks/error-500.json +166 -3
  121. package/chunks/error-maintenance-actions.json +1 -1
  122. package/chunks/error-maintenance.json +158 -3
  123. package/chunks/error-page-shell.json +1 -1
  124. package/chunks/footer-primary-only.json +12 -0
  125. package/chunks/form-page-shell.json +1 -1
  126. package/chunks/gallery-page-shell.json +1 -1
  127. package/chunks/icon-text-row.json +16 -0
  128. package/chunks/image-tile.json +12 -0
  129. package/chunks/kanban-board-3col.json +5 -3
  130. package/chunks/kanban-page-shell.json +1 -1
  131. package/chunks/labeled-textarea.json +14 -0
  132. package/chunks/linked-record-row.json +57 -0
  133. package/chunks/marketing-hero-cta.json +1 -1
  134. package/chunks/marketing-page-shell.json +1 -1
  135. package/chunks/member-edit-drawer.json +1 -1
  136. package/chunks/metadata-description-list.json +14 -0
  137. package/chunks/onb-completion.json +1 -1
  138. package/chunks/onb-extension-install.json +1 -1
  139. package/chunks/onb-hero-welcome.json +1 -1
  140. package/chunks/onb-import-picker.json +1 -1
  141. package/chunks/onb-mobile-handoff.json +1 -1
  142. package/chunks/onb-notification-prefs.json +1 -1
  143. package/chunks/onb-persona-picker.json +1 -1
  144. package/chunks/onb-provider-tiles.json +1 -1
  145. package/chunks/onb-settings-review.json +1 -1
  146. package/chunks/onb-step-footer.json +1 -1
  147. package/chunks/onb-step-header.json +1 -1
  148. package/chunks/onb-step-progress.json +1 -1
  149. package/chunks/onb-step-shell.json +249 -1
  150. package/chunks/onb-story-pane.json +1 -1
  151. package/chunks/onb-tutorial-steps.json +1 -1
  152. package/chunks/playground-a2ui.json +1 -1
  153. package/chunks/playground-app-shell.json +1 -1
  154. package/chunks/playground-chat.json +1 -1
  155. package/chunks/playground-construct-canvas.json +1 -1
  156. package/chunks/playground-gen-ui.json +1 -1
  157. package/chunks/playground-render-preview.json +1 -1
  158. package/chunks/playground-streams-bridge.json +1 -1
  159. package/chunks/playground-table-toolbar.json +1 -1
  160. package/chunks/reg-address-form.json +1 -1
  161. package/chunks/reg-billing-card.json +1 -1
  162. package/chunks/reg-brand-scrape.json +1 -1
  163. package/chunks/reg-departments-toggle.json +1 -1
  164. package/chunks/reg-extended-profile.json +1 -1
  165. package/chunks/reg-final-done.json +1 -1
  166. package/chunks/reg-helpdesk-grid.json +1 -1
  167. package/chunks/reg-import-picker.json +1 -1
  168. package/chunks/reg-integrations-grid.json +1 -1
  169. package/chunks/reg-invite-form.json +1 -1
  170. package/chunks/reg-legal-entity.json +1 -1
  171. package/chunks/reg-org-chart-review.json +1 -1
  172. package/chunks/reg-profile-identity.json +1 -1
  173. package/chunks/reg-step-footer.json +1 -1
  174. package/chunks/reg-step-header.json +1 -1
  175. package/chunks/reg-step-progress.json +1 -1
  176. package/chunks/reg-step-shell.json +565 -1
  177. package/chunks/reg-story-pane.json +1 -1
  178. package/chunks/reg-success-summary.json +1 -1
  179. package/chunks/reg-team-size.json +1 -1
  180. package/chunks/reg-usecase-picker.json +1 -1
  181. package/chunks/reg-workspace-name.json +1 -1
  182. package/chunks/section-with-stack.json +12 -0
  183. package/chunks/settings-appearance.json +1 -1
  184. package/chunks/settings-billing-plan.json +1 -1
  185. package/chunks/settings-general-form.json +1 -1
  186. package/chunks/settings-integrations.json +154 -3
  187. package/chunks/settings-members-invite.json +5 -3
  188. package/chunks/settings-notifications.json +1 -1
  189. package/chunks/settings-page-shell.json +1 -1
  190. package/chunks/settings-profile-security.json +1 -1
  191. package/chunks/text-card.json +14 -0
  192. package/chunks/user-identity-row.json +16 -0
  193. package/chunks/user-profile-card.json +1 -1
  194. package/chunks/users-table-badge.json +1 -1
  195. package/compositions/agent/ai-streaming-response.json +55 -9
  196. package/compositions/agent/alert-banner.json +46 -10
  197. package/compositions/agent/chat-interface.json +15 -7
  198. package/compositions/agent/command-palette.json +2 -2
  199. package/compositions/agent/empty-state.json +70 -11
  200. package/compositions/agent/error-state-retry.json +100 -17
  201. package/compositions/agent/loading-skeleton.json +76 -12
  202. package/compositions/agent/notification-preferences.json +386 -23
  203. package/compositions/agent/toast-stack.json +42 -7
  204. package/compositions/data/activity-feed.json +231 -17
  205. package/compositions/data/audit-log-viewer.json +453 -44
  206. package/compositions/data/bookmark-list.json +188 -16
  207. package/compositions/data/bulk-action-toolbar.json +137 -19
  208. package/compositions/data/changelog-feed.json +296 -30
  209. package/compositions/data/chart-dashboard.json +96 -11
  210. package/compositions/data/cohort-retention.json +392 -40
  211. package/compositions/data/column-manager.json +316 -52
  212. package/compositions/data/data-table-paginated.json +96 -18
  213. package/compositions/data/email-inbox-list.json +224 -13
  214. package/compositions/data/funnel-analytics.json +424 -26
  215. package/compositions/data/heatmap-calendar.json +140 -27
  216. package/compositions/data/invoice-table.json +107 -18
  217. package/compositions/data/kpi-overview.json +187 -17
  218. package/compositions/data/notification-center.json +224 -16
  219. package/compositions/data/object-inspector.json +463 -43
  220. package/compositions/data/product-specs-card.json +66 -12
  221. package/compositions/data/progress-tracker.json +140 -13
  222. package/compositions/data/review-card.json +94 -14
  223. package/compositions/data/saved-views-filter-bar.json +232 -37
  224. package/compositions/data/shopping-cart-summary.json +173 -21
  225. package/compositions/data/stat-card-dashboard.json +219 -18
  226. package/compositions/data/status-page.json +337 -30
  227. package/compositions/data/virtualized-table.json +269 -38
  228. package/compositions/data/weather-widget.json +77 -13
  229. package/compositions/forms/change-password-form.json +123 -16
  230. package/compositions/forms/color-picker-panel.json +85 -11
  231. package/compositions/forms/contact-form.json +127 -17
  232. package/compositions/forms/credit-card-payment-form.json +137 -16
  233. package/compositions/forms/data-import-mapper.json +244 -33
  234. package/compositions/forms/data-import-wizard.json +268 -29
  235. package/compositions/forms/date-time-picker-form.json +114 -13
  236. package/compositions/forms/destructive-confirm.json +206 -21
  237. package/compositions/forms/feedback-form.json +96 -14
  238. package/compositions/forms/file-upload-form.json +82 -11
  239. package/compositions/forms/login-form.json +122 -14
  240. package/compositions/forms/multi-step-wizard.json +133 -15
  241. package/compositions/forms/newsletter-subscription-form.json +83 -12
  242. package/compositions/forms/otp-verification-form.json +88 -13
  243. package/compositions/forms/password-reset-form.json +83 -12
  244. package/compositions/forms/permission-matrix.json +177 -28
  245. package/compositions/forms/profile-edit-form.json +125 -16
  246. package/compositions/forms/radio-group-form.json +110 -15
  247. package/compositions/forms/search-filters.json +112 -13
  248. package/compositions/forms/settings-toggles-page.json +188 -16
  249. package/compositions/forms/signup-form.json +129 -17
  250. package/compositions/forms/slider-range-form.json +65 -10
  251. package/compositions/forms/tag-input-form.json +89 -14
  252. package/compositions/forms/team-members-rbac.json +669 -107
  253. package/compositions/layout/accordion-settings.json +450 -42
  254. package/compositions/layout/badge-variants-display.json +121 -18
  255. package/compositions/layout/bento-overview.json +399 -33
  256. package/compositions/layout/calendar-month-view.json +96 -30
  257. package/compositions/layout/code-block.json +65 -11
  258. package/compositions/layout/comparison-table.json +113 -21
  259. package/compositions/layout/divider-with-label.json +40 -8
  260. package/compositions/layout/drawer-panel.json +105 -12
  261. package/compositions/layout/embed-iframe.json +62 -12
  262. package/compositions/layout/faq-accordion.json +35 -28
  263. package/compositions/layout/feature-grid.json +197 -22
  264. package/compositions/layout/footer-nav.json +188 -23
  265. package/compositions/layout/hero-cta.json +69 -13
  266. package/compositions/layout/image-gallery.json +112 -13
  267. package/compositions/layout/image-with-caption.json +48 -9
  268. package/compositions/layout/kanban-board.json +199 -31
  269. package/compositions/layout/keyboard-shortcuts.json +145 -12
  270. package/compositions/layout/markdown-editor-preview.json +6 -6
  271. package/compositions/layout/media-player.json +85 -13
  272. package/compositions/layout/modal-form.json +97 -12
  273. package/compositions/layout/onboarding-checklist.json +92 -14
  274. package/compositions/layout/popover-tooltip.json +74 -12
  275. package/compositions/layout/pricing-tiers.json +229 -31
  276. package/compositions/layout/product-card.json +97 -17
  277. package/compositions/layout/sidebar-layout.json +157 -16
  278. package/compositions/layout/tabs-panel.json +115 -13
  279. package/compositions/layout/testimonial-grid.json +240 -23
  280. package/compositions/layout/three-pane-shell.json +278 -63
  281. package/compositions/layout/toolbar-actions.json +81 -13
  282. package/compositions/navigation/nav-menu-with-icons.json +119 -14
  283. package/compositions/navigation/pagination-controls.json +2 -2
  284. package/compositions/navigation/workspace-switcher.json +296 -22
  285. package/compositions/settings/api-keys.json +592 -47
  286. package/compositions/settings/feature-flags.json +423 -22
  287. package/compositions/settings/integrations-gallery.json +839 -44
  288. package/compositions/settings/session-device-mgmt.json +619 -42
  289. package/compositions/settings/usage-quota-meter.json +214 -23
  290. package/compositions/settings/webhooks.json +429 -45
  291. package/package.json +2 -4
  292. package/patterns/agent/command-palette.json +1 -1
  293. package/patterns/agent/loading-skeleton.json +0 -6
  294. package/patterns/agent/toast-notification.json +6 -9
  295. package/patterns/data/admin-dashboard-with-charts.json +0 -4
  296. package/patterns/data/api-key-table.json +1 -1
  297. package/patterns/data/bookmark-list-categories.json +537 -128
  298. package/patterns/data/dashboard.json +3 -3
  299. package/patterns/data/data-table-view.json +34 -10
  300. package/patterns/data/email-inbox.json +22 -22
  301. package/patterns/data/event-calendar-details.json +20 -22
  302. package/patterns/data/inventory-table.json +1 -1
  303. package/patterns/data/leaderboard.json +1 -1
  304. package/patterns/data/notification-center.json +57 -25
  305. package/patterns/data/onboarding-checklist.json +10 -35
  306. package/patterns/data/order-tracking.json +8 -8
  307. package/patterns/data/pagination-nav.json +2 -2
  308. package/patterns/data/progress-dashboard.json +4 -16
  309. package/patterns/data/progress-tracker.json +3 -6
  310. package/patterns/data/restaurant-menu.json +241 -59
  311. package/patterns/forms/auth-signup.json +5 -13
  312. package/patterns/forms/bleed-design-settings.json +3 -11
  313. package/patterns/forms/credit-card-payment.json +8 -8
  314. package/patterns/forms/data-import.json +1 -2
  315. package/patterns/forms/login-form.json +4 -12
  316. package/patterns/forms/notification-filters.json +19 -68
  317. package/patterns/forms/notification-preferences.json +125 -39
  318. package/patterns/forms/otp-verification.json +1 -2
  319. package/patterns/forms/password-reset.json +1 -1
  320. package/patterns/forms/radio-group-selection.json +13 -45
  321. package/patterns/forms/radio-group.json +11 -35
  322. package/patterns/forms/survey-rating-scales.json +41 -121
  323. package/patterns/forms/two-factor-auth.json +211 -61
  324. package/patterns/forms/wizard-steps.json +32 -9
  325. package/patterns/layout/accordion-settings.json +63 -119
  326. package/patterns/layout/avatar-group.json +19 -40
  327. package/patterns/layout/badge-showcase.json +51 -89
  328. package/patterns/layout/code-block.json +9 -15
  329. package/patterns/layout/cta-banner.json +9 -17
  330. package/patterns/layout/divider-label.json +6 -10
  331. package/patterns/layout/drawer-panel.json +29 -48
  332. package/patterns/layout/embed-content.json +7 -9
  333. package/patterns/layout/feature-carousel.json +20 -20
  334. package/patterns/layout/feature-grid.json +30 -56
  335. package/patterns/layout/hero-section.json +18 -26
  336. package/patterns/layout/image-carousel.json +12 -12
  337. package/patterns/layout/kbd-shortcuts.json +6 -6
  338. package/patterns/layout/popover-menu.json +23 -27
  339. package/patterns/layout/pricing-tiers.json +50 -96
  340. package/patterns/layout/product-carousel.json +24 -24
  341. package/patterns/layout/tabs-panels.json +29 -55
  342. package/patterns/layout/team-carousel.json +16 -16
  343. package/patterns/layout/testimonials-carousel.json +12 -12
  344. package/patterns/layout/testimonials-grid.json +54 -92
  345. package/patterns/layout/toolbar-buttons.json +42 -70
  346. package/patterns/layout/tooltip-buttons.json +26 -44
  347. package/exemplars/AUDIT-REPORT.md +0 -116
  348. package/exemplars/README.md +0 -49
  349. package/exemplars/_shell.css +0 -88
  350. package/exemplars/blocks-reference.md +0 -409
  351. package/exemplars/index.html +0 -21
  352. package/exemplars/prose/auth-login/auth-login.yaml +0 -38
  353. package/exemplars/prose/auth-login/index.html +0 -542
  354. package/exemplars/prose/cta/README.md +0 -3
  355. package/exemplars/prose/cta/cta.yaml +0 -38
  356. package/exemplars/prose/cta/data.json +0 -6
  357. package/exemplars/prose/cta/index.html +0 -125
  358. package/exemplars/prose/feature-grid/README.md +0 -3
  359. package/exemplars/prose/feature-grid/data.json +0 -13
  360. package/exemplars/prose/feature-grid/feature-grid.yaml +0 -35
  361. package/exemplars/prose/feature-grid/index.html +0 -93
  362. package/exemplars/prose/footer/README.md +0 -3
  363. package/exemplars/prose/footer/data.json +0 -10
  364. package/exemplars/prose/footer/footer.yaml +0 -32
  365. package/exemplars/prose/footer/index.html +0 -109
  366. package/exemplars/prose/hero/README.md +0 -3
  367. package/exemplars/prose/hero/data.json +0 -6
  368. package/exemplars/prose/hero/hero.yaml +0 -38
  369. package/exemplars/prose/hero/index.html +0 -217
  370. package/exemplars/prose/pricing/README.md +0 -3
  371. package/exemplars/prose/pricing/data.json +0 -9
  372. package/exemplars/prose/pricing/index.html +0 -298
  373. package/exemplars/prose/pricing/pricing.yaml +0 -38
  374. package/exemplars/prose/steps/README.md +0 -3
  375. package/exemplars/prose/steps/data.json +0 -31
  376. package/exemplars/prose/steps/index.html +0 -176
  377. package/exemplars/prose/steps/setup.js +0 -12
  378. package/exemplars/prose/steps/steps.yaml +0 -38
  379. package/exemplars/prose/testimonials/README.md +0 -3
  380. package/exemplars/prose/testimonials/data.json +0 -14
  381. package/exemplars/prose/testimonials/index.html +0 -297
  382. package/exemplars/prose/testimonials/testimonials.yaml +0 -33
  383. package/exemplars/ui/auth-login/auth-login.yaml +0 -38
  384. package/exemplars/ui/auth-login/index.html +0 -372
  385. package/fragments/_schema.json +0 -72
  386. package/fragments/action/dual-cta-row.json +0 -29
  387. package/fragments/action/dual-cta-row.yaml +0 -34
  388. package/fragments/action/footer-cancel-save.json +0 -31
  389. package/fragments/action/footer-cancel-save.yaml +0 -34
  390. package/fragments/action/footer-primary-only.json +0 -23
  391. package/fragments/action/footer-primary-only.yaml +0 -26
  392. package/fragments/content/calendar-day-cell.json +0 -29
  393. package/fragments/content/column-config-atom.json +0 -121
  394. package/fragments/content/credential-entry-atom.json +0 -126
  395. package/fragments/content/directory-entry-atom.json +0 -148
  396. package/fragments/content/email-row.json +0 -35
  397. package/fragments/content/email-row.yaml +0 -43
  398. package/fragments/content/faq-item.json +0 -54
  399. package/fragments/content/health-entry-atom.json +0 -85
  400. package/fragments/content/icon-text-row.json +0 -29
  401. package/fragments/content/icon-text-row.yaml +0 -36
  402. package/fragments/content/icon-title-description.json +0 -30
  403. package/fragments/content/icon-title-description.yaml +0 -37
  404. package/fragments/content/image-tile.json +0 -28
  405. package/fragments/content/image-tile.yaml +0 -32
  406. package/fragments/content/incident-row.json +0 -107
  407. package/fragments/content/kbd-shortcut-row.json +0 -29
  408. package/fragments/content/kbd-shortcut-row.yaml +0 -33
  409. package/fragments/content/key-value-row.json +0 -29
  410. package/fragments/content/key-value-row.yaml +0 -36
  411. package/fragments/content/labeled-progress.json +0 -29
  412. package/fragments/content/labeled-progress.yaml +0 -33
  413. package/fragments/content/link-list-column.json +0 -33
  414. package/fragments/content/link-list-column.yaml +0 -41
  415. package/fragments/content/linked-record-row.json +0 -95
  416. package/fragments/content/marketplace-tile-atom.json +0 -147
  417. package/fragments/content/metadata-description-list.json +0 -28
  418. package/fragments/content/metadata-description-list.yaml +0 -36
  419. package/fragments/content/pending-invite-row.json +0 -113
  420. package/fragments/content/release-entry.json +0 -155
  421. package/fragments/content/rollout-entry-atom.json +0 -168
  422. package/fragments/content/signed-in-entry-atom.json +0 -157
  423. package/fragments/content/stage-entry-atom.json +0 -115
  424. package/fragments/content/stat-card.json +0 -31
  425. package/fragments/content/stat-card.yaml +0 -39
  426. package/fragments/content/user-identity-row.json +0 -33
  427. package/fragments/content/user-identity-row.yaml +0 -43
  428. package/fragments/content/user-notification-row.json +0 -35
  429. package/fragments/content/user-notification-row.yaml +0 -50
  430. package/fragments/content/wizard-step-row.json +0 -96
  431. package/fragments/form/labeled-checkbox.json +0 -26
  432. package/fragments/form/labeled-checkbox.yaml +0 -36
  433. package/fragments/form/labeled-input.json +0 -28
  434. package/fragments/form/labeled-input.yaml +0 -38
  435. package/fragments/form/labeled-slider.json +0 -34
  436. package/fragments/form/labeled-slider.yaml +0 -50
  437. package/fragments/form/labeled-textarea.json +0 -28
  438. package/fragments/form/labeled-textarea.yaml +0 -39
  439. package/fragments/form/labeled-toggle.json +0 -29
  440. package/fragments/form/labeled-toggle.yaml +0 -43
  441. package/fragments/layout/card-header-heading.json +0 -35
  442. package/fragments/layout/card-header-heading.yaml +0 -27
  443. package/fragments/layout/card-header-with-badge.json +0 -30
  444. package/fragments/layout/card-header-with-badge.yaml +0 -40
  445. package/fragments/layout/card-header-with-description.json +0 -29
  446. package/fragments/layout/card-header-with-description.yaml +0 -32
  447. package/fragments/layout/pricing-tier-card.json +0 -37
  448. package/fragments/layout/pricing-tier-card.yaml +0 -50
  449. package/fragments/layout/section-with-stack.json +0 -46
  450. package/fragments/layout/section-with-stack.yaml +0 -39
  451. package/fragments/layout/text-card.json +0 -28
  452. package/fragments/layout/text-card.yaml +0 -30
@@ -1,372 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Auth Login — AdiaUI Pattern</title>
7
- <link rel="stylesheet" href="../../../../../web-components/styles/tokens.css" />
8
- <link rel="stylesheet" href="../../../../../web-components/styles/themes.css" />
9
- <link rel="stylesheet" href="../../../../../web-components/styles/resets.css" />
10
- <link rel="stylesheet" href="../../../../../web-components/styles/components.css" />
11
- <link rel="stylesheet" href="../../_shell.css" />
12
- </head>
13
- <body>
14
- <section>
15
- <col-ui gap="10">
16
- <!-- 1. Email-First Login (ChatGPT style) -->
17
- <col-ui gap="3">
18
- <h2 variant="section" nomargin>Email-First Login</h2>
19
- <row-ui gap="4" justify="center">
20
- <card-ui radius="round">
21
- <section>
22
- <col-ui gap="5">
23
- <col-ui gap="2" align="center">
24
- <span slot="heading"><h3>Sign in to your account to continue</h3></span>
25
- </col-ui>
26
- <col-ui gap="3">
27
- <input-ui label="Email address" placeholder="you@example.com" type="email"></input-ui>
28
- <button-ui text="Continue" variant="primary" stretch></button-ui>
29
- </col-ui>
30
- <row-ui gap="1" justify="center">
31
- <text-ui>Don't have an account?</text-ui>
32
- <text-ui>Sign up</text-ui>
33
- </row-ui>
34
- <divider-ui label="OR"></divider-ui>
35
- <col-ui gap="2">
36
- <button-ui text="Continue with Google" icon="google-logo" variant="outline" stretch></button-ui>
37
- <button-ui text="Continue with Apple" icon="apple-logo" variant="outline" stretch></button-ui>
38
- <button-ui text="Continue with Microsoft" icon="windows-logo" variant="outline" stretch></button-ui>
39
- <button-ui text="Continue with phone" icon="phone" variant="outline" stretch></button-ui>
40
- </col-ui>
41
- <row-ui gap="2" justify="center">
42
- <a href="#">Terms of Use</a>
43
- <text-ui>·</text-ui>
44
- <a href="#">Privacy Policy</a>
45
- </row-ui>
46
- </col-ui>
47
- </section>
48
- </card-ui>
49
- </row-ui>
50
- </col-ui>
51
-
52
- <!-- 2. Classic Email + Password -->
53
- <col-ui gap="3">
54
- <h2 variant="section" nomargin>Classic Email + Password</h2>
55
- <row-ui gap="4" justify="center">
56
- <card-ui>
57
- <header>
58
- <span slot="heading"><h3>Sign in</h3></span>
59
- <p slot="description" color="subtle" nomargin>Enter your credentials to access your account</p>
60
- </header>
61
- <section>
62
- <col-ui gap="3">
63
- <input-ui label="Email" placeholder="you@example.com" type="email"></input-ui>
64
- <input-ui label="Password" placeholder="••••••••" type="password" suffix="eye-slash"></input-ui>
65
- <row-ui justify="between" align="center" size="sm">
66
- <check-ui name="remember" label="Remember me"></check-ui>
67
- <text-ui>Forgot password?</text-ui>
68
- </row-ui>
69
- </col-ui>
70
- </section>
71
- <footer>
72
- <col-ui gap="3">
73
- <button-ui text="Sign in" variant="primary" stretch></button-ui>
74
- <row-ui gap="1" justify="center">
75
- <text-ui>New here?</text-ui>
76
- <text-ui>Create an account</text-ui>
77
- </row-ui>
78
- </col-ui>
79
- </footer>
80
- </card-ui>
81
- </row-ui>
82
- </col-ui>
83
-
84
- <!-- 3. Registration -->
85
- <col-ui gap="3">
86
- <h2 variant="section" nomargin>Registration</h2>
87
- <row-ui gap="4" justify="center">
88
- <card-ui>
89
- <header>
90
- <span slot="heading"><h3>Create account</h3></span>
91
- <p slot="description" color="subtle" nomargin>Get started for free — no credit card required</p>
92
- </header>
93
- <section>
94
- <col-ui gap="3">
95
- <grid-ui gap="3">
96
- <input-ui label="First name" placeholder="Jane"></input-ui>
97
- <input-ui label="Last name" placeholder="Doe"></input-ui>
98
- </grid-ui>
99
- <input-ui label="Email" placeholder="you@example.com" type="email"></input-ui>
100
- <input-ui label="Password" placeholder="Min. 8 characters" type="password"></input-ui>
101
- <input-ui label="Confirm password" placeholder="Re-enter password" type="password"></input-ui>
102
- <check-ui size="sm" name="terms" label="I agree to the Terms of Service and Privacy Policy"></check-ui>
103
- </col-ui>
104
- </section>
105
- <footer>
106
- <col-ui gap="3">
107
- <button-ui text="Create account" variant="primary" stretch></button-ui>
108
- <divider-ui label="OR"></divider-ui>
109
- <grid-ui gap="2">
110
- <button-ui text="Google" icon="google-logo" variant="outline" stretch></button-ui>
111
- <button-ui text="GitHub" icon="github-logo" variant="outline" stretch></button-ui>
112
- </grid-ui>
113
- <row-ui gap="1" justify="center">
114
- <text-ui>Already have an account?</text-ui>
115
- <text-ui>Sign in</text-ui>
116
- </row-ui>
117
- </col-ui>
118
- </footer>
119
- </card-ui>
120
- </row-ui>
121
- </col-ui>
122
-
123
- <!-- 4. Social-Only Login -->
124
- <col-ui gap="3">
125
- <h2 variant="section" nomargin>Social-Only Login</h2>
126
- <row-ui gap="4" justify="center">
127
- <card-ui>
128
- <section>
129
- <col-ui gap="5">
130
- <col-ui gap="2" align="center">
131
- <icon-ui name="cube" size="lg"></icon-ui>
132
- <h2 variant="section" nomargin>Get started</h2>
133
- <p variant="body" color="subtle" nomargin>Choose a provider to sign in</p>
134
- </col-ui>
135
- <col-ui gap="2">
136
- <button-ui text="Continue with Google" icon="google-logo" variant="outline" stretch></button-ui>
137
- <button-ui text="Continue with GitHub" icon="github-logo" variant="outline" stretch></button-ui>
138
- <button-ui text="Continue with Apple" icon="apple-logo" variant="outline" stretch></button-ui>
139
- </col-ui>
140
- <divider-ui label="OR"></divider-ui>
141
- <button-ui text="Sign in with email" icon="envelope" variant="ghost" stretch></button-ui>
142
- <row-ui gap="2" justify="center">
143
- <text-ui>Terms of Use</text-ui>
144
- <text-ui>·</text-ui>
145
- <text-ui>Privacy Policy</text-ui>
146
- </row-ui>
147
- </col-ui>
148
- </section>
149
- </card-ui>
150
- </row-ui>
151
- </col-ui>
152
-
153
- <!-- 5. Magic Link / OTP -->
154
- <col-ui gap="3">
155
- <h2 variant="section" nomargin>Magic Link / OTP</h2>
156
- <row-ui gap="4" justify="center">
157
- <col-ui gap="4">
158
- <!-- 5a. Email entry step -->
159
- <card-ui>
160
- <header>
161
- <span slot="heading"><h3>Sign in with email</h3></span>
162
- <p slot="description" color="subtle" nomargin>We'll send you a one-time verification code</p>
163
- </header>
164
- <section>
165
- <col-ui gap="3">
166
- <input-ui label="Email address" placeholder="you@example.com" type="email"></input-ui>
167
- </col-ui>
168
- </section>
169
- <footer>
170
- <button-ui text="Send code" variant="primary" stretch></button-ui>
171
- </footer>
172
- </card-ui>
173
-
174
- <!-- 5b. Code entry step -->
175
- <card-ui>
176
- <header>
177
- <span slot="heading"><h3>Check your email</h3></span>
178
- <p slot="description" color="subtle" nomargin>Enter the 6-digit code sent to jane@example.com</p>
179
- </header>
180
- <section>
181
- <col-ui gap="3" align="center">
182
- <otp-input-ui length="6"></otp-input-ui>
183
- <row-ui gap="1" justify="center">
184
- <text-ui>Didn't receive it?</text-ui>
185
- <text-ui>Resend code</text-ui>
186
- </row-ui>
187
- </col-ui>
188
- </section>
189
- <footer>
190
- <button-ui text="Verify" variant="primary" stretch></button-ui>
191
- </footer>
192
- </card-ui>
193
- </col-ui>
194
- </row-ui>
195
- </col-ui>
196
-
197
- <!-- 6. Password Reset -->
198
- <col-ui gap="3">
199
- <h2 variant="section" nomargin>Password Reset</h2>
200
- <row-ui gap="4" justify="center">
201
- <col-ui gap="4">
202
- <!-- 6a. Request reset -->
203
- <card-ui>
204
- <header>
205
- <span slot="heading"><h3>Reset password</h3></span>
206
- <p slot="description" color="subtle" nomargin>Enter your email and we'll send you a reset link</p>
207
- </header>
208
- <section>
209
- <input-ui label="Email address" placeholder="you@example.com" type="email"></input-ui>
210
- </section>
211
- <footer>
212
- <col-ui gap="3">
213
- <button-ui text="Send reset link" variant="primary" stretch></button-ui>
214
- <button-ui text="Back to sign in" icon="arrow-left" variant="ghost" stretch></button-ui>
215
- </col-ui>
216
- </footer>
217
- </card-ui>
218
-
219
- <!-- 6b. New password -->
220
- <card-ui>
221
- <header>
222
- <span slot="heading"><h3>Set new password</h3></span>
223
- <p slot="description" color="subtle" nomargin>Must be at least 8 characters</p>
224
- </header>
225
- <section>
226
- <col-ui gap="3">
227
- <input-ui label="New password" placeholder="••••••••" type="password"></input-ui>
228
- <input-ui label="Confirm new password" placeholder="••••••••" type="password"></input-ui>
229
- </col-ui>
230
- </section>
231
- <footer>
232
- <button-ui text="Update password" variant="primary" stretch></button-ui>
233
- </footer>
234
- </card-ui>
235
- </col-ui>
236
- </row-ui>
237
- </col-ui>
238
-
239
- <!-- 7. Split Layout (brand + form) -->
240
- <col-ui gap="3">
241
- <h2 variant="section" nomargin>Split Layout</h2>
242
- <card-ui>
243
- <section bleed>
244
- <grid-ui columns="2" gap="0">
245
- <!-- Brand panel -->
246
- <col-ui gap="6" justify="center" class="demo-accent-panel">
247
- <row-ui gap="1" align="center">
248
- <icon-ui name="cube"></icon-ui>
249
- <text-ui variant="label" nomargin>Acme</text-ui>
250
- </row-ui>
251
- <col-ui gap="3">
252
- <h2 variant="display" nomargin>Build something amazing today</h2>
253
- <p variant="body" nomargin>Join thousands of developers shipping faster with our platform.</p>
254
- </col-ui>
255
- <col-ui gap="3">
256
- <row-ui gap="2" align="center">
257
- <icon-ui name="check-circle" color="success"></icon-ui>
258
- <text-ui variant="body">Free forever for small teams</text-ui>
259
- </row-ui>
260
- <row-ui gap="2" align="center">
261
- <icon-ui name="check-circle" color="success"></icon-ui>
262
- <text-ui variant="body">No credit card required</text-ui>
263
- </row-ui>
264
- <row-ui gap="2" align="center">
265
- <icon-ui name="check-circle" color="success"></icon-ui>
266
- <text-ui variant="body">Cancel anytime</text-ui>
267
- </row-ui>
268
- </col-ui>
269
- </col-ui>
270
-
271
- <!-- Form panel -->
272
- <col-ui gap="4" justify="center">
273
- <col-ui gap="1">
274
- <h3 variant="section" nomargin>Create your account</h3>
275
- <p color="subtle" nomargin>Already have one? <text-ui>Sign in</text-ui></p>
276
- </col-ui>
277
- <col-ui gap="3">
278
- <input-ui label="Full name" placeholder="Jane Doe"></input-ui>
279
- <input-ui label="Work email" placeholder="jane@company.com" type="email"></input-ui>
280
- <input-ui label="Password" placeholder="Min. 8 characters" type="password"></input-ui>
281
- <button-ui text="Get started" variant="primary" stretch></button-ui>
282
- </col-ui>
283
- <divider-ui label="OR"></divider-ui>
284
- <grid-ui gap="2">
285
- <button-ui text="Google" icon="google-logo" variant="outline" stretch></button-ui>
286
- <button-ui text="GitHub" icon="github-logo" variant="outline" stretch></button-ui>
287
- </grid-ui>
288
- </col-ui>
289
- </grid-ui>
290
- </section>
291
- </card-ui>
292
- </col-ui>
293
-
294
- <!-- 8. Compact Card Login -->
295
- <col-ui gap="3">
296
- <h2 variant="section" nomargin>Compact Card Login</h2>
297
- <row-ui gap="4" justify="center">
298
- <card-ui elevation="2" density="compact">
299
- <section>
300
- <col-ui gap="3">
301
- <col-ui gap="1" align="center">
302
- <avatar-ui text="A" size="lg"></avatar-ui>
303
- <h3 variant="section" nomargin>Sign in</h3>
304
- </col-ui>
305
- <input-ui placeholder="Email" type="email"></input-ui>
306
- <input-ui placeholder="Password" type="password"></input-ui>
307
- <button-ui text="Sign in" variant="primary" stretch></button-ui>
308
- <divider-ui label="OR"></divider-ui>
309
- <row-ui gap="2" justify="center">
310
- <button-ui icon="google-logo" variant="ghost"></button-ui>
311
- <button-ui icon="github-logo" variant="ghost"></button-ui>
312
- <button-ui icon="apple-logo" variant="ghost"></button-ui>
313
- </row-ui>
314
- </col-ui>
315
- </section>
316
- </card-ui>
317
- </row-ui>
318
- </col-ui>
319
-
320
- <!-- 9. Error States -->
321
- <col-ui gap="3">
322
- <h2 variant="section" nomargin>Error States</h2>
323
- <row-ui gap="4" justify="center">
324
- <card-ui>
325
- <header>
326
- <span slot="heading"><h3>Sign in</h3></span>
327
- </header>
328
- <section>
329
- <col-ui gap="3">
330
- <alert-ui variant="danger" size="sm">Invalid email or password. Please try again.</alert-ui>
331
- <input-ui label="Email" placeholder="you@example.com" type="email" value="baduser@" error="Please enter a valid email address"></input-ui>
332
- <input-ui label="Password" placeholder="••••••••" type="password" error="Password must be at least 8 characters"></input-ui>
333
- </col-ui>
334
- </section>
335
- <footer>
336
- <button-ui text="Sign in" variant="primary" stretch></button-ui>
337
- </footer>
338
- </card-ui>
339
- </row-ui>
340
- </col-ui>
341
-
342
- <!-- 10. Loading State -->
343
- <col-ui gap="3">
344
- <h2 variant="section" nomargin>Loading State</h2>
345
- <row-ui gap="4" justify="center">
346
- <card-ui>
347
- <header>
348
- <span slot="heading"><h3>Sign in</h3></span>
349
- </header>
350
- <section>
351
- <col-ui gap="3">
352
- <input-ui label="Email" value="jane@example.com" type="email" disabled></input-ui>
353
- <input-ui label="Password" value="••••••••" type="password" disabled></input-ui>
354
- </col-ui>
355
- </section>
356
- <footer>
357
- <col-ui gap="3">
358
- <button-ui text="Signing in…" variant="primary" stretch disabled></button-ui>
359
- <progress-ui size="sm"></progress-ui>
360
- </col-ui>
361
- </footer>
362
- </card-ui>
363
- </row-ui>
364
- </col-ui>
365
- </col-ui>
366
- </section>
367
-
368
- <script type="module">
369
- import "../../../../../web-components/components/index.js";
370
- </script>
371
- </body>
372
- </html>
@@ -1,72 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "A2UI Fragment",
4
- "description": "A reusable A2UI chunk — same flat-adjacency schema as a Pattern, but annotated as a composable atom. Fragments are first-class nodes in the knowledge graph: they declare their semantic_role, the slots callers can bind, and backlinks to patterns/components/tickets. Compositions reference fragments via a $fragment node in their template.",
5
- "type": "object",
6
- "required": ["name", "kind", "semantic_role", "template", "slots", "tags"],
7
- "properties": {
8
- "$schema": { "type": "string" },
9
- "name": { "type": "string", "description": "Unique fragment id (e.g. 'card-header-with-description')" },
10
- "version": { "type": "integer", "default": 1 },
11
- "kind": { "const": "fragment" },
12
- "semantic_role": { "type": "string", "description": "What this fragment IS, semantically (e.g. 'titled-card-header', 'user-identity-row', 'dialog-action-bar')" },
13
- "description": { "type": "string", "description": "Human-readable; also used for retrieval" },
14
- "shape": { "type": "string", "description": "Structural signature — Component(Component,...) — for dedup/equivalence" },
15
-
16
- "tags": {
17
- "type": "object",
18
- "properties": {
19
- "purpose": { "type": "array", "items": { "type": "string" } },
20
- "layout": { "type": "string" },
21
- "interaction": { "type": "array", "items": { "type": "string" } }
22
- }
23
- },
24
- "keywords": { "type": "array", "items": { "type": "string" } },
25
-
26
- "slots": {
27
- "type": "array",
28
- "description": "Named binding points — each slot maps to a node id inside `template` and declares what attribute(s) callers can override. This is the fragment's public API.",
29
- "items": {
30
- "type": "object",
31
- "required": ["name", "targetId"],
32
- "properties": {
33
- "name": { "type": "string" },
34
- "targetId": { "type": "string", "description": "Node id inside template that receives the bound value" },
35
- "attribute": { "type": "string", "default": "textContent", "description": "Which attribute on the target node to bind (textContent, src, label, etc.)" },
36
- "required": { "type": "boolean", "default": false },
37
- "defaultValue":{ },
38
- "description": { "type": "string" }
39
- }
40
- }
41
- },
42
-
43
- "template": {
44
- "type": "array",
45
- "description": "Flat-adjacency A2UI nodes (same as Pattern.template). Root node is the first entry. Nodes reference each other by id via `children`.",
46
- "items": { "type": "object" }
47
- },
48
-
49
- "links": {
50
- "type": "object",
51
- "description": "Typed backlinks — populated by the graph builder",
52
- "properties": {
53
- "uses_components": { "type": "array", "items": { "type": "string" } },
54
- "uses_fragments": { "type": "array", "items": { "type": "string" } },
55
- "used_by": { "type": "array", "items": { "type": "string" } },
56
- "related": { "type": "array", "items": { "type": "string" } },
57
- "spawned_from": { "type": "array", "items": { "type": "string" }, "description": "Ticket/eval-failure ids that drove this fragment" }
58
- }
59
- },
60
-
61
- "metrics": {
62
- "type": "object",
63
- "properties": {
64
- "leverage": { "type": "number" },
65
- "pattern_count": { "type": "integer" },
66
- "instance_count": { "type": "integer" },
67
- "created_at": { "type": "string" },
68
- "last_extracted": { "type": "string" }
69
- }
70
- }
71
- }
72
- }
@@ -1,29 +0,0 @@
1
- {
2
- "$schema": "../_schema.json",
3
- "name": "dual-cta-row",
4
- "version": 1,
5
- "kind": "fragment",
6
- "semantic_role": "inline-cta-row",
7
- "description": "Inline row of two CTAs — primary followed by ghost — for hero banners, alert actions, empty-state prompts. Note: for modal/card FOOTER use footer-cancel-save; this fragment is for INLINE placement within a section.",
8
- "shape": "Row(Button[v=primary],Button[v=ghost])",
9
- "tags": {
10
- "purpose": ["cta", "inline-actions"],
11
- "layout": "inline"
12
- },
13
- "keywords": ["cta", "action", "button", "primary", "secondary", "get started", "learn more", "dismiss"],
14
- "slots": [
15
- { "name": "primaryLabel", "targetId": "cta-primary", "attribute": "textContent", "required": true, "defaultValue": "Get started" },
16
- { "name": "secondaryLabel", "targetId": "cta-secondary", "attribute": "textContent", "required": true, "defaultValue": "Learn more" }
17
- ],
18
- "template": [
19
- { "id": "cta-root", "component": "Row", "children": ["cta-primary", "cta-secondary"], "gap": "2" },
20
- { "id": "cta-primary", "component": "Button", "variant": "primary", "textContent": "Get started" },
21
- { "id": "cta-secondary", "component": "Button", "variant": "ghost", "textContent": "Learn more" }
22
- ],
23
- "links": {
24
- "uses_components": ["Row", "Button"],
25
- "used_by": [],
26
- "related": ["footer-cancel-save"]
27
- },
28
- "metrics": { "leverage": 6.0, "pattern_count": 2, "instance_count": 2 }
29
- }
@@ -1,34 +0,0 @@
1
- # Generated by scripts/generate-yaml-scaffolds.mjs
2
- # Narrative doc — JSON sibling remains the canonical machine source.
3
- # Fill in TODO sections by hand.
4
-
5
- $schema: ../../../../../scripts/schemas/fragment.yaml.schema.json
6
- kind: fragment
7
- name: dual-cta-row
8
- description: >-
9
- Inline row of two CTAs — primary followed by ghost — for hero banners, alert actions, empty-state prompts. Note: for modal/card FOOTER use footer-cancel-save; this fragment is for INLINE placement within a section.
10
- keywords:
11
- - cta
12
- - action
13
- - button
14
- - primary
15
- - secondary
16
- - get started
17
- - learn more
18
- - dismiss
19
- slots:
20
- primaryLabel:
21
- required: true
22
- target: cta-primary.textContent
23
- description: "TODO: describe 'primaryLabel' slot"
24
- secondaryLabel:
25
- required: true
26
- target: cta-secondary.textContent
27
- description: "TODO: describe 'secondaryLabel' slot"
28
- leverage: 0
29
- used_by: []
30
- use-cases:
31
- - "TODO: describe when to reach for this fragment"
32
- components:
33
- - Row
34
- - Button
@@ -1,31 +0,0 @@
1
- {
2
- "$schema": "../_schema.json",
3
- "name": "footer-cancel-save",
4
- "version": 1,
5
- "kind": "fragment",
6
- "semantic_role": "dialog-action-bar",
7
- "description": "Footer with a ghost cancel button and a primary save/confirm button in a row. Canonical action bar for cards, dialogs, and forms.",
8
- "shape": "Footer(Row(Button[v=ghost],Button[v=primary]))",
9
- "tags": {
10
- "purpose": ["actions", "form-footer"],
11
- "layout": "row",
12
- "interaction": ["form-submit", "dismiss"]
13
- },
14
- "keywords": ["footer", "cancel", "save", "submit", "confirm", "actions", "dialog"],
15
- "slots": [
16
- { "name": "cancelLabel", "targetId": "f-btn-cancel", "attribute": "text", "defaultValue": "Cancel" },
17
- { "name": "confirmLabel", "targetId": "f-btn-save", "attribute": "text", "defaultValue": "Save", "required": true }
18
- ],
19
- "template": [
20
- { "id": "f-root", "component": "Footer", "children": ["f-row"] },
21
- { "id": "f-row", "component": "Row", "children": ["f-btn-cancel", "f-btn-save"], "gap": "2" },
22
- { "id": "f-btn-cancel","component": "Button", "variant": "ghost", "text": "Cancel" },
23
- { "id": "f-btn-save", "component": "Button", "variant": "primary", "text": "Save" }
24
- ],
25
- "links": {
26
- "uses_components": ["Footer", "Row", "Button"],
27
- "used_by": [],
28
- "related": ["footer-primary-only"]
29
- },
30
- "metrics": { "leverage": 18, "pattern_count": 0, "instance_count": 18 }
31
- }
@@ -1,34 +0,0 @@
1
- # Generated by scripts/generate-yaml-scaffolds.mjs
2
- # Narrative doc — JSON sibling remains the canonical machine source.
3
- # Fill in TODO sections by hand.
4
-
5
- $schema: ../../../../../scripts/schemas/fragment.yaml.schema.json
6
- kind: fragment
7
- name: footer-cancel-save
8
- description: >-
9
- Footer with a ghost cancel button and a primary save/confirm button in a row. Canonical action bar for cards, dialogs, and forms.
10
- keywords:
11
- - footer
12
- - cancel
13
- - save
14
- - submit
15
- - confirm
16
- - actions
17
- - dialog
18
- slots:
19
- cancelLabel:
20
- required: false
21
- target: f-btn-cancel.text
22
- description: "TODO: describe 'cancelLabel' slot"
23
- confirmLabel:
24
- required: true
25
- target: f-btn-save.text
26
- description: "TODO: describe 'confirmLabel' slot"
27
- leverage: 18
28
- used_by: []
29
- use-cases:
30
- - "TODO: describe when to reach for this fragment"
31
- components:
32
- - Footer
33
- - Row
34
- - Button
@@ -1,23 +0,0 @@
1
- {
2
- "$schema": "../_schema.json",
3
- "name": "footer-primary-only",
4
- "version": 1,
5
- "kind": "fragment",
6
- "semantic_role": "single-action-footer",
7
- "description": "Footer with a single primary button — for forms with one action (Submit, Continue, Save).",
8
- "shape": "Footer(Button[v=primary])",
9
- "tags": { "purpose": ["actions"], "layout": "row", "interaction": ["form-submit"] },
10
- "keywords": ["footer", "submit", "continue", "primary"],
11
- "slots": [
12
- { "name": "label", "targetId": "fp-btn", "attribute": "text", "required": true, "defaultValue": "Submit" }
13
- ],
14
- "template": [
15
- { "id": "fp-root", "component": "Footer", "children": ["fp-btn"] },
16
- { "id": "fp-btn", "component": "Button", "variant": "primary", "text": "Submit", "block": true }
17
- ],
18
- "links": {
19
- "uses_components": ["Footer", "Button"],
20
- "related": ["footer-cancel-save"]
21
- },
22
- "metrics": { "leverage": 8, "pattern_count": 0, "instance_count": 8 }
23
- }
@@ -1,26 +0,0 @@
1
- # Generated by scripts/generate-yaml-scaffolds.mjs
2
- # Narrative doc — JSON sibling remains the canonical machine source.
3
- # Fill in TODO sections by hand.
4
-
5
- $schema: ../../../../../scripts/schemas/fragment.yaml.schema.json
6
- kind: fragment
7
- name: footer-primary-only
8
- description: >-
9
- Footer with a single primary button — for forms with one action (Submit, Continue, Save).
10
- keywords:
11
- - footer
12
- - submit
13
- - continue
14
- - primary
15
- slots:
16
- label:
17
- required: true
18
- target: fp-btn.text
19
- description: "TODO: describe 'label' slot"
20
- leverage: 8
21
- used_by: []
22
- use-cases:
23
- - "TODO: describe when to reach for this fragment"
24
- components:
25
- - Footer
26
- - Button