Skip to content

Commit

Permalink
fixup! feat(web): Introduce unstable_EmptyState component #DS-1308
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Jun 4, 2024
1 parent 772bacd commit 9939f46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# UNSTABLE EmptyState

⚠️ This component is UNSTABLE and there could be breaking changes in the future. Please use it with caution.

Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,14 @@ <h2 class="docs-Heading">Default</h2>
<div class="UNSTABLE_EmptyState">
<div class="UNSTABLE_EmptyState__wrapper">
<div class="UNSTABLE_EmptyState__icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" id="129e8c3401bb36c9f1b5d17427c6e268" aria-hidden="true">
<path d="M15.5 14H14.71L14.43 13.73C15.63 12.33 16.25 10.42 15.91 8.39002C15.44 5.61002 13.12 3.39002 10.32 3.05002C6.09001 2.53002 2.53002 6.09001 3.05002 10.32C3.39002 13.12 5.61002 15.44 8.39002 15.91C10.42 16.25 12.33 15.63 13.73 14.43L14 14.71V15.5L18.25 19.75C18.66 20.16 19.33 20.16 19.74 19.75C20.15 19.34 20.15 18.67 19.74 18.26L15.5 14ZM9.50002 14C7.01002 14 5.00002 11.99 5.00002 9.50002C5.00002 7.01002 7.01002 5.00002 9.50002 5.00002C11.99 5.00002 14 7.01002 14 9.50002C14 11.99 11.99 14 9.50002 14Z" fill="currentColor"></path>
</svg>

<svg width="24" height="24" fill="none" viewBox="0 0 24 24" aria-hidden="true"><use href="/assets/icons/svg/sprite.svg#search"></use></svg>
</div>
<div>
<h2 data-test-empty-tile="h2" class="typography-heading-xsmall-text">Empty State Title</h2>
<p class="typography-body-medium-text-regular">Look somewhere else</p>
</div>
</div>
<div class="UNSTABLE_EmptyState__content">
Custom content
</div>
<div class="UNSTABLE_EmptyState__content">Custom content</div>
</div>


Expand Down

0 comments on commit 9939f46

Please sign in to comment.