Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/tet 304/storybook update #70

Merged
merged 41 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
7024aae
feat: TET-169 Badge docs component
wleklinskimateusz Aug 30, 2023
a92e87b
Merge branch 'development' into feat/TET-132/storybook-docs
wleklinskimateusz Sep 4, 2023
f049a92
Merge branch 'development' into feat/TET-132/storybook-docs
wleklinskimateusz Sep 4, 2023
6e23bf6
feat: TET-170 add Button helper functions
wleklinskimateusz Sep 15, 2023
6e7f768
feat: TET-170 add all configuration of buttons to docs
wleklinskimateusz Sep 15, 2023
927a81f
chore: NO-JIRA Merge branch 'development' into feat/TET-132/storybook…
wleklinskimateusz Sep 15, 2023
ac804a8
feat: TET-170 finish styling Button docs
wleklinskimateusz Sep 17, 2023
5045afd
feat: TET-171 add ChcekboxDocs and create Section
wleklinskimateusz Sep 17, 2023
6b66da9
fix: TET-170 fix styling in ButtonDocs
wleklinskimateusz Sep 18, 2023
f79c238
fix: TET-169 fix BadgeDocs styling bug
wleklinskimateusz Sep 18, 2023
763928b
fix: TET-168 fix AvatarDocs styling bug
wleklinskimateusz Sep 18, 2023
e7ad3d4
feat: TET-170 CheckboxDocs ready
wleklinskimateusz Sep 18, 2023
5924a82
feat: TET-171 add States to CheckboxDocs
wleklinskimateusz Sep 18, 2023
800be33
feat: TET-303 add header to each component, create files for each com…
wleklinskimateusz Sep 18, 2023
8022693
feat: TET-319 create CheckboxGroupDocs
wleklinskimateusz Sep 19, 2023
ae6d227
feat: TET-320 add HelperTextDocs
wleklinskimateusz Sep 19, 2023
a72d1de
feat: TET-321 add StatusDotDocs
wleklinskimateusz Sep 19, 2023
973a242
fix: NO-JIRA remove emphases object from BadgeProps
wleklinskimateusz Sep 19, 2023
479b3a0
fix: NO-JIRA add key to a maping
wleklinskimateusz Sep 19, 2023
f6bb9c5
fix: NO-JIRA add key to States component
wleklinskimateusz Sep 19, 2023
a56fd4e
feat: TET-303: add empty SocialButtonDocs
wleklinskimateusz Sep 19, 2023
06f222d
fix: NO-JIRA: remove docs link from SocialButton
wleklinskimateusz Sep 19, 2023
03aed4f
fix: NO-JIRA fix lint error
wleklinskimateusz Sep 19, 2023
38d0c30
feat: TET-322 add AlertBanner to Docs
wleklinskimateusz Sep 19, 2023
db68851
feat: TET-323
wleklinskimateusz Sep 19, 2023
cd4223f
fix: NO-JIRA delete DividerDocs and LabelDocs
wleklinskimateusz Sep 19, 2023
9c2e833
chore: NO-JIRA refactor ButtonDocs component
wleklinskimateusz Sep 19, 2023
88f0c05
feat: TET-325 create IconButtonDocs
wleklinskimateusz Sep 20, 2023
0264a61
feat: TET-326 create InlineBannerDocs
wleklinskimateusz Sep 22, 2023
80e33dc
feat: TET-327 add inline message docs
wleklinskimateusz Sep 22, 2023
b0270af
feat: TET-328 add InlineSearchInputDocs
wleklinskimateusz Sep 22, 2023
18b3044
feat: TET-331 add Popover Docs
wleklinskimateusz Sep 22, 2023
3f9d061
feat: TET-330 Add LoaderDocs, update Hero Section
wleklinskimateusz Sep 25, 2023
9a5a4a9
feat: TET-332 add RadioButtonDocs
wleklinskimateusz Sep 25, 2023
304511b
feat: TET-333 add RadioButtonDocs
wleklinskimateusz Sep 25, 2023
bc3be3c
feat: TET-334 SearchInputDocs added
wleklinskimateusz Sep 25, 2023
1b04461
feat: TET-304 visual corrections
wleklinskimateusz Sep 27, 2023
c0ab4c1
fix: TET-304 correct BadgeDocs
wleklinskimateusz Sep 27, 2023
5ea5252
feat: TET-304 update storybook
wleklinskimateusz Sep 28, 2023
626226f
Merge branch 'development' into feat/TET-304/storybook-update
mwleklinski Sep 28, 2023
63ca043
fix: TET-304 fix lint problems
wleklinskimateusz Sep 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/docs-components/ButtonDocs/ButtonDocs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const ButtonDocs: FC = () => (
<>
{variants.map((variant) => (
<tet.section key={variant} display="flex" pt="500" flexDirection="column">
<SectionHeader variant="Hero" as="h2">
<SectionHeader variant="Hero" as="h2" px="1000">
{startCase(variant)}
</SectionHeader>
{getButtonAppearances(variant).map((appearance) => (
Expand Down
2 changes: 1 addition & 1 deletion src/docs-components/CounterDocs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const appearances = [
export const CounterDocs = () => (
<>
{emphases.map((emphasis) => (
<tet.section key={emphasis} py="500">
<tet.section key={emphasis} py="500" px="1000">
<SectionHeader variant="H1" as="h2">
{capitalize(emphasis)} Emphasis
<tet.div py="500">
Expand Down
8 changes: 4 additions & 4 deletions src/docs-components/InlineMessageDocs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ const intents = ['informative', 'success', 'warning', 'negative'] as const;
export const InlineMessageDocs = () => (
<>
{intents.map((intent) => (
<tet.section key={intent}>
<SectionHeader variant="H1" as="h2">
<tet.section key={intent} px="1000" py="500">
<SectionHeader variant="H1" as="h2" py="500">
Intent: {capitalize(intent)}
</SectionHeader>
<Cols>
<tet.div>
<SectionHeader variant="H2" as="h3">
<SectionHeader variant="H2" as="h3" py="500">
Description: Yes
</SectionHeader>
<InlineMessage
Expand All @@ -27,7 +27,7 @@ export const InlineMessageDocs = () => (
/>
</tet.div>
<tet.div>
<SectionHeader variant="H2" as="h3">
<SectionHeader variant="H2" as="h3" py="500">
Description: No
</SectionHeader>
<InlineMessage intent={intent} title="Title" />
Expand Down