From eaa447d5e064590aa1e44d2e6cd32d99378613d6 Mon Sep 17 00:00:00 2001
From: Ashleigh Simonelli
Date: Wed, 6 Mar 2024 17:39:10 +0000
Subject: [PATCH] feat: #22 adds semantic typography tags (#51)
* feat: #22 adds semantic typography tags
* refactor: added tagged component for layout components
* chore: changed extending of interface
* chore: linting
* docs: added changelog entry
* fix: remove deprecated element components
* chore: remove unused import
* feat: added tests for layout components with tag property
* feat: added typography tests for tagged typography abstract component
---------
Co-authored-by: Will McVay
---
.../__snapshots__/breadcrumb.test.tsx.snap | 152 +-
.../__snapshots__/file-input.test.tsx.snap | 252 +-
.../key-value-list.test.tsx.snap | 5288 ++++++++++++++++-
src/components/layout/__styles__/index.ts | 8 +-
.../__snapshots__/layout.test.tsx.snap | 232 +-
.../layout/__tests__/layout.test.tsx | 37 +-
src/components/layout/layout.tsx | 91 +-
.../page-header/__styles__/index.ts | 8 +-
.../__snapshots__/page-header.test.tsx.snap | 1164 +++-
src/components/typography/__styles__/index.ts | 16 +-
.../__snapshots__/typography.test.tsx.snap | 5010 +++++++++++++++-
.../typography/__tests__/typography.test.tsx | 35 +
src/components/typography/typography.mdx | 8 +
.../typography/typography.stories.tsx | 15 +
src/components/typography/typography.tsx | 177 +-
src/storybook/changelog.mdx | 1 +
16 files changed, 11818 insertions(+), 676 deletions(-)
diff --git a/src/components/breadcrumb/__tests__/__snapshots__/breadcrumb.test.tsx.snap b/src/components/breadcrumb/__tests__/__snapshots__/breadcrumb.test.tsx.snap
index da9f1ae1..106e3faf 100644
--- a/src/components/breadcrumb/__tests__/__snapshots__/breadcrumb.test.tsx.snap
+++ b/src/components/breadcrumb/__tests__/__snapshots__/breadcrumb.test.tsx.snap
@@ -8,8 +8,21 @@ exports[`BreadCrumb should match a snapshot 1`] = `
-
@@ -18,9 +31,22 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Home
-
-
@@ -42,9 +68,22 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Level 1
-
-
@@ -66,9 +105,22 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Level 2
-
-
@@ -90,7 +142,7 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Level 3
-
+
-
@@ -29,18 +42,117 @@ exports[`FileInput component should match a snapshot 1`] = `
id="test-static-id"
/>
Upload File
-
+