Skip to content

Commit 2061bc3

Browse files
mennovanslootenmatijs
authored andcommitted
fix(ComponentPage): restore component progress
1 parent 66955f3 commit 2061bc3

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"@nl-design-system-unstable/documentation": "workspace:*",
124124
"@nl-design-system-unstable/nlds-design-tokens": "workspace:*",
125125
"@nl-design-system-unstable/voorbeeld-design-tokens": "3.3.4",
126-
"@nl-design-system/component-progress": "1.0.1-alpha.114",
126+
"@nl-design-system/component-progress": "1.0.1-alpha.117",
127127
"@nl-design-system/eslint-config": "1.0.0",
128128
"@persoonlijke-regelingen-assistent/components-react": "1.0.0-alpha.152",
129129
"@playwright/test": "1.50.1",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/ComponentPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
import clsx from 'clsx';
1111
import { BrandIcon } from './BrandIcon';
1212
import { Card, CardContent, CardGroup } from './CardGroup';
13-
// import { ComponentProgress } from './ComponentProgress';
13+
import { ComponentProgress } from './ComponentProgress';
1414
import { EstafetteBadge } from './EstafetteBadge';
1515
import { InlineHeadingGroup } from './InlineHeadingGroup';
1616
import { TaskList, TaskListItem } from './TaskList';
@@ -94,11 +94,11 @@ export const Implementations = ({ component, headingLevel }: ComponentPageSectio
9494
<CardContent>
9595
<Heading level={headingLevel}>{project.title}</Heading>
9696
<Paragraph>
97-
{/* <ComponentProgress
97+
<ComponentProgress
9898
checked={project.progress.value}
9999
unchecked={project.progress.max - project.progress.value}
100100
/>
101-
{project.progress.value} van {project.progress.max} stappen gedocumenteerd op het{' '} */}
101+
{project.progress.value} van {project.progress.max} stappen gedocumenteerd op het{' '}
102102
<Link href={project.url}>{project.title} projectbord</Link>
103103
</Paragraph>
104104
{(links.length > 0 || frameworks.length > 0) && (

0 commit comments

Comments
 (0)