Skip to content

Commit

Permalink
Fix title and change column order
Browse files Browse the repository at this point in the history
  • Loading branch information
imagoiq committed Mar 11, 2024
1 parent 2783b2b commit 4d57ef4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import './list-component';

<Meta of={IntroductionStories} />

# Getting started
# Introduction

Welcome to the Swiss post design system world!

Expand All @@ -19,23 +19,27 @@ The design-system is formed with several packages and different compatibilities
<table className="table table-bordered">
<caption className="visually-hidden">Compatibilities between components and frameworks and which package is needed</caption>
<colgroup>
<col style={{width: '15%'}}/>
<col style={{width: '25%'}}/>
<col style={{width: '15%'}}/>
<col style={{width: '20%'}}/>
<col style={{width: '20%'}}/>
<col style={{width: '20%'}} />
</colgroup>
<thead>
<tr>
<th scope="col">Base + …</th>
<th scope="col">Component</th>
<th scope="col">JavaScript</th>
<th scope="col">Base + …</th>
<th scope="col">JavaScript (Vanilla)</th>
<th scope="col">Angular</th>
<th scope="col">React</th>
</tr>
</thead>
<tbody>
<tr>
<td scope="row">
Internet-header:
<list-component packageType={PackageType.InternetHeader}></list-component>
</td>
<td rowSpan="0">
{[packages.find(pkg => pkg.name === 'Styles')].map((p => (
<ti-le title={p.name} href={p.link.docs.href} ariaLabel={p.link.docs.ariaLabel} key={p.name}>
Expand All @@ -44,10 +48,6 @@ The design-system is formed with several packages and different compatibilities
</ti-le>
)))}
</td>
<td>
Internet-header:
<list-component packageType={PackageType.InternetHeader}></list-component>
</td>
<td colSpan="2">
<div style={{ display:'flex', justifyContent: 'center' }}>
{[packages.find(pkg => pkg.name === 'Internet-Header')].map((p => (
Expand All @@ -61,7 +61,7 @@ The design-system is formed with several packages and different compatibilities
<td>TBD</td>
</tr>
<tr>
<td>Intranet-header</td>
<td scope="row">Intranet-header</td>
<td>N/A</td>
<td>
{[packages.find(pkg => pkg.name === 'Intranet-Header')].map((p => (
Expand All @@ -74,7 +74,7 @@ The design-system is formed with several packages and different compatibilities
<td >N/A</td>
</tr>
<tr>
<td>
<td scope="row">
Web Components:
<list-component packageType={PackageType.Wc}></list-component>
</td>
Expand All @@ -97,7 +97,7 @@ The design-system is formed with several packages and different compatibilities
<td>TBD</td>
</tr>
<tr>
<td>
<td scope="row">
Angular components:
<list-component packageType={PackageType.Angular}></list-component>
</td>
Expand All @@ -108,7 +108,7 @@ The design-system is formed with several packages and different compatibilities
<td >N/A</td>
</tr>
<tr>
<td>
<td scope="row">
HTML components:
<list-component packageType={PackageType.Html}></list-component>
</td>
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d57ef4

Please sign in to comment.