salt-ds icon indicating copy to clipboard operation
salt-ds copied to clipboard

Holistic solution to applying defaults

Open mark-tate opened this issue 6 months ago • 1 comments

Issue: Find Holistic Solution for Adding 'Bordered' Property to Components

Description:

We are in the process of adding a 'bordered' property to all components, but this approach has a high cost for the users of the components. We need to explore a more holistic solution that could involve default props or theming. Additionally, we want to ensure that this solution can be reused for other use-cases, such as icon switching.

Tasks:

Research and Analysis:

Investigate the current implementation of the 'bordered' property across components. Identify the pain points and high costs associated with the current approach.

Explore Solutions:

Evaluate the feasibility of using default props to manage the 'bordered' property. Consider implementing a theming solution that can handle the 'bordered' property globally. Assess the potential for these solutions to be extended to other use-cases, such as icon switching. Prototype and Testing:

Present the proposed solutions to the team for review.

### Deliverables:

  • Raise tickets to implement agreed solution

mark-tate avatar Aug 05 '24 11:08 mark-tate