Skip to content
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

feat(design)!: change daffArticleEncapsulatedMixin to a directive #2913

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

xelaint
Copy link
Member

@xelaint xelaint commented Jul 16, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

An ElementRef and Renderer need to be constructed for the daffArticleEncapsulatedMixin to be extendable or usable in a component.

Part of: #2911

What is the new behavior?

Removed daffArticleEncapsulatedMixin in favor of DaffArticleEncapsulatedDirective so that a component can use the directive by adding it as a hostDirective. This reduces code complexity.

Does this PR introduce a breaking change?

[x] Yes
[ ] No

BREAKING CHANGE: daffArticleEncapsulatedMixin has been removed in favor of DaffArticleEncapsulatedDirective. Update usage by using the hostDirective feature.

Other information

@damienwebdev damienwebdev force-pushed the article-encapsulated-mixin-to-directive branch from 76a28e8 to fd017a7 Compare July 30, 2024 15:28
@damienwebdev damienwebdev merged commit b00d1e1 into develop Jul 30, 2024
4 checks passed
@damienwebdev damienwebdev deleted the article-encapsulated-mixin-to-directive branch July 30, 2024 15:33
@gray-bot gray-bot mentioned this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 breaking changes This PR or issue will cause a breaking change package: design @daffodil/design status: awaiting review This PR is awaiting review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants