feat: Creating a new button component
As part of the design effort to unify the developer and UX designer documentation and create easier designer/developer handoff, we are creating a new gl-button
component that will eventually replace the current component once it is thoroughly completed.
This merge request is simply creating the new button component with the proper prop
attributes that align with the pajamas design system. (See the discussion on this topic)
No styling is changed for this merge request, it is to simply create a new component to prepare for future efforts.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64873
Attributes (props)
- category
- tertiary (default)
- primary
- secondary
- variant
- default (default)
- success
- info
- danger
- warning
- dashed
- link
- disabled
- false (default)
- true
- size
- small
- medium
- block (full-width)
- false (default)
- true
Edited by Scott Hampton