Skip to content

refactor: add component content model #5101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 8, 2025
Merged

refactor: add component content model #5101

merged 2 commits into from
Apr 8, 2025

Conversation

TrySound
Copy link
Member

@TrySound TrySound commented Apr 7, 2025

Extended content model to support categories defined in component meta. Most components has transparent children categories to pass through constraints from parent, this way we allow descendants with non category.

Here migrated only core and base components.
Will extend more for animations in another PR.

@TrySound TrySound requested review from istarkov and kof April 7, 2025 08:27
Copy link
Member

@kof kof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't test

TrySound added 2 commits April 8, 2025 12:11
Extended content model to support categories defined in component meta.
Most components has transparent children categories to pass through
constraints from parent, this way we allow descendants with non category.

Here migrated only core and base components.
Will extend more for animations in another PR.
@TrySound TrySound merged commit 4b52aaa into main Apr 8, 2025
17 checks passed
@TrySound TrySound deleted the comp-content branch April 8, 2025 06:09
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.

2 participants