@astryxdesign/cli 0.0.0-bootstrap.0 → 0.1.0-canary.08d4cf4

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 (1326) hide show
  1. package/CHANGELOG.md +354 -0
  2. package/LICENSE +21 -0
  3. package/README.md +439 -1
  4. package/bin/astryx.mjs +102 -0
  5. package/docs/color.doc.mjs +88 -0
  6. package/docs/elevation.doc.mjs +86 -0
  7. package/docs/getting-started.doc.mjs +180 -0
  8. package/docs/icons.doc.mjs +121 -0
  9. package/docs/illustrations.doc.mjs +86 -0
  10. package/docs/migration.doc.mjs +250 -0
  11. package/docs/motion.doc.mjs +158 -0
  12. package/docs/principles.doc.dense.mjs +14 -0
  13. package/docs/principles.doc.mjs +93 -0
  14. package/docs/principles.doc.zh.mjs +14 -0
  15. package/docs/shape.doc.mjs +76 -0
  16. package/docs/spacing.doc.mjs +86 -0
  17. package/docs/styling-libraries.doc.mjs +465 -0
  18. package/docs/styling.doc.mjs +359 -0
  19. package/docs/theme.doc.dense.mjs +21 -0
  20. package/docs/theme.doc.mjs +618 -0
  21. package/docs/theme.doc.zh.mjs +19 -0
  22. package/docs/tokens.doc.dense.mjs +16 -0
  23. package/docs/tokens.doc.mjs +1076 -0
  24. package/docs/tokens.doc.zh.mjs +16 -0
  25. package/docs/typography.doc.mjs +228 -0
  26. package/docs/working-with-ai.doc.mjs +198 -0
  27. package/package.json +76 -5
  28. package/src/api/component.mjs +394 -0
  29. package/src/api/discover.mjs +165 -0
  30. package/src/api/docs.mjs +163 -0
  31. package/src/api/doctor.mjs +537 -0
  32. package/src/api/error.mjs +38 -0
  33. package/src/api/hook.mjs +196 -0
  34. package/src/api/index.mjs +29 -0
  35. package/src/api/search.mjs +557 -0
  36. package/src/api/template.mjs +568 -0
  37. package/src/api/template.test.mjs +78 -0
  38. package/src/cli-exit-codes.test.mjs +177 -0
  39. package/src/codemods/__tests__/registry.test.mjs +61 -0
  40. package/src/codemods/__tests__/rename-imperative-ref-to-handleRef.test.mjs +65 -0
  41. package/src/codemods/__tests__/rename-isStreaming-to-isStopShown.test.mjs +58 -0
  42. package/src/codemods/__tests__/rename-section-wash-to-muted.test.mjs +103 -0
  43. package/src/codemods/__tests__/toolbar-density-to-size.test.mjs +69 -0
  44. package/src/codemods/__tests__/validation.test.mjs +108 -0
  45. package/src/codemods/ensure-jscodeshift.mjs +86 -0
  46. package/src/codemods/registry.mjs +61 -0
  47. package/src/codemods/runner.mjs +434 -0
  48. package/src/codemods/transforms/v0.0.10/__tests__/remove-size-props.test.mjs +144 -0
  49. package/src/codemods/transforms/v0.0.10/index.mjs +19 -0
  50. package/src/codemods/transforms/v0.0.10/remove-size-props.mjs +94 -0
  51. package/src/codemods/transforms/v0.0.12/__tests__/add-is-icon-only.test.mjs +193 -0
  52. package/src/codemods/transforms/v0.0.12/add-is-icon-only.mjs +316 -0
  53. package/src/codemods/transforms/v0.0.12/index.mjs +24 -0
  54. package/src/codemods/transforms/v0.0.13/__tests__/icon-name-deprecations.test.mjs +81 -0
  55. package/src/codemods/transforms/v0.0.13/__tests__/rename-attachments-to-drawer.test.mjs +126 -0
  56. package/src/codemods/transforms/v0.0.13/icon-name-deprecations.mjs +130 -0
  57. package/src/codemods/transforms/v0.0.13/index.mjs +37 -0
  58. package/src/codemods/transforms/v0.0.13/rename-attachments-to-drawer.mjs +166 -0
  59. package/src/codemods/transforms/v0.0.13/toolbar-density-to-size.mjs +159 -0
  60. package/src/codemods/transforms/v0.0.14/__tests__/rename-action-props.test.mjs +129 -0
  61. package/src/codemods/transforms/v0.0.14/__tests__/rename-status-variants.test.mjs +205 -0
  62. package/src/codemods/transforms/v0.0.14/index.mjs +37 -0
  63. package/src/codemods/transforms/v0.0.14/rename-action-props.mjs +160 -0
  64. package/src/codemods/transforms/v0.0.14/rename-section-wash-to-muted.mjs +131 -0
  65. package/src/codemods/transforms/v0.0.14/rename-status-variants.mjs +248 -0
  66. package/src/codemods/transforms/v0.0.15/__tests__/drop-xds-prefix-imports.test.mjs +137 -0
  67. package/src/codemods/transforms/v0.0.15/__tests__/migrate-item-children-to-endcontent.test.mjs +95 -0
  68. package/src/codemods/transforms/v0.0.15/__tests__/migrate-selector-children-to-render-option.test.mjs +109 -0
  69. package/src/codemods/transforms/v0.0.15/__tests__/migrate-theme-selectors-to-data-attrs.test.mjs +44 -0
  70. package/src/codemods/transforms/v0.0.15/__tests__/rename-date-picker-to-input.test.mjs +110 -0
  71. package/src/codemods/transforms/v0.0.15/__tests__/rename-stack-element-to-as.test.mjs +71 -0
  72. package/src/codemods/transforms/v0.0.15/drop-xds-prefix-imports.mjs +226 -0
  73. package/src/codemods/transforms/v0.0.15/index.mjs +87 -0
  74. package/src/codemods/transforms/v0.0.15/migrate-item-children-to-endcontent.mjs +129 -0
  75. package/src/codemods/transforms/v0.0.15/migrate-selector-children-to-render-option.mjs +189 -0
  76. package/src/codemods/transforms/v0.0.15/migrate-theme-selectors-to-data-attrs.mjs +235 -0
  77. package/src/codemods/transforms/v0.0.15/rename-date-picker-to-input.mjs +114 -0
  78. package/src/codemods/transforms/v0.0.15/rename-imperative-ref-to-handleRef.mjs +67 -0
  79. package/src/codemods/transforms/v0.0.15/rename-isStreaming-to-isStopShown.mjs +51 -0
  80. package/src/codemods/transforms/v0.0.15/rename-stack-element-to-as.mjs +41 -0
  81. package/src/codemods/transforms/v0.0.2/__tests__/migrate-badge-dot-to-statusdot.test.mjs +137 -0
  82. package/src/codemods/transforms/v0.0.2/__tests__/migrate-gap-to-numeric.test.mjs +161 -0
  83. package/src/codemods/transforms/v0.0.2/__tests__/migrate-isFullBleed-to-padding.test.mjs +137 -0
  84. package/src/codemods/transforms/v0.0.2/__tests__/migrate-useXDSIcon-to-getIcon.test.mjs +110 -0
  85. package/src/codemods/transforms/v0.0.2/__tests__/rename-banner-endButton-to-endContent.test.mjs +61 -0
  86. package/src/codemods/transforms/v0.0.2/__tests__/rename-form-tooltip-startIcon.test.mjs +130 -0
  87. package/src/codemods/transforms/v0.0.2/__tests__/rename-isShown-to-isOpen.test.mjs +89 -0
  88. package/src/codemods/transforms/v0.0.2/__tests__/rename-selector-items-to-options.test.mjs +74 -0
  89. package/src/codemods/transforms/v0.0.2/__tests__/rename-sidenav-header-to-heading.test.mjs +140 -0
  90. package/src/codemods/transforms/v0.0.2/__tests__/rename-topnav-title-to-heading.test.mjs +116 -0
  91. package/src/codemods/transforms/v0.0.2/__tests__/unify-uncontrolled-to-defaultX.test.mjs +79 -0
  92. package/src/codemods/transforms/v0.0.2/__tests__/unify-visibility-to-onOpenChange.test.mjs +130 -0
  93. package/src/codemods/transforms/v0.0.2/index.mjs +106 -0
  94. package/src/codemods/transforms/v0.0.2/migrate-badge-dot-to-statusdot.mjs +228 -0
  95. package/src/codemods/transforms/v0.0.2/migrate-gap-to-numeric.mjs +121 -0
  96. package/src/codemods/transforms/v0.0.2/migrate-isFullBleed-to-padding.mjs +106 -0
  97. package/src/codemods/transforms/v0.0.2/migrate-useXDSIcon-to-getIcon.mjs +122 -0
  98. package/src/codemods/transforms/v0.0.2/rename-banner-endButton-to-endContent.mjs +33 -0
  99. package/src/codemods/transforms/v0.0.2/rename-form-tooltip-startIcon.mjs +53 -0
  100. package/src/codemods/transforms/v0.0.2/rename-isShown-to-isOpen.mjs +38 -0
  101. package/src/codemods/transforms/v0.0.2/rename-selector-items-to-options.mjs +34 -0
  102. package/src/codemods/transforms/v0.0.2/rename-sidenav-header-to-heading.mjs +84 -0
  103. package/src/codemods/transforms/v0.0.2/rename-topnav-title-to-heading.mjs +73 -0
  104. package/src/codemods/transforms/v0.0.2/unify-uncontrolled-to-defaultX.mjs +56 -0
  105. package/src/codemods/transforms/v0.0.2/unify-visibility-to-onOpenChange.mjs +102 -0
  106. package/src/codemods/transforms/v0.0.6/__tests__/migrate-collapse-to-collapsible.test.mjs +72 -0
  107. package/src/codemods/transforms/v0.0.6/__tests__/migrate-radius-tokens.test.mjs +86 -0
  108. package/src/codemods/transforms/v0.0.6/__tests__/migrate-shadow-tokens.test.mjs +107 -0
  109. package/src/codemods/transforms/v0.0.6/__tests__/migrate-skeleton-radius.test.mjs +75 -0
  110. package/src/codemods/transforms/v0.0.6/__tests__/migrate-token-names.test.mjs +267 -0
  111. package/src/codemods/transforms/v0.0.6/index.mjs +62 -0
  112. package/src/codemods/transforms/v0.0.6/migrate-badge-children-to-label.mjs +91 -0
  113. package/src/codemods/transforms/v0.0.6/migrate-collapse-to-collapsible.mjs +145 -0
  114. package/src/codemods/transforms/v0.0.6/migrate-radius-tokens.mjs +82 -0
  115. package/src/codemods/transforms/v0.0.6/migrate-shadow-tokens.mjs +111 -0
  116. package/src/codemods/transforms/v0.0.6/migrate-skeleton-radius.mjs +77 -0
  117. package/src/codemods/transforms/v0.0.6/migrate-token-names.mjs +158 -0
  118. package/src/codemods/transforms/v0.0.7/__tests__/rename-banner-variant-to-container.test.mjs +85 -0
  119. package/src/codemods/transforms/v0.0.7/index.mjs +19 -0
  120. package/src/codemods/transforms/v0.0.7/rename-banner-variant-to-container.mjs +53 -0
  121. package/src/codemods/transforms/v0.0.8/__tests__/migrate-token-renames.test.mjs +321 -0
  122. package/src/codemods/transforms/v0.0.8/__tests__/rename-endslot-to-endcontent.test.mjs +98 -0
  123. package/src/codemods/transforms/v0.0.8/index.mjs +28 -0
  124. package/src/codemods/transforms/v0.0.8/migrate-token-renames.mjs +307 -0
  125. package/src/codemods/transforms/v0.0.8/rename-endslot-to-endcontent.mjs +59 -0
  126. package/src/codemods/transforms/v0.1.0/__tests__/migrate-xds-config-surfaces.test.mjs +116 -0
  127. package/src/codemods/transforms/v0.1.0/__tests__/migrate-xds-module-specifiers.test.mjs +51 -0
  128. package/src/codemods/transforms/v0.1.0/index.mjs +28 -0
  129. package/src/codemods/transforms/v0.1.0/migrate-xds-config-surfaces.mjs +230 -0
  130. package/src/codemods/transforms/v0.1.0/migrate-xds-module-specifiers.mjs +84 -0
  131. package/src/commands/agent-docs.mjs +545 -0
  132. package/src/commands/agent-docs.path-safety.test.mjs +66 -0
  133. package/src/commands/agent-docs.test.mjs +551 -0
  134. package/src/commands/build-theme.import-path.test.mjs +115 -0
  135. package/src/commands/build-theme.mjs +874 -0
  136. package/src/commands/build-theme.path-safety.test.mjs +117 -0
  137. package/src/commands/build-theme.prose.test.mjs +135 -0
  138. package/src/commands/build.mjs +196 -0
  139. package/src/commands/component/index.mjs +224 -0
  140. package/src/commands/component-package.test.mjs +123 -0
  141. package/src/commands/component-resolution.test.mjs +177 -0
  142. package/src/commands/component.test.mjs +659 -0
  143. package/src/commands/detail-levels.test.mjs +133 -0
  144. package/src/commands/discover.mjs +143 -0
  145. package/src/commands/docs.mjs +149 -0
  146. package/src/commands/docs.test.mjs +101 -0
  147. package/src/commands/doctor.mjs +85 -0
  148. package/src/commands/doctor.test.mjs +292 -0
  149. package/src/commands/external-showcase.test.mjs +121 -0
  150. package/src/commands/gap-report.mjs +456 -0
  151. package/src/commands/gap-report.test.mjs +163 -0
  152. package/src/commands/hook/index.mjs +163 -0
  153. package/src/commands/import-hint-correctness.test.mjs +182 -0
  154. package/src/commands/init.mjs +262 -0
  155. package/src/commands/interactive-guard.test.mjs +69 -0
  156. package/src/commands/json-contract.test.mjs +234 -0
  157. package/src/commands/search.mjs +100 -0
  158. package/src/commands/search.test.mjs +202 -0
  159. package/src/commands/swizzle-gap-safety.test.mjs +273 -0
  160. package/src/commands/swizzle.mjs +389 -0
  161. package/src/commands/swizzle.path-safety.test.mjs +117 -0
  162. package/src/commands/swizzle.test.mjs +53 -0
  163. package/src/commands/template.mjs +196 -0
  164. package/src/commands/template.path-safety.test.mjs +82 -0
  165. package/src/commands/template.test.mjs +62 -0
  166. package/src/commands/upgrade.mjs +537 -0
  167. package/src/commands/upgrade.test.mjs +160 -0
  168. package/src/index.mjs +335 -0
  169. package/src/lib/cli-error.mjs +162 -0
  170. package/src/lib/cli-error.test.mjs +199 -0
  171. package/src/lib/component-discovery.mjs +485 -0
  172. package/src/lib/component-format.mjs +545 -0
  173. package/src/lib/component-format.test.mjs +53 -0
  174. package/src/lib/component-loader.mjs +107 -0
  175. package/src/lib/component-loader.test.mjs +107 -0
  176. package/src/lib/config.mjs +86 -0
  177. package/src/lib/config.test.mjs +42 -0
  178. package/src/lib/error-codes.mjs +200 -0
  179. package/src/lib/error-codes.test.mjs +152 -0
  180. package/src/lib/hook-discovery.mjs +228 -0
  181. package/src/lib/hook-format.mjs +247 -0
  182. package/src/lib/json-contract.test.mjs +168 -0
  183. package/src/lib/json-shim.mjs +321 -0
  184. package/src/lib/json-shim.test.mjs +226 -0
  185. package/src/lib/json.mjs +147 -0
  186. package/src/lib/manifest.mjs +248 -0
  187. package/src/lib/manifest.test.mjs +176 -0
  188. package/src/lib/node-version.mjs +69 -0
  189. package/src/lib/node-version.test.mjs +91 -0
  190. package/src/lib/package-scanner.mjs +94 -0
  191. package/src/lib/parse.mjs +43 -0
  192. package/src/lib/resolve-theme.mjs +147 -0
  193. package/src/lib/string-utils.mjs +192 -0
  194. package/src/types/api.contract.assert.ts +97 -0
  195. package/src/types/api.d.ts +206 -0
  196. package/src/types/base.d.ts +164 -0
  197. package/src/types/component.d.ts +93 -0
  198. package/src/types/discover.d.ts +59 -0
  199. package/src/types/docs.d.ts +40 -0
  200. package/src/types/doctor.d.ts +42 -0
  201. package/src/types/error-codes.d.ts +59 -0
  202. package/src/types/gap-report.d.ts +29 -0
  203. package/src/types/hook.d.ts +59 -0
  204. package/src/types/index.d.ts +16 -0
  205. package/src/types/manifest.d.ts +73 -0
  206. package/src/types/search.d.ts +53 -0
  207. package/src/types/swizzle.d.ts +30 -0
  208. package/src/types/template.d.ts +70 -0
  209. package/src/types/theme.d.ts +23 -0
  210. package/src/types/upgrade.d.ts +35 -0
  211. package/src/update-hint-commands.test.mjs +54 -0
  212. package/src/utils/github.mjs +274 -0
  213. package/src/utils/interactive.mjs +76 -0
  214. package/src/utils/interactive.test.mjs +70 -0
  215. package/src/utils/package-manager.mjs +74 -0
  216. package/src/utils/package-manager.test.mjs +113 -0
  217. package/src/utils/path-safety.mjs +185 -0
  218. package/src/utils/path-safety.test.mjs +137 -0
  219. package/src/utils/paths.mjs +159 -0
  220. package/src/utils/paths.test.mjs +211 -0
  221. package/src/utils/semver.mjs +72 -0
  222. package/src/utils/semver.test.mjs +67 -0
  223. package/src/utils/update-check.mjs +82 -0
  224. package/src/utils/update-check.test.mjs +137 -0
  225. package/templates/blocks/components/AlertDialog/AlertDialogAsyncAction.doc.mjs +14 -0
  226. package/templates/blocks/components/AlertDialog/AlertDialogAsyncAction.tsx +27 -0
  227. package/templates/blocks/components/AlertDialog/AlertDialogDeleteConfirmation.doc.mjs +17 -0
  228. package/templates/blocks/components/AlertDialog/AlertDialogDeleteConfirmation.tsx +35 -0
  229. package/templates/blocks/components/AppShell/AppShellContentOnly.doc.mjs +14 -0
  230. package/templates/blocks/components/AppShell/AppShellContentOnly.tsx +22 -0
  231. package/templates/blocks/components/AppShell/AppShellMobileHookUsage.doc.mjs +14 -0
  232. package/templates/blocks/components/AppShell/AppShellMobileHookUsage.tsx +63 -0
  233. package/templates/blocks/components/AppShell/AppShellShowcase.doc.mjs +15 -0
  234. package/templates/blocks/components/AppShell/AppShellShowcase.tsx +63 -0
  235. package/templates/blocks/components/AppShell/AppShellSideNavOnly.doc.mjs +14 -0
  236. package/templates/blocks/components/AppShell/AppShellSideNavOnly.tsx +68 -0
  237. package/templates/blocks/components/AppShell/AppShellTopNavOnly.doc.mjs +14 -0
  238. package/templates/blocks/components/AppShell/AppShellTopNavOnly.tsx +49 -0
  239. package/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.doc.mjs +14 -0
  240. package/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.tsx +75 -0
  241. package/templates/blocks/components/AppShell/AppShellWithBanner.doc.mjs +14 -0
  242. package/templates/blocks/components/AppShell/AppShellWithBanner.tsx +85 -0
  243. package/templates/blocks/components/AspectRatio/AspectRatioCircleImage.doc.mjs +13 -0
  244. package/templates/blocks/components/AspectRatio/AspectRatioCircleImage.tsx +24 -0
  245. package/templates/blocks/components/AspectRatio/AspectRatioImageGallery.doc.mjs +13 -0
  246. package/templates/blocks/components/AspectRatio/AspectRatioImageGallery.tsx +44 -0
  247. package/templates/blocks/components/AspectRatio/AspectRatioShowcase.doc.mjs +15 -0
  248. package/templates/blocks/components/AspectRatio/AspectRatioShowcase.tsx +55 -0
  249. package/templates/blocks/components/AspectRatio/AspectRatioSquareImage.doc.mjs +13 -0
  250. package/templates/blocks/components/AspectRatio/AspectRatioSquareImage.tsx +24 -0
  251. package/templates/blocks/components/AspectRatio/AspectRatioWidescreen.doc.mjs +13 -0
  252. package/templates/blocks/components/AspectRatio/AspectRatioWidescreen.tsx +24 -0
  253. package/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.doc.mjs +13 -0
  254. package/templates/blocks/components/AspectRatio/AspectRatioWithSkeleton.tsx +17 -0
  255. package/templates/blocks/components/Avatar/AvatarFallbackChain.doc.mjs +14 -0
  256. package/templates/blocks/components/Avatar/AvatarFallbackChain.tsx +47 -0
  257. package/templates/blocks/components/Avatar/AvatarGroup.doc.mjs +13 -0
  258. package/templates/blocks/components/Avatar/AvatarGroup.tsx +62 -0
  259. package/templates/blocks/components/Avatar/AvatarInitialsFallback.doc.mjs +13 -0
  260. package/templates/blocks/components/Avatar/AvatarInitialsFallback.tsx +29 -0
  261. package/templates/blocks/components/Avatar/AvatarShowcase.doc.mjs +15 -0
  262. package/templates/blocks/components/Avatar/AvatarShowcase.tsx +37 -0
  263. package/templates/blocks/components/Avatar/AvatarUserCard.doc.mjs +13 -0
  264. package/templates/blocks/components/Avatar/AvatarUserCard.tsx +57 -0
  265. package/templates/blocks/components/Avatar/AvatarWithImage.doc.mjs +13 -0
  266. package/templates/blocks/components/Avatar/AvatarWithImage.tsx +31 -0
  267. package/templates/blocks/components/Avatar/AvatarWithStatus.doc.mjs +13 -0
  268. package/templates/blocks/components/Avatar/AvatarWithStatus.tsx +33 -0
  269. package/templates/blocks/components/AvatarGroup/AvatarGroupShowcase.doc.mjs +14 -0
  270. package/templates/blocks/components/AvatarGroup/AvatarGroupShowcase.tsx +58 -0
  271. package/templates/blocks/components/AvatarGroupOverflow/AvatarGroupOverflowCustomText.doc.mjs +13 -0
  272. package/templates/blocks/components/AvatarGroupOverflow/AvatarGroupOverflowCustomText.tsx +35 -0
  273. package/templates/blocks/components/AvatarGroupOverflow/AvatarGroupOverflowDefault.doc.mjs +13 -0
  274. package/templates/blocks/components/AvatarGroupOverflow/AvatarGroupOverflowDefault.tsx +35 -0
  275. package/templates/blocks/components/AvatarGroupOverflow/AvatarGroupOverflowShowcase.doc.mjs +14 -0
  276. package/templates/blocks/components/AvatarGroupOverflow/AvatarGroupOverflowShowcase.tsx +48 -0
  277. package/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.doc.mjs +15 -0
  278. package/templates/blocks/components/AvatarStatusDot/AvatarStatusDotShowcase.tsx +28 -0
  279. package/templates/blocks/components/Badge/BadgeCategoryTags.doc.mjs +13 -0
  280. package/templates/blocks/components/Badge/BadgeCategoryTags.tsx +37 -0
  281. package/templates/blocks/components/Badge/BadgeCountBadges.doc.mjs +13 -0
  282. package/templates/blocks/components/Badge/BadgeCountBadges.tsx +29 -0
  283. package/templates/blocks/components/Badge/BadgeShowcase.doc.mjs +15 -0
  284. package/templates/blocks/components/Badge/BadgeShowcase.tsx +27 -0
  285. package/templates/blocks/components/Badge/BadgeStatusLabels.doc.mjs +13 -0
  286. package/templates/blocks/components/Badge/BadgeStatusLabels.tsx +33 -0
  287. package/templates/blocks/components/Banner/BannerCollapsibleContent.doc.mjs +13 -0
  288. package/templates/blocks/components/Banner/BannerCollapsibleContent.tsx +31 -0
  289. package/templates/blocks/components/Banner/BannerDismissable.doc.mjs +13 -0
  290. package/templates/blocks/components/Banner/BannerDismissable.tsx +31 -0
  291. package/templates/blocks/components/Banner/BannerSectionVariant.doc.mjs +13 -0
  292. package/templates/blocks/components/Banner/BannerSectionVariant.tsx +30 -0
  293. package/templates/blocks/components/Banner/BannerShowcase.doc.mjs +15 -0
  294. package/templates/blocks/components/Banner/BannerShowcase.tsx +25 -0
  295. package/templates/blocks/components/Banner/BannerStatuses.doc.mjs +13 -0
  296. package/templates/blocks/components/Banner/BannerStatuses.tsx +33 -0
  297. package/templates/blocks/components/Banner/BannerWithActionButton.doc.mjs +13 -0
  298. package/templates/blocks/components/Banner/BannerWithActionButton.tsx +34 -0
  299. package/templates/blocks/components/Blockquote/BlockquoteShowcase.doc.mjs +15 -0
  300. package/templates/blocks/components/Blockquote/BlockquoteShowcase.tsx +21 -0
  301. package/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.doc.mjs +15 -0
  302. package/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.tsx +75 -0
  303. package/templates/blocks/components/Breadcrumbs/BreadcrumbsCustomSeparator.doc.mjs +13 -0
  304. package/templates/blocks/components/Breadcrumbs/BreadcrumbsCustomSeparator.tsx +32 -0
  305. package/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.doc.mjs +13 -0
  306. package/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.tsx +27 -0
  307. package/templates/blocks/components/Breadcrumbs/BreadcrumbsShowcase.doc.mjs +15 -0
  308. package/templates/blocks/components/Breadcrumbs/BreadcrumbsShowcase.tsx +15 -0
  309. package/templates/blocks/components/Breadcrumbs/BreadcrumbsSupportingVariant.doc.mjs +13 -0
  310. package/templates/blocks/components/Breadcrumbs/BreadcrumbsSupportingVariant.tsx +34 -0
  311. package/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.doc.mjs +13 -0
  312. package/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.tsx +25 -0
  313. package/templates/blocks/components/Button/ButtonShowcase.doc.mjs +15 -0
  314. package/templates/blocks/components/Button/ButtonShowcase.tsx +17 -0
  315. package/templates/blocks/components/Button/ButtonSizeVariants.doc.mjs +13 -0
  316. package/templates/blocks/components/Button/ButtonSizeVariants.tsx +45 -0
  317. package/templates/blocks/components/Button/ButtonVariants.doc.mjs +13 -0
  318. package/templates/blocks/components/Button/ButtonVariants.tsx +61 -0
  319. package/templates/blocks/components/Button/ButtonWithEndSlot.doc.mjs +13 -0
  320. package/templates/blocks/components/Button/ButtonWithEndSlot.tsx +35 -0
  321. package/templates/blocks/components/Button/ButtonWithIcon.doc.mjs +13 -0
  322. package/templates/blocks/components/Button/ButtonWithIcon.tsx +46 -0
  323. package/templates/blocks/components/ButtonGroup/ButtonGroupShowcase.doc.mjs +13 -0
  324. package/templates/blocks/components/ButtonGroup/ButtonGroupShowcase.tsx +38 -0
  325. package/templates/blocks/components/Calendar/CalendarConstraints.doc.mjs +13 -0
  326. package/templates/blocks/components/Calendar/CalendarConstraints.tsx +34 -0
  327. package/templates/blocks/components/Calendar/CalendarRangeWithValue.doc.mjs +13 -0
  328. package/templates/blocks/components/Calendar/CalendarRangeWithValue.tsx +31 -0
  329. package/templates/blocks/components/Calendar/CalendarShowcase.doc.mjs +15 -0
  330. package/templates/blocks/components/Calendar/CalendarShowcase.tsx +13 -0
  331. package/templates/blocks/components/Calendar/CalendarSingle.doc.mjs +13 -0
  332. package/templates/blocks/components/Calendar/CalendarSingle.tsx +26 -0
  333. package/templates/blocks/components/Calendar/CalendarTwoMonths.doc.mjs +13 -0
  334. package/templates/blocks/components/Calendar/CalendarTwoMonths.tsx +32 -0
  335. package/templates/blocks/components/Card/CardCallout.doc.mjs +13 -0
  336. package/templates/blocks/components/Card/CardCallout.tsx +30 -0
  337. package/templates/blocks/components/Card/CardShowcase.doc.mjs +15 -0
  338. package/templates/blocks/components/Card/CardShowcase.tsx +21 -0
  339. package/templates/blocks/components/Card/CardVariants.doc.mjs +13 -0
  340. package/templates/blocks/components/Card/CardVariants.tsx +39 -0
  341. package/templates/blocks/components/Card/CardWithInnerLayout.doc.mjs +13 -0
  342. package/templates/blocks/components/Card/CardWithInnerLayout.tsx +44 -0
  343. package/templates/blocks/components/Card/CardWithSimpleContent.doc.mjs +13 -0
  344. package/templates/blocks/components/Card/CardWithSimpleContent.tsx +24 -0
  345. package/templates/blocks/components/Card/ClickableCardShowcase.doc.mjs +15 -0
  346. package/templates/blocks/components/Card/ClickableCardShowcase.tsx +21 -0
  347. package/templates/blocks/components/Card/ClickableCardWithNestedButton.doc.mjs +14 -0
  348. package/templates/blocks/components/Card/ClickableCardWithNestedButton.tsx +24 -0
  349. package/templates/blocks/components/Card/SelectableCardMulti.doc.mjs +14 -0
  350. package/templates/blocks/components/Card/SelectableCardMulti.tsx +48 -0
  351. package/templates/blocks/components/Card/SelectableCardShowcase.doc.mjs +15 -0
  352. package/templates/blocks/components/Card/SelectableCardShowcase.tsx +46 -0
  353. package/templates/blocks/components/Carousel/CarouselCards.doc.mjs +13 -0
  354. package/templates/blocks/components/Carousel/CarouselCards.tsx +55 -0
  355. package/templates/blocks/components/Carousel/CarouselShowcase.doc.mjs +15 -0
  356. package/templates/blocks/components/Carousel/CarouselShowcase.tsx +38 -0
  357. package/templates/blocks/components/Carousel/CarouselSnap.doc.mjs +13 -0
  358. package/templates/blocks/components/Carousel/CarouselSnap.tsx +43 -0
  359. package/templates/blocks/components/Center/CenterHorizontal.doc.mjs +13 -0
  360. package/templates/blocks/components/Center/CenterHorizontal.tsx +65 -0
  361. package/templates/blocks/components/Center/CenterInsideACard.doc.mjs +13 -0
  362. package/templates/blocks/components/Center/CenterInsideACard.tsx +28 -0
  363. package/templates/blocks/components/Center/CenterShowcase.doc.mjs +15 -0
  364. package/templates/blocks/components/Center/CenterShowcase.tsx +20 -0
  365. package/templates/blocks/components/ChatComposer/ChatComposerAttachments.doc.mjs +13 -0
  366. package/templates/blocks/components/ChatComposer/ChatComposerAttachments.tsx +29 -0
  367. package/templates/blocks/components/ChatComposer/ChatComposerFooterActions.doc.mjs +13 -0
  368. package/templates/blocks/components/ChatComposer/ChatComposerFooterActions.tsx +76 -0
  369. package/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.doc.mjs +13 -0
  370. package/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.tsx +124 -0
  371. package/templates/blocks/components/ChatComposer/ChatComposerShowcase.doc.mjs +13 -0
  372. package/templates/blocks/components/ChatComposer/ChatComposerShowcase.tsx +17 -0
  373. package/templates/blocks/components/ChatComposer/ChatComposerSimple.doc.mjs +13 -0
  374. package/templates/blocks/components/ChatComposer/ChatComposerSimple.tsx +18 -0
  375. package/templates/blocks/components/ChatComposer/ChatComposerStreaming.doc.mjs +13 -0
  376. package/templates/blocks/components/ChatComposer/ChatComposerStreaming.tsx +46 -0
  377. package/templates/blocks/components/ChatComposer/ChatComposerValidation.doc.mjs +13 -0
  378. package/templates/blocks/components/ChatComposer/ChatComposerValidation.tsx +43 -0
  379. package/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.doc.mjs +13 -0
  380. package/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerAttachments.tsx +73 -0
  381. package/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerCollapsible.doc.mjs +13 -0
  382. package/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerCollapsible.tsx +27 -0
  383. package/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerFeedback.doc.mjs +13 -0
  384. package/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerFeedback.tsx +57 -0
  385. package/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.doc.mjs +14 -0
  386. package/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.tsx +47 -0
  387. package/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.doc.mjs +13 -0
  388. package/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.tsx +53 -0
  389. package/templates/blocks/components/ChatComposerInput/ChatComposerInputControlledInput.doc.mjs +14 -0
  390. package/templates/blocks/components/ChatComposerInput/ChatComposerInputControlledInput.tsx +31 -0
  391. package/templates/blocks/components/ChatComposerInput/ChatComposerInputDisabled.doc.mjs +14 -0
  392. package/templates/blocks/components/ChatComposerInput/ChatComposerInputDisabled.tsx +20 -0
  393. package/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.doc.mjs +14 -0
  394. package/templates/blocks/components/ChatComposerInput/ChatComposerInputMentionTrigger.tsx +63 -0
  395. package/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.doc.mjs +14 -0
  396. package/templates/blocks/components/ChatComposerInput/ChatComposerInputMultipleTriggers.tsx +77 -0
  397. package/templates/blocks/components/ChatComposerInput/ChatComposerInputShowcase.doc.mjs +13 -0
  398. package/templates/blocks/components/ChatComposerInput/ChatComposerInputShowcase.tsx +19 -0
  399. package/templates/blocks/components/ChatComposerInput/ChatComposerInputSlashCommands.doc.mjs +14 -0
  400. package/templates/blocks/components/ChatComposerInput/ChatComposerInputSlashCommands.tsx +55 -0
  401. package/templates/blocks/components/ChatDictation/ChatDictationDictationInComposer.doc.mjs +13 -0
  402. package/templates/blocks/components/ChatDictation/ChatDictationDictationInComposer.tsx +46 -0
  403. package/templates/blocks/components/ChatDictation/ChatDictationDictationStates.doc.mjs +13 -0
  404. package/templates/blocks/components/ChatDictation/ChatDictationDictationStates.tsx +82 -0
  405. package/templates/blocks/components/ChatDictation/ChatDictationSizes.doc.mjs +13 -0
  406. package/templates/blocks/components/ChatDictation/ChatDictationSizes.tsx +63 -0
  407. package/templates/blocks/components/ChatDictationButton/ChatDictationButtonShowcase.doc.mjs +14 -0
  408. package/templates/blocks/components/ChatDictationButton/ChatDictationButtonShowcase.tsx +72 -0
  409. package/templates/blocks/components/ChatLayout/ChatLayoutPanelChat.doc.mjs +13 -0
  410. package/templates/blocks/components/ChatLayout/ChatLayoutPanelChat.tsx +61 -0
  411. package/templates/blocks/components/ChatLayout/ChatLayoutShowcase.doc.mjs +13 -0
  412. package/templates/blocks/components/ChatLayout/ChatLayoutShowcase.tsx +44 -0
  413. package/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonLabels.doc.mjs +13 -0
  414. package/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonLabels.tsx +33 -0
  415. package/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonStates.doc.mjs +14 -0
  416. package/templates/blocks/components/ChatLayoutScrollButton/ChatLayoutScrollButtonStates.tsx +42 -0
  417. package/templates/blocks/components/ChatMessage/ChatMessageAvatarName.doc.mjs +13 -0
  418. package/templates/blocks/components/ChatMessage/ChatMessageAvatarName.tsx +72 -0
  419. package/templates/blocks/components/ChatMessage/ChatMessageGhost.doc.mjs +13 -0
  420. package/templates/blocks/components/ChatMessage/ChatMessageGhost.tsx +63 -0
  421. package/templates/blocks/components/ChatMessage/ChatMessageMultiBubble.doc.mjs +13 -0
  422. package/templates/blocks/components/ChatMessage/ChatMessageMultiBubble.tsx +66 -0
  423. package/templates/blocks/components/ChatMessage/ChatMessageShowcase.doc.mjs +14 -0
  424. package/templates/blocks/components/ChatMessage/ChatMessageShowcase.tsx +55 -0
  425. package/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleDensity.doc.mjs +13 -0
  426. package/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleDensity.tsx +41 -0
  427. package/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleGrouping.doc.mjs +13 -0
  428. package/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleGrouping.tsx +63 -0
  429. package/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleMetadata.doc.mjs +13 -0
  430. package/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleMetadata.tsx +70 -0
  431. package/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleShowcase.doc.mjs +14 -0
  432. package/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleShowcase.tsx +48 -0
  433. package/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleVariants.doc.mjs +13 -0
  434. package/templates/blocks/components/ChatMessageBubble/ChatMessageBubbleVariants.tsx +43 -0
  435. package/templates/blocks/components/ChatMessageList/ChatMessageListDensity.doc.mjs +13 -0
  436. package/templates/blocks/components/ChatMessageList/ChatMessageListDensity.tsx +59 -0
  437. package/templates/blocks/components/ChatMessageList/ChatMessageListFullFeatured.doc.mjs +13 -0
  438. package/templates/blocks/components/ChatMessageList/ChatMessageListFullFeatured.tsx +97 -0
  439. package/templates/blocks/components/ChatMessageList/ChatMessageListShowcase.doc.mjs +14 -0
  440. package/templates/blocks/components/ChatMessageList/ChatMessageListShowcase.tsx +67 -0
  441. package/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.doc.mjs +13 -0
  442. package/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.tsx +94 -0
  443. package/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.doc.mjs +14 -0
  444. package/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.tsx +122 -0
  445. package/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataStatus.doc.mjs +13 -0
  446. package/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataStatus.tsx +41 -0
  447. package/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataTimestamp.doc.mjs +13 -0
  448. package/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataTimestamp.tsx +43 -0
  449. package/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.doc.mjs +13 -0
  450. package/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.tsx +46 -0
  451. package/templates/blocks/components/ChatSendButton/ChatSendButtonInComposer.doc.mjs +13 -0
  452. package/templates/blocks/components/ChatSendButton/ChatSendButtonInComposer.tsx +18 -0
  453. package/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.doc.mjs +14 -0
  454. package/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.tsx +22 -0
  455. package/templates/blocks/components/ChatSendButton/ChatSendButtonStates.doc.mjs +13 -0
  456. package/templates/blocks/components/ChatSendButton/ChatSendButtonStates.tsx +22 -0
  457. package/templates/blocks/components/ChatSystemMessage/ChatSystemMessageShowcase.doc.mjs +14 -0
  458. package/templates/blocks/components/ChatSystemMessage/ChatSystemMessageShowcase.tsx +21 -0
  459. package/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.doc.mjs +13 -0
  460. package/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.tsx +37 -0
  461. package/templates/blocks/components/ChatSystemMessage/ChatSystemMessageVariants.doc.mjs +13 -0
  462. package/templates/blocks/components/ChatSystemMessage/ChatSystemMessageVariants.tsx +38 -0
  463. package/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.doc.mjs +13 -0
  464. package/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.tsx +38 -0
  465. package/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextBasic.doc.mjs +13 -0
  466. package/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextBasic.tsx +29 -0
  467. package/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextColors.doc.mjs +13 -0
  468. package/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextColors.tsx +30 -0
  469. package/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextShowcase.doc.mjs +13 -0
  470. package/templates/blocks/components/ChatTokenizedText/ChatTokenizedTextShowcase.tsx +30 -0
  471. package/templates/blocks/components/ChatToolCalls/ChatToolCallsInteractiveToolCalls.doc.mjs +13 -0
  472. package/templates/blocks/components/ChatToolCalls/ChatToolCallsInteractiveToolCalls.tsx +70 -0
  473. package/templates/blocks/components/ChatToolCalls/ChatToolCallsShowcase.doc.mjs +13 -0
  474. package/templates/blocks/components/ChatToolCalls/ChatToolCallsShowcase.tsx +35 -0
  475. package/templates/blocks/components/ChatToolCalls/ChatToolCallsStatuses.doc.mjs +13 -0
  476. package/templates/blocks/components/ChatToolCalls/ChatToolCallsStatuses.tsx +44 -0
  477. package/templates/blocks/components/ChatToolCalls/ChatToolCallsToolCallsWithNodes.doc.mjs +13 -0
  478. package/templates/blocks/components/ChatToolCalls/ChatToolCallsToolCallsWithNodes.tsx +49 -0
  479. package/templates/blocks/components/CheckboxInput/CheckboxInputBasic.doc.mjs +13 -0
  480. package/templates/blocks/components/CheckboxInput/CheckboxInputBasic.tsx +46 -0
  481. package/templates/blocks/components/CheckboxInput/CheckboxInputIndeterminateState.doc.mjs +13 -0
  482. package/templates/blocks/components/CheckboxInput/CheckboxInputIndeterminateState.tsx +64 -0
  483. package/templates/blocks/components/CheckboxInput/CheckboxInputShowcase.doc.mjs +15 -0
  484. package/templates/blocks/components/CheckboxInput/CheckboxInputShowcase.tsx +27 -0
  485. package/templates/blocks/components/CheckboxInput/CheckboxInputStatusVariations.doc.mjs +13 -0
  486. package/templates/blocks/components/CheckboxInput/CheckboxInputStatusVariations.tsx +45 -0
  487. package/templates/blocks/components/CheckboxList/CheckboxListSelectAllPattern.doc.mjs +14 -0
  488. package/templates/blocks/components/CheckboxList/CheckboxListSelectAllPattern.tsx +53 -0
  489. package/templates/blocks/components/CheckboxList/CheckboxListShowcase.doc.mjs +13 -0
  490. package/templates/blocks/components/CheckboxList/CheckboxListShowcase.tsx +33 -0
  491. package/templates/blocks/components/CheckboxList/CheckboxListWithEndContent.doc.mjs +14 -0
  492. package/templates/blocks/components/CheckboxList/CheckboxListWithEndContent.tsx +37 -0
  493. package/templates/blocks/components/CheckboxListItem/CheckboxListItemShowcase.doc.mjs +15 -0
  494. package/templates/blocks/components/CheckboxListItem/CheckboxListItemShowcase.tsx +40 -0
  495. package/templates/blocks/components/Citation/CitationInlineText.doc.mjs +14 -0
  496. package/templates/blocks/components/Citation/CitationInlineText.tsx +42 -0
  497. package/templates/blocks/components/Citation/CitationShowcase.doc.mjs +15 -0
  498. package/templates/blocks/components/Citation/CitationShowcase.tsx +62 -0
  499. package/templates/blocks/components/Citation/CitationSourceList.doc.mjs +14 -0
  500. package/templates/blocks/components/Citation/CitationSourceList.tsx +49 -0
  501. package/templates/blocks/components/Code/CodeAcrossTextSizes.doc.mjs +14 -0
  502. package/templates/blocks/components/Code/CodeAcrossTextSizes.tsx +27 -0
  503. package/templates/blocks/components/Code/CodeInlineInParagraph.doc.mjs +14 -0
  504. package/templates/blocks/components/Code/CodeInlineInParagraph.tsx +16 -0
  505. package/templates/blocks/components/Code/CodeShowcase.doc.mjs +15 -0
  506. package/templates/blocks/components/Code/CodeShowcase.tsx +22 -0
  507. package/templates/blocks/components/Code/CodeVariousContent.doc.mjs +14 -0
  508. package/templates/blocks/components/Code/CodeVariousContent.tsx +29 -0
  509. package/templates/blocks/components/CodeBlock/CodeBlockBashCommand.doc.mjs +14 -0
  510. package/templates/blocks/components/CodeBlock/CodeBlockBashCommand.tsx +25 -0
  511. package/templates/blocks/components/CodeBlock/CodeBlockHighlightedLines.doc.mjs +14 -0
  512. package/templates/blocks/components/CodeBlock/CodeBlockHighlightedLines.tsx +30 -0
  513. package/templates/blocks/components/CodeBlock/CodeBlockJSONConfig.doc.mjs +14 -0
  514. package/templates/blocks/components/CodeBlock/CodeBlockJSONConfig.tsx +29 -0
  515. package/templates/blocks/components/CodeBlock/CodeBlockScrollableBlock.doc.mjs +14 -0
  516. package/templates/blocks/components/CodeBlock/CodeBlockScrollableBlock.tsx +22 -0
  517. package/templates/blocks/components/CodeBlock/CodeBlockShowcase.doc.mjs +15 -0
  518. package/templates/blocks/components/CodeBlock/CodeBlockShowcase.tsx +31 -0
  519. package/templates/blocks/components/Collapsible/CollapsibleControlledAccordion.doc.mjs +13 -0
  520. package/templates/blocks/components/Collapsible/CollapsibleControlledAccordion.tsx +43 -0
  521. package/templates/blocks/components/Collapsible/CollapsibleHookUsage.doc.mjs +14 -0
  522. package/templates/blocks/components/Collapsible/CollapsibleHookUsage.tsx +46 -0
  523. package/templates/blocks/components/Collapsible/CollapsibleMultipleAccordion.doc.mjs +13 -0
  524. package/templates/blocks/components/Collapsible/CollapsibleMultipleAccordion.tsx +41 -0
  525. package/templates/blocks/components/Collapsible/CollapsibleShowcase.doc.mjs +16 -0
  526. package/templates/blocks/components/Collapsible/CollapsibleShowcase.tsx +34 -0
  527. package/templates/blocks/components/Collapsible/CollapsibleSingleAccordion.doc.mjs +13 -0
  528. package/templates/blocks/components/Collapsible/CollapsibleSingleAccordion.tsx +40 -0
  529. package/templates/blocks/components/Collapsible/CollapsibleWithoutCard.doc.mjs +13 -0
  530. package/templates/blocks/components/Collapsible/CollapsibleWithoutCard.tsx +35 -0
  531. package/templates/blocks/components/CollapsibleGroup/CollapsibleGroupShowcase.doc.mjs +15 -0
  532. package/templates/blocks/components/CollapsibleGroup/CollapsibleGroupShowcase.tsx +43 -0
  533. package/templates/blocks/components/CommandPalette/CommandPaletteAsyncSearch.doc.mjs +14 -0
  534. package/templates/blocks/components/CommandPalette/CommandPaletteAsyncSearch.tsx +47 -0
  535. package/templates/blocks/components/CommandPalette/CommandPaletteAutoGrouped.doc.mjs +14 -0
  536. package/templates/blocks/components/CommandPalette/CommandPaletteAutoGrouped.tsx +33 -0
  537. package/templates/blocks/components/CommandPalette/CommandPaletteCustomFooter.doc.mjs +13 -0
  538. package/templates/blocks/components/CommandPalette/CommandPaletteCustomFooter.tsx +36 -0
  539. package/templates/blocks/components/CommandPalette/CommandPalettePickerMode.doc.mjs +14 -0
  540. package/templates/blocks/components/CommandPalette/CommandPalettePickerMode.tsx +41 -0
  541. package/templates/blocks/components/CommandPalette/CommandPaletteRichItems.doc.mjs +14 -0
  542. package/templates/blocks/components/CommandPalette/CommandPaletteRichItems.tsx +61 -0
  543. package/templates/blocks/components/CommandPalette/CommandPaletteShowcase.doc.mjs +14 -0
  544. package/templates/blocks/components/CommandPalette/CommandPaletteShowcase.tsx +31 -0
  545. package/templates/blocks/components/CommandPaletteFooter/CommandPaletteFooterShowcase.doc.mjs +14 -0
  546. package/templates/blocks/components/CommandPaletteFooter/CommandPaletteFooterShowcase.tsx +39 -0
  547. package/templates/blocks/components/CommandPaletteGroup/CommandPaletteGroupShowcase.doc.mjs +14 -0
  548. package/templates/blocks/components/CommandPaletteGroup/CommandPaletteGroupShowcase.tsx +68 -0
  549. package/templates/blocks/components/CommandPaletteItem/CommandPaletteItemShowcase.doc.mjs +14 -0
  550. package/templates/blocks/components/CommandPaletteItem/CommandPaletteItemShowcase.tsx +82 -0
  551. package/templates/blocks/components/ContextMenu/ContextMenuShowcase.doc.mjs +14 -0
  552. package/templates/blocks/components/ContextMenu/ContextMenuShowcase.tsx +29 -0
  553. package/templates/blocks/components/DateInput/DateInputClearable.doc.mjs +14 -0
  554. package/templates/blocks/components/DateInput/DateInputClearable.tsx +33 -0
  555. package/templates/blocks/components/DateInput/DateInputDateRange.doc.mjs +14 -0
  556. package/templates/blocks/components/DateInput/DateInputDateRange.tsx +45 -0
  557. package/templates/blocks/components/DateInput/DateInputShowcase.doc.mjs +15 -0
  558. package/templates/blocks/components/DateInput/DateInputShowcase.tsx +26 -0
  559. package/templates/blocks/components/DateInput/DateInputWithDescription.doc.mjs +14 -0
  560. package/templates/blocks/components/DateInput/DateInputWithDescription.tsx +30 -0
  561. package/templates/blocks/components/DateInput/DateInputWithValidation.doc.mjs +14 -0
  562. package/templates/blocks/components/DateInput/DateInputWithValidation.tsx +45 -0
  563. package/templates/blocks/components/DateRangeInput/DateRangeInputShowcase.doc.mjs +15 -0
  564. package/templates/blocks/components/DateRangeInput/DateRangeInputShowcase.tsx +39 -0
  565. package/templates/blocks/components/DateTimeInput/DateTimeInputShowcase.doc.mjs +15 -0
  566. package/templates/blocks/components/DateTimeInput/DateTimeInputShowcase.tsx +26 -0
  567. package/templates/blocks/components/Dialog/DialogConfirmationDialog.doc.mjs +16 -0
  568. package/templates/blocks/components/Dialog/DialogConfirmationDialog.tsx +67 -0
  569. package/templates/blocks/components/Dialog/DialogFormDialog.doc.mjs +15 -0
  570. package/templates/blocks/components/Dialog/DialogFormDialog.tsx +84 -0
  571. package/templates/blocks/components/Dialog/DialogFullscreenDialog.doc.mjs +14 -0
  572. package/templates/blocks/components/Dialog/DialogFullscreenDialog.tsx +99 -0
  573. package/templates/blocks/components/Dialog/DialogScrollingContent.doc.mjs +15 -0
  574. package/templates/blocks/components/Dialog/DialogScrollingContent.tsx +84 -0
  575. package/templates/blocks/components/Dialog/DialogShowcase.doc.mjs +15 -0
  576. package/templates/blocks/components/Dialog/DialogShowcase.tsx +23 -0
  577. package/templates/blocks/components/Dialog/DialogWithSubtitle.doc.mjs +15 -0
  578. package/templates/blocks/components/Dialog/DialogWithSubtitle.tsx +62 -0
  579. package/templates/blocks/components/DialogHeader/DialogHeaderShowcase.doc.mjs +15 -0
  580. package/templates/blocks/components/DialogHeader/DialogHeaderShowcase.tsx +32 -0
  581. package/templates/blocks/components/Divider/DividerFullBleed.doc.mjs +14 -0
  582. package/templates/blocks/components/Divider/DividerFullBleed.tsx +39 -0
  583. package/templates/blocks/components/Divider/DividerShowcase.doc.mjs +15 -0
  584. package/templates/blocks/components/Divider/DividerShowcase.tsx +16 -0
  585. package/templates/blocks/components/Divider/DividerVariants.doc.mjs +14 -0
  586. package/templates/blocks/components/Divider/DividerVariants.tsx +37 -0
  587. package/templates/blocks/components/Divider/DividerVertical.doc.mjs +14 -0
  588. package/templates/blocks/components/Divider/DividerVertical.tsx +55 -0
  589. package/templates/blocks/components/DropdownMenu/DropdownMenuActions.doc.mjs +14 -0
  590. package/templates/blocks/components/DropdownMenu/DropdownMenuActions.tsx +33 -0
  591. package/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.doc.mjs +14 -0
  592. package/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.tsx +40 -0
  593. package/templates/blocks/components/DropdownMenu/DropdownMenuShowcase.doc.mjs +15 -0
  594. package/templates/blocks/components/DropdownMenu/DropdownMenuShowcase.tsx +24 -0
  595. package/templates/blocks/components/DropdownMenu/DropdownMenuWithDisabledItems.doc.mjs +14 -0
  596. package/templates/blocks/components/DropdownMenu/DropdownMenuWithDisabledItems.tsx +35 -0
  597. package/templates/blocks/components/DropdownMenu/DropdownMenuWithSections.doc.mjs +14 -0
  598. package/templates/blocks/components/DropdownMenu/DropdownMenuWithSections.tsx +51 -0
  599. package/templates/blocks/components/DropdownMenuItem/DropdownMenuItemShowcase.doc.mjs +15 -0
  600. package/templates/blocks/components/DropdownMenuItem/DropdownMenuItemShowcase.tsx +94 -0
  601. package/templates/blocks/components/EmptyState/EmptyStateActions.doc.mjs +14 -0
  602. package/templates/blocks/components/EmptyState/EmptyStateActions.tsx +24 -0
  603. package/templates/blocks/components/EmptyState/EmptyStateCompact.doc.mjs +14 -0
  604. package/templates/blocks/components/EmptyState/EmptyStateCompact.tsx +26 -0
  605. package/templates/blocks/components/EmptyState/EmptyStateContainer.doc.mjs +14 -0
  606. package/templates/blocks/components/EmptyState/EmptyStateContainer.tsx +27 -0
  607. package/templates/blocks/components/EmptyState/EmptyStateShowcase.doc.mjs +15 -0
  608. package/templates/blocks/components/EmptyState/EmptyStateShowcase.tsx +19 -0
  609. package/templates/blocks/components/Field/FieldRequired.doc.mjs +14 -0
  610. package/templates/blocks/components/Field/FieldRequired.tsx +34 -0
  611. package/templates/blocks/components/Field/FieldShowcase.doc.mjs +15 -0
  612. package/templates/blocks/components/Field/FieldShowcase.tsx +36 -0
  613. package/templates/blocks/components/Field/FieldStatusVariants.doc.mjs +14 -0
  614. package/templates/blocks/components/Field/FieldStatusVariants.tsx +48 -0
  615. package/templates/blocks/components/Field/FieldWithDescription.doc.mjs +14 -0
  616. package/templates/blocks/components/Field/FieldWithDescription.tsx +34 -0
  617. package/templates/blocks/components/FieldLabel/FieldLabelShowcase.doc.mjs +15 -0
  618. package/templates/blocks/components/FieldLabel/FieldLabelShowcase.tsx +42 -0
  619. package/templates/blocks/components/FieldStatus/FieldStatusShowcase.doc.mjs +15 -0
  620. package/templates/blocks/components/FieldStatus/FieldStatusShowcase.tsx +28 -0
  621. package/templates/blocks/components/FileInput/FileInputShowcase.doc.mjs +12 -0
  622. package/templates/blocks/components/FileInput/FileInputShowcase.tsx +18 -0
  623. package/templates/blocks/components/FormLayout/FormLayoutHorizontal.doc.mjs +13 -0
  624. package/templates/blocks/components/FormLayout/FormLayoutHorizontal.tsx +19 -0
  625. package/templates/blocks/components/FormLayout/FormLayoutHorizontalLabels.doc.mjs +13 -0
  626. package/templates/blocks/components/FormLayout/FormLayoutHorizontalLabels.tsx +38 -0
  627. package/templates/blocks/components/FormLayout/FormLayoutMixedControls.doc.mjs +13 -0
  628. package/templates/blocks/components/FormLayout/FormLayoutMixedControls.tsx +39 -0
  629. package/templates/blocks/components/FormLayout/FormLayoutNested.doc.mjs +13 -0
  630. package/templates/blocks/components/FormLayout/FormLayoutNested.tsx +31 -0
  631. package/templates/blocks/components/FormLayout/FormLayoutShowcase.doc.mjs +15 -0
  632. package/templates/blocks/components/FormLayout/FormLayoutShowcase.tsx +31 -0
  633. package/templates/blocks/components/Grid/GridDashboardLayout.doc.mjs +13 -0
  634. package/templates/blocks/components/Grid/GridDashboardLayout.tsx +51 -0
  635. package/templates/blocks/components/Grid/GridGalleryExample.doc.mjs +13 -0
  636. package/templates/blocks/components/Grid/GridGalleryExample.tsx +40 -0
  637. package/templates/blocks/components/Grid/GridResponsiveAutoFit.doc.mjs +13 -0
  638. package/templates/blocks/components/Grid/GridResponsiveAutoFit.tsx +74 -0
  639. package/templates/blocks/components/Grid/GridShowcase.doc.mjs +13 -0
  640. package/templates/blocks/components/Grid/GridShowcase.tsx +16 -0
  641. package/templates/blocks/components/Grid/GridWithGridSpan.doc.mjs +13 -0
  642. package/templates/blocks/components/Grid/GridWithGridSpan.tsx +96 -0
  643. package/templates/blocks/components/GridSpan/GridSpanShowcase.doc.mjs +15 -0
  644. package/templates/blocks/components/GridSpan/GridSpanShowcase.tsx +52 -0
  645. package/templates/blocks/components/HStack/HStackShowcase.doc.mjs +14 -0
  646. package/templates/blocks/components/HStack/HStackShowcase.tsx +44 -0
  647. package/templates/blocks/components/Heading/HeadingCardGrid.doc.mjs +14 -0
  648. package/templates/blocks/components/Heading/HeadingCardGrid.tsx +24 -0
  649. package/templates/blocks/components/Heading/HeadingPageLayout.doc.mjs +14 -0
  650. package/templates/blocks/components/Heading/HeadingPageLayout.tsx +34 -0
  651. package/templates/blocks/components/Heading/HeadingShowcase.doc.mjs +13 -0
  652. package/templates/blocks/components/Heading/HeadingShowcase.tsx +19 -0
  653. package/templates/blocks/components/Heading/HeadingTruncation.doc.mjs +14 -0
  654. package/templates/blocks/components/Heading/HeadingTruncation.tsx +23 -0
  655. package/templates/blocks/components/Hooks/useStreamingTextHookUsage.doc.mjs +14 -0
  656. package/templates/blocks/components/Hooks/useStreamingTextHookUsage.tsx +31 -0
  657. package/templates/blocks/components/HoverCard/HoverCardHookUsage.doc.mjs +14 -0
  658. package/templates/blocks/components/HoverCard/HoverCardHookUsage.tsx +41 -0
  659. package/templates/blocks/components/HoverCard/HoverCardInlineTextHoverCard.doc.mjs +14 -0
  660. package/templates/blocks/components/HoverCard/HoverCardInlineTextHoverCard.tsx +45 -0
  661. package/templates/blocks/components/HoverCard/HoverCardInteractiveContent.doc.mjs +14 -0
  662. package/templates/blocks/components/HoverCard/HoverCardInteractiveContent.tsx +37 -0
  663. package/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.doc.mjs +14 -0
  664. package/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.tsx +37 -0
  665. package/templates/blocks/components/HoverCard/HoverCardShowcase.doc.mjs +16 -0
  666. package/templates/blocks/components/HoverCard/HoverCardShowcase.tsx +34 -0
  667. package/templates/blocks/components/Icon/IconNonSemanticColors.doc.mjs +14 -0
  668. package/templates/blocks/components/Icon/IconNonSemanticColors.tsx +33 -0
  669. package/templates/blocks/components/Icon/IconSemanticColors.doc.mjs +14 -0
  670. package/templates/blocks/components/Icon/IconSemanticColors.tsx +46 -0
  671. package/templates/blocks/components/Icon/IconShowcase.doc.mjs +13 -0
  672. package/templates/blocks/components/Icon/IconShowcase.tsx +9 -0
  673. package/templates/blocks/components/Icon/IconSizes.doc.mjs +14 -0
  674. package/templates/blocks/components/Icon/IconSizes.tsx +30 -0
  675. package/templates/blocks/components/Icon/IconStatusIcons.doc.mjs +14 -0
  676. package/templates/blocks/components/Icon/IconStatusIcons.tsx +27 -0
  677. package/templates/blocks/components/IconButton/IconButtonActionBar.doc.mjs +13 -0
  678. package/templates/blocks/components/IconButton/IconButtonActionBar.tsx +39 -0
  679. package/templates/blocks/components/IconButton/IconButtonLoadingToggle.doc.mjs +13 -0
  680. package/templates/blocks/components/IconButton/IconButtonLoadingToggle.tsx +42 -0
  681. package/templates/blocks/components/IconButton/IconButtonShowcase.doc.mjs +15 -0
  682. package/templates/blocks/components/IconButton/IconButtonShowcase.tsx +15 -0
  683. package/templates/blocks/components/IconButton/IconButtonTooltipIconButton.doc.mjs +13 -0
  684. package/templates/blocks/components/IconButton/IconButtonTooltipIconButton.tsx +32 -0
  685. package/templates/blocks/components/InputGroup/InputGroupShowcase.doc.mjs +13 -0
  686. package/templates/blocks/components/InputGroup/InputGroupShowcase.tsx +39 -0
  687. package/templates/blocks/components/Item/ItemBasicItem.doc.mjs +14 -0
  688. package/templates/blocks/components/Item/ItemBasicItem.tsx +29 -0
  689. package/templates/blocks/components/Item/ItemShowcase.doc.mjs +13 -0
  690. package/templates/blocks/components/Item/ItemShowcase.tsx +47 -0
  691. package/templates/blocks/components/Item/ItemWithMedia.doc.mjs +14 -0
  692. package/templates/blocks/components/Item/ItemWithMedia.tsx +38 -0
  693. package/templates/blocks/components/Item/ItemWithMetadata.doc.mjs +14 -0
  694. package/templates/blocks/components/Item/ItemWithMetadata.tsx +36 -0
  695. package/templates/blocks/components/Kbd/KbdInlineInstructions.doc.mjs +13 -0
  696. package/templates/blocks/components/Kbd/KbdInlineInstructions.tsx +27 -0
  697. package/templates/blocks/components/Kbd/KbdMenuShortcuts.doc.mjs +13 -0
  698. package/templates/blocks/components/Kbd/KbdMenuShortcuts.tsx +31 -0
  699. package/templates/blocks/components/Kbd/KbdModifierCombos.doc.mjs +13 -0
  700. package/templates/blocks/components/Kbd/KbdModifierCombos.tsx +33 -0
  701. package/templates/blocks/components/Kbd/KbdShowcase.doc.mjs +13 -0
  702. package/templates/blocks/components/Kbd/KbdShowcase.tsx +9 -0
  703. package/templates/blocks/components/Layer/LayerHookUsage.doc.mjs +14 -0
  704. package/templates/blocks/components/Layer/LayerHookUsage.tsx +37 -0
  705. package/templates/blocks/components/Layout/LayoutBasicCardLayout.doc.mjs +14 -0
  706. package/templates/blocks/components/Layout/LayoutBasicCardLayout.tsx +65 -0
  707. package/templates/blocks/components/Layout/LayoutContentOnlyLayout.doc.mjs +14 -0
  708. package/templates/blocks/components/Layout/LayoutContentOnlyLayout.tsx +28 -0
  709. package/templates/blocks/components/Layout/LayoutContentWidth.doc.mjs +14 -0
  710. package/templates/blocks/components/Layout/LayoutContentWidth.tsx +54 -0
  711. package/templates/blocks/components/Layout/LayoutDualPanelLayout.doc.mjs +14 -0
  712. package/templates/blocks/components/Layout/LayoutDualPanelLayout.tsx +66 -0
  713. package/templates/blocks/components/Layout/LayoutFullBleedContent.doc.mjs +14 -0
  714. package/templates/blocks/components/Layout/LayoutFullBleedContent.tsx +49 -0
  715. package/templates/blocks/components/Layout/LayoutShowcase.doc.mjs +13 -0
  716. package/templates/blocks/components/Layout/LayoutShowcase.tsx +64 -0
  717. package/templates/blocks/components/Layout/LayoutSidebarLayout.doc.mjs +14 -0
  718. package/templates/blocks/components/Layout/LayoutSidebarLayout.tsx +65 -0
  719. package/templates/blocks/components/LayoutContent/LayoutContentShowcase.doc.mjs +15 -0
  720. package/templates/blocks/components/LayoutContent/LayoutContentShowcase.tsx +56 -0
  721. package/templates/blocks/components/LayoutFooter/LayoutFooterShowcase.doc.mjs +15 -0
  722. package/templates/blocks/components/LayoutFooter/LayoutFooterShowcase.tsx +53 -0
  723. package/templates/blocks/components/LayoutHeader/LayoutHeaderShowcase.doc.mjs +15 -0
  724. package/templates/blocks/components/LayoutHeader/LayoutHeaderShowcase.tsx +57 -0
  725. package/templates/blocks/components/LayoutPanel/LayoutPanelShowcase.doc.mjs +15 -0
  726. package/templates/blocks/components/LayoutPanel/LayoutPanelShowcase.tsx +50 -0
  727. package/templates/blocks/components/Lightbox/LightboxShowcase.doc.mjs +15 -0
  728. package/templates/blocks/components/Lightbox/LightboxShowcase.tsx +22 -0
  729. package/templates/blocks/components/Link/LinkExternalLinks.doc.mjs +14 -0
  730. package/templates/blocks/components/Link/LinkExternalLinks.tsx +32 -0
  731. package/templates/blocks/components/Link/LinkInlineLink.doc.mjs +13 -0
  732. package/templates/blocks/components/Link/LinkInlineLink.tsx +16 -0
  733. package/templates/blocks/components/Link/LinkShowcase.doc.mjs +15 -0
  734. package/templates/blocks/components/Link/LinkShowcase.tsx +12 -0
  735. package/templates/blocks/components/Link/LinksWithTooltips.doc.mjs +14 -0
  736. package/templates/blocks/components/Link/LinksWithTooltips.tsx +32 -0
  737. package/templates/blocks/components/List/ListBasicList.doc.mjs +13 -0
  738. package/templates/blocks/components/List/ListBasicList.tsx +15 -0
  739. package/templates/blocks/components/List/ListBulletedFeatures.doc.mjs +13 -0
  740. package/templates/blocks/components/List/ListBulletedFeatures.tsx +15 -0
  741. package/templates/blocks/components/List/ListMessageList.doc.mjs +14 -0
  742. package/templates/blocks/components/List/ListMessageList.tsx +34 -0
  743. package/templates/blocks/components/List/ListOrderedSteps.doc.mjs +13 -0
  744. package/templates/blocks/components/List/ListOrderedSteps.tsx +24 -0
  745. package/templates/blocks/components/List/ListShowcase.doc.mjs +13 -0
  746. package/templates/blocks/components/List/ListShowcase.tsx +15 -0
  747. package/templates/blocks/components/ListItem/ListItemBasicItem.doc.mjs +14 -0
  748. package/templates/blocks/components/ListItem/ListItemBasicItem.tsx +18 -0
  749. package/templates/blocks/components/ListItem/ListItemShowcase.doc.mjs +15 -0
  750. package/templates/blocks/components/ListItem/ListItemShowcase.tsx +40 -0
  751. package/templates/blocks/components/ListItem/ListItemWithMedia.doc.mjs +14 -0
  752. package/templates/blocks/components/ListItem/ListItemWithMedia.tsx +35 -0
  753. package/templates/blocks/components/ListItem/ListItemWithMetadata.doc.mjs +14 -0
  754. package/templates/blocks/components/ListItem/ListItemWithMetadata.tsx +37 -0
  755. package/templates/blocks/components/Markdown/MarkdownCitedContent.doc.mjs +13 -0
  756. package/templates/blocks/components/Markdown/MarkdownCitedContent.tsx +54 -0
  757. package/templates/blocks/components/Markdown/MarkdownCompactAIResponse.doc.mjs +13 -0
  758. package/templates/blocks/components/Markdown/MarkdownCompactAIResponse.tsx +34 -0
  759. package/templates/blocks/components/Markdown/MarkdownDataTable.doc.mjs +13 -0
  760. package/templates/blocks/components/Markdown/MarkdownDataTable.tsx +25 -0
  761. package/templates/blocks/components/Markdown/MarkdownRichContent.doc.mjs +13 -0
  762. package/templates/blocks/components/Markdown/MarkdownRichContent.tsx +32 -0
  763. package/templates/blocks/components/Markdown/MarkdownShowcase.doc.mjs +15 -0
  764. package/templates/blocks/components/Markdown/MarkdownShowcase.tsx +28 -0
  765. package/templates/blocks/components/MediaTheme/MediaThemeImageOverlay.doc.mjs +21 -0
  766. package/templates/blocks/components/MediaTheme/MediaThemeImageOverlay.tsx +57 -0
  767. package/templates/blocks/components/MediaTheme/MediaThemeLightScrim.doc.mjs +21 -0
  768. package/templates/blocks/components/MediaTheme/MediaThemeLightScrim.tsx +55 -0
  769. package/templates/blocks/components/MediaTheme/MediaThemeShowcase.doc.mjs +23 -0
  770. package/templates/blocks/components/MediaTheme/MediaThemeShowcase.tsx +55 -0
  771. package/templates/blocks/components/MetadataList/MetadataListBasicMetadata.doc.mjs +13 -0
  772. package/templates/blocks/components/MetadataList/MetadataListBasicMetadata.tsx +15 -0
  773. package/templates/blocks/components/MetadataList/MetadataListCollapsibleMetadata.doc.mjs +14 -0
  774. package/templates/blocks/components/MetadataList/MetadataListCollapsibleMetadata.tsx +18 -0
  775. package/templates/blocks/components/MetadataList/MetadataListHorizontalMetadata.doc.mjs +14 -0
  776. package/templates/blocks/components/MetadataList/MetadataListHorizontalMetadata.tsx +16 -0
  777. package/templates/blocks/components/MetadataList/MetadataListMultiColumnMetadata.doc.mjs +14 -0
  778. package/templates/blocks/components/MetadataList/MetadataListMultiColumnMetadata.tsx +25 -0
  779. package/templates/blocks/components/MetadataList/MetadataListShowcase.doc.mjs +13 -0
  780. package/templates/blocks/components/MetadataList/MetadataListShowcase.tsx +15 -0
  781. package/templates/blocks/components/MetadataListItem/MetadataListItemShowcase.doc.mjs +15 -0
  782. package/templates/blocks/components/MetadataListItem/MetadataListItemShowcase.tsx +28 -0
  783. package/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.doc.mjs +13 -0
  784. package/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.tsx +58 -0
  785. package/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.doc.mjs +13 -0
  786. package/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.tsx +32 -0
  787. package/templates/blocks/components/MobileNav/MobileNavShowcase.doc.mjs +13 -0
  788. package/templates/blocks/components/MobileNav/MobileNavShowcase.tsx +38 -0
  789. package/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.doc.mjs +13 -0
  790. package/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.tsx +36 -0
  791. package/templates/blocks/components/MobileNavToggle/MobileNavToggleShowcase.doc.mjs +14 -0
  792. package/templates/blocks/components/MobileNavToggle/MobileNavToggleShowcase.tsx +42 -0
  793. package/templates/blocks/components/MoreMenu/MoreMenuDefaultMoreMenu.doc.mjs +14 -0
  794. package/templates/blocks/components/MoreMenu/MoreMenuDefaultMoreMenu.tsx +17 -0
  795. package/templates/blocks/components/MoreMenu/MoreMenuInToolbar.doc.mjs +14 -0
  796. package/templates/blocks/components/MoreMenu/MoreMenuInToolbar.tsx +57 -0
  797. package/templates/blocks/components/MoreMenu/MoreMenuShowcase.doc.mjs +15 -0
  798. package/templates/blocks/components/MoreMenu/MoreMenuShowcase.tsx +23 -0
  799. package/templates/blocks/components/MoreMenu/MoreMenuWithDividers.doc.mjs +14 -0
  800. package/templates/blocks/components/MoreMenu/MoreMenuWithDividers.tsx +24 -0
  801. package/templates/blocks/components/MoreMenu/MoreMenuWithSections.doc.mjs +14 -0
  802. package/templates/blocks/components/MoreMenu/MoreMenuWithSections.tsx +38 -0
  803. package/templates/blocks/components/MultiSelector/MultiSelectorColumnVisibilitySelector.doc.mjs +14 -0
  804. package/templates/blocks/components/MultiSelector/MultiSelectorColumnVisibilitySelector.tsx +40 -0
  805. package/templates/blocks/components/MultiSelector/MultiSelectorForm.doc.mjs +14 -0
  806. package/templates/blocks/components/MultiSelector/MultiSelectorForm.tsx +44 -0
  807. package/templates/blocks/components/MultiSelector/MultiSelectorSearchableMultiSelector.doc.mjs +14 -0
  808. package/templates/blocks/components/MultiSelector/MultiSelectorSearchableMultiSelector.tsx +36 -0
  809. package/templates/blocks/components/MultiSelector/MultiSelectorSectionedMultiSelector.doc.mjs +14 -0
  810. package/templates/blocks/components/MultiSelector/MultiSelectorSectionedMultiSelector.tsx +39 -0
  811. package/templates/blocks/components/MultiSelector/MultiSelectorShowcase.doc.mjs +13 -0
  812. package/templates/blocks/components/MultiSelector/MultiSelectorShowcase.tsx +17 -0
  813. package/templates/blocks/components/NavIcon/NavIconShowcase.doc.mjs +14 -0
  814. package/templates/blocks/components/NavIcon/NavIconShowcase.tsx +17 -0
  815. package/templates/blocks/components/NumberInput/NumberInputClearableNumberInput.doc.mjs +13 -0
  816. package/templates/blocks/components/NumberInput/NumberInputClearableNumberInput.tsx +23 -0
  817. package/templates/blocks/components/NumberInput/NumberInputRangeNumberInput.doc.mjs +13 -0
  818. package/templates/blocks/components/NumberInput/NumberInputRangeNumberInput.tsx +23 -0
  819. package/templates/blocks/components/NumberInput/NumberInputShowcase.doc.mjs +15 -0
  820. package/templates/blocks/components/NumberInput/NumberInputShowcase.tsx +16 -0
  821. package/templates/blocks/components/NumberInput/NumberInputStatuses.doc.mjs +13 -0
  822. package/templates/blocks/components/NumberInput/NumberInputStatuses.tsx +38 -0
  823. package/templates/blocks/components/NumberInput/NumberInputWithUnits.doc.mjs +13 -0
  824. package/templates/blocks/components/NumberInput/NumberInputWithUnits.tsx +23 -0
  825. package/templates/blocks/components/Outline/OutlineControlled.doc.mjs +14 -0
  826. package/templates/blocks/components/Outline/OutlineControlled.tsx +54 -0
  827. package/templates/blocks/components/Outline/OutlineDeepNesting.doc.mjs +14 -0
  828. package/templates/blocks/components/Outline/OutlineDeepNesting.tsx +26 -0
  829. package/templates/blocks/components/Outline/OutlineDensity.doc.mjs +14 -0
  830. package/templates/blocks/components/Outline/OutlineDensity.tsx +43 -0
  831. package/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.doc.mjs +13 -0
  832. package/templates/blocks/components/OverflowList/OverflowListCollapseFromStartList.tsx +33 -0
  833. package/templates/blocks/components/OverflowList/OverflowListOverflowBadges.doc.mjs +13 -0
  834. package/templates/blocks/components/OverflowList/OverflowListOverflowBadges.tsx +32 -0
  835. package/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.doc.mjs +13 -0
  836. package/templates/blocks/components/OverflowList/OverflowListOverflowDropdownActions.tsx +47 -0
  837. package/templates/blocks/components/OverflowList/OverflowListShowcase.doc.mjs +15 -0
  838. package/templates/blocks/components/OverflowList/OverflowListShowcase.tsx +28 -0
  839. package/templates/blocks/components/Overlay/OverlayBottomStrip.doc.mjs +14 -0
  840. package/templates/blocks/components/Overlay/OverlayBottomStrip.tsx +38 -0
  841. package/templates/blocks/components/Overlay/OverlayHoverReveal.doc.mjs +14 -0
  842. package/templates/blocks/components/Overlay/OverlayHoverReveal.tsx +38 -0
  843. package/templates/blocks/components/Overlay/OverlayShowcase.doc.mjs +15 -0
  844. package/templates/blocks/components/Overlay/OverlayShowcase.tsx +34 -0
  845. package/templates/blocks/components/Pagination/PaginationDotsCarousel.doc.mjs +14 -0
  846. package/templates/blocks/components/Pagination/PaginationDotsCarousel.tsx +91 -0
  847. package/templates/blocks/components/Pagination/PaginationPageSize.doc.mjs +14 -0
  848. package/templates/blocks/components/Pagination/PaginationPageSize.tsx +66 -0
  849. package/templates/blocks/components/Pagination/PaginationVariants.doc.mjs +15 -0
  850. package/templates/blocks/components/Pagination/PaginationVariants.tsx +45 -0
  851. package/templates/blocks/components/Pagination/PaginationWithTable.doc.mjs +14 -0
  852. package/templates/blocks/components/Pagination/PaginationWithTable.tsx +54 -0
  853. package/templates/blocks/components/Popover/PopoverConfirmAction.doc.mjs +14 -0
  854. package/templates/blocks/components/Popover/PopoverConfirmAction.tsx +48 -0
  855. package/templates/blocks/components/Popover/PopoverFilterPanel.doc.mjs +14 -0
  856. package/templates/blocks/components/Popover/PopoverFilterPanel.tsx +82 -0
  857. package/templates/blocks/components/Popover/PopoverHookUsage.doc.mjs +14 -0
  858. package/templates/blocks/components/Popover/PopoverHookUsage.tsx +37 -0
  859. package/templates/blocks/components/Popover/PopoverKeyboardShortcuts.doc.mjs +14 -0
  860. package/templates/blocks/components/Popover/PopoverKeyboardShortcuts.tsx +39 -0
  861. package/templates/blocks/components/Popover/PopoverSettingsPanel.doc.mjs +14 -0
  862. package/templates/blocks/components/Popover/PopoverSettingsPanel.tsx +49 -0
  863. package/templates/blocks/components/Popover/PopoverShowcase.doc.mjs +14 -0
  864. package/templates/blocks/components/Popover/PopoverShowcase.tsx +37 -0
  865. package/templates/blocks/components/PowerSearch/PowerSearchContentSearch.doc.mjs +14 -0
  866. package/templates/blocks/components/PowerSearch/PowerSearchContentSearch.tsx +74 -0
  867. package/templates/blocks/components/PowerSearch/PowerSearchFullFeatured.doc.mjs +14 -0
  868. package/templates/blocks/components/PowerSearch/PowerSearchFullFeatured.tsx +102 -0
  869. package/templates/blocks/components/PowerSearch/PowerSearchPresetFilters.doc.mjs +14 -0
  870. package/templates/blocks/components/PowerSearch/PowerSearchPresetFilters.tsx +77 -0
  871. package/templates/blocks/components/PowerSearch/PowerSearchSearchWithTable.doc.mjs +14 -0
  872. package/templates/blocks/components/PowerSearch/PowerSearchSearchWithTable.tsx +103 -0
  873. package/templates/blocks/components/PowerSearch/PowerSearchShowcase.doc.mjs +15 -0
  874. package/templates/blocks/components/PowerSearch/PowerSearchShowcase.tsx +63 -0
  875. package/templates/blocks/components/ProgressBar/ProgressBarCustomFormat.doc.mjs +14 -0
  876. package/templates/blocks/components/ProgressBar/ProgressBarCustomFormat.tsx +28 -0
  877. package/templates/blocks/components/ProgressBar/ProgressBarIndeterminate.doc.mjs +14 -0
  878. package/templates/blocks/components/ProgressBar/ProgressBarIndeterminate.tsx +9 -0
  879. package/templates/blocks/components/ProgressBar/ProgressBarSemanticVariants.doc.mjs +14 -0
  880. package/templates/blocks/components/ProgressBar/ProgressBarSemanticVariants.tsx +43 -0
  881. package/templates/blocks/components/ProgressBar/ProgressBarShowcase.doc.mjs +15 -0
  882. package/templates/blocks/components/ProgressBar/ProgressBarShowcase.tsx +9 -0
  883. package/templates/blocks/components/ProgressBar/ProgressBarWithValueLabel.doc.mjs +14 -0
  884. package/templates/blocks/components/ProgressBar/ProgressBarWithValueLabel.tsx +16 -0
  885. package/templates/blocks/components/RadioList/RadioListHorizontalLayout.doc.mjs +14 -0
  886. package/templates/blocks/components/RadioList/RadioListHorizontalLayout.tsx +22 -0
  887. package/templates/blocks/components/RadioList/RadioListPricingTier.doc.mjs +14 -0
  888. package/templates/blocks/components/RadioList/RadioListPricingTier.tsx +43 -0
  889. package/templates/blocks/components/RadioList/RadioListShowcase.doc.mjs +13 -0
  890. package/templates/blocks/components/RadioList/RadioListShowcase.tsx +13 -0
  891. package/templates/blocks/components/RadioList/RadioListWithDescriptions.doc.mjs +14 -0
  892. package/templates/blocks/components/RadioList/RadioListWithDescriptions.tsx +34 -0
  893. package/templates/blocks/components/RadioList/RadioListWithValidation.doc.mjs +14 -0
  894. package/templates/blocks/components/RadioList/RadioListWithValidation.tsx +27 -0
  895. package/templates/blocks/components/RadioListItem/RadioListItemShowcase.doc.mjs +15 -0
  896. package/templates/blocks/components/RadioListItem/RadioListItemShowcase.tsx +36 -0
  897. package/templates/blocks/components/Resizable/ResizableShowcase.doc.mjs +17 -0
  898. package/templates/blocks/components/Resizable/ResizableShowcase.tsx +57 -0
  899. package/templates/blocks/components/Section/SectionVariants.doc.mjs +15 -0
  900. package/templates/blocks/components/Section/SectionVariants.tsx +46 -0
  901. package/templates/blocks/components/Section/SectionWashHighlight.doc.mjs +14 -0
  902. package/templates/blocks/components/Section/SectionWashHighlight.tsx +57 -0
  903. package/templates/blocks/components/Section/SectionWithDividers.doc.mjs +14 -0
  904. package/templates/blocks/components/Section/SectionWithDividers.tsx +38 -0
  905. package/templates/blocks/components/SegmentedControl/SegmentedControlDisabledItem.doc.mjs +14 -0
  906. package/templates/blocks/components/SegmentedControl/SegmentedControlDisabledItem.tsx +23 -0
  907. package/templates/blocks/components/SegmentedControl/SegmentedControlFillLayout.doc.mjs +14 -0
  908. package/templates/blocks/components/SegmentedControl/SegmentedControlFillLayout.tsx +26 -0
  909. package/templates/blocks/components/SegmentedControl/SegmentedControlIconOnly.doc.mjs +14 -0
  910. package/templates/blocks/components/SegmentedControl/SegmentedControlIconOnly.tsx +53 -0
  911. package/templates/blocks/components/SegmentedControl/SegmentedControlShowcase.doc.mjs +13 -0
  912. package/templates/blocks/components/SegmentedControl/SegmentedControlShowcase.tsx +18 -0
  913. package/templates/blocks/components/SegmentedControl/SegmentedControlWithIcons.doc.mjs +14 -0
  914. package/templates/blocks/components/SegmentedControl/SegmentedControlWithIcons.tsx +53 -0
  915. package/templates/blocks/components/SegmentedControlItem/SegmentedControlItemShowcase.doc.mjs +15 -0
  916. package/templates/blocks/components/SegmentedControlItem/SegmentedControlItemShowcase.tsx +43 -0
  917. package/templates/blocks/components/Selector/SelectorClearable.doc.mjs +14 -0
  918. package/templates/blocks/components/Selector/SelectorClearable.tsx +26 -0
  919. package/templates/blocks/components/Selector/SelectorShowcase.doc.mjs +13 -0
  920. package/templates/blocks/components/Selector/SelectorShowcase.tsx +17 -0
  921. package/templates/blocks/components/Selector/SelectorWithSections.doc.mjs +14 -0
  922. package/templates/blocks/components/Selector/SelectorWithSections.tsx +46 -0
  923. package/templates/blocks/components/Selector/SelectorWithStatus.doc.mjs +14 -0
  924. package/templates/blocks/components/Selector/SelectorWithStatus.tsx +53 -0
  925. package/templates/blocks/components/SelectorOption/SelectorOptionShowcase.doc.mjs +15 -0
  926. package/templates/blocks/components/SelectorOption/SelectorOptionShowcase.tsx +43 -0
  927. package/templates/blocks/components/SideNav/SideNavEndContent.doc.mjs +14 -0
  928. package/templates/blocks/components/SideNav/SideNavEndContent.tsx +93 -0
  929. package/templates/blocks/components/SideNav/SideNavNestedItems.doc.mjs +14 -0
  930. package/templates/blocks/components/SideNav/SideNavNestedItems.tsx +46 -0
  931. package/templates/blocks/components/SideNav/SideNavShowcase.doc.mjs +13 -0
  932. package/templates/blocks/components/SideNav/SideNavShowcase.tsx +76 -0
  933. package/templates/blocks/components/SideNav/SideNavWithHeaderMenu.doc.mjs +14 -0
  934. package/templates/blocks/components/SideNav/SideNavWithHeaderMenu.tsx +73 -0
  935. package/templates/blocks/components/SideNavCollapseButton/SideNavCollapseButtonShowcase.doc.mjs +14 -0
  936. package/templates/blocks/components/SideNavCollapseButton/SideNavCollapseButtonShowcase.tsx +43 -0
  937. package/templates/blocks/components/SideNavHeading/SideNavHeadingShowcase.doc.mjs +14 -0
  938. package/templates/blocks/components/SideNavHeading/SideNavHeadingShowcase.tsx +43 -0
  939. package/templates/blocks/components/SideNavItem/SideNavItemShowcase.doc.mjs +14 -0
  940. package/templates/blocks/components/SideNavItem/SideNavItemShowcase.tsx +57 -0
  941. package/templates/blocks/components/SideNavSection/SideNavSectionShowcase.doc.mjs +14 -0
  942. package/templates/blocks/components/SideNavSection/SideNavSectionShowcase.tsx +58 -0
  943. package/templates/blocks/components/Skeleton/SkeletonCardSkeleton.doc.mjs +14 -0
  944. package/templates/blocks/components/Skeleton/SkeletonCardSkeleton.tsx +26 -0
  945. package/templates/blocks/components/Skeleton/SkeletonShowcase.doc.mjs +15 -0
  946. package/templates/blocks/components/Skeleton/SkeletonShowcase.tsx +25 -0
  947. package/templates/blocks/components/Skeleton/SkeletonStaggeredList.doc.mjs +14 -0
  948. package/templates/blocks/components/Skeleton/SkeletonStaggeredList.tsx +18 -0
  949. package/templates/blocks/components/Skeleton/SkeletonTableRowSkeleton.doc.mjs +14 -0
  950. package/templates/blocks/components/Skeleton/SkeletonTableRowSkeleton.tsx +21 -0
  951. package/templates/blocks/components/Slider/SliderFormattedValue.doc.mjs +14 -0
  952. package/templates/blocks/components/Slider/SliderFormattedValue.tsx +23 -0
  953. package/templates/blocks/components/Slider/SliderRangeSlider.doc.mjs +14 -0
  954. package/templates/blocks/components/Slider/SliderRangeSlider.tsx +18 -0
  955. package/templates/blocks/components/Slider/SliderShowcase.doc.mjs +15 -0
  956. package/templates/blocks/components/Slider/SliderShowcase.tsx +9 -0
  957. package/templates/blocks/components/Slider/SliderWithMarks.doc.mjs +14 -0
  958. package/templates/blocks/components/Slider/SliderWithMarks.tsx +25 -0
  959. package/templates/blocks/components/Slider/SliderWithStatus.doc.mjs +14 -0
  960. package/templates/blocks/components/Slider/SliderWithStatus.tsx +37 -0
  961. package/templates/blocks/components/Spinner/SpinnerOnMedia.doc.mjs +14 -0
  962. package/templates/blocks/components/Spinner/SpinnerOnMedia.tsx +22 -0
  963. package/templates/blocks/components/Spinner/SpinnerShowcase.doc.mjs +15 -0
  964. package/templates/blocks/components/Spinner/SpinnerShowcase.tsx +9 -0
  965. package/templates/blocks/components/Spinner/SpinnerSizes.doc.mjs +13 -0
  966. package/templates/blocks/components/Spinner/SpinnerSizes.tsx +17 -0
  967. package/templates/blocks/components/Spinner/SpinnerWithLabel.doc.mjs +14 -0
  968. package/templates/blocks/components/Spinner/SpinnerWithLabel.tsx +29 -0
  969. package/templates/blocks/components/Stack/StackAlignment.doc.mjs +14 -0
  970. package/templates/blocks/components/Stack/StackAlignment.tsx +48 -0
  971. package/templates/blocks/components/Stack/StackDirections.doc.mjs +15 -0
  972. package/templates/blocks/components/Stack/StackDirections.tsx +23 -0
  973. package/templates/blocks/components/Stack/StackFillItem.doc.mjs +14 -0
  974. package/templates/blocks/components/Stack/StackFillItem.tsx +45 -0
  975. package/templates/blocks/components/StackItem/StackItemShowcase.doc.mjs +15 -0
  976. package/templates/blocks/components/StackItem/StackItemShowcase.tsx +35 -0
  977. package/templates/blocks/components/StatusDot/StatusDotPulsing.doc.mjs +14 -0
  978. package/templates/blocks/components/StatusDot/StatusDotPulsing.tsx +18 -0
  979. package/templates/blocks/components/StatusDot/StatusDotShowcase.doc.mjs +15 -0
  980. package/templates/blocks/components/StatusDot/StatusDotShowcase.tsx +18 -0
  981. package/templates/blocks/components/StatusDot/StatusDotStatusIndicators.doc.mjs +15 -0
  982. package/templates/blocks/components/StatusDot/StatusDotStatusIndicators.tsx +27 -0
  983. package/templates/blocks/components/StatusDot/StatusDotVariants.doc.mjs +14 -0
  984. package/templates/blocks/components/StatusDot/StatusDotVariants.tsx +18 -0
  985. package/templates/blocks/components/Switch/SwitchDisabled.doc.mjs +13 -0
  986. package/templates/blocks/components/Switch/SwitchDisabled.tsx +19 -0
  987. package/templates/blocks/components/Switch/SwitchSettingsPanel.doc.mjs +14 -0
  988. package/templates/blocks/components/Switch/SwitchSettingsPanel.tsx +42 -0
  989. package/templates/blocks/components/Switch/SwitchShowcase.doc.mjs +15 -0
  990. package/templates/blocks/components/Switch/SwitchShowcase.tsx +17 -0
  991. package/templates/blocks/components/Switch/SwitchWithDescription.doc.mjs +13 -0
  992. package/templates/blocks/components/Switch/SwitchWithDescription.tsx +18 -0
  993. package/templates/blocks/components/Switch/SwitchWithStatus.doc.mjs +14 -0
  994. package/templates/blocks/components/Switch/SwitchWithStatus.tsx +47 -0
  995. package/templates/blocks/components/SyntaxTheme/SyntaxThemeDarkPreset.doc.mjs +14 -0
  996. package/templates/blocks/components/SyntaxTheme/SyntaxThemeDarkPreset.tsx +19 -0
  997. package/templates/blocks/components/SyntaxTheme/SyntaxThemeLightPreset.doc.mjs +14 -0
  998. package/templates/blocks/components/SyntaxTheme/SyntaxThemeLightPreset.tsx +18 -0
  999. package/templates/blocks/components/SyntaxTheme/SyntaxThemeShowcase.doc.mjs +15 -0
  1000. package/templates/blocks/components/SyntaxTheme/SyntaxThemeShowcase.tsx +30 -0
  1001. package/templates/blocks/components/Tab/TabShowcase.doc.mjs +15 -0
  1002. package/templates/blocks/components/Tab/TabShowcase.tsx +18 -0
  1003. package/templates/blocks/components/TabList/TabListShowcase.doc.mjs +13 -0
  1004. package/templates/blocks/components/TabList/TabListShowcase.tsx +15 -0
  1005. package/templates/blocks/components/TabList/TabListTabsFillLayout.doc.mjs +14 -0
  1006. package/templates/blocks/components/TabList/TabListTabsFillLayout.tsx +19 -0
  1007. package/templates/blocks/components/TabList/TabListTabsWithActions.doc.mjs +14 -0
  1008. package/templates/blocks/components/TabList/TabListTabsWithActions.tsx +71 -0
  1009. package/templates/blocks/components/TabList/TabListTabsWithBadge.doc.mjs +14 -0
  1010. package/templates/blocks/components/TabList/TabListTabsWithBadge.tsx +26 -0
  1011. package/templates/blocks/components/TabList/TabListTabsWithIcons.doc.mjs +13 -0
  1012. package/templates/blocks/components/TabList/TabListTabsWithIcons.tsx +32 -0
  1013. package/templates/blocks/components/TabList/TabListTabsWithMenu.doc.mjs +14 -0
  1014. package/templates/blocks/components/TabList/TabListTabsWithMenu.tsx +24 -0
  1015. package/templates/blocks/components/TabList/TabListTabsWithStatusDot.doc.mjs +14 -0
  1016. package/templates/blocks/components/TabList/TabListTabsWithStatusDot.tsx +26 -0
  1017. package/templates/blocks/components/TabMenu/TabMenuShowcase.doc.mjs +15 -0
  1018. package/templates/blocks/components/TabMenu/TabMenuShowcase.tsx +22 -0
  1019. package/templates/blocks/components/Table/TableColumnSettingsTable.doc.mjs +16 -0
  1020. package/templates/blocks/components/Table/TableColumnSettingsTable.tsx +129 -0
  1021. package/templates/blocks/components/Table/TableFilterableTable.doc.mjs +16 -0
  1022. package/templates/blocks/components/Table/TableFilterableTable.tsx +108 -0
  1023. package/templates/blocks/components/Table/TableGridDividersTable.doc.mjs +14 -0
  1024. package/templates/blocks/components/Table/TableGridDividersTable.tsx +57 -0
  1025. package/templates/blocks/components/Table/TableInCard.doc.mjs +14 -0
  1026. package/templates/blocks/components/Table/TableInCard.tsx +45 -0
  1027. package/templates/blocks/components/Table/TableInlineFilterTable.doc.mjs +15 -0
  1028. package/templates/blocks/components/Table/TableInlineFilterTable.tsx +109 -0
  1029. package/templates/blocks/components/Table/TablePaginatedTable.doc.mjs +16 -0
  1030. package/templates/blocks/components/Table/TablePaginatedTable.tsx +81 -0
  1031. package/templates/blocks/components/Table/TableResizableTable.doc.mjs +14 -0
  1032. package/templates/blocks/components/Table/TableResizableTable.tsx +59 -0
  1033. package/templates/blocks/components/Table/TableRichCellTable.doc.mjs +14 -0
  1034. package/templates/blocks/components/Table/TableRichCellTable.tsx +87 -0
  1035. package/templates/blocks/components/Table/TableSelectableTable.doc.mjs +16 -0
  1036. package/templates/blocks/components/Table/TableSelectableTable.tsx +54 -0
  1037. package/templates/blocks/components/Table/TableShowcase.doc.mjs +15 -0
  1038. package/templates/blocks/components/Table/TableShowcase.tsx +54 -0
  1039. package/templates/blocks/components/Table/TableSortableTable.doc.mjs +16 -0
  1040. package/templates/blocks/components/Table/TableSortableTable.tsx +71 -0
  1041. package/templates/blocks/components/Table/TableStripedTable.doc.mjs +14 -0
  1042. package/templates/blocks/components/Table/TableStripedTable.tsx +63 -0
  1043. package/templates/blocks/components/Text/TextColors.doc.mjs +13 -0
  1044. package/templates/blocks/components/Text/TextColors.tsx +26 -0
  1045. package/templates/blocks/components/Text/TextHeadingLevels.doc.mjs +13 -0
  1046. package/templates/blocks/components/Text/TextHeadingLevels.tsx +20 -0
  1047. package/templates/blocks/components/Text/TextInline.doc.mjs +13 -0
  1048. package/templates/blocks/components/Text/TextInline.tsx +14 -0
  1049. package/templates/blocks/components/Text/TextShowcase.doc.mjs +13 -0
  1050. package/templates/blocks/components/Text/TextShowcase.tsx +18 -0
  1051. package/templates/blocks/components/Text/TextTruncation.doc.mjs +13 -0
  1052. package/templates/blocks/components/Text/TextTruncation.tsx +39 -0
  1053. package/templates/blocks/components/Text/TextTypes.doc.mjs +13 -0
  1054. package/templates/blocks/components/Text/TextTypes.tsx +37 -0
  1055. package/templates/blocks/components/Text/TextWeight.doc.mjs +13 -0
  1056. package/templates/blocks/components/Text/TextWeight.tsx +25 -0
  1057. package/templates/blocks/components/Text/TextWordBreak.doc.mjs +13 -0
  1058. package/templates/blocks/components/Text/TextWordBreak.tsx +38 -0
  1059. package/templates/blocks/components/Text/TextWrap.doc.mjs +13 -0
  1060. package/templates/blocks/components/Text/TextWrap.tsx +66 -0
  1061. package/templates/blocks/components/TextArea/TextAreaCharacterCount.doc.mjs +13 -0
  1062. package/templates/blocks/components/TextArea/TextAreaCharacterCount.tsx +25 -0
  1063. package/templates/blocks/components/TextArea/TextAreaShowcase.doc.mjs +15 -0
  1064. package/templates/blocks/components/TextArea/TextAreaShowcase.tsx +18 -0
  1065. package/templates/blocks/components/TextArea/TextAreaStates.doc.mjs +13 -0
  1066. package/templates/blocks/components/TextArea/TextAreaStates.tsx +36 -0
  1067. package/templates/blocks/components/TextArea/TextAreaValidation.doc.mjs +13 -0
  1068. package/templates/blocks/components/TextArea/TextAreaValidation.tsx +54 -0
  1069. package/templates/blocks/components/TextArea/TextAreaWithIcon.doc.mjs +13 -0
  1070. package/templates/blocks/components/TextArea/TextAreaWithIcon.tsx +24 -0
  1071. package/templates/blocks/components/TextInput/TextInputIcon.doc.mjs +13 -0
  1072. package/templates/blocks/components/TextInput/TextInputIcon.tsx +48 -0
  1073. package/templates/blocks/components/TextInput/TextInputSearch.doc.mjs +13 -0
  1074. package/templates/blocks/components/TextInput/TextInputSearch.tsx +36 -0
  1075. package/templates/blocks/components/TextInput/TextInputShowcase.doc.mjs +13 -0
  1076. package/templates/blocks/components/TextInput/TextInputShowcase.tsx +18 -0
  1077. package/templates/blocks/components/TextInput/TextInputSizes.doc.mjs +13 -0
  1078. package/templates/blocks/components/TextInput/TextInputSizes.tsx +41 -0
  1079. package/templates/blocks/components/TextInput/TextInputStates.doc.mjs +13 -0
  1080. package/templates/blocks/components/TextInput/TextInputStates.tsx +68 -0
  1081. package/templates/blocks/components/TextInput/TextInputTypes.doc.mjs +13 -0
  1082. package/templates/blocks/components/TextInput/TextInputTypes.tsx +65 -0
  1083. package/templates/blocks/components/Theme/ThemeApply.doc.mjs +14 -0
  1084. package/templates/blocks/components/Theme/ThemeApply.tsx +39 -0
  1085. package/templates/blocks/components/Theme/ThemeNested.doc.mjs +14 -0
  1086. package/templates/blocks/components/Theme/ThemeNested.tsx +64 -0
  1087. package/templates/blocks/components/Theme/ThemeShowcase.doc.mjs +24 -0
  1088. package/templates/blocks/components/Theme/ThemeShowcase.tsx +75 -0
  1089. package/templates/blocks/components/Theme/ThemeSwitcher.doc.mjs +22 -0
  1090. package/templates/blocks/components/Theme/ThemeSwitcher.tsx +73 -0
  1091. package/templates/blocks/components/Theme/useThemeHookUsage.doc.mjs +14 -0
  1092. package/templates/blocks/components/Theme/useThemeHookUsage.tsx +47 -0
  1093. package/templates/blocks/components/Thumbnail/ThumbnailDisabled.doc.mjs +13 -0
  1094. package/templates/blocks/components/Thumbnail/ThumbnailDisabled.tsx +43 -0
  1095. package/templates/blocks/components/Thumbnail/ThumbnailGallery.doc.mjs +13 -0
  1096. package/templates/blocks/components/Thumbnail/ThumbnailGallery.tsx +47 -0
  1097. package/templates/blocks/components/Thumbnail/ThumbnailRemovable.doc.mjs +13 -0
  1098. package/templates/blocks/components/Thumbnail/ThumbnailRemovable.tsx +44 -0
  1099. package/templates/blocks/components/Thumbnail/ThumbnailShowcase.doc.mjs +15 -0
  1100. package/templates/blocks/components/Thumbnail/ThumbnailShowcase.tsx +15 -0
  1101. package/templates/blocks/components/Thumbnail/ThumbnailStates.doc.mjs +13 -0
  1102. package/templates/blocks/components/Thumbnail/ThumbnailStates.tsx +54 -0
  1103. package/templates/blocks/components/TimeInput/TimeInputConstrained.doc.mjs +13 -0
  1104. package/templates/blocks/components/TimeInput/TimeInputConstrained.tsx +26 -0
  1105. package/templates/blocks/components/TimeInput/TimeInputFormats.doc.mjs +13 -0
  1106. package/templates/blocks/components/TimeInput/TimeInputFormats.tsx +35 -0
  1107. package/templates/blocks/components/TimeInput/TimeInputIncrement.doc.mjs +13 -0
  1108. package/templates/blocks/components/TimeInput/TimeInputIncrement.tsx +24 -0
  1109. package/templates/blocks/components/TimeInput/TimeInputShowcase.doc.mjs +15 -0
  1110. package/templates/blocks/components/TimeInput/TimeInputShowcase.tsx +18 -0
  1111. package/templates/blocks/components/TimeInput/TimeInputStates.doc.mjs +13 -0
  1112. package/templates/blocks/components/TimeInput/TimeInputStates.tsx +43 -0
  1113. package/templates/blocks/components/Timestamp/TimestampAutoFormat.doc.mjs +13 -0
  1114. package/templates/blocks/components/Timestamp/TimestampAutoFormat.tsx +34 -0
  1115. package/templates/blocks/components/Timestamp/TimestampColors.doc.mjs +14 -0
  1116. package/templates/blocks/components/Timestamp/TimestampColors.tsx +40 -0
  1117. package/templates/blocks/components/Timestamp/TimestampFormats.doc.mjs +13 -0
  1118. package/templates/blocks/components/Timestamp/TimestampFormats.tsx +36 -0
  1119. package/templates/blocks/components/Timestamp/TimestampRelativeFormat.doc.mjs +13 -0
  1120. package/templates/blocks/components/Timestamp/TimestampRelativeFormat.tsx +26 -0
  1121. package/templates/blocks/components/Timestamp/TimestampShowcase.doc.mjs +13 -0
  1122. package/templates/blocks/components/Timestamp/TimestampShowcase.tsx +9 -0
  1123. package/templates/blocks/components/Timestamp/TimestampTimezone.doc.mjs +13 -0
  1124. package/templates/blocks/components/Timestamp/TimestampTimezone.tsx +34 -0
  1125. package/templates/blocks/components/Toast/ToastAction.doc.mjs +13 -0
  1126. package/templates/blocks/components/Toast/ToastAction.tsx +48 -0
  1127. package/templates/blocks/components/Toast/ToastDeduplication.doc.mjs +13 -0
  1128. package/templates/blocks/components/Toast/ToastDeduplication.tsx +54 -0
  1129. package/templates/blocks/components/Toast/ToastDismiss.doc.mjs +13 -0
  1130. package/templates/blocks/components/Toast/ToastDismiss.tsx +50 -0
  1131. package/templates/blocks/components/Toast/ToastShowcase.doc.mjs +17 -0
  1132. package/templates/blocks/components/Toast/ToastShowcase.tsx +30 -0
  1133. package/templates/blocks/components/Toast/ToastStacking.doc.mjs +13 -0
  1134. package/templates/blocks/components/Toast/ToastStacking.tsx +47 -0
  1135. package/templates/blocks/components/Toast/ToastTypes.doc.mjs +13 -0
  1136. package/templates/blocks/components/Toast/ToastTypes.tsx +54 -0
  1137. package/templates/blocks/components/ToggleButton/ToggleButtonColor.doc.mjs +13 -0
  1138. package/templates/blocks/components/ToggleButton/ToggleButtonColor.tsx +140 -0
  1139. package/templates/blocks/components/ToggleButton/ToggleButtonGroup.doc.mjs +13 -0
  1140. package/templates/blocks/components/ToggleButton/ToggleButtonGroup.tsx +81 -0
  1141. package/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.doc.mjs +13 -0
  1142. package/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.tsx +51 -0
  1143. package/templates/blocks/components/ToggleButton/ToggleButtonLabel.doc.mjs +13 -0
  1144. package/templates/blocks/components/ToggleButton/ToggleButtonLabel.tsx +58 -0
  1145. package/templates/blocks/components/ToggleButton/ToggleButtonShowcase.doc.mjs +13 -0
  1146. package/templates/blocks/components/ToggleButton/ToggleButtonShowcase.tsx +45 -0
  1147. package/templates/blocks/components/ToggleButton/ToggleButtonStates.doc.mjs +13 -0
  1148. package/templates/blocks/components/ToggleButton/ToggleButtonStates.tsx +105 -0
  1149. package/templates/blocks/components/ToggleButtonGroup/ToggleButtonGroupShowcase.doc.mjs +15 -0
  1150. package/templates/blocks/components/ToggleButtonGroup/ToggleButtonGroupShowcase.tsx +45 -0
  1151. package/templates/blocks/components/Token/TokenClickable.doc.mjs +13 -0
  1152. package/templates/blocks/components/Token/TokenClickable.tsx +23 -0
  1153. package/templates/blocks/components/Token/TokenColors.doc.mjs +13 -0
  1154. package/templates/blocks/components/Token/TokenColors.tsx +52 -0
  1155. package/templates/blocks/components/Token/TokenEndContent.doc.mjs +13 -0
  1156. package/templates/blocks/components/Token/TokenEndContent.tsx +35 -0
  1157. package/templates/blocks/components/Token/TokenIcon.doc.mjs +13 -0
  1158. package/templates/blocks/components/Token/TokenIcon.tsx +46 -0
  1159. package/templates/blocks/components/Token/TokenRemovable.doc.mjs +13 -0
  1160. package/templates/blocks/components/Token/TokenRemovable.tsx +34 -0
  1161. package/templates/blocks/components/Token/TokenShowcase.doc.mjs +13 -0
  1162. package/templates/blocks/components/Token/TokenShowcase.tsx +22 -0
  1163. package/templates/blocks/components/Tokenizer/TokenizerClear.doc.mjs +13 -0
  1164. package/templates/blocks/components/Tokenizer/TokenizerClear.tsx +44 -0
  1165. package/templates/blocks/components/Tokenizer/TokenizerCreatable.doc.mjs +13 -0
  1166. package/templates/blocks/components/Tokenizer/TokenizerCreatable.tsx +67 -0
  1167. package/templates/blocks/components/Tokenizer/TokenizerEndContent.doc.mjs +13 -0
  1168. package/templates/blocks/components/Tokenizer/TokenizerEndContent.tsx +46 -0
  1169. package/templates/blocks/components/Tokenizer/TokenizerIcon.doc.mjs +13 -0
  1170. package/templates/blocks/components/Tokenizer/TokenizerIcon.tsx +45 -0
  1171. package/templates/blocks/components/Tokenizer/TokenizerMaxEntries.doc.mjs +13 -0
  1172. package/templates/blocks/components/Tokenizer/TokenizerMaxEntries.tsx +54 -0
  1173. package/templates/blocks/components/Tokenizer/TokenizerOverflow.doc.mjs +13 -0
  1174. package/templates/blocks/components/Tokenizer/TokenizerOverflow.tsx +62 -0
  1175. package/templates/blocks/components/Tokenizer/TokenizerShowcase.doc.mjs +15 -0
  1176. package/templates/blocks/components/Tokenizer/TokenizerShowcase.tsx +27 -0
  1177. package/templates/blocks/components/Tokenizer/TokenizerStates.doc.mjs +13 -0
  1178. package/templates/blocks/components/Tokenizer/TokenizerStates.tsx +77 -0
  1179. package/templates/blocks/components/Toolbar/ToolbarBulkActions.doc.mjs +14 -0
  1180. package/templates/blocks/components/Toolbar/ToolbarBulkActions.tsx +83 -0
  1181. package/templates/blocks/components/Toolbar/ToolbarCardHeader.doc.mjs +14 -0
  1182. package/templates/blocks/components/Toolbar/ToolbarCardHeader.tsx +40 -0
  1183. package/templates/blocks/components/Toolbar/ToolbarSizes.doc.mjs +14 -0
  1184. package/templates/blocks/components/Toolbar/ToolbarSizes.tsx +44 -0
  1185. package/templates/blocks/components/Toolbar/ToolbarTableFilter.doc.mjs +14 -0
  1186. package/templates/blocks/components/Toolbar/ToolbarTableFilter.tsx +76 -0
  1187. package/templates/blocks/components/Toolbar/ToolbarThreeSlot.doc.mjs +15 -0
  1188. package/templates/blocks/components/Toolbar/ToolbarThreeSlot.tsx +38 -0
  1189. package/templates/blocks/components/Toolbar/ToolbarWithTabs.doc.mjs +14 -0
  1190. package/templates/blocks/components/Toolbar/ToolbarWithTabs.tsx +46 -0
  1191. package/templates/blocks/components/Tooltip/TooltipActionBarTooltips.doc.mjs +14 -0
  1192. package/templates/blocks/components/Tooltip/TooltipActionBarTooltips.tsx +26 -0
  1193. package/templates/blocks/components/Tooltip/TooltipHookUsage.doc.mjs +16 -0
  1194. package/templates/blocks/components/Tooltip/TooltipHookUsage.tsx +25 -0
  1195. package/templates/blocks/components/Tooltip/TooltipInlineTextTooltips.doc.mjs +14 -0
  1196. package/templates/blocks/components/Tooltip/TooltipInlineTextTooltips.tsx +21 -0
  1197. package/templates/blocks/components/Tooltip/TooltipShowcase.doc.mjs +13 -0
  1198. package/templates/blocks/components/Tooltip/TooltipShowcase.tsx +14 -0
  1199. package/templates/blocks/components/TopNav/TopNavCenteredNavigation.doc.mjs +14 -0
  1200. package/templates/blocks/components/TopNav/TopNavCenteredNavigation.tsx +47 -0
  1201. package/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.doc.mjs +14 -0
  1202. package/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.tsx +61 -0
  1203. package/templates/blocks/components/TopNav/TopNavHoverMenu.doc.mjs +14 -0
  1204. package/templates/blocks/components/TopNav/TopNavHoverMenu.tsx +79 -0
  1205. package/templates/blocks/components/TopNav/TopNavMegaMenu.doc.mjs +14 -0
  1206. package/templates/blocks/components/TopNav/TopNavMegaMenu.tsx +97 -0
  1207. package/templates/blocks/components/TopNav/TopNavMultipleDropdowns.doc.mjs +14 -0
  1208. package/templates/blocks/components/TopNav/TopNavMultipleDropdowns.tsx +62 -0
  1209. package/templates/blocks/components/TopNav/TopNavShowcase.doc.mjs +13 -0
  1210. package/templates/blocks/components/TopNav/TopNavShowcase.tsx +53 -0
  1211. package/templates/blocks/components/TopNav/TopNavWithLogo.doc.mjs +14 -0
  1212. package/templates/blocks/components/TopNav/TopNavWithLogo.tsx +39 -0
  1213. package/templates/blocks/components/TopNavHeading/TopNavHeadingShowcase.doc.mjs +14 -0
  1214. package/templates/blocks/components/TopNavHeading/TopNavHeadingShowcase.tsx +51 -0
  1215. package/templates/blocks/components/TopNavItem/TopNavItemShowcase.doc.mjs +14 -0
  1216. package/templates/blocks/components/TopNavItem/TopNavItemShowcase.tsx +48 -0
  1217. package/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.doc.mjs +14 -0
  1218. package/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.tsx +74 -0
  1219. package/templates/blocks/components/TopNavMegaMenuFeaturedCard/TopNavMegaMenuFeaturedCardShowcase.doc.mjs +14 -0
  1220. package/templates/blocks/components/TopNavMegaMenuFeaturedCard/TopNavMegaMenuFeaturedCardShowcase.tsx +16 -0
  1221. package/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemShowcase.doc.mjs +14 -0
  1222. package/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemShowcase.tsx +69 -0
  1223. package/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.doc.mjs +14 -0
  1224. package/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.tsx +63 -0
  1225. package/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.doc.mjs +14 -0
  1226. package/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.tsx +42 -0
  1227. package/templates/blocks/components/TreeList/TreeListInteractiveSettings.doc.mjs +14 -0
  1228. package/templates/blocks/components/TreeList/TreeListInteractiveSettings.tsx +40 -0
  1229. package/templates/blocks/components/TreeList/TreeListMailboxTree.doc.mjs +14 -0
  1230. package/templates/blocks/components/TreeList/TreeListMailboxTree.tsx +39 -0
  1231. package/templates/blocks/components/TreeList/TreeListNavigationTree.doc.mjs +14 -0
  1232. package/templates/blocks/components/TreeList/TreeListNavigationTree.tsx +26 -0
  1233. package/templates/blocks/components/TreeList/TreeListShowcase.doc.mjs +13 -0
  1234. package/templates/blocks/components/TreeList/TreeListShowcase.tsx +44 -0
  1235. package/templates/blocks/components/TreeListBranches/TreeListBranchesShowcase.doc.mjs +14 -0
  1236. package/templates/blocks/components/TreeListBranches/TreeListBranchesShowcase.tsx +64 -0
  1237. package/templates/blocks/components/TreeListItem/TreeListItemShowcase.doc.mjs +14 -0
  1238. package/templates/blocks/components/TreeListItem/TreeListItemShowcase.tsx +60 -0
  1239. package/templates/blocks/components/Typeahead/TypeaheadLimitedResults.doc.mjs +14 -0
  1240. package/templates/blocks/components/Typeahead/TypeaheadLimitedResults.tsx +42 -0
  1241. package/templates/blocks/components/Typeahead/TypeaheadSearchField.doc.mjs +14 -0
  1242. package/templates/blocks/components/Typeahead/TypeaheadSearchField.tsx +43 -0
  1243. package/templates/blocks/components/Typeahead/TypeaheadShowcase.doc.mjs +13 -0
  1244. package/templates/blocks/components/Typeahead/TypeaheadShowcase.tsx +35 -0
  1245. package/templates/blocks/components/Typeahead/TypeaheadWithHelperText.doc.mjs +14 -0
  1246. package/templates/blocks/components/Typeahead/TypeaheadWithHelperText.tsx +41 -0
  1247. package/templates/blocks/components/Typeahead/TypeaheadWithValidation.doc.mjs +14 -0
  1248. package/templates/blocks/components/Typeahead/TypeaheadWithValidation.tsx +41 -0
  1249. package/templates/blocks/components/TypeaheadItem/TypeaheadItemShowcase.doc.mjs +15 -0
  1250. package/templates/blocks/components/TypeaheadItem/TypeaheadItemShowcase.tsx +50 -0
  1251. package/templates/blocks/components/VStack/VStackShowcase.doc.mjs +14 -0
  1252. package/templates/blocks/components/VStack/VStackShowcase.tsx +38 -0
  1253. package/templates/pages/ai-chat/page.tsx +758 -0
  1254. package/templates/pages/ai-chat/template.doc.mjs +11 -0
  1255. package/templates/pages/ai-chat-landing/page.tsx +478 -0
  1256. package/templates/pages/ai-chat-landing/template.doc.mjs +11 -0
  1257. package/templates/pages/blank/page.tsx +18 -0
  1258. package/templates/pages/blank/template.doc.mjs +12 -0
  1259. package/templates/pages/centered-hero/page.tsx +82 -0
  1260. package/templates/pages/centered-hero/template.doc.mjs +12 -0
  1261. package/templates/pages/classic-gallery/page.tsx +161 -0
  1262. package/templates/pages/classic-gallery/template.doc.mjs +12 -0
  1263. package/templates/pages/contact-form/page.tsx +298 -0
  1264. package/templates/pages/contact-form/template.doc.mjs +12 -0
  1265. package/templates/pages/dashboard/page.tsx +808 -0
  1266. package/templates/pages/dashboard/template.doc.mjs +12 -0
  1267. package/templates/pages/dashboard-portfolio/page.tsx +775 -0
  1268. package/templates/pages/dashboard-portfolio/template.doc.mjs +12 -0
  1269. package/templates/pages/detail-page/page.tsx +638 -0
  1270. package/templates/pages/detail-page/template.doc.mjs +11 -0
  1271. package/templates/pages/documentation/page.tsx +275 -0
  1272. package/templates/pages/documentation/template.doc.mjs +11 -0
  1273. package/templates/pages/documentation-design/page.tsx +757 -0
  1274. package/templates/pages/documentation-design/template.doc.mjs +11 -0
  1275. package/templates/pages/documentation-technical/page.tsx +256 -0
  1276. package/templates/pages/documentation-technical/template.doc.mjs +11 -0
  1277. package/templates/pages/editor/page.tsx +970 -0
  1278. package/templates/pages/editor/template.doc.mjs +11 -0
  1279. package/templates/pages/file-explorer/page.tsx +534 -0
  1280. package/templates/pages/file-explorer/template.doc.mjs +11 -0
  1281. package/templates/pages/form-two-column/page.tsx +240 -0
  1282. package/templates/pages/form-two-column/template.doc.mjs +11 -0
  1283. package/templates/pages/gallery-hero/page.tsx +103 -0
  1284. package/templates/pages/gallery-hero/template.doc.mjs +12 -0
  1285. package/templates/pages/ide/page.tsx +468 -0
  1286. package/templates/pages/ide/template.doc.mjs +12 -0
  1287. package/templates/pages/library/page.tsx +514 -0
  1288. package/templates/pages/library/template.doc.mjs +11 -0
  1289. package/templates/pages/login/page.tsx +100 -0
  1290. package/templates/pages/login/template.doc.mjs +12 -0
  1291. package/templates/pages/login-card/page.tsx +214 -0
  1292. package/templates/pages/login-card/template.doc.mjs +11 -0
  1293. package/templates/pages/login-split/page.tsx +275 -0
  1294. package/templates/pages/login-split/template.doc.mjs +11 -0
  1295. package/templates/pages/login-sso/page.tsx +285 -0
  1296. package/templates/pages/login-sso/template.doc.mjs +11 -0
  1297. package/templates/pages/mixed-gallery/page.tsx +159 -0
  1298. package/templates/pages/mixed-gallery/template.doc.mjs +11 -0
  1299. package/templates/pages/payment-form/page.tsx +975 -0
  1300. package/templates/pages/payment-form/template.doc.mjs +11 -0
  1301. package/templates/pages/product-detail/page.tsx +306 -0
  1302. package/templates/pages/product-detail/template.doc.mjs +11 -0
  1303. package/templates/pages/product-gallery/page.tsx +159 -0
  1304. package/templates/pages/product-gallery/template.doc.mjs +12 -0
  1305. package/templates/pages/settings/page.tsx +230 -0
  1306. package/templates/pages/settings/template.doc.mjs +11 -0
  1307. package/templates/pages/settings-dialog/page.tsx +838 -0
  1308. package/templates/pages/settings-dialog/template.doc.mjs +13 -0
  1309. package/templates/pages/settings-sidebar/page.tsx +855 -0
  1310. package/templates/pages/settings-sidebar/template.doc.mjs +12 -0
  1311. package/templates/pages/side-gallery/page.tsx +150 -0
  1312. package/templates/pages/side-gallery/template.doc.mjs +11 -0
  1313. package/templates/pages/table/page.tsx +85 -0
  1314. package/templates/pages/table/template.doc.mjs +12 -0
  1315. package/templates/pages/table-grouped/page.tsx +1216 -0
  1316. package/templates/pages/table-grouped/template.doc.mjs +12 -0
  1317. package/templates/pages/table-page/page.tsx +441 -0
  1318. package/templates/pages/table-page/template.doc.mjs +12 -0
  1319. package/templates/pages/table-page-chart/page.tsx +587 -0
  1320. package/templates/pages/table-page-chart/template.doc.mjs +13 -0
  1321. package/templates/pages/table-page-heatmap-status/page.tsx +475 -0
  1322. package/templates/pages/table-page-heatmap-status/template.doc.mjs +13 -0
  1323. package/templates/pages/table-page-shoe-store-heatmap/page.tsx +945 -0
  1324. package/templates/pages/table-page-shoe-store-heatmap/template.doc.mjs +13 -0
  1325. package/templates/pages/theme-showcase/page.tsx +1284 -0
  1326. package/templates/pages/theme-showcase/template.doc.mjs +16 -0
package/README.md CHANGED
@@ -1,3 +1,441 @@
1
1
  # @astryxdesign/cli
2
2
 
3
- This is a `0.0.0-bootstrap.0` placeholder published only to claim the npm name while configuring npm trusted publishing. Do not install it; it will be superseded by the first real release.
3
+ The CLI is the primary interface for working with the design system, for humans and machines alike. It provides component documentation, design tokens, page templates, theming tools, and upgrade codemods, all accessible via terminal commands, a typed JSON API, or programmatic imports. AI agents and build tools use the same API that powers the CLI, enabling end-to-end frontend development loops.
4
+
5
+ ```bash
6
+ npx astryx --help
7
+ npx astryx search button
8
+ npx astryx component Button
9
+ npx astryx docs tokens
10
+ npx astryx docs migration
11
+ npx astryx template --list
12
+ ```
13
+
14
+ ## Finding things: `astryx search`
15
+
16
+ When you don't know whether what you need is a component, a hook, a docs topic,
17
+ or a template, search across all of them at once. Results are ranked by
18
+ relevance (name and keyword matches outrank incidental prose mentions, with
19
+ fuzzy matching for typos) and tagged with their domain plus the follow-up
20
+ command to run:
21
+
22
+ ```bash
23
+ $ npx astryx search button
24
+
25
+ Results for "button" (20):
26
+
27
+ [component] Button
28
+ Button triggers an action when clicked. Use it for form submissions…
29
+ → npx astryx component Button
30
+
31
+ [component] IconButton
32
+ A button that shows only an icon with no visible text…
33
+ → npx astryx component IconButton
34
+
35
+ [hook] useClickableContainer
36
+ Makes a container element clickable while preserving nested…
37
+ → npx astryx hook useClickableContainer
38
+
39
+ [template] Banner — Collapsible
40
+ Combine an action button, dismiss control, and expandable detail area…
41
+ → npx astryx template BannerCollapsibleContent
42
+ ```
43
+
44
+ Options:
45
+
46
+ - `--type <component|hook|doc|template>`: restrict to a single domain
47
+ - `--limit <n>`: cap the number of results (default 20)
48
+ - `--detail`: include the import path and the match reason/score
49
+ - `--json`: typed `{ type: 'search', data: { query, results } }` envelope
50
+
51
+ ## Commands
52
+
53
+ | Command | Description |
54
+ | ------------- | ---------------------------------------------------------------------------------------------------- |
55
+ | `init` | Initialize the design system in your project: installs packages, sets up theming, adds AI agent docs |
56
+ | `component` | List components or print detailed docs, props, usage examples, and source |
57
+ | `search` | Find components, hooks, docs, and templates in one ranked, cross-domain result set |
58
+ | `docs` | Print reference documentation (tokens, theme, color, typography, spacing, etc.) |
59
+ | `template` | Inject page or block templates into your project |
60
+ | `hook` | List hooks and print hook documentation |
61
+ | `swizzle` | Copy component source into your project for deep customization |
62
+ | `upgrade` | Run codemods to migrate between versions |
63
+ | `theme build` | Compile a defineTheme file to production CSS and JS |
64
+ | `discover` | Discover external packages and components |
65
+ | `gap-report` | Report a gap when a component doesn't meet your needs |
66
+ | `doctor` | Diagnose your XDS setup and report problems with fixes (CI-friendly via exit code) |
67
+
68
+ ### Global options
69
+
70
+ These flags work with any command:
71
+
72
+ - `--json`: Output as typed JSON envelope: `{ type, data }` (errors: `{ error, code, suggestions? }`)
73
+ - `--detail <level>`: Detail level for list views, increasing in size: `brief` (names only, default for `--list`) < `compact` (names + 1-line descriptions) < `full` (full docs per entry). Single-item views default to `full`.
74
+ - `--zh`: Output docs in Chinese Simplified
75
+ - `--dense`: Compressed format (token-efficient, useful for AI agents)
76
+ - `--lang <locale>`: Language/format shorthand (`en`, `zh`, `dense`)
77
+
78
+ ## JSON API
79
+
80
+ Every command supports `--json` for machine-readable output. Responses are typed envelopes:
81
+
82
+ ```json
83
+ {"type": "component.detail", "data": {"name": "Button", ...}}
84
+ ```
85
+
86
+ Errors:
87
+
88
+ ```json
89
+ {
90
+ "error": "No component named \"Buttn\"",
91
+ "code": "ERR_UNKNOWN_COMPONENT",
92
+ "suggestions": [{"name": "Button", "reason": "similar name"}]
93
+ }
94
+ ```
95
+
96
+ The `code` field is a **stable, machine-readable identifier**. Branch on it,
97
+ never on the human-readable `error` string, which changes freely as we improve
98
+ wording. Every error envelope carries a `code` (falling back to `ERR_UNKNOWN`
99
+ when no more specific code applies). The same `code` is exposed on thrown
100
+ `AstryxError` instances from the programmatic API, so both surfaces agree.
101
+
102
+ Codes are **append-only**: once shipped, a code's meaning never changes and a
103
+ code is never removed. New error conditions get new codes.
104
+
105
+ ```typescript
106
+ import {isError} from '@astryxdesign/cli/json';
107
+
108
+ const result = parseResponse(raw);
109
+ if (isError(result)) {
110
+ switch (result.code) {
111
+ case 'ERR_UNKNOWN_COMPONENT':
112
+ // suggest the closest match
113
+ break;
114
+ case 'ERR_CORE_NOT_FOUND':
115
+ // prompt the user to install @astryxdesign/core
116
+ break;
117
+ default:
118
+ console.error(result.error);
119
+ }
120
+ }
121
+ ```
122
+
123
+ ### Error codes
124
+
125
+ | Code | Meaning |
126
+ | ------------------------ | -------------------------------------------------------------------------------------- |
127
+ | `ERR_UNKNOWN` | Generic fallback for any error without a more specific code. |
128
+ | `ERR_UNKNOWN_COMMAND` | A top-level command name was not recognized (e.g. `astryx bogus`). |
129
+ | `ERR_UNKNOWN_SUBCOMMAND` | A subcommand under a group was not recognized (e.g. `astryx theme bogus`). |
130
+ | `ERR_INVALID_OPTION` | An unknown flag was passed, or `--json` was used on a command that doesn't support it. |
131
+ | `ERR_INVALID_ARGUMENT` | An option/argument value was rejected, or required flags were missing. |
132
+ | `ERR_MISSING_ARGUMENT` | A required positional argument was omitted (e.g. `astryx theme build` with no file). |
133
+ | `ERR_INVALID_LANG` | `--lang` was given a value outside its choices (`en`, `zh`, `dense`). |
134
+ | `ERR_INVALID_DETAIL` | `--detail` was given a value outside its choices (`full`, `compact`, `brief`). |
135
+ | `ERR_NODE_VERSION` | The running Node.js version is below the supported minimum. |
136
+ | `ERR_CORE_NOT_FOUND` | `@astryxdesign/core` could not be located (not installed / not in a monorepo). |
137
+ | `ERR_UNKNOWN_COMPONENT` | No component matched the requested name. |
138
+ | `ERR_UNKNOWN_HOOK` | No hook matched the requested name. |
139
+ | `ERR_UNKNOWN_TOPIC` | No docs topic matched the requested name. |
140
+ | `ERR_UNKNOWN_SECTION` | A docs topic exists but the requested section within it does not. |
141
+ | `ERR_UNKNOWN_CATEGORY` | A `--category` filter value did not match any known category. |
142
+ | `ERR_UNKNOWN_TEMPLATE` | No template matched the requested name. |
143
+ | `ERR_UNKNOWN_PACKAGE` | No package matched the requested name (discover). |
144
+ | `ERR_UNKNOWN_AGENT` | An unrecognized `--agent` value was passed (agent docs / init). |
145
+ | `ERR_UNKNOWN_FEATURE` | An unrecognized `--features` value was passed to `init`. |
146
+ | `ERR_UNKNOWN_CODEMOD` | A `--codemod` value did not match any registered codemod (upgrade). |
147
+ | `ERR_NOT_FOUND` | A discover/lookup query matched nothing in any package. |
148
+ | `ERR_NO_DOC` | A component exists but has no typed `.doc.mjs` file. |
149
+ | `ERR_NO_SHOWCASE` | No showcase exists for the requested component. |
150
+ | `ERR_NO_SOURCE` | No source file could be located for the component/template. |
151
+ | `ERR_INVALID_DOC` | A component's docs failed validation (malformed `.doc.mjs`). |
152
+ | `ERR_FILE_NOT_FOUND` | A required input file did not exist. |
153
+ | `ERR_FILE_EXISTS` | Refused to overwrite an existing file in non-interactive mode. |
154
+ | `ERR_PATH_TRAVERSAL` | A path escaped its allowed root, or a name contained traversal markers. |
155
+ | `ERR_WRITE_FAILED` | Writing output files failed (and was rolled back). |
156
+ | `ERR_THEME_INVALID` | A theme definition was missing a required property (e.g. `name`). |
157
+ | `ERR_THEME_LOAD` | A theme file could not be loaded / parsed into a `defineTheme` result. |
158
+ | `ERR_TEMPLATE_CONFIG` | `template.get` is not configured in `astryx.config.mjs` (fetch-by-id). |
159
+ | `ERR_TEMPLATE_GET` | A configured `template.get` threw or returned an invalid value. |
160
+ | `ERR_VERSION_DETECT` | The current `@astryxdesign/core` version could not be detected. |
161
+ | `ERR_INVALID_VERSION` | A `--from`/`--to` value was not a valid semver string. |
162
+ | `ERR_DEP_MISSING` | A required external dependency (e.g. jscodeshift) is missing. |
163
+ | `ERR_GH_CLI` | GitHub CLI (`gh`) is not installed or not authenticated. |
164
+ | `ERR_GAP_REPORT_FAILED` | Filing a gap report failed (disabled, or the integration errored). |
165
+
166
+ ## Capability manifest (agent discovery)
167
+
168
+ Agents don't have to scrape `--help` to learn the CLI. A single call returns a
169
+ **self-describing manifest**: every command, its arguments, flags (with types,
170
+ choices, and defaults), whether it supports `--json`, and the response `type`
171
+ discriminators each command can emit. Think of it as an OpenAPI spec for the CLI.
172
+
173
+ ```bash
174
+ astryx manifest --json # dedicated surface — type: "manifest"
175
+ xds --json # bare invocation — embeds the same payload under data.manifest
176
+ ```
177
+
178
+ Shape:
179
+
180
+ ```jsonc
181
+ {
182
+ "apiVersion": 1,
183
+ "type": "manifest",
184
+ "data": {
185
+ "name": "xds",
186
+ "version": "0.0.14",
187
+ "description": "Design system CLI — components, themes, and tooling",
188
+ "globalOptions": [
189
+ {
190
+ "flag": "--json",
191
+ "type": "boolean",
192
+ "description": "Output as typed JSON…",
193
+ },
194
+ {
195
+ "flag": "--lang <locale>",
196
+ "type": "enum",
197
+ "choices": ["en", "zh", "dense"],
198
+ },
199
+ {
200
+ "flag": "--detail <level>",
201
+ "type": "enum",
202
+ "choices": ["full", "compact", "brief"],
203
+ "default": "full",
204
+ },
205
+ ],
206
+ "commands": [
207
+ {
208
+ "name": "component",
209
+ "description": "List components or print component docs",
210
+ "arguments": [
211
+ {
212
+ "name": "name",
213
+ "required": false,
214
+ "variadic": false,
215
+ "description": "",
216
+ },
217
+ ],
218
+ "options": [
219
+ {
220
+ "flag": "--props",
221
+ "type": "boolean",
222
+ "description": "Print only the props table",
223
+ },
224
+ ],
225
+ "json": true,
226
+ "responseTypes": [
227
+ "component.list",
228
+ "component.detail",
229
+ "component.detail.props",
230
+ "…",
231
+ ],
232
+ "examples": ["astryx component Button --props --json"],
233
+ },
234
+ // …one entry per command; subcommands (e.g. `theme build`) nest under `subcommands`
235
+ ],
236
+ "jsonSupported": ["component", "docs", "…"],
237
+ "responseTypes": {
238
+ "component": ["component.list", "…"],
239
+ "theme build": ["theme.build"],
240
+ },
241
+ },
242
+ }
243
+ ```
244
+
245
+ The manifest is **derived from Commander metadata** (commands, arguments, options)
246
+ so it can't drift from the real command definitions. The two facts Commander
247
+ doesn't track (`--json` support and emitted response types) are layered on from
248
+ the `JSON_SUPPORTED` allowlist and a small declarative `RESPONSE_TYPES` map in
249
+ `src/lib/manifest.mjs`, guarded by a drift test (`manifest.test.mjs`) so adding a
250
+ command without describing it fails CI.
251
+
252
+ **Backwards-compat:** the bare `xds --json` envelope keeps `type: "help"` and its
253
+ original shallow fields (`name`, `version`, `commands` as a `string[]` of names,
254
+ `jsonSupported`); the full structured manifest is additive under `data.manifest`.
255
+ For the standalone manifest envelope (`type: "manifest"`), use `astryx manifest --json`.
256
+
257
+ ## Programmatic API
258
+
259
+ The same logic that powers `xds --json` is available as importable, type-safe functions:
260
+
261
+ ```typescript
262
+ import {
263
+ component,
264
+ docs,
265
+ discover,
266
+ template,
267
+ hook,
268
+ search,
269
+ AstryxError,
270
+ } from '@astryxdesign/cli/api';
271
+
272
+ // Same result as: xds --json component Button
273
+ const btn = await component('Button');
274
+ btn.type; // 'component.detail'
275
+ btn.data.name; // 'Button' (typed as ComponentDoc)
276
+
277
+ // Same result as: xds --json component --list
278
+ const list = await component(undefined, {list: true});
279
+ list.data; // Record<string, string[]>
280
+
281
+ // Same result as: xds --json docs principles
282
+ const principles = await docs('principles');
283
+ principles.data.title; // 'XDS Principles'
284
+
285
+ // Same result as: xds --json hook useMediaQuery
286
+ const useMediaQuery = await hook('useMediaQuery');
287
+ useMediaQuery.data.params; // typed as HookParamDoc[]
288
+
289
+ // Errors throw AstryxError with a stable .code and optional .suggestions
290
+ try {
291
+ await component('Buttn');
292
+ } catch (e) {
293
+ e.message; // 'No component named "Buttn"'
294
+ e.code; // 'ERR_UNKNOWN_COMPONENT' (stable; branch on this)
295
+ e.suggestions; // [{ name: 'Button', reason: 'similar name' }]
296
+ }
297
+ ```
298
+
299
+ The CLI command handlers are thin wrappers around these functions: they parse args, call the API, then format the output (JSON or text). This guarantees that `@astryxdesign/cli/api` and `xds --json` always return identical data.
300
+
301
+ ### Consumer utilities
302
+
303
+ If you're spawning the CLI as a subprocess rather than importing the API directly:
304
+
305
+ ```typescript
306
+ import {parseResponse, isError, assertResponse} from '@astryxdesign/cli/json';
307
+ import type {ComponentDetailResponse, CLIResult} from '@astryxdesign/cli/json';
308
+
309
+ const result = parseResponse(stdout);
310
+ if (isError(result)) {
311
+ console.error(result.error);
312
+ } else {
313
+ switch (result.type) {
314
+ case 'component.detail':
315
+ result.data.name; // TypeScript: ComponentDoc
316
+ break;
317
+ }
318
+ }
319
+
320
+ // Or assert directly (throws on error/mismatch):
321
+ const detail = assertResponse(stdout, 'component.detail');
322
+ detail.data.name; // already narrowed
323
+ ```
324
+
325
+ ### Type discriminators
326
+
327
+ Every response has a `type` string that uniquely identifies it:
328
+
329
+ | Command | Type | Response |
330
+ | ---------------------------------------------- | --------------------------- | --------------------------------- |
331
+ | `xds --json component [--list]` | `component.list` | `ComponentListResponse` |
332
+ | `xds --json component --list --detail compact` | `component.brief` | `ComponentBriefResponse` |
333
+ | `xds --json component --list --detail full` | `component.full` | `ComponentFullResponse` |
334
+ | `xds --json component <name>` | `component.detail` | `ComponentDetailResponse` |
335
+ | `xds --json component <name> --props` | `component.detail.props` | `ComponentDetailPropsResponse` |
336
+ | `xds --json component <name> --source` | `component.detail.source` | `ComponentDetailSourceResponse` |
337
+ | `xds --json component <name> --showcase` | `component.detail.showcase` | `ComponentDetailShowcaseResponse` |
338
+ | `xds --json component <name> --blocks` | `component.detail.blocks` | `ComponentDetailBlocksResponse` |
339
+ | `xds --json discover` | `discover.list` | `DiscoverListResponse` |
340
+ | `xds --json discover @scope/name` | `discover.detail` | `DiscoverDetailResponse` |
341
+ | `xds --json discover @scope/name/Comp` | `discover.detail.doc` | `DiscoverDetailDocResponse` |
342
+ | `xds --json discover <search>` | `discover.search` | `DiscoverSearchResponse` |
343
+ | `xds --json docs` | `docs.list` | `DocsListResponse` |
344
+ | `xds --json docs <topic>` | `docs.detail` | `DocsDetailResponse` |
345
+ | `xds --json docs <topic> <section>` | `docs.detail.section` | `DocsDetailSectionResponse` |
346
+ | `xds --json template [--list]` | `template.list` | `TemplateListResponse` |
347
+ | `xds --json template <name>` | `template.show` | `TemplateShowResponse` |
348
+ | `xds --json template <name> --skeleton` | `template.skeleton` | `TemplateSkeletonResponse` |
349
+ | `xds --json template <name> [path]` | `template.copy` | `TemplateCopyResponse` |
350
+ | `xds --json hook [--list]` | `hook.list` | `HookListResponse` |
351
+ | `xds --json hook --list --detail compact` | `hook.brief` | `HookBriefResponse` |
352
+ | `xds --json hook --list --detail full` | `hook.full` | `HookFullResponse` |
353
+ | `xds --json hook <name>` | `hook.detail` | `HookDetailResponse` |
354
+ | `xds --json hook <name> --params` | `hook.detail.params` | `HookDetailParamsResponse` |
355
+ | `xds --json search <query>` | `search` | `SearchResponse` |
356
+ | `xds --json swizzle [--list]` | `swizzle.list` | `SwizzleListResponse` |
357
+ | `xds --json swizzle <component>` | `swizzle.copy` | `SwizzleCopyResponse` |
358
+ | `xds --json theme build <file>` | `theme.build` | `ThemeBuildResponse` |
359
+ | `xds --json upgrade --list` | `upgrade.list` | `UpgradeListResponse` |
360
+ | `xds --json upgrade [--apply]` | `upgrade.run` | `UpgradeRunResponse` |
361
+ | `xds --json gap-report --list-categories` | `gap-report.categories` | `GapReportCategoriesResponse` |
362
+ | `xds --json gap-report --component X ...` | `gap-report.file` | `GapReportFileResponse` |
363
+ | `xds --json doctor` | `doctor` | `DoctorResponse` |
364
+ | any error | — | `CLIError` |
365
+ | unsupported command | — | `CLIUnsupportedError` |
366
+
367
+ ## Doctor
368
+
369
+ `astryx doctor` runs a series of health checks against your project and
370
+ environment and reports `PASS` / `WARN` / `FAIL` for each, with an actionable
371
+ fix for anything that isn't passing. It's read-only; it never installs or
372
+ mutates anything, so it's safe to run anywhere, including CI.
373
+
374
+ ```
375
+ $ astryx doctor
376
+ astryx doctor — diagnosing your setup
377
+
378
+ ✓ Node.js version
379
+ Node v22.13.0 meets the minimum (>=22.13.0).
380
+ ✓ @astryxdesign/core installed
381
+ @astryxdesign/core resolved (v0.0.14).
382
+ ✓ @astryxdesign/core <-> @astryxdesign/cli alignment
383
+ @astryxdesign/core v0.0.14 is in step with @astryxdesign/cli v0.0.14.
384
+ ⚠ Theme packages
385
+ No @astryxdesign/theme-* packages are installed.
386
+ → fix: Install a theme, e.g. `npm install @astryxdesign/theme-neutral`, then import its CSS or set xds.theme.
387
+ ℹ astryx.config.mjs
388
+ No astryx.config.mjs found — using defaults.
389
+ ℹ AI agent docs
390
+ No agent docs (CLAUDE.md / AGENTS.md / .cursorrules) found.
391
+ → fix: Generate agent docs with `astryx init --features agents`.
392
+ ✓ @astryxdesign/core peer dependencies
393
+ All peer dependencies satisfied (react, react-dom).
394
+ ℹ Package manager
395
+ Detected package manager: yarn.
396
+
397
+ Summary: 4 passed, 1 warning, 0 failures, 3 info
398
+
399
+ No failures — but review the ⚠ warnings above when you can.
400
+ ```
401
+
402
+ ### Checks
403
+
404
+ | Check | Status it can return | What it verifies |
405
+ | ---------------------------- | -------------------- | -------------------------------------------------------------------- |
406
+ | Node.js version | pass / fail | Running Node meets the CLI's minimum |
407
+ | @astryxdesign/core installed | pass / fail | `@astryxdesign/core` is resolvable from the project |
408
+ | Version alignment | pass / warn / info | Installed `@astryxdesign/core` is in step with `@astryxdesign/cli` |
409
+ | Theme packages | pass / warn | An `@astryxdesign/theme-*` package is installed and a theme is wired |
410
+ | astryx.config.mjs | pass / fail / info | Config (if present) loads cleanly with a valid shape |
411
+ | AI agent docs | pass / warn / info | Agent docs exist and contain the XDS section markers |
412
+ | Peer dependencies | pass / warn / info | `@astryxdesign/core`'s peer deps (react, …) are installed |
413
+ | Package manager | info | Reports the detected package manager |
414
+
415
+ ### CI gate
416
+
417
+ The exit code is the contract: `astryx doctor` exits `0` when there are no
418
+ failures (warnings are fine) and `1` when any check fails. That makes it
419
+ usable directly as a CI step:
420
+
421
+ ```yaml
422
+ - run: npx astryx doctor
423
+ ```
424
+
425
+ Use `--json` for a structured envelope (`{ apiVersion, type: "doctor",
426
+ data: { checks, summary } }`) that AI agents and scripts can parse.
427
+
428
+ ## Configuration
429
+
430
+ The CLI reads from an optional `astryx.config.mjs` in your project root:
431
+
432
+ ```javascript
433
+ export default {
434
+ templates: {
435
+ get: async id => fetchTemplateFromAPI(id),
436
+ },
437
+ gapReport: {
438
+ url: 'https://your-api.com/gaps',
439
+ },
440
+ };
441
+ ```
package/bin/astryx.mjs ADDED
@@ -0,0 +1,102 @@
1
+ #!/usr/bin/env node
2
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
3
+
4
+ // ---------------------------------------------------------------------------
5
+ // Node.js version preflight gate.
6
+ //
7
+ // The CLI and its dependencies use `styleText` from `node:util`, added in Node
8
+ // 22.13.0. On older runtimes the lazy-loaded subcommands die with a cryptic
9
+ // ESM error ("...does not provide an export named 'styleText'"). To give users
10
+ // a clear message instead, we check the running version FIRST, using only
11
+ // built-ins, and exit early before importing anything that touches styleText.
12
+ //
13
+ // `node-version.mjs` is intentionally dependency-free so it loads on the
14
+ // unsupported runtimes this guard protects against.
15
+ //
16
+ // Sibling `src/` modules are resolved by this bin's REAL path. When the CLI is
17
+ // installed as a package, `npx astryx` runs this file through the
18
+ // `node_modules/.bin/astryx` symlink, and some Node versions resolve relative
19
+ // specifiers from the symlink's directory (→ `node_modules/src/...`) rather
20
+ // than the real package — breaking bare `../src/...` imports with a cryptic
21
+ // ERR_MODULE_NOT_FOUND. realpath-ing `import.meta.url` makes these imports
22
+ // resolve correctly however the bin is invoked (symlink, copy, or Windows
23
+ // shim). Uses only built-ins, so the version gate below still runs first.
24
+ import {fileURLToPath, pathToFileURL} from 'node:url';
25
+ import {realpathSync} from 'node:fs';
26
+ import {dirname, join} from 'node:path';
27
+
28
+ const binDir = dirname(realpathSync(fileURLToPath(import.meta.url)));
29
+ const importSrc = rel =>
30
+ import(pathToFileURL(join(binDir, '..', 'src', rel)).href);
31
+
32
+ const {isNodeVersionSupported, unsupportedNodeMessage} =
33
+ await importSrc('lib/node-version.mjs');
34
+
35
+ if (!isNodeVersionSupported(process.versions.node)) {
36
+ const msg = unsupportedNodeMessage(process.versions.node);
37
+ // Honor the --json contract even at this pre-import gate. We can't import
38
+ // json.mjs here (it transitively loads styleText, the very thing this gate
39
+ // protects against), so emit a minimal hand-rolled envelope. The shape and
40
+ // the stable `code` (ERR_NODE_VERSION) match error-codes.mjs.
41
+ if (process.argv.slice(2).includes('--json')) {
42
+ console.log(
43
+ JSON.stringify(
44
+ {apiVersion: 1, error: msg, code: 'ERR_NODE_VERSION'},
45
+ null,
46
+ 2,
47
+ ),
48
+ );
49
+ } else {
50
+ console.error(msg);
51
+ }
52
+ process.exit(1);
53
+ }
54
+
55
+ // Imports that transitively load `styleText` must happen AFTER the gate above,
56
+ // so they are dynamically imported here rather than at the top of the module.
57
+ const {program} = await importSrc('index.mjs');
58
+ const {isJsonMode, toErrorEnvelope} = await importSrc('lib/json.mjs');
59
+ const {handleCommanderError} = await importSrc('lib/json-shim.mjs');
60
+
61
+ /**
62
+ * Top-level error boundary (contract guarantee #4): an uncaught throw must
63
+ * never reach a --json consumer as a raw stack trace. If we're in JSON mode,
64
+ * convert it to the contract's error envelope on stdout and exit 1; otherwise
65
+ * preserve the normal human-facing behavior.
66
+ *
67
+ * We detect JSON mode two ways: the global flag (set once root options are
68
+ * parsed) and a raw argv check, since a throw can occur during parsing/command
69
+ * load — before the preAction hook engages the flag.
70
+ */
71
+ function inJsonMode() {
72
+ return isJsonMode() || process.argv.slice(2).includes('--json');
73
+ }
74
+
75
+ function handleFatal(err) {
76
+ // CommanderError (parse errors, --help, unknown command) routes
77
+ // through the JSON shim so that a --json consumer always gets a
78
+ // valid envelope and the right exit code. handleCommanderError
79
+ // calls process.exit when it owns the error.
80
+ if (handleCommanderError(err)) return;
81
+
82
+ if (inJsonMode()) {
83
+ // Only emit if a command didn't already produce an envelope.
84
+ if (!process.__xdsJsonHandled) {
85
+ process.__xdsJsonHandled = true;
86
+ console.log(JSON.stringify(toErrorEnvelope(err), null, 2));
87
+ }
88
+ process.exit(1);
89
+ }
90
+ // Human mode: preserve Commander/Node default-ish behavior.
91
+ console.error(err instanceof Error ? err.stack || err.message : String(err));
92
+ process.exit(1);
93
+ }
94
+
95
+ process.on('unhandledRejection', handleFatal);
96
+ process.on('uncaughtException', handleFatal);
97
+
98
+ try {
99
+ await program.parseAsync(process.argv);
100
+ } catch (err) {
101
+ handleFatal(err);
102
+ }
@@ -0,0 +1,88 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /** @type {import('../../core/src/docs-types').ReferenceDoc} */
4
+
5
+ export const docs = {
6
+ name: 'color',
7
+ title: 'Color',
8
+ category: 'foundations',
9
+ description:
10
+ 'Semantic color tokens for surfaces, text, icons, borders, and status indicators.',
11
+ tokenCategory: 'color',
12
+
13
+ sections: [
14
+ {
15
+ title: 'Overview',
16
+ category: 'foundations',
17
+ content: [
18
+ {
19
+ type: 'prose',
20
+ text: 'Colors are semantic: tokens describe purpose, not appearance. Every color adapts automatically between light and dark modes via CSS light-dark(). Themes override the resolved values, so your code never references raw hex colors.',
21
+ },
22
+ ],
23
+ },
24
+ {
25
+ title: 'Surface Colors',
26
+ category: 'foundations',
27
+ content: [
28
+ {
29
+ type: 'prose',
30
+ text: 'Layered surface hierarchy: body → surface → card → popover. Each level sits visually above the previous one.',
31
+ },
32
+ {
33
+ type: 'token-ref',
34
+ topic: 'tokens',
35
+ section: 'Color Tokens',
36
+ },
37
+ ],
38
+ },
39
+ {
40
+ title: 'Usage',
41
+ category: 'foundations',
42
+ content: [
43
+ {
44
+ type: 'code',
45
+ lang: 'tsx',
46
+ label: 'Applying color tokens',
47
+ code: `import * as stylex from '@stylexjs/stylex';
48
+ import {colorVars} from '@astryxdesign/core/theme/tokens.stylex';
49
+
50
+ const styles = stylex.create({
51
+ container: {
52
+ backgroundColor: colorVars['--color-background-surface'],
53
+ color: colorVars['--color-text-primary'],
54
+ borderColor: colorVars['--color-border'],
55
+ },
56
+ accent: {
57
+ color: colorVars['--color-text-accent'],
58
+ },
59
+ });`,
60
+ },
61
+ ],
62
+ },
63
+ {
64
+ title: 'Best Practices',
65
+ category: 'foundations',
66
+ content: [
67
+ {
68
+ type: 'list',
69
+ style: 'do',
70
+ items: [
71
+ 'Use semantic tokens (--color-text-primary) instead of raw hex values.',
72
+ 'Rely on the surface hierarchy (body → surface → card → popover) for layering.',
73
+ 'Use status colors (success, error, warning) only for their semantic meaning.',
74
+ ],
75
+ },
76
+ {
77
+ type: 'list',
78
+ style: 'dont',
79
+ items: [
80
+ "Hardcode hex values, since they won't adapt to dark mode or custom themes.",
81
+ 'Mix accent colors with status colors in the same context.',
82
+ 'Use --color-on-accent on non-accent backgrounds.',
83
+ ],
84
+ },
85
+ ],
86
+ },
87
+ ],
88
+ };