Closed natalia-fitzgerald closed 11 months ago
@meissadia Here's a checklist of Design System button components that have/have not been brought into the component library:
Button as link and button as destructive link may be more appropriate in the links section. In the button section the link is shown in a DS section called "Destructive actions" and includes both the button and the link. The button is the action and the link is the destructive action. If we decide we want to include it in the Buttons section we should show it paired with the blue button and label it as "Destructive action." The destructive link on it's own appears in the Links section of the Design System.
Other points of emphasis
@natalia-fitzgerald Re: Destructive link/button
They are different HTML elements but use the same CSS classes to style them.
Based on the elemental difference I'd say that they would be separate components.
I've gone ahead an implemented the Destructive action variant as a button.
Buttons
Tracking the design and development lifecycle of the button component.
Related links:
Effort level: Large
(Levels: Small, Medium, Large, Extra Large)
Definition of ready
Checklist
Definition of ready questionnaire:
Identify the use case:
Identify the current state:
[X] The component already exist in the CFPB Design System
[ ] The component does not exist in the CFPB Design System but does exist on cf.gov
[ ] The component does not exist in the CFPB Design System or on cf.gov (but has an identified use case and is being tracked as part of the SBL or M2 work)
Indicate which types we will include in the React component library.
Types
Sizes
Groups
Buttons with icons
Definition of done
Component is fully functional
Accessibility checks have been completed
For existing components:
For new components:
Final sign off