Remove reliance on InlineList

This commit is contained in:
Marcus Blättermann 2022-11-13 18:35:57 +01:00
parent 0fe4f87072
commit c48c8d55e7
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D

View File

@ -65,7 +65,7 @@ import { Colors, Patterns } from 'widgets/styleguide'
## Typography {#typography}
import { H1, H2, H3, H4, H5, Label, InlineList } from 'components/typography'
import { H1, H2, H3, H4, H5, Label } from 'components/typography'
> #### Markdown
>
@ -179,13 +179,11 @@ new anymore. Setting `variant="model"` takes a description of model capabilities
and can be used to mark features that require a respective model to be
installed.
<InlineList>
<Tag>method</Tag> <Tag variant="new">4</Tag> <Tag variant="model">
tagger, parser
</Tag>
</InlineList>
<p>
<Tag>method</Tag>
<Tag variant="new">4</Tag>
<Tag variant="model">tagger, parser</Tag>
</p>
### Buttons {#buttons}
@ -200,25 +198,21 @@ Link buttons come in two variants, `primary` and `secondary` and two sizes, with
an optional `large` size modifier. Since they're mostly used as enhanced links,
the buttons are implemented as styled links instead of native button elements.
<InlineList>
<Button to="#" variant="primary">
Primary small
</Button>
<Button to="#" variant="secondary">
Secondary small
</Button>
</InlineList>
<p>
<Button to="#" variant="primary">Primary small</Button>
<br />
{' '}
<InlineList>
<Button to="#" variant="primary" large>
Primary large
</Button>
<Button to="#" variant="secondary" large>
Secondary large
</Button>
</InlineList>
<Button to="#" variant="secondary">Secondary small</Button>
</p>
<p>
<Button to="#" variant="primary">Primary small</Button>
{' '}
<Button to="#" variant="secondary">Secondary small</Button>
</p>
## Components