Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export const Text10 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetP
<Text
{...getTextSizes({forceMobileSizes, ...textProps.text10})}
weight={textPresets.text10.weight}
dataAttributes={{'component-name': 'Text10', ...dataAttributes}}
dataAttributes={{'component-name': 'Text10', testid: 'Text10', ...dataAttributes}}
{...props}
/>
);
Expand All @@ -308,7 +308,7 @@ export const Text9 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetPr
<Text
{...getTextSizes({forceMobileSizes, ...textProps.text9})}
weight={textPresets.text9.weight}
dataAttributes={{'component-name': 'Text9', ...dataAttributes}}
dataAttributes={{'component-name': 'Text9', testid: 'Text9', ...dataAttributes}}
{...props}
/>
);
Expand All @@ -320,7 +320,7 @@ export const Text8 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetPr
<Text
{...getTextSizes({forceMobileSizes, ...textProps.text8})}
weight={textPresets.text8.weight}
dataAttributes={{'component-name': 'Text8', ...dataAttributes}}
dataAttributes={{'component-name': 'Text8', testid: 'Text8', ...dataAttributes}}
{...props}
/>
);
Expand All @@ -332,7 +332,7 @@ export const Text7 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetPr
<Text
{...getTextSizes({forceMobileSizes, ...textProps.text7})}
weight={textPresets.text7.weight}
dataAttributes={{'component-name': 'Text7', ...dataAttributes}}
dataAttributes={{'component-name': 'Text7', testid: 'Text7', ...dataAttributes}}
{...props}
/>
);
Expand All @@ -344,7 +344,7 @@ export const Text6 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetPr
<Text
{...getTextSizes({forceMobileSizes, ...textProps.text6})}
weight={textPresets.text6.weight}
dataAttributes={{'component-name': 'Text6', ...dataAttributes}}
dataAttributes={{'component-name': 'Text6', testid: 'Text6', ...dataAttributes}}
{...props}
/>
);
Expand All @@ -356,7 +356,7 @@ export const Text5 = ({dataAttributes, forceMobileSizes, ...props}: TextPresetPr
<Text
{...getTextSizes({forceMobileSizes, ...textProps.text5})}
weight={textPresets.text5.weight}
dataAttributes={{'component-name': 'Text5', ...dataAttributes}}
dataAttributes={{'component-name': 'Text5', testid: 'Text5', ...dataAttributes}}
{...props}
/>
);
Expand All @@ -366,7 +366,7 @@ export const Text4 = ({dataAttributes, forceMobileSizes, ...props}: LightRegular
<Text
{...getTextSizes({forceMobileSizes, ...textProps.text4})}
weight={getWeight(props)}
dataAttributes={{'component-name': 'Text4', ...dataAttributes}}
dataAttributes={{'component-name': 'Text4', testid: 'Text4', ...dataAttributes}}
{...props}
/>
);
Expand All @@ -375,7 +375,7 @@ export const Text3 = ({dataAttributes, forceMobileSizes, ...props}: LightRegular
<Text
{...getTextSizes({forceMobileSizes, ...textProps.text3})}
weight={getWeight(props)}
dataAttributes={{'component-name': 'Text3', ...dataAttributes}}
dataAttributes={{'component-name': 'Text3', testid: 'Text3', ...dataAttributes}}
{...props}
/>
);
Expand All @@ -384,7 +384,7 @@ export const Text2 = ({dataAttributes, forceMobileSizes, ...props}: RegularMediu
<Text
{...getTextSizes({forceMobileSizes, ...textProps.text2})}
weight={getWeight(props)}
dataAttributes={{'component-name': 'Text2', ...dataAttributes}}
dataAttributes={{'component-name': 'Text2', testid: 'Text2', ...dataAttributes}}
{...props}
/>
);
Expand All @@ -393,7 +393,7 @@ export const Text1 = ({dataAttributes, forceMobileSizes, ...props}: RegularMediu
<Text
{...getTextSizes({forceMobileSizes, ...textProps.text1})}
weight={getWeight(props)}
dataAttributes={{'component-name': 'Text1', ...dataAttributes}}
dataAttributes={{'component-name': 'Text1', testid: 'Text1', ...dataAttributes}}
{...props}
/>
);
Expand Down
Loading