Update project status

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2024-11-28 18:42:55 +00:00
parent da1d5bbe8d
commit a7e2c1a43e
3 changed files with 13 additions and 7 deletions
+6 -6
View File
@@ -43,19 +43,19 @@ import { Columns, Text, ComponentStatus, Banner, Title } from './components';
/>
<ComponentStatus
name="Box component"
status="inProgress"
status="review"
link="/?path=/docs/components-box--docs"
/>
<ComponentStatus
name="Stack component"
status="review"
link="/?path=/docs/components-stack--default"
/>
<ComponentStatus
name="Inline component"
status="inProgress"
link="/?path=/story/components-inline--default"
/>
<ComponentStatus
name="Stack component"
status="inProgress"
link="/?path=/docs/components-stack--default"
/>
<ComponentStatus
name="Button component"
status="inProgress"
@@ -57,6 +57,11 @@ export const pill = recipe({
borderColor: '#FFD000',
color: '#D79927',
},
review: {
backgroundColor: '#D7F9D7',
borderColor: '#4ED14A',
color: '#3A9837',
},
done: {
backgroundColor: '#D7F9D7',
borderColor: '#4ED14A',
@@ -24,7 +24,7 @@ export const ComponentStatus = ({
link,
}: {
name: string;
status: 'notStarted' | 'inProgress' | 'done';
status: 'notStarted' | 'inProgress' | 'review' | 'done';
style?: React.CSSProperties;
link?: string;
}) => {
@@ -40,6 +40,7 @@ export const ComponentStatus = ({
<span className={pill({ status })}>
{status === 'notStarted' && 'Not Started'}
{status === 'inProgress' && 'In Progress'}
{status === 'review' && 'Ready for Review'}
{status === 'done' && 'Done'}
</span>
</div>