Create a reusable Text component for the shared UI component library. The component should implement the typography and design standards outlined in the Audit and Insight Report FigJam. This task is part of the migration to the new shared UI component library, ensuring consistency with the conventions set by existing components.
Technical Details
Component should be built using React and TypeScript.
Follow BEM methodology and ensure compatibility with styled-components.
Ensure the component adheres to a12y guidelines for text accessibility.
Props to include: variant, color, size, align, weight, line-height, and custom-class.
Integrate unit tests using Jest and React Testing Library.
Review component alignment with the global typography standards from the FigJam report.
Acceptance Criteria
The Text component should match the design specs in the FigJam report.
It should support various text types such as headings, paragraphs, captions, etc.
Create a reusable
Text
component for the shared UI component library. The component should implement the typography and design standards outlined in the Audit and Insight Report FigJam. This task is part of the migration to the new shared UI component library, ensuring consistency with the conventions set by existing components.Technical Details
variant
,color
,size
,align
,weight
,line-height
, andcustom-class
.Acceptance Criteria
Text
component should match the design specs in the FigJam report.References