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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Update Design Mixins to Host Directives #2911

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

[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:

@xelaint xelaint added feat a new feature, enhancement, or improvement package: design @daffodil/design labels Jul 12, 2024
@xelaint xelaint added this to the Daffodil v1.0 milestone Jul 12, 2024
@xelaint xelaint self-assigned this Jul 12, 2024
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