Skip to content

Commit deba7e9

Browse files
authored
fix: empty state title sentiment (#5772)
1 parent 6e8d4e1 commit deba7e9

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.changeset/metal-teeth-change.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ultraviolet/ui": patch
3+
---
4+
5+
`EmptyState`: fix sentiment on title

packages/ui/src/components/EmptyState/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ exports[`emptySpace > should work with title 1`] = `
329329
class="styles__toi52u0 styles_alignItems_center_xxsmall__toi52u3d styles_flexDirection_column_xxsmall__toi52u2d styles_flexWrap_nowrap_xxsmall__toi52u7d styles_gap_0.25rem_xxsmall__toi52u1v styles_justifyContent_normal_xxsmall__toi52u5d"
330330
>
331331
<h2
332-
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_prominence_strong__m4c9owj style_variant_headingSmall__m4c9ow15 style_disabled_false__m4c9ow1b style_undefined_compound_73__m4c9ow3d"
332+
class="style__m4c9ow0 style_strikeThrough_false__m4c9ow2 style_italic_false__m4c9ow4 style_underline_false__m4c9ow6 style_oneLine_false__m4c9ow8 style_sentiment_neutral__m4c9owb style_prominence_strong__m4c9owj style_variant_headingSmall__m4c9ow15 style_disabled_false__m4c9ow1b style_undefined_compound_25__m4c9ow21 style_undefined_compound_73__m4c9ow3d"
333333
style="--qabug40: center;"
334334
>
335335
test

packages/ui/src/components/EmptyState/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export const EmptyState = ({
7575
as="h2"
7676
placement="center"
7777
prominence="strong"
78+
sentiment="neutral"
7879
variant={size === 'small' ? 'bodyStrong' : 'headingSmall'}
7980
>
8081
{title}

0 commit comments

Comments
 (0)