This repository was archived by the owner on Mar 25, 2026. It is now read-only.
docs: add strict headless component rules to CLAUDE.md#98
Closed
ryanrozich wants to merge 2 commits intorelease/v0.2.0-rc2from
Closed
docs: add strict headless component rules to CLAUDE.md#98ryanrozich wants to merge 2 commits intorelease/v0.2.0-rc2from
ryanrozich wants to merge 2 commits intorelease/v0.2.0-rc2from
Conversation
- Added CRITICAL section with forbidden CSS practices - Listed what must NEVER be in components (CSS files, modules, inline styles) - Added requirements for headless components (className props, refs, etc) - Provided correct and incorrect component examples - Updated Important Reminders with headless architecture rules This ensures all future development follows true headless architecture principles. Related to #97 (v2.0 headless components)
- Created V2_HEADLESS_MIGRATION_PLAN.md with full analysis: - Found 2,534 lines of CSS across 12 components to remove - Detailed migration strategy with 6-week timeline - Risk analysis and mitigation strategies - Created V2_API_DESIGN_PROPOSAL.md: - Recommends ClassNames object pattern - Provides detailed examples for each component - Includes styling cookbook for Tailwind, CSS Modules, etc. - Testing strategy and implementation checklist This planning phase ensures we have a clear path forward for making all components truly headless in v2.0. Related to #97 (v2.0 headless components)
|
🚀 Demo Preview Ready! Preview URL: https://demo.rozich.net/ag-grid-react-components-pr-98/ This preview will be available for testing until the PR is merged or closed. |
Owner
Author
|
This PR has been superseded by #102 (Release v0.2.0-rc3). The documentation updates in this PR are no longer relevant after the headless refactor. See HEADLESS_RC3_MIGRATION_PLAN.md for details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
CLAUDE.md Updates:
V2_HEADLESS_MIGRATION_PLAN.md:
V2_API_DESIGN_PROPOSAL.md:
Why This Matters
Currently, several components violate the headless architecture:
Next Steps
Related
🤖 Generated with Claude Code