Skip to content

Commit

Permalink
feat: #22 adds semantic typography tags (#51)
Browse files Browse the repository at this point in the history
* 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 <wmcvay@reapit.com>
  • Loading branch information
bashleigh and willmcvay authored Mar 6, 2024
1 parent 00c8200 commit eaa447d
Show file tree
Hide file tree
Showing 16 changed files with 11,818 additions and 676 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,21 @@ exports[`BreadCrumb should match a snapshot 1`] = `
<mock-styled.div
aria-label="Breadcrumb"
>
<mock-styled.div
classname="mock-css.
<div
class="mock-css.
display: flex;
min-height: 0;
min-width: 0;
&., {
background: var(--color-grey-50);
}
&., {
max-width: 1200px;
margin: 0 auto;
}
mock-css.
align-items: center;
"
>
Expand All @@ -18,9 +31,22 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Home
</mock-styled.a>
</mock-styled.div>
<mock-styled.div
classname="mock-css.
</div>
<div
class="mock-css.
display: flex;
min-height: 0;
min-width: 0;
&., {
background: var(--color-grey-50);
}
&., {
max-width: 1200px;
margin: 0 auto;
}
mock-css.
align-items: center;
"
>
Expand All @@ -42,9 +68,22 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Level 1
</mock-styled.a>
</mock-styled.div>
<mock-styled.div
classname="mock-css.
</div>
<div
class="mock-css.
display: flex;
min-height: 0;
min-width: 0;
&., {
background: var(--color-grey-50);
}
&., {
max-width: 1200px;
margin: 0 auto;
}
mock-css.
align-items: center;
"
>
Expand All @@ -66,9 +105,22 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Level 2
</mock-styled.a>
</mock-styled.div>
<mock-styled.div
classname="mock-css.
</div>
<div
class="mock-css.
display: flex;
min-height: 0;
min-width: 0;
&., {
background: var(--color-grey-50);
}
&., {
max-width: 1200px;
margin: 0 auto;
}
mock-css.
align-items: center;
"
>
Expand All @@ -90,16 +142,29 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Level 3
</mock-styled.a>
</mock-styled.div>
</div>
</mock-styled.div>
</div>
</body>,
"container": <div>
<mock-styled.div
aria-label="Breadcrumb"
>
<mock-styled.div
classname="mock-css.
<div
class="mock-css.
display: flex;
min-height: 0;
min-width: 0;
&., {
background: var(--color-grey-50);
}
&., {
max-width: 1200px;
margin: 0 auto;
}
mock-css.
align-items: center;
"
>
Expand All @@ -108,9 +173,22 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Home
</mock-styled.a>
</mock-styled.div>
<mock-styled.div
classname="mock-css.
</div>
<div
class="mock-css.
display: flex;
min-height: 0;
min-width: 0;
&., {
background: var(--color-grey-50);
}
&., {
max-width: 1200px;
margin: 0 auto;
}
mock-css.
align-items: center;
"
>
Expand All @@ -132,9 +210,22 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Level 1
</mock-styled.a>
</mock-styled.div>
<mock-styled.div
classname="mock-css.
</div>
<div
class="mock-css.
display: flex;
min-height: 0;
min-width: 0;
&., {
background: var(--color-grey-50);
}
&., {
max-width: 1200px;
margin: 0 auto;
}
mock-css.
align-items: center;
"
>
Expand All @@ -156,9 +247,22 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Level 2
</mock-styled.a>
</mock-styled.div>
<mock-styled.div
classname="mock-css.
</div>
<div
class="mock-css.
display: flex;
min-height: 0;
min-width: 0;
&., {
background: var(--color-grey-50);
}
&., {
max-width: 1200px;
margin: 0 auto;
}
mock-css.
align-items: center;
"
>
Expand All @@ -180,7 +284,7 @@ exports[`BreadCrumb should match a snapshot 1`] = `
>
Level 3
</mock-styled.a>
</mock-styled.div>
</div>
</mock-styled.div>
</div>,
"debug": [Function],
Expand Down
Loading

0 comments on commit eaa447d

Please sign in to comment.