Skip to content

extra-figma-code-connect#88

Closed
khaliulin wants to merge 46 commits into
mainfrom
feat/figma-code-connect-static
Closed

extra-figma-code-connect#88
khaliulin wants to merge 46 commits into
mainfrom
feat/figma-code-connect-static

Conversation

@khaliulin

Copy link
Copy Markdown
Contributor

связывает компоненты figma с кодом Angular – llm по дизайну в figma сразу понятно, какой компонент писать в код проекта

Danil Khaliulin and others added 30 commits June 18, 2026 14:02
…dback/data/media/controls); оставить Aura-compat colorScheme
…, убрать мусорные ключи colorScheme, валидатор на baseline-фикстуре
…ext/border (35 ролей), компоненты переразведены (намеренные сдвиги)
…(semantic = colorScheme(5 ролей)+dimension+typography+shadow)
…ереразведены на под-пути ролей (3 lineHeight снап: stepper/metergroup→caption, panelmenu→body.md)
Implement .figma.md format validator with TDD approach. Validates frontmatter (required YAML fields), section order, and code fence language annotations. Includes three fixtures: valid example, missing frontmatter, and wrong section order violations.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Add three reference documents for static Figma Code Connect feature:
- tokens.md: Figma variables mapped to CSS/Tailwind (colors, spacing, radius, typography, shadows, opacity)
- icons.md: PrimeIcons usage guide with common icon examples
- missing.md: Backlog table for tracking unimplemented tokens and icons

All three documents follow Russian documentation standard and serve as anchors for `.figma.md` component files.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ening fence only

Opening fences require a language tag (html/ts/scss); closing fences must be bare ``` per CommonMark/GitHub spec.
Updated validator logic (odd-index check), fixtures, schema.md, README.md, and button.figma.md accordingly.
Added invalid-missing-open-fence-language fixture + test. Added variant='text' Do/Don't rule to button.figma.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds Code Connect file for ExtraInputTextComponent with Figma hit:
componentSet nodeId 15:13444, componentKey b8bc649d..., fileKey HOLKdvQJ8jCLeX17s9d0Yf
(UI Kit DS v2.0). Maps all @inputs (placeholder, size, readonly,
showClear, fluid, disabled via CVA), 6 variants, Do/Don't rules.
Validator exits 0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace false figma-code-connect/button|input-text|dialog layout with
real colocated layout: src/lib/components/{button,inputtext,dialog}/<name>.figma.md.
Fix input-text/ → inputtext/ folder name.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace unused `draft` with `orphan-code` in schema.md. Add validator
check that rejects unknown status values. Quote updated date in
valid.figma.md fixture. Add invalid-bad-status fixture + test.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Danil Khaliulin and others added 16 commits June 22, 2026 22:54
Add validator error when a closing (odd-indexed) code-fence carries a
language tag. Add invalid-closing-fence-language fixture + test.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…sk, inputotp, password, toggleswitch, togglebutton)
… rating, progressbar, progressspinner, metergroup)
@khaliulin khaliulin closed this Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant