Skip to content

Commit

Permalink
add tooltip to headings
Browse files Browse the repository at this point in the history
  • Loading branch information
yceballost committed Jan 13, 2025
1 parent 1706021 commit bdf3bab
Showing 1 changed file with 55 additions and 4 deletions.
59 changes: 55 additions & 4 deletions src/pages/mistica-product-status/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import {
ResponsiveLayout,
Stack,
skinVars,
Tooltip,
IconInformationRegular,
} from "@telefonica/mistica";

const ProductStatus = () => {
Expand Down Expand Up @@ -371,10 +373,59 @@ const ProductStatus = () => {
heading={[
"",
"Country",
"Design guidelines",
"Design libraries",
"Code libraries",
"Production",
<Inline space={8} alignItems="center">
Design guidelines
<Tooltip
delay={false}
target={
<IconInformationRegular
size={12}
color={skinVars.colors.neutralMedium}
/>
}
description="Applies the visual style of the design system but does not use its components or the full system."
/>
</Inline>,
<Inline space={8} alignItems="center">
Design libraries
<Tooltip
delay={false}
target={
<IconInformationRegular
size={12}
color={skinVars.colors.neutralMedium}
/>
}
description="Uses the provided design libraries but is not implemented in code."
/>
</Inline>,

<Inline space={8} alignItems="center">
Code libraries
<Tooltip
delay={false}
target={
<IconInformationRegular
size={12}
color={skinVars.colors.neutralMedium}
/>
}
description="Implements the design system libraries in code for development."
/>
</Inline>,
<Inline space={8} alignItems="center">
Production
<Tooltip
delay={false}
target={
<IconInformationRegular
size={12}
color={skinVars.colors.neutralMedium}
/>
}
description="The product is live and uses the design system in production."
/>
</Inline>,
]}
columnTextAlign={columnAlign}
content={components.map((component) => ({
Expand Down

0 comments on commit bdf3bab

Please sign in to comment.