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] Update Design Mixins to Host Directives #2911

Closed
8 tasks done
xelaint opened this issue Jul 12, 2024 · 0 comments
Closed
8 tasks done

[FEAT] Update Design Mixins to Host Directives #2911

xelaint opened this issue Jul 12, 2024 · 0 comments
Assignees
Labels
feat a new feature, enhancement, or improvement package: design @daffodil/design
Milestone

Comments

@xelaint
Copy link
Member

xelaint commented Jul 12, 2024

💡 Feature request

Feature Name

Update Design Mixins to Host Directives

The Desired Behavior

Update core design mixins to host directives instead. This simplifies the implementation process of our commonly used input properties. Eliminates the needs to construct ElementRef and Renderer in every component that uses core properties.

  • daffArticleEncapsulatedMixin
  • daffColorMixin
  • daffCompactableMixin
  • daffManageContainerLayoutMixin
  • daffSizeMixin
  • daffSkeletonableMixin
  • daffStatusMixin
  • daffTextAlignmentMixin

Your Use Case

As a developer, I would like the implementation process for design's core properties to be simpler.

Prior Work

https://angular.dev/guide/directives/directive-composition-api

Environment


Daffodil version: X.Y.Z
Angular version: X.Y.Z 

 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat a new feature, enhancement, or improvement package: design @daffodil/design
Projects
None yet
Development

No branches or pull requests

1 participant