@usesketchbook/cli 0.0.0-stage → 0.1.1

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 (1389) hide show
  1. package/.claude/commands/add.md +15 -0
  2. package/.claude/commands/check.md +5 -0
  3. package/.claude/commands/explain.md +6 -0
  4. package/.claude/commands/foundations.md +11 -0
  5. package/.claude/commands/import-tokens.md +15 -0
  6. package/.claude/commands/init.md +10 -0
  7. package/.claude/commands/kits.md +6 -0
  8. package/.claude/commands/roast-foundations.md +10 -0
  9. package/.claude/commands/start.md +6 -0
  10. package/.claude/commands/swap.md +6 -0
  11. package/.claude/commands/sync.md +6 -0
  12. package/.claude/commands/tour.md +5 -0
  13. package/.claude/hooks/guard-decisions.mjs +51 -0
  14. package/.claude/hooks/guard-generated.mjs +63 -0
  15. package/.claude/hooks/page-outline.mjs +41 -0
  16. package/.claude/hooks/run.mjs +36 -0
  17. package/.claude/rules/comment-minimalism.md +7 -0
  18. package/.claude/rules/contract-first.md +29 -0
  19. package/.claude/rules/figma-fidelity.md +42 -0
  20. package/.claude/rules/form-associated-controls.md +87 -0
  21. package/.claude/rules/no-ai-attribution.md +3 -0
  22. package/.claude/rules/planning-gate.md +13 -0
  23. package/.claude/rules/spec-is-source.md +6 -0
  24. package/.claude/rules/test-first.md +16 -0
  25. package/.claude/rules/tokens-through-the-harness.md +8 -0
  26. package/.claude/skills/a11y-checker/SKILL.md +301 -0
  27. package/.claude/skills/a11y-checker/agents/a11y-auditor.md +18 -0
  28. package/.claude/skills/a11y-checker/references/self-validation-checklist.md +180 -0
  29. package/.claude/skills/a11y-checker/references/wcag-checklist.md +141 -0
  30. package/.claude/skills/component-builder/SKILL.md +124 -0
  31. package/.claude/skills/component-builder/agents/parity-auditor.md +50 -0
  32. package/.claude/skills/contract-author/SKILL.md +156 -0
  33. package/.claude/skills/contract-author/agents/drafter.md +80 -0
  34. package/.claude/skills/contract-author/agents/extractor.md +62 -0
  35. package/.claude/skills/contract-author/agents/validator.md +50 -0
  36. package/.claude/skills/design-figma/SKILL.md +120 -0
  37. package/.claude/skills/design-figma/references/screenshots/01-guide.png +0 -0
  38. package/.claude/skills/design-figma/references/screenshots/02-foundations.png +0 -0
  39. package/.claude/skills/design-figma/references/screenshots/03-icons.png +0 -0
  40. package/.claude/skills/design-figma/references/screenshots/04-components-actions.png +0 -0
  41. package/.claude/skills/design-figma/references/screenshots/05-components-toggles-and-selection.png +0 -0
  42. package/.claude/skills/design-figma/references/screenshots/06-components-text-controls.png +0 -0
  43. package/.claude/skills/design-figma/references/screenshots/07-components-surfaces.png +0 -0
  44. package/.claude/skills/design-figma/references/screenshots/08-components-feedback-and-display.png +0 -0
  45. package/.claude/skills/design-figma/references/screenshots/09-components-navigation-and-disclosure.png +0 -0
  46. package/.claude/skills/design-figma/references/screenshots/10-components-data-and-layout.png +0 -0
  47. package/.claude/skills/design-figma/references/screenshots/11-library.png +0 -0
  48. package/.claude/skills/design-figma/references/screenshots/12-theme-matrix.png +0 -0
  49. package/.claude/skills/design-figma/references/screenshots/13-patterns.png +0 -0
  50. package/.claude/skills/design-figma/references/screenshots/README.md +34 -0
  51. package/.claude/skills/design-figma/references/screenshots/detail/doc-accessibility.png +0 -0
  52. package/.claude/skills/design-figma/references/screenshots/detail/doc-anatomy-tree.png +0 -0
  53. package/.claude/skills/design-figma/references/screenshots/detail/doc-header.png +0 -0
  54. package/.claude/skills/design-figma/references/screenshots/detail/doc-states-grid.png +0 -0
  55. package/.claude/skills/design-figma/references/screenshots/detail/doc-tokens.png +0 -0
  56. package/.claude/skills/design-figma/references/screenshots/detail/doc-variants-grid.png +0 -0
  57. package/.claude/skills/design-figma/references/screenshots/detail/foundation-color.png +0 -0
  58. package/.claude/skills/design-figma/references/working-method.md +94 -0
  59. package/.claude/skills/forge-me-a-skill/SKILL.md +178 -0
  60. package/.claude/skills/forge-me-a-skill/assets/SKILL-TEMPLATE.md +56 -0
  61. package/.claude/skills/foundations/SKILL.md +216 -0
  62. package/.claude/skills/foundations/agents/foundations-critic.md +37 -0
  63. package/.claude/skills/foundations/agents/token-mapper.md +40 -0
  64. package/.claude/skills/foundations/references/border-width.md +49 -0
  65. package/.claude/skills/foundations/references/color.md +86 -0
  66. package/.claude/skills/foundations/references/contrast.md +49 -0
  67. package/.claude/skills/foundations/references/density.md +44 -0
  68. package/.claude/skills/foundations/references/elevation.md +44 -0
  69. package/.claude/skills/foundations/references/iconography.md +44 -0
  70. package/.claude/skills/foundations/references/layout-grid.md +49 -0
  71. package/.claude/skills/foundations/references/motion.md +62 -0
  72. package/.claude/skills/foundations/references/opacity.md +48 -0
  73. package/.claude/skills/foundations/references/radius.md +48 -0
  74. package/.claude/skills/foundations/references/semantic-naming.md +58 -0
  75. package/.claude/skills/foundations/references/spacing-grid.md +64 -0
  76. package/.claude/skills/foundations/references/typography.md +74 -0
  77. package/.claude/skills/foundations/references/z-index.md +43 -0
  78. package/.claude/skills/hammock/SKILL.md +261 -0
  79. package/.claude/skills/hammock/assets/DEBT-LOG-TEMPLATE.md +11 -0
  80. package/.claude/skills/hammock/assets/DECISION-LADDER.md +27 -0
  81. package/.claude/skills/hammock/hooks/hammock-activate.mjs +33 -0
  82. package/.claude/skills/hammock/hooks/hammock-audit-runner.mjs +38 -0
  83. package/.claude/skills/hammock/hooks/hammock-config.mjs +78 -0
  84. package/.claude/skills/hammock/hooks/hammock-gate.mjs +43 -0
  85. package/.claude/skills/hammock/hooks/hammock-instructions.mjs +37 -0
  86. package/.claude/skills/hammock/hooks/hammock-mode-tracker.mjs +66 -0
  87. package/.claude/skills/hammock/hooks/hammock-runtime.mjs +59 -0
  88. package/.claude/skills/hammock/hooks/hammock-stop-gate.mjs +20 -0
  89. package/.claude/skills/hammock/hooks/hammock-subagent.mjs +23 -0
  90. package/.claude/skills/hammock/scripts/audit-simplicity.sh +91 -0
  91. package/.claude/skills/kits/SKILL.md +120 -0
  92. package/.claude/skills/onboarding/SKILL.md +171 -0
  93. package/.claude/skills/playwright-worker/SKILL.md +266 -0
  94. package/.claude/skills/review-rangers/SKILL.md +343 -0
  95. package/.claude/skills/review-rangers/assets/committee-member-template.md +44 -0
  96. package/.claude/skills/review-rangers/assets/mender-template.md +78 -0
  97. package/.claude/skills/review-rangers/assets/safety-guard-template.md +43 -0
  98. package/.claude/skills/security-guardian/SKILL.md +215 -0
  99. package/.claude/skills/security-guardian/assets/SECURE-CONTRIBUTING-CHECKLIST.md +67 -0
  100. package/.claude/skills/security-guardian/scripts/security-scan.sh +126 -0
  101. package/.claude/skills/web-components-best-practices/SKILL.md +154 -0
  102. package/.claude/skills/web-components-best-practices/references/api-and-interop-conventions.md +137 -0
  103. package/.claude/skills/web-components-best-practices/references/composition-patterns.md +178 -0
  104. package/.claude/skills/web-components-best-practices/references/performance-rules.md +196 -0
  105. package/.claude/skills/web-components-best-practices/references/platform-fundamentals.md +308 -0
  106. package/.githooks/commit-msg +9 -0
  107. package/.githooks/pre-commit +23 -0
  108. package/.githooks/pre-push +25 -0
  109. package/LICENSE +21 -0
  110. package/README.md +205 -2
  111. package/THIRD_PARTY_NOTICES.md +28 -0
  112. package/brand/sketchbook-icon.png +0 -0
  113. package/brand/sketchbook-icon.svg +2839 -0
  114. package/dist/index.d.ts +2226 -0
  115. package/dist/index.js +10589 -0
  116. package/dist/sketchbook.js +4798 -0
  117. package/docs/agent-compatibility.md +142 -0
  118. package/docs/cli.md +715 -0
  119. package/generated/css/fonts.css +2 -0
  120. package/generated/css/tokens.css +1245 -0
  121. package/generated/types/api.d.ts +138 -0
  122. package/generated/types/brand-config.d.ts +254 -0
  123. package/generated/types/contract.d.ts +197 -0
  124. package/generated/types/figma-practices.d.ts +26 -0
  125. package/generated/types/harness-config.d.ts +104 -0
  126. package/generated/types/registry.d.ts +16 -0
  127. package/harness/adapters/design/figma/compare.d.mts +1 -0
  128. package/harness/adapters/design/figma/compare.mjs +42 -0
  129. package/harness/adapters/design/figma/docs.d.mts +62 -0
  130. package/harness/adapters/design/figma/docs.mjs +679 -0
  131. package/harness/adapters/design/figma/icons.d.mts +3 -0
  132. package/harness/adapters/design/figma/icons.mjs +92 -0
  133. package/harness/adapters/design/figma/library.d.mts +51 -0
  134. package/harness/adapters/design/figma/library.mjs +595 -0
  135. package/harness/adapters/design/figma/patterns.d.mts +2 -0
  136. package/harness/adapters/design/figma/patterns.mjs +351 -0
  137. package/harness/adapters/design/figma/sync.d.mts +24 -0
  138. package/harness/adapters/design/figma/sync.mjs +216 -0
  139. package/harness/adapters/design/figma/variables.d.mts +136 -0
  140. package/harness/adapters/design/figma/variables.mjs +532 -0
  141. package/harness/adapters/design/figma/verify-runtime.mjs +19 -0
  142. package/harness/adapters/design/figma/zero.d.mts +9 -0
  143. package/harness/adapters/design/figma/zero.mjs +37 -0
  144. package/harness/agent/gemini-guard.d.mts +2 -0
  145. package/harness/agent/gemini-guard.mjs +95 -0
  146. package/harness/build/fonts.d.mts +14 -0
  147. package/harness/build/fonts.mjs +69 -0
  148. package/harness/build/index.d.mts +11 -0
  149. package/harness/build/index.mjs +35 -0
  150. package/harness/build/tokens-plain.d.mts +9 -0
  151. package/harness/build/tokens-plain.mjs +59 -0
  152. package/harness/build/tokens.d.mts +9 -0
  153. package/harness/build/tokens.mjs +76 -0
  154. package/harness/catalog/accordion/files/3386f68432b4c28277bb +8 -0
  155. package/harness/catalog/accordion/files/458f73bbdb2280a93792 +280 -0
  156. package/harness/catalog/accordion/files/4d7c5147b9926261b70a +41 -0
  157. package/harness/catalog/accordion/files/592212fb5c728cb562af +6 -0
  158. package/harness/catalog/accordion/files/5ae431f76cae09a91d25 +4 -0
  159. package/harness/catalog/accordion/files/5bbb11e9f8095ed054ff +96 -0
  160. package/harness/catalog/accordion/files/5fab7a341aef28356da3 +6 -0
  161. package/harness/catalog/accordion/files/736c8824f1022b4df6c8 +69 -0
  162. package/harness/catalog/accordion/files/76b5f3980a78fedb3311 +59 -0
  163. package/harness/catalog/accordion/files/76c16a81d99e363e956b +22 -0
  164. package/harness/catalog/accordion/files/7c3465ac910eaf16830a +6 -0
  165. package/harness/catalog/accordion/files/a025a789d6e548428b3b +47 -0
  166. package/harness/catalog/accordion/files/a632d819d1fa6422ca28 +108 -0
  167. package/harness/catalog/accordion/files/af4fe412342068d19100 +96 -0
  168. package/harness/catalog/accordion/files/b5152e94f69d686f66d4 +464 -0
  169. package/harness/catalog/accordion/files/c27cf9f1ab09bec315aa +8 -0
  170. package/harness/catalog/accordion/files/d404485af0224293b2d6 +69 -0
  171. package/harness/catalog/accordion/files/ec36cfafc8906915188a +8 -0
  172. package/harness/catalog/accordion/files/fe2916946450260c403a +23 -0
  173. package/harness/catalog/accordion/files/fe37ab65a9323b9b828b +10 -0
  174. package/harness/catalog/accordion/manifest.json +93 -0
  175. package/harness/catalog/alert/files/16a43bc5189d44e14292 +299 -0
  176. package/harness/catalog/alert/files/16eb63459233148e6a59 +42 -0
  177. package/harness/catalog/alert/files/47cebb310b907f59b96f +2 -0
  178. package/harness/catalog/alert/files/52150c86b71449888f16 +3 -0
  179. package/harness/catalog/alert/files/52cc35ea0d55324a9212 +4 -0
  180. package/harness/catalog/alert/files/5c30877339f63c1098e7 +3 -0
  181. package/harness/catalog/alert/files/67630242c9c940463652 +4 -0
  182. package/harness/catalog/alert/files/6ae7cb35ae4d69883a3b +79 -0
  183. package/harness/catalog/alert/files/6b631857d33e60b3b59e +177 -0
  184. package/harness/catalog/alert/files/919ddd492eb1fa90aadc +21 -0
  185. package/harness/catalog/alert/files/9cf980ba345db73d493b +41 -0
  186. package/harness/catalog/alert/files/a24ca0bc70f381d50059 +8 -0
  187. package/harness/catalog/alert/files/acbff53556d78aa71c4a +17 -0
  188. package/harness/catalog/alert/files/b1f8249847af028c520e +49 -0
  189. package/harness/catalog/alert/files/be66155fe522eb0f75e4 +80 -0
  190. package/harness/catalog/alert/files/d9376dbfc0c412d43f02 +21 -0
  191. package/harness/catalog/alert/files/e392d4a74e9d1b717ee1 +21 -0
  192. package/harness/catalog/alert/manifest.json +91 -0
  193. package/harness/catalog/aspect-ratio/files/19788b65a76cdaec18bf +1 -0
  194. package/harness/catalog/aspect-ratio/files/209c5411dde91bdcc849 +40 -0
  195. package/harness/catalog/aspect-ratio/files/2591d39bae9388ba807b +74 -0
  196. package/harness/catalog/aspect-ratio/files/4402c050863e9c25c737 +1 -0
  197. package/harness/catalog/aspect-ratio/files/836f9ffafb34278fe961 +73 -0
  198. package/harness/catalog/aspect-ratio/files/9078421b339ea5791f40 +32 -0
  199. package/harness/catalog/aspect-ratio/files/9f8655de70ea15e3229d +1 -0
  200. package/harness/catalog/aspect-ratio/files/b1beccd5cb1056d38428 +33 -0
  201. package/harness/catalog/aspect-ratio/files/d6fdd5d41eb32b1d9fd3 +159 -0
  202. package/harness/catalog/aspect-ratio/files/de9fd92e0ba9ea351caf +11 -0
  203. package/harness/catalog/aspect-ratio/files/fdf6f2d2beefd1d1dbe3 +19 -0
  204. package/harness/catalog/aspect-ratio/manifest.json +65 -0
  205. package/harness/catalog/avatar/files/014a11e7ae821825d703 +136 -0
  206. package/harness/catalog/avatar/files/0790f7bde37e48018f0c +6 -0
  207. package/harness/catalog/avatar/files/31b79bb9dfa043d497be +47 -0
  208. package/harness/catalog/avatar/files/51b9201acb088b52f64e +36 -0
  209. package/harness/catalog/avatar/files/539b1f887a74e5bcf719 +425 -0
  210. package/harness/catalog/avatar/files/5715cc2214da4f2d82aa +2 -0
  211. package/harness/catalog/avatar/files/5d1303dddb9208b8a106 +275 -0
  212. package/harness/catalog/avatar/files/65cc7536672c4026ea82 +10 -0
  213. package/harness/catalog/avatar/files/7054042709566df6d007 +46 -0
  214. package/harness/catalog/avatar/files/7384dd119b51fe23c6b6 +40 -0
  215. package/harness/catalog/avatar/files/89469dcd24022d7663b5 +18 -0
  216. package/harness/catalog/avatar/files/9029ce733b07f6335348 +61 -0
  217. package/harness/catalog/avatar/files/9d2ba42e187abe3a8145 +3 -0
  218. package/harness/catalog/avatar/files/9f6b4305e38cec8b8e14 +7 -0
  219. package/harness/catalog/avatar/files/a0bb48cb59aeb92c3810 +39 -0
  220. package/harness/catalog/avatar/files/a451ea354f9f77d8987d +8 -0
  221. package/harness/catalog/avatar/files/a9379bafbdd4b5b5d695 +67 -0
  222. package/harness/catalog/avatar/files/bff4bf72e38de7673f8e +1 -0
  223. package/harness/catalog/avatar/files/d3f78e882bc36f721115 +2 -0
  224. package/harness/catalog/avatar/files/d7e47a33b128e0e03ab7 +41 -0
  225. package/harness/catalog/avatar/files/e40b957b14019e761505 +80 -0
  226. package/harness/catalog/avatar/manifest.json +97 -0
  227. package/harness/catalog/badge/files/0018ed707d23b776b3b9 +346 -0
  228. package/harness/catalog/badge/files/28005cb14bde099080db +101 -0
  229. package/harness/catalog/badge/files/2a11f46e7524cfc8099b +38 -0
  230. package/harness/catalog/badge/files/2d62b3998a30444f4ebe +6 -0
  231. package/harness/catalog/badge/files/36c7e1d9da83aff58801 +1 -0
  232. package/harness/catalog/badge/files/58f7c66681cbe255fe9f +188 -0
  233. package/harness/catalog/badge/files/67b07d31508de5e0bb09 +6 -0
  234. package/harness/catalog/badge/files/8c4e02e4ba38e936bcc9 +1 -0
  235. package/harness/catalog/badge/files/920ec5021787522eafbb +1 -0
  236. package/harness/catalog/badge/files/9a8a242933ea67a605c2 +1 -0
  237. package/harness/catalog/badge/files/ae17c9db8f67fddf17e4 +92 -0
  238. package/harness/catalog/badge/files/b4fd13485d1010240f16 +43 -0
  239. package/harness/catalog/badge/files/cf52421cee4f018981d3 +37 -0
  240. package/harness/catalog/badge/files/ddac5819e1ed88cb2e03 +12 -0
  241. package/harness/catalog/badge/manifest.json +69 -0
  242. package/harness/catalog/breadcrumb/files/10c965db958092f69cca +26 -0
  243. package/harness/catalog/breadcrumb/files/17521ad2cbc3514221af +7 -0
  244. package/harness/catalog/breadcrumb/files/24012e0492e093ddee3f +21 -0
  245. package/harness/catalog/breadcrumb/files/269b4f59060369e2689d +10 -0
  246. package/harness/catalog/breadcrumb/files/2991c2998d868bde74af +50 -0
  247. package/harness/catalog/breadcrumb/files/551a25d7280214170b8c +93 -0
  248. package/harness/catalog/breadcrumb/files/78f75efba91a8ad5f90f +24 -0
  249. package/harness/catalog/breadcrumb/files/8083e6bfcb1cebb4f9af +26 -0
  250. package/harness/catalog/breadcrumb/files/810adc630d7d7d41f42d +8 -0
  251. package/harness/catalog/breadcrumb/files/90712a337d693eacb94d +415 -0
  252. package/harness/catalog/breadcrumb/files/9bdd89a2adc4b6878b6f +27 -0
  253. package/harness/catalog/breadcrumb/files/a8692cf836f911223481 +79 -0
  254. package/harness/catalog/breadcrumb/files/ae82c56d4144711f9ab5 +207 -0
  255. package/harness/catalog/breadcrumb/files/b5c54c838715e9cd134a +6 -0
  256. package/harness/catalog/breadcrumb/files/b8b4c12d89f8ab647b5e +30 -0
  257. package/harness/catalog/breadcrumb/files/c2e3f8f6e4cb9fc735a8 +21 -0
  258. package/harness/catalog/breadcrumb/files/d713aa4dccbb037a0e12 +26 -0
  259. package/harness/catalog/breadcrumb/files/f47fc1574cfce8f9448b +66 -0
  260. package/harness/catalog/breadcrumb/files/f5cc0c4e34882f901b1a +8 -0
  261. package/harness/catalog/breadcrumb/manifest.json +89 -0
  262. package/harness/catalog/button/files/0cff7f90b517fc2c5a87 +5 -0
  263. package/harness/catalog/button/files/0d1f72f94e7ce318e921 +76 -0
  264. package/harness/catalog/button/files/1a21ad2c3bcaad6b4114 +1 -0
  265. package/harness/catalog/button/files/1b6ed7bb8c564c65bbaa +107 -0
  266. package/harness/catalog/button/files/23017794095f7b922f0b +1 -0
  267. package/harness/catalog/button/files/2460af04d1ef41c23154 +246 -0
  268. package/harness/catalog/button/files/284457fc8187e1fdbf44 +40 -0
  269. package/harness/catalog/button/files/506cb8a95609ba0d2d3a +1 -0
  270. package/harness/catalog/button/files/5803b77577535ac55a89 +44 -0
  271. package/harness/catalog/button/files/5854b02c74605818b042 +1 -0
  272. package/harness/catalog/button/files/5e1469fe306037cd9573 +1 -0
  273. package/harness/catalog/button/files/609be73e1c7a8bcdc550 +1 -0
  274. package/harness/catalog/button/files/66bb1fb61fe6aad35c1c +1 -0
  275. package/harness/catalog/button/files/6b986f514e833629d08a +56 -0
  276. package/harness/catalog/button/files/962687149a672a920383 +197 -0
  277. package/harness/catalog/button/files/d61eff9f7bd5360fe661 +1 -0
  278. package/harness/catalog/button/files/d6888f505d4934c73e87 +573 -0
  279. package/harness/catalog/button/files/e6f6ca2db758ab78f21d +1 -0
  280. package/harness/catalog/button/files/f328806fe07f25cdd07a +177 -0
  281. package/harness/catalog/button/manifest.json +93 -0
  282. package/harness/catalog/button-group/files/0044c16e6d6408d70f97 +21 -0
  283. package/harness/catalog/button-group/files/322bb11b902b9b5e38f4 +3 -0
  284. package/harness/catalog/button-group/files/47d4b9403faec8dec952 +78 -0
  285. package/harness/catalog/button-group/files/4bda2f3cc2a97b49bf59 +51 -0
  286. package/harness/catalog/button-group/files/6afe96e91fc22fd70152 +4 -0
  287. package/harness/catalog/button-group/files/7474213871cfec7877de +61 -0
  288. package/harness/catalog/button-group/files/7c7ad2130eddf9a1513b +16 -0
  289. package/harness/catalog/button-group/files/80dc20a145bf1531dba0 +270 -0
  290. package/harness/catalog/button-group/files/91da6c854f746349f833 +4 -0
  291. package/harness/catalog/button-group/files/a33602cbe19396ffaeed +4 -0
  292. package/harness/catalog/button-group/files/b8999a731d121b733b2a +21 -0
  293. package/harness/catalog/button-group/files/c3af09f47753a0346516 +2 -0
  294. package/harness/catalog/button-group/files/d27c685fdbf67bd48901 +118 -0
  295. package/harness/catalog/button-group/files/d7e1964ea5ad56231d79 +155 -0
  296. package/harness/catalog/button-group/files/f01251791f5d7d6c788f +59 -0
  297. package/harness/catalog/button-group/manifest.json +85 -0
  298. package/harness/catalog/card/files/06ad3458251f83352e77 +5 -0
  299. package/harness/catalog/card/files/18fbc68e099aee86c684 +10 -0
  300. package/harness/catalog/card/files/216f192af043ae2ff617 +12 -0
  301. package/harness/catalog/card/files/3017f6933cd6283eb287 +27 -0
  302. package/harness/catalog/card/files/34e2673bc64b4a8ff39b +21 -0
  303. package/harness/catalog/card/files/3a96ab06d75a85124b5c +26 -0
  304. package/harness/catalog/card/files/3e54fb5eea171a3ceaad +21 -0
  305. package/harness/catalog/card/files/4aa88fa70afaceb9a9c7 +129 -0
  306. package/harness/catalog/card/files/51aab65ffd59c813f578 +1 -0
  307. package/harness/catalog/card/files/54df6b8d56bd1617895c +21 -0
  308. package/harness/catalog/card/files/58d44e64ec398d29b56f +7 -0
  309. package/harness/catalog/card/files/5ef69696b5505bcb1141 +4 -0
  310. package/harness/catalog/card/files/6d671f1ec19ae75aa88c +73 -0
  311. package/harness/catalog/card/files/96d54fab0818dfa63590 +21 -0
  312. package/harness/catalog/card/files/9e14107badcfb8170367 +40 -0
  313. package/harness/catalog/card/files/a2d5bf1b906370fca975 +21 -0
  314. package/harness/catalog/card/files/d1ac11b32e7096b3a30c +77 -0
  315. package/harness/catalog/card/files/d6e226f85f6fc54b0843 +280 -0
  316. package/harness/catalog/card/files/f31279c9c4b076d443e4 +45 -0
  317. package/harness/catalog/card/manifest.json +95 -0
  318. package/harness/catalog/checkbox/files/0283c841689d3ff22707 +2 -0
  319. package/harness/catalog/checkbox/files/032a72d3b72243fb1727 +131 -0
  320. package/harness/catalog/checkbox/files/081ef8a0412aab604edd +200 -0
  321. package/harness/catalog/checkbox/files/094fcc1fb431fef1a872 +2 -0
  322. package/harness/catalog/checkbox/files/0bf1d698bdc46c1d48d7 +3 -0
  323. package/harness/catalog/checkbox/files/1c5b1af093b60c82b66f +128 -0
  324. package/harness/catalog/checkbox/files/3c6f39c5e3fb569afef1 +1 -0
  325. package/harness/catalog/checkbox/files/46d2afe4c15499ae96e9 +449 -0
  326. package/harness/catalog/checkbox/files/544c5ff7f9890dad205e +4 -0
  327. package/harness/catalog/checkbox/files/61cfac6c6dc653b57285 +2 -0
  328. package/harness/catalog/checkbox/files/6b5bfa718a15d2057b59 +4 -0
  329. package/harness/catalog/checkbox/files/6cbd9776d028f943b331 +4 -0
  330. package/harness/catalog/checkbox/files/73a07a998134dacd7693 +19 -0
  331. package/harness/catalog/checkbox/files/7d229530ecebdd879488 +60 -0
  332. package/harness/catalog/checkbox/files/865113d4527ee380dd0e +3 -0
  333. package/harness/catalog/checkbox/files/8a74f72a3a84af71476b +92 -0
  334. package/harness/catalog/checkbox/files/8b37e9d23015ab5cfe0d +2 -0
  335. package/harness/catalog/checkbox/files/95c5c2505dd092c9f742 +2 -0
  336. package/harness/catalog/checkbox/files/b86afb2a41ded28f69cb +62 -0
  337. package/harness/catalog/checkbox/files/d08b3c8bc03cafe6db78 +2 -0
  338. package/harness/catalog/checkbox/manifest.json +97 -0
  339. package/harness/catalog/collapsible/files/0ef860186a5d77f0a02c +19 -0
  340. package/harness/catalog/collapsible/files/10acfcd2eebb1f54921e +62 -0
  341. package/harness/catalog/collapsible/files/1ecfe2f1f1d99815477f +7 -0
  342. package/harness/catalog/collapsible/files/30c5ce1473315a1690d8 +154 -0
  343. package/harness/catalog/collapsible/files/4d256e6719507cfe8374 +4 -0
  344. package/harness/catalog/collapsible/files/563ee7ce5fce1f77ee5f +4 -0
  345. package/harness/catalog/collapsible/files/80a66bc01fbd7557bc5c +7 -0
  346. package/harness/catalog/collapsible/files/902584654862eec8d0f0 +56 -0
  347. package/harness/catalog/collapsible/files/90fb6b218f5837e2b9af +4 -0
  348. package/harness/catalog/collapsible/files/91d5114689dc3d3813fc +31 -0
  349. package/harness/catalog/collapsible/files/93f866f818a699d0d579 +88 -0
  350. package/harness/catalog/collapsible/files/996628c9381baa5dd9a2 +42 -0
  351. package/harness/catalog/collapsible/files/a38a70b8f5bd307fb7ec +3 -0
  352. package/harness/catalog/collapsible/files/b1d517e0bb72963d6efe +63 -0
  353. package/harness/catalog/collapsible/files/bc6adfb746c3e16ed828 +1 -0
  354. package/harness/catalog/collapsible/files/e8da0cd63c0b7de97808 +50 -0
  355. package/harness/catalog/collapsible/files/ea39495978fcf333dbc3 +10 -0
  356. package/harness/catalog/collapsible/files/f26dc650128b402e1f3e +308 -0
  357. package/harness/catalog/collapsible/manifest.json +85 -0
  358. package/harness/catalog/command/files/0045480291f5bcda1ed0 +134 -0
  359. package/harness/catalog/command/files/0921b5a7161362e4aa0b +8 -0
  360. package/harness/catalog/command/files/1760a0a4a6d9b15611fb +27 -0
  361. package/harness/catalog/command/files/388b9f83faadc3d8a362 +27 -0
  362. package/harness/catalog/command/files/38d604b586eb1cbe1097 +11 -0
  363. package/harness/catalog/command/files/3a0c6f69905ab1130fdf +11 -0
  364. package/harness/catalog/command/files/456e5a0414963d6ad66c +599 -0
  365. package/harness/catalog/command/files/64edd35c308b3381280b +30 -0
  366. package/harness/catalog/command/files/6c02d111b386d13fb42a +81 -0
  367. package/harness/catalog/command/files/732b73ef77332148d537 +11 -0
  368. package/harness/catalog/command/files/78882bb1d7f63990f8f3 +34 -0
  369. package/harness/catalog/command/files/7919eff639d8d4a7a256 +11 -0
  370. package/harness/catalog/command/files/7b73f21bcb5aeebb9d03 +1 -0
  371. package/harness/catalog/command/files/7b947271b77c5c2e6cbe +60 -0
  372. package/harness/catalog/command/files/7e6923a2a26e59263a69 +131 -0
  373. package/harness/catalog/command/files/7f21e62085004b5eb6c9 +161 -0
  374. package/harness/catalog/command/files/81ccfcb263444082e797 +716 -0
  375. package/harness/catalog/command/files/825c406546cdca148c9e +177 -0
  376. package/harness/catalog/command/files/92c96df2ebb179f5316c +29 -0
  377. package/harness/catalog/command/files/95ffd3cdb86f53120c3a +63 -0
  378. package/harness/catalog/command/files/a193dbe4cee5f63a29b7 +33 -0
  379. package/harness/catalog/command/files/b932ab68d82bce66de9c +56 -0
  380. package/harness/catalog/command/files/d301eb28bc3eb9808c69 +7 -0
  381. package/harness/catalog/command/files/e2f22dbe376ac580dd4f +11 -0
  382. package/harness/catalog/command/files/ff05f6bdc626c33bff6d +3 -0
  383. package/harness/catalog/command/manifest.json +121 -0
  384. package/harness/catalog/dialog/files/033143a3f05a03f9f557 +21 -0
  385. package/harness/catalog/dialog/files/0ba6cb9c741f4d6cc29f +1 -0
  386. package/harness/catalog/dialog/files/14e66fa2f397d81a4b5a +6 -0
  387. package/harness/catalog/dialog/files/15288bbad2fe7f0623e6 +557 -0
  388. package/harness/catalog/dialog/files/1607fa09941fa5b61b53 +1 -0
  389. package/harness/catalog/dialog/files/1ed1da7f60f54af79479 +21 -0
  390. package/harness/catalog/dialog/files/225b9e06f0defd4497a0 +151 -0
  391. package/harness/catalog/dialog/files/2eeaa795a0cfde395eb0 +30 -0
  392. package/harness/catalog/dialog/files/308156c5a7b6cfd183c7 +12 -0
  393. package/harness/catalog/dialog/files/3d71ca97986f4a6aa575 +29 -0
  394. package/harness/catalog/dialog/files/52461a94deafc1ddbb9e +1 -0
  395. package/harness/catalog/dialog/files/6595bcd27d3f2570d8fe +8 -0
  396. package/harness/catalog/dialog/files/6d2764adad162ecaf567 +1 -0
  397. package/harness/catalog/dialog/files/6f633326e4a606394eb9 +1 -0
  398. package/harness/catalog/dialog/files/73841e4e2d52a9ce1739 +99 -0
  399. package/harness/catalog/dialog/files/95a098053c36283f35ba +706 -0
  400. package/harness/catalog/dialog/files/96b143a067ceb693bbc2 +1 -0
  401. package/harness/catalog/dialog/files/a7247129c0b4c3f2809a +10 -0
  402. package/harness/catalog/dialog/files/ae31f52c79fac0a4a415 +21 -0
  403. package/harness/catalog/dialog/files/b0df9c2c22c03da30f17 +12 -0
  404. package/harness/catalog/dialog/files/bb1d44dcb521ae95d625 +30 -0
  405. package/harness/catalog/dialog/files/be32860a4c355d40cba1 +169 -0
  406. package/harness/catalog/dialog/files/beb1ca0148c74df4adae +79 -0
  407. package/harness/catalog/dialog/files/c14b3ca0336a4dfd750c +53 -0
  408. package/harness/catalog/dialog/files/d1612776ba9473008a59 +1 -0
  409. package/harness/catalog/dialog/files/ea2b7035753857ef50b3 +88 -0
  410. package/harness/catalog/dialog/files/f844b44e34e2bbd10ce8 +148 -0
  411. package/harness/catalog/dialog/manifest.json +127 -0
  412. package/harness/catalog/direction/files/02506a3763c0825c1b2e +4 -0
  413. package/harness/catalog/direction/files/02cfc0e8be9401edca36 +76 -0
  414. package/harness/catalog/direction/files/103e6063fccaaf929d1b +26 -0
  415. package/harness/catalog/direction/files/255fe8b7f16e99e2b8dd +91 -0
  416. package/harness/catalog/direction/files/75f8f89d2292a8284167 +1 -0
  417. package/harness/catalog/direction/files/8b99e167ec2c974cc2a9 +7 -0
  418. package/harness/catalog/direction/files/8fca474498a374fe7da7 +18 -0
  419. package/harness/catalog/direction/files/c69ce45deb5ff6ef0953 +155 -0
  420. package/harness/catalog/direction/files/e953ad5071ef37e0b922 +16 -0
  421. package/harness/catalog/direction/files/ee8a89015d44a06d8310 +51 -0
  422. package/harness/catalog/direction/files/f4dcc74509fba14c2f9b +32 -0
  423. package/harness/catalog/direction/manifest.json +64 -0
  424. package/harness/catalog/empty/files/12d5b75e9a7e69f7ebf3 +21 -0
  425. package/harness/catalog/empty/files/26c34047865703e941ae +21 -0
  426. package/harness/catalog/empty/files/584ac0d314cc5b04bd28 +75 -0
  427. package/harness/catalog/empty/files/61ec4e1f6bf74d4ea2e1 +3 -0
  428. package/harness/catalog/empty/files/69428ce8fd6924fe5c93 +4 -0
  429. package/harness/catalog/empty/files/6adc280f5247c6c59c04 +21 -0
  430. package/harness/catalog/empty/files/8bfb9f9a62a0adc52b29 +35 -0
  431. package/harness/catalog/empty/files/93bd9aa2a51cd2be900a +128 -0
  432. package/harness/catalog/empty/files/94eb6f0ebcb67e5ff82e +12 -0
  433. package/harness/catalog/empty/files/97c8f20352efd114453f +6 -0
  434. package/harness/catalog/empty/files/a36428ac1e039fa1ac08 +3 -0
  435. package/harness/catalog/empty/files/ad3c27417ff9f17d29c5 +21 -0
  436. package/harness/catalog/empty/files/b26b9b829d659c172afa +21 -0
  437. package/harness/catalog/empty/files/b531aec20772267bb1f0 +1 -0
  438. package/harness/catalog/empty/files/bf9f7c6d54893538934d +26 -0
  439. package/harness/catalog/empty/files/cc3b7ef917a187686d23 +92 -0
  440. package/harness/catalog/empty/files/efeb91d03e24e277c4a1 +299 -0
  441. package/harness/catalog/empty/files/f27a2ed4bc56de043dbd +55 -0
  442. package/harness/catalog/empty/manifest.json +87 -0
  443. package/harness/catalog/field/files/14f219e6b80e72e5c3bb +34 -0
  444. package/harness/catalog/field/files/1b59c2405c87e7172caa +4 -0
  445. package/harness/catalog/field/files/1de85848606fad492a52 +534 -0
  446. package/harness/catalog/field/files/245f94156a26a4f69b7d +9 -0
  447. package/harness/catalog/field/files/2b3cd42da8f154db221c +4 -0
  448. package/harness/catalog/field/files/35b3f29fc98483b4c80f +38 -0
  449. package/harness/catalog/field/files/475a598be605bbadb769 +4 -0
  450. package/harness/catalog/field/files/4a38ec4400cf7d298644 +21 -0
  451. package/harness/catalog/field/files/4ff10d27a916182c1738 +9 -0
  452. package/harness/catalog/field/files/652049b91be028101cf9 +21 -0
  453. package/harness/catalog/field/files/6adeae4eb58d78ea9f30 +95 -0
  454. package/harness/catalog/field/files/6e692b7158a826bbb947 +4 -0
  455. package/harness/catalog/field/files/7d6b6a3ab1daebba7cb8 +97 -0
  456. package/harness/catalog/field/files/98f5ffd7c690677bb092 +5 -0
  457. package/harness/catalog/field/files/ab27c00164159d57b0dd +30 -0
  458. package/harness/catalog/field/files/afa021fa0a297ad1fe23 +21 -0
  459. package/harness/catalog/field/files/aff6e70b48d33ce18356 +58 -0
  460. package/harness/catalog/field/files/b17a1e6ee355f3a6196f +21 -0
  461. package/harness/catalog/field/files/b4cce9970056872f98aa +39 -0
  462. package/harness/catalog/field/files/bb70812c4e051c4d318c +101 -0
  463. package/harness/catalog/field/files/cf526a36ce845c550978 +6 -0
  464. package/harness/catalog/field/files/d413eed2b0a4706d87dd +9 -0
  465. package/harness/catalog/field/files/d55783ea6832f7a48404 +183 -0
  466. package/harness/catalog/field/files/de723d33b8f3cc3a1ae6 +17 -0
  467. package/harness/catalog/field/files/f386f1400a0c1d04e219 +125 -0
  468. package/harness/catalog/field/manifest.json +115 -0
  469. package/harness/catalog/index.json +54 -0
  470. package/harness/catalog/input/files/01c8e9c337c9d9ec3b56 +157 -0
  471. package/harness/catalog/input/files/0374ecc1c70cfbeb5477 +94 -0
  472. package/harness/catalog/input/files/130029580ebe2410854d +62 -0
  473. package/harness/catalog/input/files/2e4f4f932ac53b3ed0f8 +92 -0
  474. package/harness/catalog/input/files/3928022bc657cfd275c8 +473 -0
  475. package/harness/catalog/input/files/45aea55aede567795da6 +38 -0
  476. package/harness/catalog/input/files/5d05203ba89dfffc5672 +5 -0
  477. package/harness/catalog/input/files/63785352f2e1083afad0 +3 -0
  478. package/harness/catalog/input/files/74013a390a4a820194f2 +56 -0
  479. package/harness/catalog/input/files/7f39502d3fb907d14714 +3 -0
  480. package/harness/catalog/input/files/9a072aedd4835d8302d0 +3 -0
  481. package/harness/catalog/input/files/a310eb8a50ef91f63464 +5 -0
  482. package/harness/catalog/input/files/ab7eccdc1ed0cf9e8d2a +3 -0
  483. package/harness/catalog/input/files/b8f3934a052b4cb749da +1 -0
  484. package/harness/catalog/input/files/bfe480c8577cbf45dd5e +142 -0
  485. package/harness/catalog/input/files/c7482318af88664d7dcc +4 -0
  486. package/harness/catalog/input/files/f3896b6e9d2f4b53cc9c +3 -0
  487. package/harness/catalog/input/manifest.json +85 -0
  488. package/harness/catalog/input-group/files/00e50817aba414d9cd26 +3 -0
  489. package/harness/catalog/input-group/files/076784d5a4d149a44604 +3 -0
  490. package/harness/catalog/input-group/files/1d30879d1a4a72c33976 +3 -0
  491. package/harness/catalog/input-group/files/25d5b296213c3ac34b13 +2 -0
  492. package/harness/catalog/input-group/files/2da272dd920815dd5684 +447 -0
  493. package/harness/catalog/input-group/files/2e421f3362b888bab4d0 +5 -0
  494. package/harness/catalog/input-group/files/31c747b37bb6426dbbb7 +5 -0
  495. package/harness/catalog/input-group/files/41ec212906edd2e8e5f6 +98 -0
  496. package/harness/catalog/input-group/files/4f58492af1ce660b817b +34 -0
  497. package/harness/catalog/input-group/files/50448668b22389f37e97 +3 -0
  498. package/harness/catalog/input-group/files/6dbdcc0f9ff4528070b8 +97 -0
  499. package/harness/catalog/input-group/files/736d8c18cf1f33b5a7d5 +2 -0
  500. package/harness/catalog/input-group/files/7a3f6facbfe0d6195355 +3 -0
  501. package/harness/catalog/input-group/files/89ff063e7666df8098d8 +83 -0
  502. package/harness/catalog/input-group/files/ac985a386a91e19f9bbd +2 -0
  503. package/harness/catalog/input-group/files/b28e3e20d39324fd7f46 +93 -0
  504. package/harness/catalog/input-group/files/d5410b5113479f8b7f5a +21 -0
  505. package/harness/catalog/input-group/files/d99f61d638ee95464394 +186 -0
  506. package/harness/catalog/input-group/files/dbcb5f1aaac679c86a53 +173 -0
  507. package/harness/catalog/input-group/files/e6305cb8959817cf07fc +18 -0
  508. package/harness/catalog/input-group/files/ee589db1ea581d588e63 +4 -0
  509. package/harness/catalog/input-group/files/f83225fa83f2339011cb +64 -0
  510. package/harness/catalog/input-group/manifest.json +109 -0
  511. package/harness/catalog/item/files/04bdde2b5e1615d12955 +322 -0
  512. package/harness/catalog/item/files/09e2e736a8375f63fcf0 +19 -0
  513. package/harness/catalog/item/files/0dcc0cfc1e2a47e99544 +26 -0
  514. package/harness/catalog/item/files/21166b7276e7422f4972 +163 -0
  515. package/harness/catalog/item/files/35c23f28a6a9400e68c6 +26 -0
  516. package/harness/catalog/item/files/3e55d032c524ad0b1754 +12 -0
  517. package/harness/catalog/item/files/46382bf1b58c54e07592 +6 -0
  518. package/harness/catalog/item/files/491e8d8a0c271e52640e +80 -0
  519. package/harness/catalog/item/files/4d77cb5e587c6a028b13 +521 -0
  520. package/harness/catalog/item/files/4f2a05a2ac90709e7ff7 +10 -0
  521. package/harness/catalog/item/files/56ba8284f9cb60bb1053 +21 -0
  522. package/harness/catalog/item/files/6b6cd3a9537fdf1354ea +3 -0
  523. package/harness/catalog/item/files/6c7bf2dfbdd32fe8f83a +21 -0
  524. package/harness/catalog/item/files/708ec3155d305b04654b +21 -0
  525. package/harness/catalog/item/files/79290f32b79c661a51d9 +26 -0
  526. package/harness/catalog/item/files/7d2530628a9e032f8bd6 +3 -0
  527. package/harness/catalog/item/files/a08b24c7c2fb10cad015 +46 -0
  528. package/harness/catalog/item/files/a47cfe69078455a32fbe +21 -0
  529. package/harness/catalog/item/files/a710a25ff17451cbdd00 +21 -0
  530. package/harness/catalog/item/files/b017a0cb71b5d5e73ab4 +11 -0
  531. package/harness/catalog/item/files/bcafcd71b96bae09e7e5 +21 -0
  532. package/harness/catalog/item/files/bf28d448b752a46831a0 +2 -0
  533. package/harness/catalog/item/files/c15f9be937068f7e1304 +1 -0
  534. package/harness/catalog/item/files/cb016b0cef50fdd305b1 +74 -0
  535. package/harness/catalog/item/files/cc7eec49d7f8f8c405b9 +3 -0
  536. package/harness/catalog/item/files/f5a8ad3f67b72a12fc48 +89 -0
  537. package/harness/catalog/item/manifest.json +119 -0
  538. package/harness/catalog/kbd/files/0ac105576d98be3d9e38 +3 -0
  539. package/harness/catalog/kbd/files/16d922c45b58989ddc86 +209 -0
  540. package/harness/catalog/kbd/files/1961ef478e61504f5c56 +1 -0
  541. package/harness/catalog/kbd/files/1a00b9bc0991be4b3318 +42 -0
  542. package/harness/catalog/kbd/files/255034504e8b67636ac2 +3 -0
  543. package/harness/catalog/kbd/files/268b00d6dcba45995ab3 +73 -0
  544. package/harness/catalog/kbd/files/2e7b2a85ecc2605cfe09 +16 -0
  545. package/harness/catalog/kbd/files/4d3887237a475f16d9f4 +22 -0
  546. package/harness/catalog/kbd/files/6f02f0895e7dd3bb032d +1 -0
  547. package/harness/catalog/kbd/files/8c47d035d84342a21cc4 +7 -0
  548. package/harness/catalog/kbd/files/97e104896e092af6b35b +22 -0
  549. package/harness/catalog/kbd/files/9b4ed30c2c7457a659b5 +2 -0
  550. package/harness/catalog/kbd/files/ba6e45ce6b38bf9c70e8 +40 -0
  551. package/harness/catalog/kbd/files/bf22ec90d5d876dffc8c +123 -0
  552. package/harness/catalog/kbd/files/cc42ed656bc00ebb6c52 +35 -0
  553. package/harness/catalog/kbd/manifest.json +73 -0
  554. package/harness/catalog/kits/dashboard/files/11a5797c4c9189b59fbe +134 -0
  555. package/harness/catalog/kits/dashboard/files/1aef0eaaad65d944a99f +98 -0
  556. package/harness/catalog/kits/dashboard/files/63cde4f28d1c141c401d +840 -0
  557. package/harness/catalog/kits/dashboard/files/864acc7ce20f541cf67c +17 -0
  558. package/harness/catalog/kits/dashboard/files/9cf4417e1eb89438b975 +49 -0
  559. package/harness/catalog/kits/dashboard/files/f84f0cf6a41afc21b64f +49 -0
  560. package/harness/catalog/kits/dashboard/files/ff7f571bbb2487b3ec23 +77 -0
  561. package/harness/catalog/kits/dashboard/manifest.json +52 -0
  562. package/harness/catalog/kits/data-table/files/1786ba4d3e0dba1d6a1f +19 -0
  563. package/harness/catalog/kits/data-table/files/36bac8f8e53119768b2e +154 -0
  564. package/harness/catalog/kits/data-table/files/460135fc626b5c2e7c33 +21 -0
  565. package/harness/catalog/kits/data-table/files/4cb7b4e9113b8414562f +106 -0
  566. package/harness/catalog/kits/data-table/files/5bafa7b36216f575d9cd +61 -0
  567. package/harness/catalog/kits/data-table/files/9cbb532f9f52b5b1b1cb +128 -0
  568. package/harness/catalog/kits/data-table/files/b5d5d7f18347734138e0 +607 -0
  569. package/harness/catalog/kits/data-table/files/d5dd11475a87206462f1 +95 -0
  570. package/harness/catalog/kits/data-table/manifest.json +56 -0
  571. package/harness/catalog/kits/docs-article/files/4cc9189b0d6a2bd7f59a +67 -0
  572. package/harness/catalog/kits/docs-article/files/642e7bd0b80a4a207c44 +73 -0
  573. package/harness/catalog/kits/docs-article/files/7f36cb5f0d4f5e103bde +18 -0
  574. package/harness/catalog/kits/docs-article/files/be0fb62d1c30dee65c74 +86 -0
  575. package/harness/catalog/kits/docs-article/files/c2018b502a8094818d8f +113 -0
  576. package/harness/catalog/kits/docs-article/files/dbc2840f315f672e1d74 +594 -0
  577. package/harness/catalog/kits/docs-article/manifest.json +50 -0
  578. package/harness/catalog/kits/form-states/files/0ef2ffae9d6f232f45e9 +124 -0
  579. package/harness/catalog/kits/form-states/files/437cb4c87ea365713cdd +68 -0
  580. package/harness/catalog/kits/form-states/files/88252259f19ed675a0dc +2099 -0
  581. package/harness/catalog/kits/form-states/files/96f75e622f16e97f3ea4 +62 -0
  582. package/harness/catalog/kits/form-states/files/b0b51ebf587b21fd89a1 +137 -0
  583. package/harness/catalog/kits/form-states/files/b52fb2fc480f0c6352bd +14 -0
  584. package/harness/catalog/kits/form-states/manifest.json +52 -0
  585. package/harness/catalog/kits/onboarding/files/322cf4dfc2ee0a035d85 +18 -0
  586. package/harness/catalog/kits/onboarding/files/3468d9690d9a781191ec +20 -0
  587. package/harness/catalog/kits/onboarding/files/6b468153260c66cd0413 +16 -0
  588. package/harness/catalog/kits/onboarding/files/7921743050eaf6de1a3d +73 -0
  589. package/harness/catalog/kits/onboarding/files/ae75e02daf70b4c8592f +105 -0
  590. package/harness/catalog/kits/onboarding/files/ce466020247ecf1ff5fe +119 -0
  591. package/harness/catalog/kits/onboarding/files/e669d75a65f4d15d8289 +352 -0
  592. package/harness/catalog/kits/onboarding/files/ea5a042d41c4a9418b24 +4 -0
  593. package/harness/catalog/kits/onboarding/manifest.json +53 -0
  594. package/harness/catalog/kits/profile/files/0fdd3c14afbdadcf1969 +16 -0
  595. package/harness/catalog/kits/profile/files/4a3c9a0031274cf07290 +43 -0
  596. package/harness/catalog/kits/profile/files/4aeca453e4792abf29de +520 -0
  597. package/harness/catalog/kits/profile/files/5b58bb5f93ecf12d69ff +96 -0
  598. package/harness/catalog/kits/profile/files/75b211244911b7cc480a +49 -0
  599. package/harness/catalog/kits/profile/files/881ef28864ed23ed93c8 +64 -0
  600. package/harness/catalog/kits/profile/files/cefb8073e21695cbf74b +42 -0
  601. package/harness/catalog/kits/profile/manifest.json +48 -0
  602. package/harness/catalog/kits/settings/files/0383a2564061dcf126a5 +70 -0
  603. package/harness/catalog/kits/settings/files/1a5d639c6803e7d03acc +119 -0
  604. package/harness/catalog/kits/settings/files/4344224a795d1beca0e8 +36 -0
  605. package/harness/catalog/kits/settings/files/6d38306218413c650752 +45 -0
  606. package/harness/catalog/kits/settings/files/9c61262f2fcf7346afce +43 -0
  607. package/harness/catalog/kits/settings/files/b4a7a4ccdc59465b8de5 +486 -0
  608. package/harness/catalog/kits/settings/files/d2ebbd6e94570b2c6434 +17 -0
  609. package/harness/catalog/kits/settings/files/ec7bce34a9f863882799 +33 -0
  610. package/harness/catalog/kits/settings/manifest.json +55 -0
  611. package/harness/catalog/kits/sign-in/files/0457945d67f57a0956b0 +22 -0
  612. package/harness/catalog/kits/sign-in/files/1778d506d6768426a33a +22 -0
  613. package/harness/catalog/kits/sign-in/files/276055c567cb979af600 +19 -0
  614. package/harness/catalog/kits/sign-in/files/361745a3ed43c753c615 +444 -0
  615. package/harness/catalog/kits/sign-in/files/552bdad5ce7559849e81 +17 -0
  616. package/harness/catalog/kits/sign-in/files/5ccdff5683e7c3fc7b66 +110 -0
  617. package/harness/catalog/kits/sign-in/files/5f8c4d12ea47ece52a44 +38 -0
  618. package/harness/catalog/kits/sign-in/files/ca224349b746c530f922 +110 -0
  619. package/harness/catalog/kits/sign-in/files/e50f092f7e5fa4ef4c22 +19 -0
  620. package/harness/catalog/kits/sign-in/manifest.json +55 -0
  621. package/harness/catalog/label/files/0d724d49f7d1d2ec7efc +1 -0
  622. package/harness/catalog/label/files/178c6bba6c9e90425d21 +2 -0
  623. package/harness/catalog/label/files/18342988a5792fb0bcad +170 -0
  624. package/harness/catalog/label/files/211d54defefbe5e94796 +37 -0
  625. package/harness/catalog/label/files/5340c9b911a7a4a11c69 +28 -0
  626. package/harness/catalog/label/files/59f0a37653f1e78ed28b +1 -0
  627. package/harness/catalog/label/files/6121a0a7157378c0fa2d +104 -0
  628. package/harness/catalog/label/files/905f249fb255abf67c32 +2 -0
  629. package/harness/catalog/label/files/92ba7e766a8e1b5a3cf0 +64 -0
  630. package/harness/catalog/label/files/977a534f8794467a47f2 +219 -0
  631. package/harness/catalog/label/files/aab49456f22f22d12017 +85 -0
  632. package/harness/catalog/label/files/c54411858ebf34a8cb54 +2 -0
  633. package/harness/catalog/label/files/c77857f888aab7f682af +3 -0
  634. package/harness/catalog/label/files/edf861c1fdb33efb3d2d +2 -0
  635. package/harness/catalog/label/files/eeafe176d4d778cc9380 +2 -0
  636. package/harness/catalog/label/files/f422c1d852b88024b703 +14 -0
  637. package/harness/catalog/label/manifest.json +79 -0
  638. package/harness/catalog/native-select/files/04dd3d3b7e52db816e7a +94 -0
  639. package/harness/catalog/native-select/files/0d1a9ad329393ddab564 +121 -0
  640. package/harness/catalog/native-select/files/13dbbc7bf43082986000 +10 -0
  641. package/harness/catalog/native-select/files/1da077d928618138c4b8 +200 -0
  642. package/harness/catalog/native-select/files/2113975ac7413cb45a61 +47 -0
  643. package/harness/catalog/native-select/files/744dbce3cb9ffb538c60 +83 -0
  644. package/harness/catalog/native-select/files/77300579b27d8b8dbfb8 +10 -0
  645. package/harness/catalog/native-select/files/9974bd4a983ce6e468ec +12 -0
  646. package/harness/catalog/native-select/files/c0626646c03aeb3ad93c +189 -0
  647. package/harness/catalog/native-select/files/c16f89dd4efac798101b +10 -0
  648. package/harness/catalog/native-select/files/c4b2e491bc54d6525edd +10 -0
  649. package/harness/catalog/native-select/files/cc71e265ac8c728163a0 +10 -0
  650. package/harness/catalog/native-select/files/ccc07dd1b217b5f634f0 +472 -0
  651. package/harness/catalog/native-select/files/d2f8e83f878359d164ec +10 -0
  652. package/harness/catalog/native-select/files/d6d4ee4692af5da60764 +19 -0
  653. package/harness/catalog/native-select/files/dafc51f382ef061a8113 +1 -0
  654. package/harness/catalog/native-select/files/ed3efff65cc3a8fb38e5 +12 -0
  655. package/harness/catalog/native-select/files/efb122a6a12da738c520 +10 -0
  656. package/harness/catalog/native-select/files/f3ce547f443bdf09f4ba +10 -0
  657. package/harness/catalog/native-select/files/fd1ad0d903b8ef4bacf7 +11 -0
  658. package/harness/catalog/native-select/manifest.json +97 -0
  659. package/harness/catalog/pagination/files/04910095041172b5656d +25 -0
  660. package/harness/catalog/pagination/files/13f03f9f29240862e939 +56 -0
  661. package/harness/catalog/pagination/files/18d235614c5082754f87 +90 -0
  662. package/harness/catalog/pagination/files/2772d7dca5a9b736fa27 +129 -0
  663. package/harness/catalog/pagination/files/2d6272cfbd3cd586ab9a +41 -0
  664. package/harness/catalog/pagination/files/393ce6151781df4f73b1 +7 -0
  665. package/harness/catalog/pagination/files/4178ae22ed24b8b0b2e3 +61 -0
  666. package/harness/catalog/pagination/files/60027b10f4f6405b078b +14 -0
  667. package/harness/catalog/pagination/files/60e0a8630f1f1b0c9860 +14 -0
  668. package/harness/catalog/pagination/files/636bdc45e5b52eb2fc36 +45 -0
  669. package/harness/catalog/pagination/files/73cef46d42733ef6d11b +41 -0
  670. package/harness/catalog/pagination/files/932e0ff1f3e4e70c7664 +19 -0
  671. package/harness/catalog/pagination/files/95f794d2b6a64320b411 +196 -0
  672. package/harness/catalog/pagination/files/a7618526ce3fc0595aa8 +46 -0
  673. package/harness/catalog/pagination/files/af2f75c1c60f40148e41 +30 -0
  674. package/harness/catalog/pagination/files/dc3354029b3743fa4607 +34 -0
  675. package/harness/catalog/pagination/files/f737799eba73ede286c6 +505 -0
  676. package/harness/catalog/pagination/manifest.json +81 -0
  677. package/harness/catalog/progress/files/06cd5195c1465d18cf67 +1 -0
  678. package/harness/catalog/progress/files/124314b4921167293987 +1 -0
  679. package/harness/catalog/progress/files/3f37f1d3cb4dfc6c6fe2 +1 -0
  680. package/harness/catalog/progress/files/46b8ec7859c9c59094a8 +1 -0
  681. package/harness/catalog/progress/files/52bb3ada2f1d1325d95a +43 -0
  682. package/harness/catalog/progress/files/683d8646b127ec5dd66e +2 -0
  683. package/harness/catalog/progress/files/98f3165379840778060d +129 -0
  684. package/harness/catalog/progress/files/9d3d72f2c3df4816a72f +38 -0
  685. package/harness/catalog/progress/files/ac4c4532f20085614826 +220 -0
  686. package/harness/catalog/progress/files/b1cf02fc7ecba00d0a5d +57 -0
  687. package/harness/catalog/progress/files/b9d67aae522deb2f2874 +82 -0
  688. package/harness/catalog/progress/files/ba1f86715e56b9d87904 +1 -0
  689. package/harness/catalog/progress/files/c0f9aa5c1b828ae95458 +21 -0
  690. package/harness/catalog/progress/files/cce615b40b94edc2bd0a +75 -0
  691. package/harness/catalog/progress/files/fbdbab9c99c0e52e7e93 +1 -0
  692. package/harness/catalog/progress/manifest.json +73 -0
  693. package/harness/catalog/radio-group/files/0524023470cd6e82adc8 +79 -0
  694. package/harness/catalog/radio-group/files/105409e5b8bba6c04d90 +9 -0
  695. package/harness/catalog/radio-group/files/15d87655c6fce7cbdd87 +7 -0
  696. package/harness/catalog/radio-group/files/1ab7aeaf41bd11881118 +8 -0
  697. package/harness/catalog/radio-group/files/1ac26e4aaaf55d172a29 +140 -0
  698. package/harness/catalog/radio-group/files/1f92eedd59d862a251bc +89 -0
  699. package/harness/catalog/radio-group/files/2e172c357c5ad16851b0 +7 -0
  700. package/harness/catalog/radio-group/files/2f70078682b30a266fdb +279 -0
  701. package/harness/catalog/radio-group/files/3ba2bc3ba6f029b80ca0 +7 -0
  702. package/harness/catalog/radio-group/files/6a5408af78fb93544257 +11 -0
  703. package/harness/catalog/radio-group/files/6d46f6c13443b681492a +87 -0
  704. package/harness/catalog/radio-group/files/85a4b3266a6a1d28e98e +17 -0
  705. package/harness/catalog/radio-group/files/8bc1af58d460a1f08417 +7 -0
  706. package/harness/catalog/radio-group/files/924c3130eda5e6a89b8c +85 -0
  707. package/harness/catalog/radio-group/files/965cd8ee2804c8db885f +2 -0
  708. package/harness/catalog/radio-group/files/9aed7c5fa69a16e32877 +7 -0
  709. package/harness/catalog/radio-group/files/b517f83f11efd06cecc6 +9 -0
  710. package/harness/catalog/radio-group/files/b5794de89d7617056bd7 +7 -0
  711. package/harness/catalog/radio-group/files/cf90166db3ba9acc2194 +52 -0
  712. package/harness/catalog/radio-group/files/df1cd5a2eb01d19cbecf +394 -0
  713. package/harness/catalog/radio-group/files/f0716924e08378be93db +7 -0
  714. package/harness/catalog/radio-group/manifest.json +101 -0
  715. package/harness/catalog/scroll-area/files/0609007de03faf1c3d0f +46 -0
  716. package/harness/catalog/scroll-area/files/1908a334d6f3a4dbf6c0 +21 -0
  717. package/harness/catalog/scroll-area/files/1e8f68bf069a5f387c34 +83 -0
  718. package/harness/catalog/scroll-area/files/41b80c94f170ea511175 +44 -0
  719. package/harness/catalog/scroll-area/files/4a42e479847375dcc3f9 +25 -0
  720. package/harness/catalog/scroll-area/files/4ca03842475a792cb0c1 +40 -0
  721. package/harness/catalog/scroll-area/files/55e014a395adc19f6cef +265 -0
  722. package/harness/catalog/scroll-area/files/60bc5ea08ee21de46d13 +123 -0
  723. package/harness/catalog/scroll-area/files/85a4352c5d2fceab3803 +19 -0
  724. package/harness/catalog/scroll-area/files/a3cd2f01d235d82495fb +2 -0
  725. package/harness/catalog/scroll-area/files/ade2527a8f6accd9b730 +6 -0
  726. package/harness/catalog/scroll-area/files/b2e8b1702898b8ca3833 +93 -0
  727. package/harness/catalog/scroll-area/files/da73cf074c32dc1be5f1 +61 -0
  728. package/harness/catalog/scroll-area/files/ebca80ece3c535585b1d +41 -0
  729. package/harness/catalog/scroll-area/files/f6fc569d113d49be8d9b +61 -0
  730. package/harness/catalog/scroll-area/manifest.json +73 -0
  731. package/harness/catalog/separator/files/374b9df00179421eddf2 +3 -0
  732. package/harness/catalog/separator/files/4e8122ded69b8f101fb2 +43 -0
  733. package/harness/catalog/separator/files/6d7eafd5d259b4a18d8c +168 -0
  734. package/harness/catalog/separator/files/84cb34e3692a988ae594 +27 -0
  735. package/harness/catalog/separator/files/9290cde82ff35a18d670 +3 -0
  736. package/harness/catalog/separator/files/a9afc792add2b428f1e8 +3 -0
  737. package/harness/catalog/separator/files/b35a57ea93c2a3cb70f8 +77 -0
  738. package/harness/catalog/separator/files/cf582f7054769bcef6eb +5 -0
  739. package/harness/catalog/separator/files/d1d489b25ae8086dd004 +11 -0
  740. package/harness/catalog/separator/files/d8a31d391f75f3a61fb3 +37 -0
  741. package/harness/catalog/separator/files/dd83a998ab6abc4d4a62 +1 -0
  742. package/harness/catalog/separator/files/eb2517d531a9906643d7 +47 -0
  743. package/harness/catalog/separator/files/f9759af59a3ba93dae9b +127 -0
  744. package/harness/catalog/separator/manifest.json +65 -0
  745. package/harness/catalog/sidebar/files/02c393cb36580af098d9 +23 -0
  746. package/harness/catalog/sidebar/files/0baeb5c4c8b7893d5fcf +756 -0
  747. package/harness/catalog/sidebar/files/1703dc3e2ad661ccbf64 +744 -0
  748. package/harness/catalog/sidebar/files/184473a92ca8fb31600e +29 -0
  749. package/harness/catalog/sidebar/files/1a887b38be934ce59719 +55 -0
  750. package/harness/catalog/sidebar/files/33842af58a18280c36aa +57 -0
  751. package/harness/catalog/sidebar/files/3e189ffc0c2682c10cf2 +187 -0
  752. package/harness/catalog/sidebar/files/42912dae260a1877fca7 +7 -0
  753. package/harness/catalog/sidebar/files/4e5ba4ef0af42f6a7adb +249 -0
  754. package/harness/catalog/sidebar/files/4ecc4d8ff1bf3d164a8b +21 -0
  755. package/harness/catalog/sidebar/files/508f864b7864c8394ca3 +27 -0
  756. package/harness/catalog/sidebar/files/5e75aef8fec95baad132 +90 -0
  757. package/harness/catalog/sidebar/files/68079b1aea589468b91b +21 -0
  758. package/harness/catalog/sidebar/files/7fc791d49df7f259257b +155 -0
  759. package/harness/catalog/sidebar/files/88cc94ff5db8b8216376 +7 -0
  760. package/harness/catalog/sidebar/files/91d221fdce2c9e43bd8c +16 -0
  761. package/harness/catalog/sidebar/files/a80295e689cbd36a473f +84 -0
  762. package/harness/catalog/sidebar/files/a84bff2047ae8764783d +29 -0
  763. package/harness/catalog/sidebar/files/b82a3010959395a48e1a +49 -0
  764. package/harness/catalog/sidebar/files/bc1e527aadf296b8d0ff +21 -0
  765. package/harness/catalog/sidebar/files/bcbd1ae5b1fd97c72c53 +11 -0
  766. package/harness/catalog/sidebar/files/c964f937cad048b84944 +92 -0
  767. package/harness/catalog/sidebar/files/daaaa332bc0d9d13ed98 +21 -0
  768. package/harness/catalog/sidebar/files/e4218aaf235e989cbd53 +21 -0
  769. package/harness/catalog/sidebar/files/ee8db7c1694c46686557 +26 -0
  770. package/harness/catalog/sidebar/files/f673ab38a8d4ae19f321 +31 -0
  771. package/harness/catalog/sidebar/manifest.json +129 -0
  772. package/harness/catalog/skeleton/files/01ba4719c80b6fe911b0 +1 -0
  773. package/harness/catalog/skeleton/files/0e6d882ff78e3beba2d6 +30 -0
  774. package/harness/catalog/skeleton/files/376c8cba27f74bac0cb9 +39 -0
  775. package/harness/catalog/skeleton/files/4612f603a58593ca55e0 +11 -0
  776. package/harness/catalog/skeleton/files/4d046332fd9d8d606983 +163 -0
  777. package/harness/catalog/skeleton/files/96d701044834f6a5836a +111 -0
  778. package/harness/catalog/skeleton/files/a634338190d8728efc1c +1 -0
  779. package/harness/catalog/skeleton/files/bbaabfa0b8dc2e8ea11a +74 -0
  780. package/harness/catalog/skeleton/files/c67fd2e5aaaba5a9d580 +28 -0
  781. package/harness/catalog/skeleton/files/cbccb00a131579632ae9 +27 -0
  782. package/harness/catalog/skeleton/manifest.json +57 -0
  783. package/harness/catalog/slider/files/055538028b3345e43a11 +214 -0
  784. package/harness/catalog/slider/files/0cb5c203dad3b98de5e0 +1 -0
  785. package/harness/catalog/slider/files/1ae10a01eb873280ce12 +4 -0
  786. package/harness/catalog/slider/files/1f79672390fd6db74fee +21 -0
  787. package/harness/catalog/slider/files/25dc6781375bc2c2df6d +482 -0
  788. package/harness/catalog/slider/files/393ec10fdb971be991de +72 -0
  789. package/harness/catalog/slider/files/424492d24591aef531e6 +4 -0
  790. package/harness/catalog/slider/files/42e0ad202b32731e7a02 +3 -0
  791. package/harness/catalog/slider/files/4cb5517efb58b1879afd +59 -0
  792. package/harness/catalog/slider/files/659100cf11a1d05b2c89 +3 -0
  793. package/harness/catalog/slider/files/668e93dad3504e8ef610 +95 -0
  794. package/harness/catalog/slider/files/71e517cb9c92a75885f5 +3 -0
  795. package/harness/catalog/slider/files/7657bd9ab41538c35120 +3 -0
  796. package/harness/catalog/slider/files/81017d93f3ad7c324811 +5 -0
  797. package/harness/catalog/slider/files/8b0655afa86f8d9dc2bc +177 -0
  798. package/harness/catalog/slider/files/a7488bb1ada74ac621e6 +3 -0
  799. package/harness/catalog/slider/files/b45d4e5cb309bcc465a5 +285 -0
  800. package/harness/catalog/slider/files/c9a088fbd66f42f4564d +4 -0
  801. package/harness/catalog/slider/files/ce3046c912906d11badf +6 -0
  802. package/harness/catalog/slider/files/d5508e45254809067beb +3 -0
  803. package/harness/catalog/slider/files/ee1caf9ef1db1c4f926e +3 -0
  804. package/harness/catalog/slider/files/f764bc666d741a7bf39f +3 -0
  805. package/harness/catalog/slider/manifest.json +101 -0
  806. package/harness/catalog/spinner/files/01ba4719c80b6fe911b0 +1 -0
  807. package/harness/catalog/spinner/files/0fee74c552acfcd09b79 +77 -0
  808. package/harness/catalog/spinner/files/2a5417a598cfa5c61d41 +77 -0
  809. package/harness/catalog/spinner/files/38ff39afe202b65ee51b +32 -0
  810. package/harness/catalog/spinner/files/56c45ae3c12de700ab2e +30 -0
  811. package/harness/catalog/spinner/files/6df67fa7b71cc2d5a264 +1 -0
  812. package/harness/catalog/spinner/files/6f49277820d19b30bf3e +30 -0
  813. package/harness/catalog/spinner/files/72eebb972f647017cb66 +161 -0
  814. package/harness/catalog/spinner/files/a21c624000065c68760a +1 -0
  815. package/harness/catalog/spinner/files/bf8438f942deebfd1eb1 +59 -0
  816. package/harness/catalog/spinner/files/c8addaaad7e52c7db0ae +34 -0
  817. package/harness/catalog/spinner/files/e445cd25a2db6a2e2a8b +1 -0
  818. package/harness/catalog/spinner/manifest.json +65 -0
  819. package/harness/catalog/switch/files/00386133e411f7f9f2b6 +4 -0
  820. package/harness/catalog/switch/files/0c1c3cb6e26d717784fc +2 -0
  821. package/harness/catalog/switch/files/3fc789ad053403f6c0a9 +20 -0
  822. package/harness/catalog/switch/files/44df1872eb49ea4e1e08 +483 -0
  823. package/harness/catalog/switch/files/49d0024b39574e56612f +3 -0
  824. package/harness/catalog/switch/files/592404eea89d590aca7a +2 -0
  825. package/harness/catalog/switch/files/6805184e8897c82550c4 +65 -0
  826. package/harness/catalog/switch/files/7a9c672629fef0bd0dec +2 -0
  827. package/harness/catalog/switch/files/8733d3a60ffcb6ade494 +210 -0
  828. package/harness/catalog/switch/files/910ca4e571bb756e4687 +4 -0
  829. package/harness/catalog/switch/files/92d0e744cb47aecc36bc +126 -0
  830. package/harness/catalog/switch/files/a195aa181ef4d92ffe20 +47 -0
  831. package/harness/catalog/switch/files/a6b8c28ba62b79ec987d +2 -0
  832. package/harness/catalog/switch/files/c365a534cf1a1122900d +2 -0
  833. package/harness/catalog/switch/files/df46601cb34ccf35b908 +1 -0
  834. package/harness/catalog/switch/files/e65b2ec11fa9a263d727 +153 -0
  835. package/harness/catalog/switch/files/ea1e13f86f2d9ea47d84 +93 -0
  836. package/harness/catalog/switch/files/eff1c0d843da2d594748 +4 -0
  837. package/harness/catalog/switch/files/f7eb67e0d31b393f05ae +3 -0
  838. package/harness/catalog/switch/files/fa365adda5b6c224f55f +4 -0
  839. package/harness/catalog/switch/manifest.json +101 -0
  840. package/harness/catalog/table/files/06a72c7ea0badb1cdb70 +83 -0
  841. package/harness/catalog/table/files/0c9127bfdbcb6b684d41 +9 -0
  842. package/harness/catalog/table/files/11aa2b5da6eff1bc677e +481 -0
  843. package/harness/catalog/table/files/218ac7260a0b3b039f4a +26 -0
  844. package/harness/catalog/table/files/4a4cf995bf282ff92770 +26 -0
  845. package/harness/catalog/table/files/4eb3d1edab7042aa14fe +36 -0
  846. package/harness/catalog/table/files/63d442facdfea1c86c66 +8 -0
  847. package/harness/catalog/table/files/7793bcf9af64c209d082 +59 -0
  848. package/harness/catalog/table/files/847886ae5dea29b33a82 +159 -0
  849. package/harness/catalog/table/files/9256f0a7cd82969c9563 +26 -0
  850. package/harness/catalog/table/files/a2c392393c5570977487 +98 -0
  851. package/harness/catalog/table/files/c3c72c2b5b63f99435d6 +32 -0
  852. package/harness/catalog/table/files/c7052cd9cf1d37957359 +26 -0
  853. package/harness/catalog/table/files/cf536589682b899cbbc8 +36 -0
  854. package/harness/catalog/table/files/e066a67b247e4ff773ed +72 -0
  855. package/harness/catalog/table/files/e64bfc90653d920c40cf +26 -0
  856. package/harness/catalog/table/files/ee2c6aa6812c21964fc3 +37 -0
  857. package/harness/catalog/table/files/efc084da8f3e1ca4bb1e +20 -0
  858. package/harness/catalog/table/files/f63191bea2943e7e8646 +26 -0
  859. package/harness/catalog/table/manifest.json +95 -0
  860. package/harness/catalog/tabs/files/07313e4500aa9db5bea9 +295 -0
  861. package/harness/catalog/tabs/files/0e09bb234c2d987563c5 +44 -0
  862. package/harness/catalog/tabs/files/21d28a1591efd7f95f0c +7 -0
  863. package/harness/catalog/tabs/files/3af8b9df88190e5769e3 +179 -0
  864. package/harness/catalog/tabs/files/417c2aab1ac8fc02bea8 +97 -0
  865. package/harness/catalog/tabs/files/5a911ebff6c576edf6e2 +7 -0
  866. package/harness/catalog/tabs/files/648e7828551135a79fe0 +506 -0
  867. package/harness/catalog/tabs/files/695a8dbd85e48a6df664 +7 -0
  868. package/harness/catalog/tabs/files/6baa7760f7e987f3ef6a +21 -0
  869. package/harness/catalog/tabs/files/73e91381aa7e8daf88a7 +49 -0
  870. package/harness/catalog/tabs/files/7aae2037e305f96b0b32 +12 -0
  871. package/harness/catalog/tabs/files/84a3fabd049bcd7acfdc +7 -0
  872. package/harness/catalog/tabs/files/a5164ae6a24abaec4ac6 +57 -0
  873. package/harness/catalog/tabs/files/a6bbaee4752f6c2390e2 +82 -0
  874. package/harness/catalog/tabs/files/ba5b8143d45ad81e1c60 +55 -0
  875. package/harness/catalog/tabs/files/bf00a8f1a90c35508882 +7 -0
  876. package/harness/catalog/tabs/files/c0984c7ad455c6b0cc4c +7 -0
  877. package/harness/catalog/tabs/files/ccdbaeb3df0390b93d29 +6 -0
  878. package/harness/catalog/tabs/files/cdea93ffff588335d13f +7 -0
  879. package/harness/catalog/tabs/files/edec052d6f4e11eb127b +4 -0
  880. package/harness/catalog/tabs/files/f3d876e31487d62c6b73 +72 -0
  881. package/harness/catalog/tabs/manifest.json +101 -0
  882. package/harness/catalog/textarea/files/0a144b3a4ff8b760723f +3 -0
  883. package/harness/catalog/textarea/files/1179ca65c96f2c4c7a62 +20 -0
  884. package/harness/catalog/textarea/files/3823c388f816fde1b42a +4 -0
  885. package/harness/catalog/textarea/files/3a82f5bd2f742c0e128c +1 -0
  886. package/harness/catalog/textarea/files/3b4902e2330b9e9e9cab +3 -0
  887. package/harness/catalog/textarea/files/43436aab74885a39c202 +5 -0
  888. package/harness/catalog/textarea/files/4d71c9cadff18e09886a +91 -0
  889. package/harness/catalog/textarea/files/62d0c969f21365d6b1b1 +5 -0
  890. package/harness/catalog/textarea/files/669e6acaa0b92e26f625 +3 -0
  891. package/harness/catalog/textarea/files/7045c50006094d7fc509 +60 -0
  892. package/harness/catalog/textarea/files/7077fee35ef05f1bbe4a +94 -0
  893. package/harness/catalog/textarea/files/814e737b0611c5065988 +445 -0
  894. package/harness/catalog/textarea/files/bc3570e5272f5184ad9e +3 -0
  895. package/harness/catalog/textarea/files/ce80d7e5afc76abd4959 +59 -0
  896. package/harness/catalog/textarea/files/cf73481c223c131e6c11 +3 -0
  897. package/harness/catalog/textarea/files/ece8fd9c92b58896f533 +187 -0
  898. package/harness/catalog/textarea/files/fa6d6b7547b43d802c91 +149 -0
  899. package/harness/catalog/textarea/manifest.json +85 -0
  900. package/harness/catalog/toggle/files/06e728076ff3708d9731 +1 -0
  901. package/harness/catalog/toggle/files/101275fbf8e9a92f05bd +350 -0
  902. package/harness/catalog/toggle/files/25c5c34ba3643df243fe +1 -0
  903. package/harness/catalog/toggle/files/4ff925b4bd7f7a54adbf +53 -0
  904. package/harness/catalog/toggle/files/552756c181edbe2ea36e +1 -0
  905. package/harness/catalog/toggle/files/7ca72db6ef05e84c818d +2 -0
  906. package/harness/catalog/toggle/files/86a49ecdda597c2abc1f +96 -0
  907. package/harness/catalog/toggle/files/c69429348ba9b2349c41 +1 -0
  908. package/harness/catalog/toggle/files/caa7211387429abff9ad +1 -0
  909. package/harness/catalog/toggle/files/cc3e62779d904733edbb +18 -0
  910. package/harness/catalog/toggle/files/d29935b92deece7918e8 +1 -0
  911. package/harness/catalog/toggle/files/dc0582c85be71895b397 +102 -0
  912. package/harness/catalog/toggle/files/e1dd7f07ac462c85e350 +1 -0
  913. package/harness/catalog/toggle/files/e50481803ad0d9f7c606 +1 -0
  914. package/harness/catalog/toggle/files/e5de72e6307749961d2b +50 -0
  915. package/harness/catalog/toggle/files/e98252325970f8f0de47 +6 -0
  916. package/harness/catalog/toggle/files/ebd668effb5c2ec9b74f +85 -0
  917. package/harness/catalog/toggle/files/ecd68b4d77b8b659e0cd +192 -0
  918. package/harness/catalog/toggle/manifest.json +89 -0
  919. package/harness/catalog/toggle-group/files/0fa34763f042c43ce73b +4 -0
  920. package/harness/catalog/toggle-group/files/190b8f8c8a7ae50ab17d +88 -0
  921. package/harness/catalog/toggle-group/files/19433a77dc520968adc7 +82 -0
  922. package/harness/catalog/toggle-group/files/2962515e0df1a6578234 +2 -0
  923. package/harness/catalog/toggle-group/files/599a5a04bc484ca3b63a +4 -0
  924. package/harness/catalog/toggle-group/files/5a8079fac7a37e9643e4 +3 -0
  925. package/harness/catalog/toggle-group/files/65b5cdec43bfefa463f5 +5 -0
  926. package/harness/catalog/toggle-group/files/6f6c143c8a199c913076 +4 -0
  927. package/harness/catalog/toggle-group/files/838108eb3fe1ef7caf97 +172 -0
  928. package/harness/catalog/toggle-group/files/9871546bf65ecfd8194e +85 -0
  929. package/harness/catalog/toggle-group/files/a43866348a36242e2b4e +17 -0
  930. package/harness/catalog/toggle-group/files/b39b752eca28b0def9f6 +4 -0
  931. package/harness/catalog/toggle-group/files/bd424f103ce11b4028bf +24 -0
  932. package/harness/catalog/toggle-group/files/c6d49c47cbca3721c6e0 +14 -0
  933. package/harness/catalog/toggle-group/files/cb207321ae902ad2316b +4 -0
  934. package/harness/catalog/toggle-group/files/d0677f0dfb61de88dd9e +278 -0
  935. package/harness/catalog/toggle-group/files/e1c72518f6c3a4cb47f6 +130 -0
  936. package/harness/catalog/toggle-group/files/ebcee45fa104cfa89d4f +55 -0
  937. package/harness/catalog/toggle-group/files/ed9cb4818db1e6341ad9 +565 -0
  938. package/harness/catalog/toggle-group/files/f846b21b23d9e132fded +4 -0
  939. package/harness/catalog/toggle-group/manifest.json +111 -0
  940. package/harness/catalog/typography/files/0a4d3686784349f2a671 +2 -0
  941. package/harness/catalog/typography/files/1004765ed611a2862d32 +1 -0
  942. package/harness/catalog/typography/files/2db24ae6bcb2f89eb7b6 +99 -0
  943. package/harness/catalog/typography/files/4b963f90bb762c552cf8 +2 -0
  944. package/harness/catalog/typography/files/4fb45c7c4e74d67c5bf5 +38 -0
  945. package/harness/catalog/typography/files/677a3d8e4ce6c2ac5f7f +28 -0
  946. package/harness/catalog/typography/files/6eb835a9f4bcf45c33f1 +2 -0
  947. package/harness/catalog/typography/files/70c577bc4141d2234973 +23 -0
  948. package/harness/catalog/typography/files/71af48bf10a9799ce540 +2 -0
  949. package/harness/catalog/typography/files/7dbdb256dedc6d4e8c42 +56 -0
  950. package/harness/catalog/typography/files/abe12ca3a7a166b0b4fb +222 -0
  951. package/harness/catalog/typography/files/b3b312ffd5ecb243853a +13 -0
  952. package/harness/catalog/typography/files/c47ff3172fe052fda28f +134 -0
  953. package/harness/catalog/typography/files/ea5ccd6abd4866523ab5 +335 -0
  954. package/harness/catalog/typography/files/ebb2f1791031cad5c2fc +70 -0
  955. package/harness/catalog/typography/manifest.json +73 -0
  956. package/harness/checks/a1-api.d.mts +4 -0
  957. package/harness/checks/a1-api.mjs +97 -0
  958. package/harness/checks/c1-contracts.d.mts +4 -0
  959. package/harness/checks/c1-contracts.mjs +92 -0
  960. package/harness/checks/c2-contract-tokens.d.mts +4 -0
  961. package/harness/checks/c2-contract-tokens.mjs +28 -0
  962. package/harness/checks/c3-parity.d.mts +4 -0
  963. package/harness/checks/c3-parity.mjs +68 -0
  964. package/harness/checks/d1-design-drift.d.mts +4 -0
  965. package/harness/checks/d1-design-drift.mjs +51 -0
  966. package/harness/checks/d3-design-docs.d.mts +4 -0
  967. package/harness/checks/d3-design-docs.mjs +66 -0
  968. package/harness/checks/d4-design-realization.d.mts +4 -0
  969. package/harness/checks/d4-design-realization.mjs +38 -0
  970. package/harness/checks/data/reference-phrases.json +35 -0
  971. package/harness/checks/f1-foundations.d.mts +4 -0
  972. package/harness/checks/f1-foundations.mjs +70 -0
  973. package/harness/checks/g1-generated.d.mts +4 -0
  974. package/harness/checks/g1-generated.mjs +156 -0
  975. package/harness/checks/h1-claude-layer.d.mts +4 -0
  976. package/harness/checks/h1-claude-layer.mjs +40 -0
  977. package/harness/checks/h2-typescript-sources.d.mts +5 -0
  978. package/harness/checks/h2-typescript-sources.mjs +33 -0
  979. package/harness/checks/k1-patterns.d.mts +4 -0
  980. package/harness/checks/k1-patterns.mjs +183 -0
  981. package/harness/checks/m1-docs-coverage.d.mts +4 -0
  982. package/harness/checks/m1-docs-coverage.mjs +63 -0
  983. package/harness/checks/o1-propagation.d.mts +4 -0
  984. package/harness/checks/o1-propagation.mjs +34 -0
  985. package/harness/checks/p1-prefix.d.mts +4 -0
  986. package/harness/checks/p1-prefix.mjs +55 -0
  987. package/harness/checks/r1-registry.d.mts +4 -0
  988. package/harness/checks/r1-registry.mjs +54 -0
  989. package/harness/checks/run.d.mts +10 -0
  990. package/harness/checks/run.mjs +122 -0
  991. package/harness/checks/s1-screen-reader.d.mts +4 -0
  992. package/harness/checks/s1-screen-reader.mjs +44 -0
  993. package/harness/checks/t1-tokens-valid.d.mts +9 -0
  994. package/harness/checks/t1-tokens-valid.mjs +77 -0
  995. package/harness/checks/t2-aliases.d.mts +4 -0
  996. package/harness/checks/t2-aliases.mjs +39 -0
  997. package/harness/checks/t3-modes.d.mts +4 -0
  998. package/harness/checks/t3-modes.mjs +21 -0
  999. package/harness/checks/t4-usage.d.mts +4 -0
  1000. package/harness/checks/t4-usage.mjs +51 -0
  1001. package/harness/checks/t5-literals.d.mts +4 -0
  1002. package/harness/checks/t5-literals.mjs +24 -0
  1003. package/harness/checks/t6-contrast.d.mts +14 -0
  1004. package/harness/checks/t6-contrast.mjs +110 -0
  1005. package/harness/checks/t7-interface.d.mts +4 -0
  1006. package/harness/checks/t7-interface.mjs +96 -0
  1007. package/harness/checks/types.d.mts +61 -0
  1008. package/harness/checks/types.mjs +6 -0
  1009. package/harness/checks/w1-white-label.d.mts +4 -0
  1010. package/harness/checks/w1-white-label.mjs +143 -0
  1011. package/harness/checks/x1-decisions.d.mts +15 -0
  1012. package/harness/checks/x1-decisions.mjs +63 -0
  1013. package/harness/cli/commands/add.d.mts +134 -0
  1014. package/harness/cli/commands/add.mjs +53 -0
  1015. package/harness/cli/commands/api.d.mts +87 -0
  1016. package/harness/cli/commands/api.mjs +110 -0
  1017. package/harness/cli/commands/audit-css.d.mts +108 -0
  1018. package/harness/cli/commands/audit-css.mjs +23 -0
  1019. package/harness/cli/commands/audit-decisions.d.mts +49 -0
  1020. package/harness/cli/commands/audit-decisions.mjs +71 -0
  1021. package/harness/cli/commands/audit-page.d.mts +34 -0
  1022. package/harness/cli/commands/audit-page.mjs +28 -0
  1023. package/harness/cli/commands/brand.d.mts +124 -0
  1024. package/harness/cli/commands/brand.mjs +65 -0
  1025. package/harness/cli/commands/check.d.mts +81 -0
  1026. package/harness/cli/commands/check.mjs +36 -0
  1027. package/harness/cli/commands/docs.d.mts +20 -0
  1028. package/harness/cli/commands/docs.mjs +24 -0
  1029. package/harness/cli/commands/doctor.d.mts +73 -0
  1030. package/harness/cli/commands/doctor.mjs +113 -0
  1031. package/harness/cli/commands/explain.d.mts +21 -0
  1032. package/harness/cli/commands/explain.mjs +16 -0
  1033. package/harness/cli/commands/generate.d.mts +16 -0
  1034. package/harness/cli/commands/generate.mjs +17 -0
  1035. package/harness/cli/commands/help.d.mts +50 -0
  1036. package/harness/cli/commands/help.mjs +54 -0
  1037. package/harness/cli/commands/icons.d.mts +61 -0
  1038. package/harness/cli/commands/icons.mjs +45 -0
  1039. package/harness/cli/commands/init.d.mts +236 -0
  1040. package/harness/cli/commands/init.mjs +184 -0
  1041. package/harness/cli/commands/kits.d.mts +91 -0
  1042. package/harness/cli/commands/kits.mjs +65 -0
  1043. package/harness/cli/commands/list.d.mts +48 -0
  1044. package/harness/cli/commands/list.mjs +38 -0
  1045. package/harness/cli/commands/prefix.d.mts +32 -0
  1046. package/harness/cli/commands/prefix.mjs +24 -0
  1047. package/harness/cli/commands/presets.d.mts +49 -0
  1048. package/harness/cli/commands/presets.mjs +30 -0
  1049. package/harness/cli/commands/propagate.d.mts +25 -0
  1050. package/harness/cli/commands/propagate.mjs +66 -0
  1051. package/harness/cli/commands/remove.d.mts +66 -0
  1052. package/harness/cli/commands/remove.mjs +32 -0
  1053. package/harness/cli/commands/selftest.d.mts +20 -0
  1054. package/harness/cli/commands/selftest.mjs +21 -0
  1055. package/harness/cli/commands/status.d.mts +51 -0
  1056. package/harness/cli/commands/status.mjs +70 -0
  1057. package/harness/cli/commands/swap.d.mts +40 -0
  1058. package/harness/cli/commands/swap.mjs +29 -0
  1059. package/harness/cli/commands/sync.d.mts +280 -0
  1060. package/harness/cli/commands/sync.mjs +194 -0
  1061. package/harness/cli/commands/tokens.d.mts +270 -0
  1062. package/harness/cli/commands/tokens.mjs +342 -0
  1063. package/harness/cli/commands/upgrade.d.mts +99 -0
  1064. package/harness/cli/commands/upgrade.mjs +78 -0
  1065. package/harness/cli/docs.d.mts +1 -0
  1066. package/harness/cli/docs.mjs +53 -0
  1067. package/harness/cli/interactive.d.mts +22 -0
  1068. package/harness/cli/interactive.mjs +125 -0
  1069. package/harness/cli/known-commands.json +150 -0
  1070. package/harness/cli/known.d.mts +9 -0
  1071. package/harness/cli/known.mjs +31 -0
  1072. package/harness/cli/planned-commands.json +20 -0
  1073. package/harness/cli/registry.d.mts +5 -0
  1074. package/harness/cli/registry.mjs +34 -0
  1075. package/harness/cli/run.d.mts +22 -0
  1076. package/harness/cli/run.mjs +108 -0
  1077. package/harness/cli/types.d.mts +88 -0
  1078. package/harness/cli/types.mjs +1 -0
  1079. package/harness/cli.d.mts +2 -0
  1080. package/harness/cli.mjs +22 -0
  1081. package/harness/commands/add.d.mts +11 -0
  1082. package/harness/commands/add.mjs +71 -0
  1083. package/harness/commands/audit-css.d.mts +70 -0
  1084. package/harness/commands/audit-css.mjs +171 -0
  1085. package/harness/commands/bootstrap.d.mts +163 -0
  1086. package/harness/commands/bootstrap.mjs +517 -0
  1087. package/harness/commands/brand.d.mts +70 -0
  1088. package/harness/commands/brand.mjs +220 -0
  1089. package/harness/commands/catalog.d.mts +149 -0
  1090. package/harness/commands/catalog.mjs +521 -0
  1091. package/harness/commands/explain.d.mts +1 -0
  1092. package/harness/commands/explain.mjs +76 -0
  1093. package/harness/commands/init.d.mts +44 -0
  1094. package/harness/commands/init.mjs +77 -0
  1095. package/harness/commands/prefix.d.mts +19 -0
  1096. package/harness/commands/prefix.mjs +139 -0
  1097. package/harness/commands/start.d.mts +75 -0
  1098. package/harness/commands/start.mjs +154 -0
  1099. package/harness/commands/swap.d.mts +23 -0
  1100. package/harness/commands/swap.mjs +30 -0
  1101. package/harness/commands/tokens-import.d.mts +105 -0
  1102. package/harness/commands/tokens-import.mjs +598 -0
  1103. package/harness/commands/tokens.d.mts +175 -0
  1104. package/harness/commands/tokens.mjs +989 -0
  1105. package/harness/commands/upgrade.d.mts +45 -0
  1106. package/harness/commands/upgrade.mjs +181 -0
  1107. package/harness/generators/foundation.d.mts +52 -0
  1108. package/harness/generators/foundation.mjs +275 -0
  1109. package/harness/generators/links.d.mts +42 -0
  1110. package/harness/generators/links.mjs +203 -0
  1111. package/harness/generators/overrides.d.mts +10 -0
  1112. package/harness/generators/overrides.mjs +40 -0
  1113. package/harness/kits/index.json +158 -0
  1114. package/harness/lib/agent-config.d.mts +23 -0
  1115. package/harness/lib/agent-config.mjs +109 -0
  1116. package/harness/lib/agent-diagnostics.d.mts +25 -0
  1117. package/harness/lib/agent-diagnostics.mjs +139 -0
  1118. package/harness/lib/api.d.mts +166 -0
  1119. package/harness/lib/api.mjs +222 -0
  1120. package/harness/lib/audits.d.mts +3 -0
  1121. package/harness/lib/audits.mjs +14 -0
  1122. package/harness/lib/claude-layer.d.mts +59 -0
  1123. package/harness/lib/claude-layer.mjs +312 -0
  1124. package/harness/lib/color.d.mts +17 -0
  1125. package/harness/lib/color.mjs +89 -0
  1126. package/harness/lib/css.d.mts +25 -0
  1127. package/harness/lib/css.mjs +64 -0
  1128. package/harness/lib/decisions.d.mts +14 -0
  1129. package/harness/lib/decisions.mjs +65 -0
  1130. package/harness/lib/design/compare-runtime.mjs +58 -0
  1131. package/harness/lib/design/compare.d.mts +57 -0
  1132. package/harness/lib/design/compare.mjs +153 -0
  1133. package/harness/lib/design/components.d.mts +29 -0
  1134. package/harness/lib/design/components.mjs +52 -0
  1135. package/harness/lib/design/description.d.mts +25 -0
  1136. package/harness/lib/design/description.mjs +57 -0
  1137. package/harness/lib/design/doc-text.d.mts +137 -0
  1138. package/harness/lib/design/doc-text.mjs +63 -0
  1139. package/harness/lib/design/docs.d.mts +80 -0
  1140. package/harness/lib/design/docs.mjs +343 -0
  1141. package/harness/lib/design/library.d.mts +91 -0
  1142. package/harness/lib/design/library.mjs +248 -0
  1143. package/harness/lib/design/parity.d.mts +8 -0
  1144. package/harness/lib/design/parity.mjs +42 -0
  1145. package/harness/lib/design/patterns.d.mts +48 -0
  1146. package/harness/lib/design/patterns.mjs +90 -0
  1147. package/harness/lib/design/plan.d.mts +20 -0
  1148. package/harness/lib/design/plan.mjs +120 -0
  1149. package/harness/lib/design/realize.d.mts +51 -0
  1150. package/harness/lib/design/realize.mjs +86 -0
  1151. package/harness/lib/design/recipes-more.d.mts +2 -0
  1152. package/harness/lib/design/recipes-more.mjs +461 -0
  1153. package/harness/lib/design/recipes.d.mts +12 -0
  1154. package/harness/lib/design/recipes.mjs +285 -0
  1155. package/harness/lib/design/sync.d.mts +80 -0
  1156. package/harness/lib/design/sync.mjs +163 -0
  1157. package/harness/lib/design/tokens.d.mts +55 -0
  1158. package/harness/lib/design/tokens.mjs +243 -0
  1159. package/harness/lib/design/verify.d.mts +84 -0
  1160. package/harness/lib/design/verify.mjs +158 -0
  1161. package/harness/lib/design-docs.d.mts +73 -0
  1162. package/harness/lib/design-docs.mjs +38 -0
  1163. package/harness/lib/files.d.mts +21 -0
  1164. package/harness/lib/files.mjs +99 -0
  1165. package/harness/lib/icons.d.mts +24 -0
  1166. package/harness/lib/icons.mjs +67 -0
  1167. package/harness/lib/installed.d.mts +16 -0
  1168. package/harness/lib/installed.mjs +121 -0
  1169. package/harness/lib/interface.d.mts +62 -0
  1170. package/harness/lib/interface.mjs +201 -0
  1171. package/harness/lib/page-outline.d.mts +2 -0
  1172. package/harness/lib/page-outline.mjs +19 -0
  1173. package/harness/lib/propagation.d.mts +20 -0
  1174. package/harness/lib/propagation.mjs +91 -0
  1175. package/harness/lib/renames.d.mts +22 -0
  1176. package/harness/lib/renames.mjs +78 -0
  1177. package/harness/lib/schema.d.mts +16 -0
  1178. package/harness/lib/schema.mjs +63 -0
  1179. package/harness/lib/tokens.d.mts +56 -0
  1180. package/harness/lib/tokens.mjs +136 -0
  1181. package/harness/manifest.json +65 -0
  1182. package/harness/standards/borderWidth.json +20 -0
  1183. package/harness/standards/breakpoints.json +36 -0
  1184. package/harness/standards/contrast.json +53 -0
  1185. package/harness/standards/density.json +85 -0
  1186. package/harness/standards/elevation.json +118 -0
  1187. package/harness/standards/iconSizes.json +33 -0
  1188. package/harness/standards/layoutGrid.json +31 -0
  1189. package/harness/standards/letterSpacing.json +35 -0
  1190. package/harness/standards/lineHeight.json +39 -0
  1191. package/harness/standards/motion.json +281 -0
  1192. package/harness/standards/neutrals.json +62 -0
  1193. package/harness/standards/opacity.json +24 -0
  1194. package/harness/standards/radius.json +50 -0
  1195. package/harness/standards/rampMethods.json +126 -0
  1196. package/harness/standards/resolve.d.mts +154 -0
  1197. package/harness/standards/resolve.mjs +209 -0
  1198. package/harness/standards/semanticRoles.json +76 -0
  1199. package/harness/standards/spacing.json +141 -0
  1200. package/harness/standards/typeScale.json +119 -0
  1201. package/harness/standards/weights.json +39 -0
  1202. package/harness/standards/zIndex.json +58 -0
  1203. package/harness/starters/blank.json +9 -0
  1204. package/harness/starters/foundations.json +9 -0
  1205. package/harness/starters/from-codebase.json +12 -0
  1206. package/harness/starters/import.json +11 -0
  1207. package/harness/starters/library+kits.json +9 -0
  1208. package/harness/starters/library.json +9 -0
  1209. package/harness/starters/pick.json +9 -0
  1210. package/harness/templates/CLAUDE.md +30 -0
  1211. package/harness/templates/brand-links.json +234 -0
  1212. package/harness/templates/move-to-claude-INSTALL.md +43 -0
  1213. package/harness/templates/project/.agents/skills/sketchbook/SKILL.md +10 -0
  1214. package/harness/templates/project/.aiassistant/rules/sketchbook.md +7 -0
  1215. package/harness/templates/project/.claude/settings.json +104 -0
  1216. package/harness/templates/project/.codex/hooks.json +19 -0
  1217. package/harness/templates/project/.codex/sketchbook-guard.mjs +57 -0
  1218. package/harness/templates/project/.gemini/settings.json +16 -0
  1219. package/harness/templates/project/.gemini/sketchbook-guard.mjs +15 -0
  1220. package/harness/templates/project/.github/copilot-instructions.md +3 -0
  1221. package/harness/templates/project/.github/hooks/sketchbook-guard.mjs +68 -0
  1222. package/harness/templates/project/.github/hooks/sketchbook.json +12 -0
  1223. package/harness/templates/project/.storybook/main.ts +12 -0
  1224. package/harness/templates/project/.storybook/preview.ts +38 -0
  1225. package/harness/templates/project/.trae/rules/sketchbook.md +7 -0
  1226. package/harness/templates/project/AGENT-WORKFLOWS.md +53 -0
  1227. package/harness/templates/project/AGENTS.md +10 -0
  1228. package/harness/templates/project/GEMINI.md +3 -0
  1229. package/harness/templates/project/THIRD_PARTY_NOTICES.md +28 -0
  1230. package/harness/templates/project/docs/getting-started.md +64 -0
  1231. package/harness/templates/project/eslint-plugins.d.ts +7 -0
  1232. package/harness/templates/project/eslint.config.js +44 -0
  1233. package/harness/templates/project/gitignore +47 -0
  1234. package/harness/templates/project/harness.config.json +50 -0
  1235. package/harness/templates/project/package-lock.json +8400 -0
  1236. package/harness/templates/project/playwright/fixtures.ts +2 -0
  1237. package/harness/templates/project/playwright/helpers/a11y.ts +165 -0
  1238. package/harness/templates/project/playwright/helpers/elements.ts +1 -0
  1239. package/harness/templates/project/playwright/helpers/events.ts +51 -0
  1240. package/harness/templates/project/playwright/helpers/forms.ts +53 -0
  1241. package/harness/templates/project/playwright/helpers/foundations.ts +36 -0
  1242. package/harness/templates/project/playwright/helpers/patterns.ts +89 -0
  1243. package/harness/templates/project/playwright/helpers/storybook.ts +24 -0
  1244. package/harness/templates/project/playwright/helpers/styles.ts +18 -0
  1245. package/harness/templates/project/playwright/helpers/tokens.ts +70 -0
  1246. package/harness/templates/project/playwright/playwright.config.ts +28 -0
  1247. package/harness/templates/project/playwright/tests/foundations/color.behavior.spec.ts +59 -0
  1248. package/harness/templates/project/playwright/tests/foundations/families.behavior.spec.ts +28 -0
  1249. package/harness/templates/project/playwright/tests/foundations/motion.behavior.spec.ts +32 -0
  1250. package/harness/templates/project/playwright/tests/foundations/pages.behavior.spec.ts +54 -0
  1251. package/harness/templates/project/playwright/tests/foundations/samples.behavior.spec.ts +36 -0
  1252. package/harness/templates/project/playwright/tests/screen-reader/stories.spec.ts +95 -0
  1253. package/harness/templates/project/prettier.config.ts +16 -0
  1254. package/harness/templates/project/spec/api.json +319 -0
  1255. package/harness/templates/project/spec/decisions/DECISIONS.md +854 -0
  1256. package/harness/templates/project/spec/registry.json +272 -0
  1257. package/harness/templates/project/spec/schemas/api.schema.json +158 -0
  1258. package/harness/templates/project/spec/schemas/brand-config.schema.json +753 -0
  1259. package/harness/templates/project/spec/schemas/contract.schema.json +678 -0
  1260. package/harness/templates/project/spec/schemas/figma-practices.schema.json +49 -0
  1261. package/harness/templates/project/spec/schemas/harness-config.schema.json +89 -0
  1262. package/harness/templates/project/spec/schemas/registry.schema.json +29 -0
  1263. package/harness/templates/project/spec/tokens/contrast.json +90 -0
  1264. package/harness/templates/project/spec/tokens/overrides.json +4 -0
  1265. package/harness/templates/project/src/controllers/labelled-by.ts +56 -0
  1266. package/harness/templates/project/src/controllers/name-warning.ts +28 -0
  1267. package/harness/templates/project/src/controllers/relink.ts +46 -0
  1268. package/harness/templates/project/src/controllers/roving-focus.ts +88 -0
  1269. package/harness/templates/project/src/mixins/form-associated.ts +117 -0
  1270. package/harness/templates/project/src/mixins/native-control.ts +111 -0
  1271. package/harness/templates/project/src/stories/contract.ts +61 -0
  1272. package/harness/templates/project/src/stories/foundations/BorderWidth.stories.ts +19 -0
  1273. package/harness/templates/project/src/stories/foundations/Color.stories.ts +126 -0
  1274. package/harness/templates/project/src/stories/foundations/Density.stories.ts +35 -0
  1275. package/harness/templates/project/src/stories/foundations/Elevation.stories.ts +19 -0
  1276. package/harness/templates/project/src/stories/foundations/IconSizes.stories.ts +28 -0
  1277. package/harness/templates/project/src/stories/foundations/LayoutGrid.stories.ts +52 -0
  1278. package/harness/templates/project/src/stories/foundations/Motion.stories.ts +105 -0
  1279. package/harness/templates/project/src/stories/foundations/Opacity.stories.ts +19 -0
  1280. package/harness/templates/project/src/stories/foundations/Radius.stories.ts +21 -0
  1281. package/harness/templates/project/src/stories/foundations/Spacing.stories.ts +66 -0
  1282. package/harness/templates/project/src/stories/foundations/Typography.stories.ts +94 -0
  1283. package/harness/templates/project/src/stories/foundations/ZIndex.stories.ts +40 -0
  1284. package/harness/templates/project/src/stories/foundations/families.ts +35 -0
  1285. package/harness/templates/project/src/stories/foundations/page.ts +150 -0
  1286. package/harness/templates/project/src/stories/foundations/tokens.ts +126 -0
  1287. package/harness/templates/project/src/stories/glob.d.ts +6 -0
  1288. package/harness/templates/project/src/stories/raw.d.ts +4 -0
  1289. package/harness/templates/project/src/styles/_a11y.scss +33 -0
  1290. package/harness/templates/project/src/utils/focus-wrap.ts +33 -0
  1291. package/harness/templates/project/src/utils/safe-href.ts +16 -0
  1292. package/harness/templates/project/tsconfig.json +24 -0
  1293. package/harness/templates/project/tsconfig.stories.json +6 -0
  1294. package/harness/templates/project/tsconfig.tools.json +12 -0
  1295. package/harness/templates/project/tsup.config.ts +22 -0
  1296. package/harness/templates/semantic/base.tokens.json +570 -0
  1297. package/harness/templates/semantic/dark.tokens.json +98 -0
  1298. package/harness/templates/semantic/light.tokens.json +99 -0
  1299. package/harness/test/TEST.md +256 -0
  1300. package/harness/test/agent-config.test.d.mts +1 -0
  1301. package/harness/test/agent-config.test.mjs +80 -0
  1302. package/harness/test/agent-diagnostics.test.d.mts +1 -0
  1303. package/harness/test/agent-diagnostics.test.mjs +86 -0
  1304. package/harness/test/agent-guidance.test.d.mts +1 -0
  1305. package/harness/test/agent-guidance.test.mjs +25 -0
  1306. package/harness/test/bootstrap.test.d.mts +1 -0
  1307. package/harness/test/bootstrap.test.mjs +835 -0
  1308. package/harness/test/build.test.d.mts +1 -0
  1309. package/harness/test/build.test.mjs +217 -0
  1310. package/harness/test/checks.test.d.mts +1 -0
  1311. package/harness/test/checks.test.mjs +711 -0
  1312. package/harness/test/claude-layer.test.d.mts +1 -0
  1313. package/harness/test/claude-layer.test.mjs +125 -0
  1314. package/harness/test/claude-live.test.d.mts +1 -0
  1315. package/harness/test/claude-live.test.mjs +160 -0
  1316. package/harness/test/cli.test.d.mts +1 -0
  1317. package/harness/test/cli.test.mjs +236 -0
  1318. package/harness/test/codex-guard.test.d.mts +1 -0
  1319. package/harness/test/codex-guard.test.mjs +111 -0
  1320. package/harness/test/codex-instructions.test.d.mts +1 -0
  1321. package/harness/test/codex-instructions.test.mjs +43 -0
  1322. package/harness/test/codex-live.test.d.mts +1 -0
  1323. package/harness/test/codex-live.test.mjs +90 -0
  1324. package/harness/test/copilot-guard.test.d.mts +1 -0
  1325. package/harness/test/copilot-guard.test.mjs +117 -0
  1326. package/harness/test/copilot-live.test.d.mts +1 -0
  1327. package/harness/test/copilot-live.test.mjs +113 -0
  1328. package/harness/test/design.test.d.mts +1 -0
  1329. package/harness/test/design.test.mjs +1023 -0
  1330. package/harness/test/docs-reference.test.d.mts +1 -0
  1331. package/harness/test/docs-reference.test.mjs +83 -0
  1332. package/harness/test/fixtures/import/shadcn-theme.css +51 -0
  1333. package/harness/test/fixtures/import/tokens-studio.json +83 -0
  1334. package/harness/test/fonts.test.d.mts +1 -0
  1335. package/harness/test/fonts.test.mjs +48 -0
  1336. package/harness/test/foundations.test.d.mts +1 -0
  1337. package/harness/test/foundations.test.mjs +238 -0
  1338. package/harness/test/gemini-guard.test.d.mts +1 -0
  1339. package/harness/test/gemini-guard.test.mjs +124 -0
  1340. package/harness/test/gemini-live.test.d.mts +1 -0
  1341. package/harness/test/gemini-live.test.mjs +116 -0
  1342. package/harness/test/golden/brand.default.json +18 -0
  1343. package/harness/test/golden/tokens.default.css +407 -0
  1344. package/harness/test/helpers.d.mts +28 -0
  1345. package/harness/test/helpers.mjs +43 -0
  1346. package/harness/test/hooks.test.d.mts +1 -0
  1347. package/harness/test/hooks.test.mjs +192 -0
  1348. package/harness/test/opencode-live.test.d.mts +1 -0
  1349. package/harness/test/opencode-live.test.mjs +93 -0
  1350. package/harness/test/package-lifecycle.test.d.mts +1 -0
  1351. package/harness/test/package-lifecycle.test.mjs +73 -0
  1352. package/harness/test/package.test.d.mts +1 -0
  1353. package/harness/test/package.test.mjs +69 -0
  1354. package/harness/test/portable-decisions.test.d.mts +1 -0
  1355. package/harness/test/portable-decisions.test.mjs +99 -0
  1356. package/harness/test/portable-outline.test.d.mts +1 -0
  1357. package/harness/test/portable-outline.test.mjs +39 -0
  1358. package/harness/test/prefix.test.d.mts +1 -0
  1359. package/harness/test/prefix.test.mjs +66 -0
  1360. package/harness/test/preset-docs.test.d.mts +8 -0
  1361. package/harness/test/preset-docs.test.mjs +217 -0
  1362. package/harness/test/propagate.test.d.mts +1 -0
  1363. package/harness/test/propagate.test.mjs +108 -0
  1364. package/harness/test/reference.d.mts +6 -0
  1365. package/harness/test/reference.mjs +62 -0
  1366. package/harness/test/safety.test.d.mts +1 -0
  1367. package/harness/test/safety.test.mjs +479 -0
  1368. package/harness/test/starters.test.d.mts +1 -0
  1369. package/harness/test/starters.test.mjs +504 -0
  1370. package/harness/test/sync-reference.d.mts +9 -0
  1371. package/harness/test/sync-reference.mjs +50 -0
  1372. package/harness/test/tokens.test.d.mts +1 -0
  1373. package/harness/test/tokens.test.mjs +549 -0
  1374. package/harness/test/wall.d.mts +1 -0
  1375. package/harness/test/wall.mjs +57 -0
  1376. package/package.json +150 -4
  1377. package/scripts/audit.mjs +25 -0
  1378. package/scripts/build-barrel.mjs +16 -0
  1379. package/scripts/build-catalog.mjs +7 -0
  1380. package/scripts/build-harness.mjs +107 -0
  1381. package/scripts/build-schema-types.mjs +21 -0
  1382. package/scripts/build-styles.mjs +61 -0
  1383. package/scripts/discover-components.mjs +63 -0
  1384. package/spec/schemas/api.schema.json +158 -0
  1385. package/spec/schemas/brand-config.schema.json +753 -0
  1386. package/spec/schemas/contract.schema.json +678 -0
  1387. package/spec/schemas/figma-practices.schema.json +49 -0
  1388. package/spec/schemas/harness-config.schema.json +89 -0
  1389. package/spec/schemas/registry.schema.json +29 -0
@@ -0,0 +1,595 @@
1
+ // Figma design adapter, library: one contract -> use_figma scripts that draw its component on the Library page.
2
+ // <name>.build-N.js builds a chunk of variants (matrix dimensions x State) into a temporary frame; <name>.finish.js
3
+ // combines them into one component set, adds the component properties and wires the parts to them, then removes the
4
+ // frame. Every look is bound to the Components variables (the contract's own tokens); text takes the text styles and
5
+ // shadows the effect styles. Icons are instances of the Icons page, never redrawn.
6
+ import { loadIcons } from '../../../lib/icons.mjs';
7
+ import { describeComponent } from '../../../lib/design/description.mjs';
8
+ import { libraryModel } from '../../../lib/design/library.mjs';
9
+ import { contractOf, mdOf } from '../../../lib/design/components.mjs';
10
+ import { show } from '../../../lib/files.mjs';
11
+ // A set name may hold a slash (an element set, field/field-set); its files use a flat stem.
12
+ export const stemOf = (name) => name.replace('/', '--');
13
+ import { figmaModel } from './variables.mjs';
14
+ import { ZERO_RUNTIME, zeroVars } from './zero.mjs';
15
+ export const LIBRARY_PAGE = 'Library';
16
+ const CHUNK = 40;
17
+ const DEFAULT_ICON = 'circle';
18
+ // A stacked field has no intrinsic width; this is the width the library sample is drawn at, instances resize it.
19
+ const FIELD_WIDTH = 320;
20
+ const SAMPLE_HEIGHT = 64;
21
+ const HOME_NAME = 'Component library';
22
+ const LAYOUT = { fill: 'color.muted', radius: 'radius.small', pad: 'space.inset.spacious', gap: 'space.stack.lg' };
23
+ const unref = (v) => /^\{(.+)\}$/.exec(show(v ?? ''))?.[1] ?? null;
24
+ // What the verify script reads back from a drawn variant, one line per node, and what the model says it should be.
25
+ // Keep FIELDS and the line layout in step with VERIFY below.
26
+ export const LINE_FIELDS = ['node', 'type', 'visible', 'fill', 'stroke', 'strokeWeight', 'radius', 'paddingX', 'paddingY', 'gap', 'width', 'height', 'minWidth', 'opacity', 'effect', 'textStyle', 'decoration', 'properties'];
27
+ const NODE_TYPE = { b: 'FRAME', t: 'TEXT', i: 'INSTANCE', c: 'INSTANCE', e: 'ELLIPSE' };
28
+ const SLOT = { fill: 'fill', fills: 'fill', stroke: 'stroke', strokeIn: 'stroke', swL: 'strokeWeight', swR: 'strokeWeight', swB: 'strokeWeight', padt: 'paddingY', sw: 'strokeWeight', radius: 'radius', padx: 'paddingX', padl: 'paddingX', pady: 'paddingY', gap: 'gap', h: 'height', len: 'height', w: 'width', minw: 'minWidth', opacity: 'opacity', effect: 'effect' };
29
+ export function expectedLines(tree) {
30
+ const out = [];
31
+ const nested = {};
32
+ const walk = (n, path) => {
33
+ const f = Object.fromEntries(LINE_FIELDS.slice(3, -1).map((k) => [k, '-']));
34
+ if (n.k !== 'c') {
35
+ for (const [r, field] of n.b) {
36
+ if (!r)
37
+ continue;
38
+ const slot = SLOT[String(String(field).split(':')[0])];
39
+ if (field === 'wh') {
40
+ f.width = r;
41
+ f.height = r;
42
+ }
43
+ else if (slot)
44
+ f[slot] = r;
45
+ }
46
+ if (n.op !== undefined)
47
+ f.opacity = String(n.op);
48
+ if (n.k === 't') {
49
+ f.textStyle = n.s ?? '-';
50
+ if (n.ul)
51
+ f.decoration = 'underline';
52
+ }
53
+ }
54
+ else
55
+ nested[path] = Object.keys(n.pr ?? {});
56
+ const wiring = [n.tp && `characters=${n.tp}`, n.sw && `mainComponent=${n.sw}`, n.sh && `visible=${n.sh}`, n.slot && `slotContentId=${n.slot}`].filter(Boolean).sort().join(',');
57
+ const set = n.k === 'c' ? `pr:${Object.entries(n.pr ?? {}).map(([k, v]) => `${k}=${v}`).join(',')}` : '';
58
+ out.push([path, path === '@' ? 'COMPONENT' : n.slot ? 'SLOT' : NODE_TYPE[String(n.k)], n.v === 0 ? 0 : 1, ...LINE_FIELDS.slice(3, -1).map((k) => f[k]), [wiring, set, n.ex && 'exposed'].filter(Boolean).join(';') || '-'].join('|'));
59
+ for (const k of n.kids ?? [])
60
+ walk(k, path === '@' ? k.p : `${path}/${k.p}`);
61
+ };
62
+ walk(tree, '@');
63
+ return { lines: out, nested };
64
+ }
65
+ const orderNames = (axes, skip, title) => axes.reduce((acc, a) => acc.flatMap((c) => a.values.map((v) => c.concat([`${a.name}=${v}`]))), [[]]).filter((_, i) => !skip.includes(i)).map((c) => c.join(', ') || title);
66
+ export async function libraryScripts(root, name, { detail = null } = {}) {
67
+ const model = await figmaModel(root);
68
+ const contract = await contractOf(root, name);
69
+ const icons = loadIcons(root).icons;
70
+ const setName = (icon) => { const entry = icons[icon]; return entry ? `${entry.category} / ${icon}` : null; };
71
+ const iconFor = (a) => setName(/Lucide's ([a-z-]+) icon/.exec(a.notes ?? '')?.[1] ?? DEFAULT_ICON);
72
+ const L = await libraryModel(root, name, { iconFor, iconSet: setName });
73
+ const varOf = new Map(model.collections.flatMap((c) => c.variables.map((v) => [v.token, `${c.name}::${v.name}`])));
74
+ const textStyle = new Map(model.styles.text.map((t) => [t.token, t.name]));
75
+ const effectStyle = new Map(model.styles.effect.map((e) => [e.token, e.name]));
76
+ const missing = new Set();
77
+ const ref = (token, field) => {
78
+ if (field === 'effect') {
79
+ const style = unref(contract.tokens?.[String(token)]);
80
+ const n = style === null ? undefined : effectStyle.get(style);
81
+ if (!n)
82
+ missing.add(token);
83
+ return [n, field];
84
+ }
85
+ const n = token == null ? undefined : varOf.get(token);
86
+ if (!n)
87
+ missing.add(token);
88
+ return [n, field];
89
+ };
90
+ const iconOf = (icon) => setName(icon) ?? (() => { throw Object.assign(new Error(`${name}: no icon "${icon}" in spec/icons.json.`), { fix: 'Name an icon of the registry (sketchbook icons).' }); })();
91
+ // A nested instance's icon swaps (sp, by registry name) join its properties as the icon set's name; build resolves it.
92
+ const prep = ({ sp, ...n }) => ({
93
+ ...n,
94
+ ...(sp ? { pr: { ...n.pr, ...Object.fromEntries(Object.entries(sp).map(([k, icon]) => [k, iconOf(icon)])) } } : {}),
95
+ b: n.b.map(([t, f]) => ref(t, f)),
96
+ s: n.s ? textStyle.get(`text-style.${n.s.replace(/^font\.size\./, '')}${n.ul ? '-underline' : ''}`) ?? (missing.add(n.s), null) : undefined,
97
+ kids: n.kids?.map(prep),
98
+ });
99
+ const variants = L.variants.map((v) => ({ n: Object.entries(v.props).map(([k, x]) => `${k}=${x}`).join(', ') || L.title, tree: prep(v.tree), refs: refsOf(v.tree) }));
100
+ const props = { text: new Map(), bool: new Map(), swap: new Map() };
101
+ const walk = (n, state) => {
102
+ if (n.tp && !props.text.has(n.tp))
103
+ props.text.set(n.tp, n.x);
104
+ if (n.sh && !props.bool.has(n.sh))
105
+ props.bool.set(n.sh, Boolean(n.v));
106
+ if (n.sw && !props.swap.has(n.sw))
107
+ props.swap.set(n.sw, n.i);
108
+ (n.kids ?? []).forEach((k) => walk(k, state));
109
+ };
110
+ L.variants.forEach((v) => walk(v.tree, v.props.State));
111
+ const description = describeComponent({ contract, md: await mdOf(root, name), name, title: L.title, axes: L.axes, props, designSlots: L.slots });
112
+ const groups = new Map();
113
+ variants.forEach((v, i) => {
114
+ const key = JSON.stringify(v.refs);
115
+ let g = groups.get(key);
116
+ if (!g) {
117
+ g = { refs: v.refs, idx: [] };
118
+ groups.set(key, g);
119
+ }
120
+ g.idx.push(i);
121
+ });
122
+ const layoutVars = Object.fromEntries(Object.entries(LAYOUT).map(([k, t]) => [k, varOf.get(t)]));
123
+ const Z = zeroVars(model);
124
+ const header = (what) => `// GENERATED by sketchbook sync library ${name} (${what}). Run with the Figma MCP use_figma tool.\n`;
125
+ const scripts = [];
126
+ for (let i = 0; i < variants.length; i += CHUNK) {
127
+ const R = [];
128
+ const K = [];
129
+ const idx = (r) => { let k = R.indexOf(r); if (k < 0)
130
+ k = R.push(r) - 1; return k; };
131
+ const kidx = (o) => { const s = JSON.stringify(o); let k = K.findIndex((x) => JSON.stringify(x) === s); if (k < 0)
132
+ k = K.push(o) - 1; return k; };
133
+ const slice = variants.slice(i, i + CHUNK).map(({ n, tree }) => ({ n, tree: pack(tree, idx, kidx) }));
134
+ const cfg = { page: LIBRARY_PAGE, title: L.title, temp: `__build ${L.title}`, fieldWidth: FIELD_WIDTH, sampleHeight: SAMPLE_HEIGHT, R, K, Z, variants: slice, sum: sumOf(JSON.stringify([slice, K, Z])) };
135
+ scripts.push({ file: `${stemOf(name)}.build-${scripts.length + 1}.js`, script: header(`build ${scripts.length + 1}`) + `const cfg = ${lines(cfg)};\n${BUILD}` });
136
+ }
137
+ const finishing = {
138
+ page: LIBRARY_PAGE, title: L.title, temp: `__build ${L.title}`, description, expected: variants.length,
139
+ axes: L.axes, skip: L.skip,
140
+ props: { text: [...props.text], bool: [...props.bool], swap: [...props.swap], slot: L.slots.map((s) => [s.name, s.meaning, s.preferred]) },
141
+ groups: [...groups.values()], layout: layoutVars, Z,
142
+ };
143
+ const finish = { ...finishing, sum: sumOf(JSON.stringify([finishing.axes, finishing.skip, finishing.groups, finishing.props, finishing.description, finishing.Z])) };
144
+ scripts.push({ file: `${stemOf(name)}.finish.js`, script: header('finish') + `const cfg = ${lines(finish)};\n${FINISH}` });
145
+ const nested = {};
146
+ const lineSets = new Map(variants.map((v) => { const r = expectedLines(v.tree); Object.assign(nested, r.nested); return [v.n, r.lines]; }));
147
+ const order = orderNames(L.axes, L.skip, L.title);
148
+ if (detail && !lineSets.has(detail))
149
+ throw Object.assign(new Error(`${name} has no variant "${detail}".`), { fix: `Variants: ${order.slice(0, 3).join(' | ')} ...` });
150
+ const hashes = order.map((n) => sumOf((lineSets.get(n) ?? []).join('\n')));
151
+ const expecting = {
152
+ title: L.title, variants: variants.length, description, zero: Object.values(Z).filter((z) => Boolean(z)),
153
+ axes: L.axes, skip: L.skip, nested, hashes, detail, detailLines: detail ? lineSets.get(detail) : null,
154
+ props: [...[...props.text.keys()].map((n) => [String(n), 'TEXT']), ...[...props.bool.keys()].map((n) => [String(n), 'BOOLEAN']), ...[...props.swap.keys()].map((n) => [String(n), 'INSTANCE_SWAP']), ...L.slots.map((s) => [s.name, 'SLOT'])],
155
+ };
156
+ const expected = { ...expecting, sum: sumOf(JSON.stringify([expecting.axes, expecting.skip, expecting.nested, expecting.hashes, expecting.description, expecting.detailLines, expecting.zero])) };
157
+ scripts.push({ file: `${stemOf(name)}.verify.js`, script: header('verify, read-only') + `const cfg = ${JSON.stringify(expected)};\n${VERIFY}` });
158
+ return { scripts, missing: [...missing], variants: variants.length, dependsOn: L.dependsOn, title: L.title, description, lineSets, expected };
159
+ }
160
+ // One read-only script for many sets: the structure, property and binding checks of each verify script, without the
161
+ // descriptions' text: it compares their checksum (sync describe sets the text). Returns one result per set.
162
+ export async function verifyAllScript(root, names) {
163
+ const cfgs = [];
164
+ for (const name of names) {
165
+ const { expected } = await libraryScripts(root, name);
166
+ const { description, detail, detailLines, sum, ...cfg } = expected;
167
+ cfgs.push({ ...cfg, descSum: sumOf(description.replace(/\s+/g, ' ').trim()) });
168
+ }
169
+ const body = VERIFY.split('\n').filter((l) => !l.startsWith('const sumOf') && !l.startsWith('if (sumOf(JSON.stringify([cfg.axes'));
170
+ const head = `const CFGS = [\n${cfgs.map((c) => JSON.stringify(c)).join(',\n')}];\nconst SUM = ${sumOf(JSON.stringify(cfgs))};\n${SUM}if (sumOf(JSON.stringify(CFGS)) !== SUM) throw new Error('This script was altered when pasted (checksum mismatch); paste the file exactly.');\nconst runOne = async (cfg) => {\n`;
171
+ const tail = '};\nconst results = [];\nfor (const cfg of CFGS) results.push(await runOne(cfg));\nreturn results.map((r) => ({ title: r.title, ok: r.ok, checked: r.checked, problems: r.problems }));\n';
172
+ return `// GENERATED by sketchbook sync verify-library (${names.length} sets, read-only). Run with the Figma MCP use_figma tool.\n${head}${body.join('\n')}\n${tail}`;
173
+ }
174
+ const DESCRIBE_CHUNK = 13000;
175
+ // Descriptions of sets already on the page, written in place: no rebuild, nothing else touched. One script per ~13 KB.
176
+ export async function describeScripts(root, names) {
177
+ const items = [];
178
+ for (const name of names) {
179
+ const r = await libraryScripts(root, name);
180
+ items.push([r.title, r.description]);
181
+ }
182
+ const chunks = [];
183
+ for (const item of items) {
184
+ const last = chunks[chunks.length - 1];
185
+ if (last && JSON.stringify([...last, item]).length < DESCRIBE_CHUNK)
186
+ last.push(item);
187
+ else
188
+ chunks.push([item]);
189
+ }
190
+ return chunks.map((descriptions, i) => {
191
+ const cfg = { descriptions, sum: sumOf(JSON.stringify(descriptions)) };
192
+ const body = `const cfg = {"descriptions":[\n${descriptions.map((d) => JSON.stringify(d)).join(',\n')}],"sum":${cfg.sum}};\n${DESCRIBE}`;
193
+ return { file: `descriptions-${i + 1}.js`, script: `// GENERATED by sketchbook sync describe (${i + 1} of ${chunks.length}). Run with the Figma MCP use_figma tool.\n${body}`, names: descriptions.map((d) => d[0]) };
194
+ });
195
+ }
196
+ // One variant (or name) per line: an agent copies short lines exactly, a 20 KB single line it does not.
197
+ const lines = (cfg) => JSON.stringify(cfg).replace(/\},\{"n":/g, '},\n{"n":').replace(/","((?:Variant|State|Size)=)/g, '",\n"$1');
198
+ // Smaller to send: bindings as a flat [refIndex, field, ...] list into R, and the common defaults left out (d 'r', v 1).
199
+ function pack(n, idx, kidx) {
200
+ const out = { p: n.p, k: n.k };
201
+ if (n.d !== 'r')
202
+ out.d = n.d;
203
+ if (n.v !== 1)
204
+ out.v = n.v;
205
+ for (const key of ['x', 's', 'i', 'c', 'ring', 'al', 'cal', 'pr', 'grow', 'sq', 'fw', 'fh', 'pw', 'rt', 'abs', 'op', 'hug', 'st', 'ex', 'slot'])
206
+ if (n[key] !== undefined && n[key] !== null)
207
+ out[key] = n[key];
208
+ const b = n.b.flatMap(([r, f]) => (r ? [idx(r), f] : []));
209
+ if (b.length)
210
+ out.b = b;
211
+ if (n.kids?.length)
212
+ out.kids = n.kids.map((k) => kidx(pack(k, idx, kidx)));
213
+ return out;
214
+ }
215
+ function refsOf(tree) {
216
+ const out = [];
217
+ const walk = (n) => {
218
+ if (n.tp)
219
+ out.push([n.p, 'characters', n.tp]);
220
+ if (n.sw)
221
+ out.push([n.p, 'mainComponent', n.sw]);
222
+ if (n.sh)
223
+ out.push([n.p, 'visible', n.sh]);
224
+ if (n.slot)
225
+ out.push([n.p, 'slotContentId', n.slot]);
226
+ (n.kids ?? []).forEach(walk);
227
+ };
228
+ walk(tree);
229
+ return out;
230
+ }
231
+ // Scripts are pasted into use_figma by an agent; a checksum over the data makes a damaged paste fail before it writes.
232
+ const sumOf = (s) => { let h = 5381; for (let i = 0; i < s.length; i++)
233
+ h = ((h << 5) + h + s.charCodeAt(i)) | 0; return h; };
234
+ const SUM = `const sumOf = (s) => { let h = 5381; for (let i = 0; i < s.length; i++) h = ((h << 5) + h + s.charCodeAt(i)) | 0; return h; };
235
+ `;
236
+ const COMMON = `const report = { built: [], kept: [], errors: [], missing: [] };
237
+ const page = figma.root.children.find((p) => p.name === cfg.page);
238
+ if (!page) throw new Error('No page "' + cfg.page + '": run sketchbook sync pages first.');
239
+ await figma.setCurrentPageAsync(page);
240
+ const V = figma.variables;
241
+ const cols = Object.fromEntries((await V.getLocalVariableCollectionsAsync()).map((c) => [c.id, c.name]));
242
+ const byKey = new Map((await V.getLocalVariablesAsync()).map((v) => [cols[v.variableCollectionId] + '::' + v.name, v]));
243
+ const variable = (k) => { const v = byKey.get(k); if (!v) report.missing.push(k); return v; };
244
+ const paint = (k) => { const v = variable(k); return v ? [V.setBoundVariableForPaint({ type: 'SOLID', color: { r: 0, g: 0, b: 0 } }, 'color', v)] : []; };
245
+ const bindVar = (node, k, fields) => { const v = variable(k); if (v) for (const f of fields) node.setBoundVariable(f, v); };
246
+ `;
247
+ const BUILD = `${SUM}if (sumOf(JSON.stringify([cfg.variants, cfg.K, cfg.Z])) !== cfg.sum) throw new Error('This script was altered when pasted (checksum mismatch); paste the file exactly.');
248
+ ${ZERO_RUNTIME}${COMMON}
249
+ const textStyles = await figma.getLocalTextStylesAsync();
250
+ const effectStyles = await figma.getLocalEffectStylesAsync();
251
+ for (const s of textStyles) await figma.loadFontAsync(s.fontName);
252
+ const iconsPage = figma.root.children.find((p) => p.name === 'Icons');
253
+ await iconsPage.loadAsync();
254
+ const iconSet = (name) => iconsPage.findOne((n) => n.type === 'COMPONENT_SET' && n.name === name);
255
+ const home = page.children.find((n) => n.type === 'FRAME' && n.name === 'Component library') || page;
256
+ const local = (name) => home.children.find((n) => (n.type === 'COMPONENT' || n.type === 'COMPONENT_SET') && n.name.toLowerCase() === name);
257
+ let tmp = page.children.find((n) => n.type === 'FRAME' && n.name === cfg.temp);
258
+ if (!tmp) { tmp = figma.createFrame(); tmp.name = cfg.temp; tmp.fills = []; tmp.x = 0; tmp.y = 3000; page.appendChild(tmp); }
259
+ const PAD = ['paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft'];
260
+ const RADII = ['topLeftRadius', 'topRightRadius', 'bottomRightRadius', 'bottomLeftRadius'];
261
+ const vectorOf = (n) => n.findOne((x) => x.type === 'VECTOR');
262
+ const ZERO_OF = (f) => (/Radius$/.test(f) ? 'radius' : /Weight$/.test(f) ? 'border' : 'space');
263
+ const zero = (node, f) => { node[f] = 0; const v = cfg.Z[ZERO_OF(f)]; if (v) bindVar(node, v, [f]); };
264
+
265
+ const apply = async (node, ring, ref, field) => {
266
+ if (!ref) return;
267
+ if (field === 'effect') { const s = effectStyles.find((e) => e.name === ref); if (s) await node.setEffectStyleIdAsync(s.id); return; }
268
+ if (field === 'fill' || field === 'fills') node.fills = paint(ref);
269
+ else if (field === 'stroke') { node.strokes = paint(ref); node.strokeAlign = ring ? 'OUTSIDE' : 'INSIDE'; node.strokesIncludedInLayout = false; }
270
+ else if (field === 'strokeIn') { node.strokes = paint(ref); node.strokeAlign = 'INSIDE'; node.strokesIncludedInLayout = true; }
271
+ // A stroke bound to a color variable resets its opacity to 1; a hidden paint keeps the binding and stays hidden in instances.
272
+ else if (field === 'strokeTr') node.strokes = node.strokes.map((s) => ({ ...s, visible: false }));
273
+ else if (field.startsWith('fill:')) node.fills = paint(ref).map((p) => ({ ...p, opacity: Number(field.slice(5)) }));
274
+ else if (field === 'swL' || field === 'swR' || field === 'swB') { const keep = { swL: 'strokeLeftWeight', swR: 'strokeRightWeight', swB: 'strokeBottomWeight' }[field]; for (const f of ['strokeTopWeight', 'strokeRightWeight', 'strokeBottomWeight', 'strokeLeftWeight']) if (f !== keep) zero(node, f); bindVar(node, ref, [keep]); }
275
+ else if (field === 'padt') bindVar(node, ref, ['paddingTop']);
276
+ else if (field === 'padb') bindVar(node, ref, ['paddingBottom']);
277
+ else if (field === 'sw') bindVar(node, ref, ['strokeWeight']);
278
+ else if (field === 'radius') bindVar(node, ref, RADII);
279
+ else if (field === 'padx') bindVar(node, ref, ['paddingLeft', 'paddingRight']);
280
+ else if (field === 'pady') bindVar(node, ref, ['paddingTop', 'paddingBottom']);
281
+ else if (field === 'padl') bindVar(node, ref, ['paddingLeft']);
282
+ else if (field === 'gap') bindVar(node, ref, ['itemSpacing']);
283
+ else if (field === 'h') { node.counterAxisSizingMode = 'FIXED'; bindVar(node, ref, ['height']); }
284
+ else if (field === 'wh') { if (node.type !== 'INSTANCE') { node.primaryAxisSizingMode = 'FIXED'; node.counterAxisSizingMode = 'FIXED'; } if (node.parent && node.parent.layoutMode === 'VERTICAL') node.layoutSizingHorizontal = 'FIXED'; bindVar(node, ref, ['width', 'height']); }
285
+ else if (field === 'w') { node.primaryAxisSizingMode = 'FIXED'; if (node.parent && node.parent.layoutMode === 'VERTICAL') node.layoutSizingHorizontal = 'FIXED'; bindVar(node, ref, ['width']); }
286
+ else if (field === 'len') { if (node.layoutMode === 'VERTICAL') node.primaryAxisSizingMode = 'FIXED'; else node.counterAxisSizingMode = 'FIXED'; bindVar(node, ref, ['height']); }
287
+ else if (field === 'half') { const v = variable(ref); if (v) { const px = v.resolveForConsumer(node).value; node.resize(px / 2, px / 2); } }
288
+ else if (field === 'opacity') bindVar(node, ref, ['opacity']);
289
+ else if (field === 'minw') bindVar(node, ref, ['minWidth']);
290
+ else if (field === 'strokeOfVector') { const vec = vectorOf(node); if (vec) vec.strokes = paint(ref); }
291
+ };
292
+
293
+ const make = async (n, root) => {
294
+ let node;
295
+ if (n.k === 't') {
296
+ node = figma.createText();
297
+ const st = textStyles.find((s) => s.name === n.s);
298
+ if (st) await node.setTextStyleIdAsync(st.id); else report.missing.push('text style ' + n.s);
299
+ node.characters = n.x || ''; node.textAutoResize = 'WIDTH_AND_HEIGHT';
300
+ } else if (n.k === 'i' || n.k === 'c') {
301
+ const main = n.k === 'i' ? iconSet(n.i) : local(n.c);
302
+ if (!main) throw new Error('missing ' + (n.i || n.c));
303
+ const comp = main.type === 'COMPONENT_SET' ? main.children.find((c) => c.name === 'Size=default') || main.defaultVariant : main;
304
+ node = comp.createInstance();
305
+ if (n.pr) {
306
+ const props = {};
307
+ for (const [k, v] of Object.entries(n.pr)) {
308
+ const key = Object.keys(node.componentProperties).find((x) => x === k || x.startsWith(k + '#'));
309
+ if (!key) { report.missing.push('property ' + k); continue; }
310
+ if (node.componentProperties[key].type !== 'INSTANCE_SWAP') { props[key] = v; continue; }
311
+ const s = iconSet(v);
312
+ if (s) props[key] = (s.children.find((c) => c.name === 'Size=default') || s.defaultVariant).id; else report.missing.push('icon ' + v);
313
+ }
314
+ node.setProperties(props);
315
+ }
316
+ } else if (n.k === 'e') {
317
+ node = figma.createEllipse(); node.fills = [];
318
+ } else {
319
+ node = root || figma.createAutoLayout(n.d === 'c' ? 'VERTICAL' : 'HORIZONTAL');
320
+ if (root) { node.layoutMode = n.d === 'c' ? 'VERTICAL' : 'HORIZONTAL'; node.primaryAxisSizingMode = 'AUTO'; node.counterAxisSizingMode = 'AUTO'; }
321
+ node.fills = []; node.clipsContent = false;
322
+ node.primaryAxisAlignItems = 'CENTER'; node.counterAxisAlignItems = 'CENTER';
323
+ }
324
+ if (!root) node.name = n.p;
325
+ return node;
326
+ };
327
+ const post = [];
328
+ const build = async (n, ring, parent, root) => {
329
+ const node = await make(n, root);
330
+ if (parent) {
331
+ parent.appendChild(node);
332
+ if (n.ex) node.isExposedInstance = true;
333
+ if (n.abs) { node.layoutPositioning = 'ABSOLUTE'; node.constraints = { horizontal: 'STRETCH', vertical: 'STRETCH' }; }
334
+ if (parent.layoutMode === 'VERTICAL' && !n.abs) {
335
+ node.layoutSizingHorizontal = 'FILL';
336
+ if ('primaryAxisAlignItems' in node && node.layoutMode !== 'NONE') node.primaryAxisAlignItems = 'MIN';
337
+ }
338
+ }
339
+ for (const kid of n.kids || []) await build(typeof kid === 'number' ? cfg.K[kid] : kid, ring, node);
340
+ if (root && n.fw) { node.primaryAxisSizingMode = 'FIXED'; node.resize(cfg.fieldWidth, Math.max(node.height, 1)); }
341
+ if (root && n.fh) { node.counterAxisSizingMode = 'FIXED'; node.resize(Math.max(node.width, 1), cfg.sampleHeight); }
342
+ if (root && n.rt) { node.counterAxisSizingMode = 'FIXED'; node.resize(node.width, node.width / n.rt); }
343
+ if (n.pw) post.push(() => node.resize(node.parent.width * n.pw / 100, node.height));
344
+ const b = n.b || [];
345
+ for (let i = 0; i < b.length; i += 2) await apply(node, n.ring, cfg.R[b[i]], b[i + 1]);
346
+ if (n.al && 'primaryAxisAlignItems' in node) node.primaryAxisAlignItems = n.al === 'max' ? 'MAX' : n.al === 'ctr' ? 'CENTER' : n.al === 'between' ? 'SPACE_BETWEEN' : 'MIN';
347
+ if (n.grow) node.layoutGrow = 1;
348
+ if (n.st && node.parent) { if (node.parent.layoutMode === 'HORIZONTAL') node.layoutSizingVertical = 'FILL'; else node.layoutSizingHorizontal = 'FILL'; }
349
+ for (const k of n.sq || []) zero(node, k);
350
+ if (n.op !== undefined) node.opacity = n.op;
351
+ if (node.type !== 'INSTANCE') for (const c of node.children || []) if (c.layoutPositioning === 'ABSOLUTE') { c.x = 0; c.y = 0; c.resize(node.width, node.height); }
352
+ if (n.cal && 'counterAxisAlignItems' in node) node.counterAxisAlignItems = n.cal === 'min' ? 'MIN' : 'CENTER';
353
+ if (root && n.d === 'c' && !n.hug) { node.resize(cfg.fieldWidth, node.height); node.primaryAxisSizingMode = 'AUTO'; node.counterAxisAlignItems = 'MIN'; }
354
+ node.visible = n.v === undefined ? true : Boolean(n.v);
355
+ return node;
356
+ };
357
+
358
+ for (const v of cfg.variants) {
359
+ if (tmp.children.some((c) => c.name === v.n)) { report.kept.push(v.n); continue; }
360
+ try {
361
+ const comp = figma.createComponent();
362
+ comp.name = v.n;
363
+ tmp.appendChild(comp);
364
+ await build(v.tree, false, null, comp);
365
+ for (const f of post.splice(0)) f();
366
+ await bindZeros(comp);
367
+ report.built.push(v.n);
368
+ } catch (e) { report.errors.push(v.n + ': ' + e.message); }
369
+ }
370
+ report.temp = tmp.id; report.inTemp = tmp.children.length;
371
+ return report;
372
+ `;
373
+ const VERIFY = `${SUM}if (sumOf(JSON.stringify([cfg.axes, cfg.skip, cfg.nested, cfg.hashes, cfg.description, cfg.detailLines, cfg.zero])) !== cfg.sum) throw new Error('This script was altered when pasted (checksum mismatch); paste the file exactly.');
374
+ const FIELDS = ${JSON.stringify(LINE_FIELDS)};
375
+ const page = figma.root.children.find((p) => p.name === 'Library');
376
+ await figma.setCurrentPageAsync(page);
377
+ const home = page.children.find((n) => n.type === 'FRAME' && n.name === 'Component library') || page;
378
+ const set = home.children.find((n) => (n.type === 'COMPONENT_SET' || n.type === 'COMPONENT') && n.name === cfg.title);
379
+ const problems = [];
380
+ if (!set) return { title: cfg.title, ok: false, problems: ['not on the Library page'] };
381
+ const same = (a, b) => a.length === b.length && a.every((x) => b.includes(x));
382
+ const flat = (s) => String(s || '').replace(/\\s+/g, ' ').trim();
383
+ if (cfg.description !== undefined && flat(set.descriptionMarkdown) !== flat(cfg.description)) {
384
+ const a = flat(set.descriptionMarkdown), b = flat(cfg.description);
385
+ let i = 0; while (i < a.length && a[i] === b[i]) i++;
386
+ problems.push('description differs from the generated one at character ' + i + ': "' + a.slice(Math.max(0, i - 20), i + 30) + '" vs "' + b.slice(Math.max(0, i - 20), i + 30) + '"');
387
+ }
388
+ if (cfg.descSum !== undefined && sumOf(flat(set.descriptionMarkdown)) !== cfg.descSum) problems.push('description differs from the generated one (sketchbook sync describe)');
389
+ const V = figma.variables;
390
+ const cols = Object.fromEntries((await V.getLocalVariableCollectionsAsync()).map((c) => [c.id, c.name]));
391
+ const vname = new Map((await V.getLocalVariablesAsync()).map((v) => [v.id, cols[v.variableCollectionId] + '::' + v.name]));
392
+ const tstyle = new Map((await figma.getLocalTextStylesAsync()).map((s) => [s.id, s.name]));
393
+ const estyle = new Map((await figma.getLocalEffectStylesAsync()).map((s) => [s.id, s.name]));
394
+ const iconsPage = figma.root.children.find((p) => p.name === 'Icons');
395
+ if (iconsPage) await iconsPage.loadAsync();
396
+ const iconOf = new Map((iconsPage ? iconsPage.findAllWithCriteria({ types: ['COMPONENT_SET'] }) : []).flatMap((s) => s.children.map((c) => [c.id, s.name])));
397
+ const prValue = (p) => (p.type === 'INSTANCE_SWAP' ? iconOf.get(p.value) || p.value : p.value);
398
+ const nm = (b) => (b ? vname.get(b.id) || '?' + b.id : '-');
399
+ const paintVar = (ps) => (Array.isArray(ps) && ps[0] && ps[0].boundVariables && ps[0].boundVariables.color) || null;
400
+ const ZV = new Set(cfg.zero || []);
401
+ const bv = (n, ...ks) => { for (const k of ks) { const b = n.boundVariables && n.boundVariables[k]; if (b && !ZV.has(vname.get(b.id))) return b; } return null; };
402
+ const ZERO_FIELDS = ['paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'itemSpacing', 'topLeftRadius', 'topRightRadius', 'bottomRightRadius', 'bottomLeftRadius'];
403
+ const SIDES = ['strokeTopWeight', 'strokeRightWeight', 'strokeBottomWeight', 'strokeLeftWeight'];
404
+ const zeroOk = (n, f) => n[f] !== 0 || !!(n.boundVariables && n.boundVariables[f]);
405
+ const zeroIssues = (root) => {
406
+ const out = [];
407
+ const walk = (n, path) => {
408
+ const bound = (fs) => fs.some((f) => n.boundVariables && n.boundVariables[f]);
409
+ if ((n.type === 'FRAME' || n.type === 'COMPONENT') && n.layoutMode && n.layoutMode !== 'NONE') for (const f of ZERO_FIELDS) if (f in n && !zeroOk(n, f)) out.push(path + ' ' + f);
410
+ if (SIDES.every((f) => f in n) && n.strokes && n.strokes.length && bound(SIDES)) for (const f of SIDES) if (!zeroOk(n, f)) out.push(path + ' ' + f);
411
+ if (n.type !== 'INSTANCE' && 'children' in n) for (const c of n.children) walk(c, path === '@' ? c.name : path + '/' + c.name);
412
+ };
413
+ walk(root, '@');
414
+ return out;
415
+ };
416
+ const linesOf = (root) => {
417
+ const out = [];
418
+ const walk = (n, path) => {
419
+ const refs = Object.entries(n.componentPropertyReferences || {}).map(([f, k]) => f + '=' + String(k).split('#')[0]).sort().join(',');
420
+ const keys = cfg.nested[path];
421
+ const pr = keys ? 'pr:' + keys.map((k) => { const e = Object.entries(n.componentProperties || {}).find(([x]) => x === k || x.startsWith(k + '#')); return k + '=' + (e ? prValue(e[1]) : '?'); }).join(',') : '';
422
+ const look = keys ? Array(14).fill('-') : [nm(paintVar(n.fills)), nm(paintVar(n.strokes)), nm(bv(n, 'strokeWeight', 'strokeTopWeight', 'strokeLeftWeight', 'strokeRightWeight', 'strokeBottomWeight')), nm(bv(n, 'topLeftRadius', 'topRightRadius', 'bottomRightRadius', 'bottomLeftRadius')), nm(bv(n, 'paddingLeft')), nm(bv(n, 'paddingTop')), nm(bv(n, 'itemSpacing')), nm(bv(n, 'width')), nm(bv(n, 'height')), nm(bv(n, 'minWidth')), bv(n, 'opacity') ? nm(bv(n, 'opacity')) : n.opacity !== 1 ? String(Math.round(n.opacity * 100) / 100) : '-', n.effectStyleId ? estyle.get(n.effectStyleId) || '?' : '-', n.type === 'TEXT' ? tstyle.get(n.textStyleId) || '-' : '-', n.type === 'TEXT' && n.textDecoration === 'UNDERLINE' ? 'underline' : '-'];
423
+ out.push([path, n.type, n.visible ? 1 : 0, ...look, [refs, pr, n.type === 'INSTANCE' && n.isExposedInstance ? 'exposed' : ''].filter(Boolean).join(';') || '-'].join('|'));
424
+ if (n.type !== 'INSTANCE' && 'children' in n) for (const c of n.children) walk(c, path === '@' ? c.name : path + '/' + c.name);
425
+ };
426
+ walk(root, '@');
427
+ return out;
428
+ };
429
+ const product = cfg.axes.reduce((acc, a) => acc.flatMap((c) => a.values.map((v) => c.concat([a.name + '=' + v]))), [[]]);
430
+ const order = product.filter((_, i) => !cfg.skip.includes(i)).map((c) => c.join(', ') || cfg.title);
431
+ const drawn = new Map((set.type === 'COMPONENT' ? [set] : set.children).map((c) => [set.type === 'COMPONENT' ? cfg.title : c.name, c]));
432
+ const differ = [];
433
+ order.forEach((n, i) => { const c = drawn.get(n); if (c && sumOf(linesOf(c).join('\\n')) !== cfg.hashes[i]) differ.push(n); });
434
+ if (differ.length) problems.push(differ.length + ' of ' + order.length + ' variant(s) differ from the contract tokens, e.g. ' + differ.slice(0, 3).join(' | '));
435
+ const unbound = order.flatMap((n) => { const c = drawn.get(n); return c ? zeroIssues(c).map((x) => n + ': ' + x) : []; });
436
+ if (unbound.length) problems.push(unbound.length + ' zero value(s) not bound to a zero token, e.g. ' + unbound.slice(0, 3).join(' | '));
437
+ const flipped = order.filter((n) => { const c = drawn.get(n); return c && c.children.some((k) => k.layoutPositioning === 'ABSOLUTE' && (k.relativeTransform[0][0] < 0 || k.relativeTransform[1][1] < 0)); });
438
+ if (flipped.length) problems.push(flipped.length + ' variant(s) with a flipped absolute layer (drawn outside the variant), e.g. ' + flipped.slice(0, 3).join(' | '));
439
+ // Content larger than its variant is cut wherever an instance sits in a clipping parent (a doc card).
440
+ const overflowing = order.filter((n) => { const c = drawn.get(n); return c && !c.clipsContent && c.children.some((k) => k.visible && k.layoutPositioning !== 'ABSOLUTE' && Math.max(-k.x, k.x + k.width - c.width, -k.y, k.y + k.height - c.height) > 0.5); });
441
+ if (overflowing.length) problems.push(overflowing.length + ' variant(s) whose content overflows the variant frame, e.g. ' + overflowing.slice(0, 3).join(' | '));
442
+ let detail = null;
443
+ if (cfg.detail && drawn.get(cfg.detail)) {
444
+ const act = linesOf(drawn.get(cfg.detail));
445
+ detail = [];
446
+ cfg.detailLines.forEach((e, i) => { if (e !== act[i]) { const E = e.split('|'), A = (act[i] || '').split('|'); E.forEach((x, k) => { if (x !== A[k]) detail.push(E[0] + ' ' + FIELDS[k] + ': expected ' + x + ', actual ' + A[k]); }); } });
447
+ if (act.length !== cfg.detailLines.length) detail.push('nodes: ' + act.length + ', expected ' + cfg.detailLines.length);
448
+ }
449
+ const single = set.type === 'COMPONENT';
450
+ if (single && (cfg.variants !== 1 || cfg.axes.length)) problems.push('is a single component; the registry expects ' + cfg.variants + ' variant(s)');
451
+ const defs = Object.entries(set.componentPropertyDefinitions).map(([k, v]) => ({ name: k.split('#')[0], type: v.type, options: v.variantOptions }));
452
+ if (!single && set.children.length !== cfg.variants) problems.push('variants: ' + set.children.length + ', expected ' + cfg.variants);
453
+ for (const a of cfg.axes) {
454
+ const d = defs.find((x) => x.name === a.name && x.type === 'VARIANT');
455
+ if (!d) problems.push('missing axis ' + a.name);
456
+ else if (!same(d.options, a.values)) problems.push('axis ' + a.name + ': ' + d.options.join('|') + ', expected ' + a.values.join('|'));
457
+ }
458
+ for (const [name, type] of cfg.props) if (!defs.some((x) => x.name === name && x.type === type)) problems.push('missing ' + type + ' property ' + name);
459
+ for (const d of defs) {
460
+ const known = d.type === 'VARIANT' ? cfg.axes.some((a) => a.name === d.name) : cfg.props.some(([n, t]) => n === d.name && t === d.type);
461
+ if (!known) problems.push('unexpected ' + d.type + ' property ' + d.name);
462
+ }
463
+ const bad = single ? [] : set.children.filter((c) => Object.entries(Object.fromEntries(c.name.split(', ').map((x) => x.split('=')))).some(([k, v]) => !cfg.axes.find((a) => a.name === k && a.values.includes(v))));
464
+ if (bad.length) problems.push(bad.length + ' variant(s) named outside the axes, e.g. ' + bad[0].name);
465
+ return { title: cfg.title, id: set.id, variants: single ? 1 : set.children.length, checked: order.length, ok: !problems.length, problems, detail };
466
+ `;
467
+ const FINISH = `${SUM}if (sumOf(JSON.stringify([cfg.axes, cfg.skip, cfg.groups, cfg.props, cfg.description, cfg.Z])) !== cfg.sum) throw new Error('This script was altered when pasted (checksum mismatch); paste the file exactly.');
468
+ ${ZERO_RUNTIME}${COMMON}
469
+ const tmp = page.children.find((n) => n.type === 'FRAME' && n.name === cfg.temp);
470
+ if (!tmp) throw new Error('No build frame "' + cfg.temp + '": run the build scripts first.');
471
+ const home = page.children.find((n) => n.type === 'FRAME' && n.name === 'Component library') || page;
472
+ if (home.children.some((n) => (n.type === 'COMPONENT_SET' || n.type === 'COMPONENT') && n.name === cfg.title)) throw new Error(cfg.title + ' is already on the page; delete it first to rebuild.');
473
+ if (tmp.children.length !== cfg.expected) throw new Error('Expected ' + cfg.expected + ' variants, found ' + tmp.children.length);
474
+ const rightmost = home === page ? page.children.filter((n) => n !== tmp).reduce((m, n) => Math.max(m, n.x + n.width), 0) : 0;
475
+ const product = cfg.axes.reduce((acc, a) => acc.flatMap((c) => a.values.map((v) => c.concat([a.name + '=' + v]))), [[]]);
476
+ const order = product.filter((_, i) => !cfg.skip.includes(i)).map((c) => c.join(', ') || cfg.title);
477
+ const byName = new Map(tmp.children.map((c) => [c.name, c]));
478
+ const ordered = order.map((n) => byName.get(n));
479
+ if (ordered.some((c) => !c)) throw new Error('A variant is missing from the build frame: ' + order.filter((n) => !byName.get(n)).slice(0, 5).join('; '));
480
+ let target;
481
+ if (ordered.length === 1) {
482
+ target = ordered[0]; target.name = cfg.title; home.appendChild(target);
483
+ } else {
484
+ target = figma.combineAsVariants(ordered, page); target.name = cfg.title;
485
+ target.layoutMode = 'HORIZONTAL'; target.layoutWrap = 'WRAP'; target.primaryAxisSizingMode = 'FIXED'; target.counterAxisSizingMode = 'AUTO';
486
+ target.resize(1600, target.height);
487
+ target.fills = paint(cfg.layout.fill); target.strokes = [];
488
+ bindVar(target, cfg.layout.pad, ['paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft']);
489
+ bindVar(target, cfg.layout.gap, ['itemSpacing', 'counterAxisSpacing']);
490
+ bindVar(target, cfg.layout.radius, ['topLeftRadius', 'topRightRadius', 'bottomRightRadius', 'bottomLeftRadius']);
491
+ }
492
+ if (home === page) { target.x = rightmost + 96; target.y = 0; } else home.appendChild(target);
493
+ target.descriptionMarkdown = cfg.description;
494
+
495
+ const keys = {};
496
+ {
497
+ const iconsPage = figma.root.children.find((p) => p.name === 'Icons');
498
+ await iconsPage.loadAsync();
499
+ const iconDefault = (name) => { const s = iconsPage.findOne((n) => n.type === 'COMPONENT_SET' && n.name === name); return s && (s.children.find((c) => c.name === 'Size=default') || s.defaultVariant).id; };
500
+ for (const [name, def] of cfg.props.text) keys[name] = target.addComponentProperty(name, 'TEXT', def);
501
+ for (const [name, def] of cfg.props.bool) keys[name] = target.addComponentProperty(name, 'BOOLEAN', def);
502
+ for (const [name, def] of cfg.props.swap) keys[name] = target.addComponentProperty(name, 'INSTANCE_SWAP', iconDefault(def));
503
+ for (const [name, description, preferred] of cfg.props.slot || []) {
504
+ const preferredValues = preferred.map((t) => home.children.find((n) => (n.type === 'COMPONENT_SET' || n.type === 'COMPONENT') && n.name === t)).filter(Boolean).map((n) => ({ type: n.type, key: n.key }));
505
+ if (preferredValues.length < preferred.length) report.missing.push('preferred ' + preferred.join(', '));
506
+ keys[name] = target.addComponentProperty(name, 'SLOT', '', { description, preferredValues });
507
+ }
508
+ for (const g of cfg.groups) {
509
+ for (const i of g.idx) {
510
+ const vn = order[i];
511
+ const comp = target.type === 'COMPONENT' ? target : target.children.find((c) => c.name === vn);
512
+ for (const [part, field, prop] of g.refs) {
513
+ const node = comp.findOne((x) => x.name === part);
514
+ if (!node) { report.errors.push(vn + ': no part ' + part); continue; }
515
+ node.componentPropertyReferences = Object.assign({}, node.componentPropertyReferences, { [field]: keys[prop] });
516
+ }
517
+ }
518
+ }
519
+ }
520
+ // Turning a sibling into a slot re-lays the variant out, which can leave a stretched absolute layer (a focus ring) flipped
521
+ // vertically, drawn above its variant; put each one back over its variant.
522
+ for (const v of target.type === 'COMPONENT' ? [target] : target.children) for (const c of v.children) if (c.layoutPositioning === 'ABSOLUTE' && (c.relativeTransform[0][0] < 0 || c.relativeTransform[1][1] < 0)) { c.relativeTransform = [[1, 0, 0], [0, 1, 0]]; c.resize(v.width, v.height); }
523
+ await bindZeros(target);
524
+ tmp.remove();
525
+ report.set = target.id; report.type = target.type; report.variants = target.type === 'COMPONENT_SET' ? target.children.length : 1;
526
+ report.properties = Object.keys(target.componentPropertyDefinitions);
527
+ report.size = [Math.round(target.width), Math.round(target.height)];
528
+ return report;
529
+ `;
530
+ const DESCRIBE = `${SUM}if (sumOf(JSON.stringify(cfg.descriptions)) !== cfg.sum) throw new Error('This script was altered when pasted (checksum mismatch); paste the file exactly.');
531
+ const page = figma.root.children.find((p) => p.name === 'Library');
532
+ await figma.setCurrentPageAsync(page);
533
+ const home = page.children.find((n) => n.type === 'FRAME' && n.name === 'Component library') || page;
534
+ const report = { set: [], same: [], missing: [] };
535
+ for (const [title, text] of cfg.descriptions) {
536
+ const node = home.children.find((n) => (n.type === 'COMPONENT_SET' || n.type === 'COMPONENT') && n.name === title);
537
+ if (!node) { report.missing.push(title); continue; }
538
+ if (node.descriptionMarkdown === text) { report.same.push(title); continue; }
539
+ node.descriptionMarkdown = text;
540
+ report.set.push(node.id + ' ' + title);
541
+ }
542
+ return report;
543
+ `;
544
+ const SET_WIDTH = 1600;
545
+ const COLUMNS = 2;
546
+ // The sets grouped in one auto-layout wrap frame like the Icons grid: same padding and gap (a layout variable) between all sets.
547
+ export async function layoutScript(root, names) {
548
+ const model = await figmaModel(root);
549
+ const varOf = new Map(model.collections.flatMap((c) => c.variables.map((v) => [v.token, `${c.name}::${v.name}`])));
550
+ const titles = [];
551
+ for (const name of names)
552
+ titles.push((await contractOf(root, name)).component);
553
+ const laid = { page: LIBRARY_PAGE, home: HOME_NAME, titles, space: varOf.get(String(LAYOUT.pad)), columns: COLUMNS, setWidth: SET_WIDTH, Z: zeroVars(model) };
554
+ const cfg = { ...laid, sum: sumOf(JSON.stringify([laid.titles, laid.space, laid.columns, laid.setWidth, laid.Z])) };
555
+ return `// GENERATED by sketchbook sync layout (${titles.length} sets). Run with the Figma MCP use_figma tool.\nconst cfg = ${JSON.stringify(cfg)};\n${LAYOUT_BODY}`;
556
+ }
557
+ const LAYOUT_BODY = `${SUM}if (sumOf(JSON.stringify([cfg.titles, cfg.space, cfg.columns, cfg.setWidth, cfg.Z])) !== cfg.sum) throw new Error('This script was altered when pasted (checksum mismatch); paste the file exactly.');
558
+ ${ZERO_RUNTIME}const page = figma.root.children.find((p) => p.name === cfg.page);
559
+ if (!page) throw new Error('No page "' + cfg.page + '"');
560
+ await figma.setCurrentPageAsync(page);
561
+ const V = figma.variables;
562
+ const cols = Object.fromEntries((await V.getLocalVariableCollectionsAsync()).map((c) => [c.id, c.name]));
563
+ const space = (await V.getLocalVariablesAsync()).find((v) => cols[v.variableCollectionId] + '::' + v.name === cfg.space);
564
+ if (!space) throw new Error('No variable ' + cfg.space);
565
+ const icons = figma.root.children.find((p) => p.name === 'Icons');
566
+ await icons.loadAsync();
567
+ const grid = icons.children.find((n) => n.type === 'FRAME' && n.layoutMode === 'HORIZONTAL' && n.layoutWrap === 'WRAP');
568
+ let home = page.children.find((n) => n.type === 'FRAME' && n.name === cfg.home);
569
+ const created = !home;
570
+ if (!home) { home = figma.createFrame(); home.name = cfg.home; page.appendChild(home); }
571
+ home.layoutMode = 'HORIZONTAL'; home.layoutWrap = 'WRAP';
572
+ home.primaryAxisAlignItems = 'MIN'; home.counterAxisAlignItems = 'MIN';
573
+ home.primaryAxisSizingMode = 'FIXED'; home.counterAxisSizingMode = 'AUTO';
574
+ for (const f of ['paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'itemSpacing', 'counterAxisSpacing']) home.setBoundVariable(f, space);
575
+ if (grid) { home.fills = grid.fills.map((x) => ({ ...x })); home.strokes = grid.strokes.map((x) => ({ ...x })); home.strokeWeight = grid.strokeWeight; home.cornerRadius = grid.cornerRadius; }
576
+ else home.fills = [];
577
+ const report = { moved: [], already: [], missing: [], loose: [] };
578
+ for (const title of cfg.titles) {
579
+ const node = [...page.children, ...home.children].find((n) => (n.type === 'COMPONENT_SET' || n.type === 'COMPONENT') && n.name === title);
580
+ if (!node) { report.missing.push(title); continue; }
581
+ if (node.parent === home) { report.already.push(title); continue; }
582
+ home.appendChild(node);
583
+ report.moved.push(title);
584
+ }
585
+ const ordered = cfg.titles.map((t) => home.children.find((n) => n.name === t)).filter(Boolean).sort((x, y) => (x.type === 'COMPONENT') - (y.type === 'COMPONENT'));
586
+ ordered.forEach((n, i) => home.insertChild(i, n));
587
+ const px = space.resolveForConsumer(home).value;
588
+ home.resize(cfg.columns * cfg.setWidth + (cfg.columns - 1) * px + 2 * px, home.height);
589
+ home.counterAxisSizingMode = 'AUTO';
590
+ home.x = 0; home.y = 0;
591
+ report.zeros = await bindZeros(home);
592
+ report.loose = page.children.filter((n) => n !== home && !n.name.startsWith('__build')).map((n) => n.name);
593
+ report.home = home.id; report.created = created; report.size = [Math.round(home.width), Math.round(home.height)]; report.gap = px; report.fillBound = !!(home.fills[0] && home.fills[0].boundVariables && home.fills[0].boundVariables.color);
594
+ return report;
595
+ `;
@@ -0,0 +1,2 @@
1
+ import type { DocFile } from './docs.mjs';
2
+ export declare function patternScripts(root: string, ids: string[]): Promise<DocFile[]>;