-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from abusix/pla-996-hailstorm-fix-inline-link…
…-css-style Pla 996 hailstorm fix inline link css style
- Loading branch information
Showing
4 changed files
with
199 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,196 @@ | ||
import type { Meta, StoryObj } from "@storybook/react"; | ||
import React from "react"; | ||
import { TableUnvirtualized } from "../components/table-unvirtualized/table-unvirtualized"; | ||
|
||
const meta: Meta = { | ||
title: "Global CSS Style Classes", | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<object>; | ||
|
||
export const Headlines: Story = { | ||
render: () => ( | ||
<div className="flex flex-col gap-4"> | ||
<h3 className="headline-700">Headline Styles</h3> | ||
|
||
<TableUnvirtualized> | ||
<TableUnvirtualized.Header> | ||
<TableUnvirtualized.Header.Row> | ||
<TableUnvirtualized.Header.Cell>ClassName</TableUnvirtualized.Header.Cell> | ||
<TableUnvirtualized.Header.Cell>Example</TableUnvirtualized.Header.Cell> | ||
</TableUnvirtualized.Header.Row> | ||
</TableUnvirtualized.Header> | ||
|
||
<TableUnvirtualized.Body> | ||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>headline-100</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<h1 className="headline-100"> | ||
The quick brown fox jumps over the lazy dog | ||
</h1> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
|
||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>headline-200</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<h1 className="headline-200"> | ||
The quick brown fox jumps over the lazy dog | ||
</h1> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
|
||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>headline-300</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<h1 className="headline-300"> | ||
The quick brown fox jumps over the lazy dog | ||
</h1> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
|
||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>headline-400</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<h1 className="headline-400"> | ||
The quick brown fox jumps over the lazy dog | ||
</h1> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
|
||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>headline-500</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<h1 className="headline-500"> | ||
The quick brown fox jumps over the lazy dog | ||
</h1> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
|
||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>headline-600</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<h1 className="headline-600"> | ||
The quick brown fox jumps over the lazy dog | ||
</h1> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
|
||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>headline-700</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<h1 className="headline-700"> | ||
The quick brown fox jumps over the lazy dog | ||
</h1> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
|
||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>headline-800</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<h1 className="headline-800"> | ||
The quick brown fox jumps over the lazy dog | ||
</h1> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
|
||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>headline-900</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<h1 className="headline-900"> | ||
The quick brown fox jumps over the lazy dog | ||
</h1> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
</TableUnvirtualized.Body> | ||
</TableUnvirtualized> | ||
</div> | ||
), | ||
}; | ||
|
||
export const Paragraphs: Story = { | ||
render: () => ( | ||
<div className="flex flex-col gap-4"> | ||
<h3 className="headline-700">Paragraph Styles</h3> | ||
|
||
<TableUnvirtualized> | ||
<TableUnvirtualized.Header> | ||
<TableUnvirtualized.Header.Row> | ||
<TableUnvirtualized.Header.Cell>ClassName</TableUnvirtualized.Header.Cell> | ||
<TableUnvirtualized.Header.Cell>Example</TableUnvirtualized.Header.Cell> | ||
</TableUnvirtualized.Header.Row> | ||
</TableUnvirtualized.Header> | ||
|
||
<TableUnvirtualized.Body> | ||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>paragraph-100</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<p className="paragraph-100"> | ||
The quick brown fox jumps over the lazy dog | ||
</p> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
|
||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>paragraph-200</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<p className="paragraph-200"> | ||
The quick brown fox jumps over the lazy dog | ||
</p> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
|
||
<TableUnvirtualized.Body.Row> | ||
<TableUnvirtualized.Body.Cell> | ||
<pre>paragraph-300</pre> | ||
</TableUnvirtualized.Body.Cell> | ||
<TableUnvirtualized.Body.Cell> | ||
<p className="paragraph-300"> | ||
The quick brown fox jumps over the lazy dog | ||
</p> | ||
</TableUnvirtualized.Body.Cell> | ||
</TableUnvirtualized.Body.Row> | ||
</TableUnvirtualized.Body> | ||
</TableUnvirtualized> | ||
</div> | ||
), | ||
}; | ||
|
||
export const InlineLink: Story = { | ||
render: () => ( | ||
<div className="flex flex-col gap-4"> | ||
<h3 className="headline-700 font-mono">inline-link</h3> | ||
|
||
<p className="paragraph-200"> | ||
<a href="https://abusix.com" className="inline-link"> | ||
Be or not to be, | ||
</a>{" "} | ||
that is the question: Whether ’tis nobler in the mind to suffer The slings and | ||
arrows of outrageous fortune, … | ||
</p> | ||
</div> | ||
), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters