diff --git a/src/runtime/components/Avatar.vue b/src/runtime/components/Avatar.vue index e909ea834b..9a6683777a 100644 --- a/src/runtime/components/Avatar.vue +++ b/src/runtime/components/Avatar.vue @@ -83,10 +83,10 @@ const sizePx = computed(() => ({ :class="ui.image({ class: props.ui?.image })" /> - + - {{ fallback }} + {{ fallback || ' ' }} diff --git a/test/components/__snapshots__/Alert-vue.spec.ts.snap b/test/components/__snapshots__/Alert-vue.spec.ts.snap index b4b3ea8300..35d2d1f4d4 100644 --- a/test/components/__snapshots__/Alert-vue.spec.ts.snap +++ b/test/components/__snapshots__/Alert-vue.spec.ts.snap @@ -13,7 +13,7 @@ exports[`Alert > renders with as correctly 1`] = ` `; exports[`Alert > renders with avatar correctly 1`] = ` -"
+"
 
Alert
diff --git a/test/components/__snapshots__/Alert.spec.ts.snap b/test/components/__snapshots__/Alert.spec.ts.snap index 612f4fc71a..7d771cb59f 100644 --- a/test/components/__snapshots__/Alert.spec.ts.snap +++ b/test/components/__snapshots__/Alert.spec.ts.snap @@ -13,7 +13,7 @@ exports[`Alert > renders with as correctly 1`] = ` `; exports[`Alert > renders with avatar correctly 1`] = ` -"
+"
 
Alert
diff --git a/test/components/__snapshots__/Avatar-vue.spec.ts.snap b/test/components/__snapshots__/Avatar-vue.spec.ts.snap index 7f0cd4bffe..45f36e123b 100644 --- a/test/components/__snapshots__/Avatar-vue.spec.ts.snap +++ b/test/components/__snapshots__/Avatar-vue.spec.ts.snap @@ -4,36 +4,36 @@ exports[`Avatar > renders with alt correctly 1`] = `" - +   " `; -exports[`Avatar > renders with class correctly 1`] = `""`; +exports[`Avatar > renders with class correctly 1`] = `" "`; exports[`Avatar > renders with default slot correctly 1`] = `"🇫🇷"`; exports[`Avatar > renders with icon correctly 1`] = `""`; -exports[`Avatar > renders with size 2xl correctly 1`] = `""`; +exports[`Avatar > renders with size 2xl correctly 1`] = `" "`; -exports[`Avatar > renders with size 2xs correctly 1`] = `""`; +exports[`Avatar > renders with size 2xs correctly 1`] = `" "`; -exports[`Avatar > renders with size 3xl correctly 1`] = `""`; +exports[`Avatar > renders with size 3xl correctly 1`] = `" "`; -exports[`Avatar > renders with size 3xs correctly 1`] = `""`; +exports[`Avatar > renders with size 3xs correctly 1`] = `" "`; -exports[`Avatar > renders with size lg correctly 1`] = `""`; +exports[`Avatar > renders with size lg correctly 1`] = `" "`; -exports[`Avatar > renders with size md correctly 1`] = `""`; +exports[`Avatar > renders with size md correctly 1`] = `" "`; -exports[`Avatar > renders with size sm correctly 1`] = `""`; +exports[`Avatar > renders with size sm correctly 1`] = `" "`; -exports[`Avatar > renders with size xl correctly 1`] = `""`; +exports[`Avatar > renders with size xl correctly 1`] = `" "`; -exports[`Avatar > renders with size xs correctly 1`] = `""`; +exports[`Avatar > renders with size xs correctly 1`] = `" "`; -exports[`Avatar > renders with src correctly 1`] = `""`; +exports[`Avatar > renders with src correctly 1`] = `" "`; exports[`Avatar > renders with text correctly 1`] = `"+1"`; -exports[`Avatar > renders with ui correctly 1`] = `""`; +exports[`Avatar > renders with ui correctly 1`] = `" "`; diff --git a/test/components/__snapshots__/Avatar.spec.ts.snap b/test/components/__snapshots__/Avatar.spec.ts.snap index 0c0ed50c14..308abeca4c 100644 --- a/test/components/__snapshots__/Avatar.spec.ts.snap +++ b/test/components/__snapshots__/Avatar.spec.ts.snap @@ -4,36 +4,36 @@ exports[`Avatar > renders with alt correctly 1`] = `" - +   " `; -exports[`Avatar > renders with class correctly 1`] = `""`; +exports[`Avatar > renders with class correctly 1`] = `" "`; exports[`Avatar > renders with default slot correctly 1`] = `"🇫🇷"`; exports[`Avatar > renders with icon correctly 1`] = `""`; -exports[`Avatar > renders with size 2xl correctly 1`] = `""`; +exports[`Avatar > renders with size 2xl correctly 1`] = `" "`; -exports[`Avatar > renders with size 2xs correctly 1`] = `""`; +exports[`Avatar > renders with size 2xs correctly 1`] = `" "`; -exports[`Avatar > renders with size 3xl correctly 1`] = `""`; +exports[`Avatar > renders with size 3xl correctly 1`] = `" "`; -exports[`Avatar > renders with size 3xs correctly 1`] = `""`; +exports[`Avatar > renders with size 3xs correctly 1`] = `" "`; -exports[`Avatar > renders with size lg correctly 1`] = `""`; +exports[`Avatar > renders with size lg correctly 1`] = `" "`; -exports[`Avatar > renders with size md correctly 1`] = `""`; +exports[`Avatar > renders with size md correctly 1`] = `" "`; -exports[`Avatar > renders with size sm correctly 1`] = `""`; +exports[`Avatar > renders with size sm correctly 1`] = `" "`; -exports[`Avatar > renders with size xl correctly 1`] = `""`; +exports[`Avatar > renders with size xl correctly 1`] = `" "`; -exports[`Avatar > renders with size xs correctly 1`] = `""`; +exports[`Avatar > renders with size xs correctly 1`] = `" "`; -exports[`Avatar > renders with src correctly 1`] = `""`; +exports[`Avatar > renders with src correctly 1`] = `" "`; exports[`Avatar > renders with text correctly 1`] = `"+1"`; -exports[`Avatar > renders with ui correctly 1`] = `""`; +exports[`Avatar > renders with ui correctly 1`] = `" "`; diff --git a/test/components/__snapshots__/Badge-vue.spec.ts.snap b/test/components/__snapshots__/Badge-vue.spec.ts.snap index ab98ced246..83b734a4f1 100644 --- a/test/components/__snapshots__/Badge-vue.spec.ts.snap +++ b/test/components/__snapshots__/Badge-vue.spec.ts.snap @@ -10,12 +10,12 @@ exports[`Badge > renders with as correctly 1`] = ` exports[`Badge > renders with avatar and leadingIcon correctly 1`] = `""`; exports[`Badge > renders with avatar and trailingIcon correctly 1`] = ` -" +"  " `; exports[`Badge > renders with avatar correctly 1`] = ` -" +"  " `; diff --git a/test/components/__snapshots__/Badge.spec.ts.snap b/test/components/__snapshots__/Badge.spec.ts.snap index 6827d44e3a..29decd66a3 100644 --- a/test/components/__snapshots__/Badge.spec.ts.snap +++ b/test/components/__snapshots__/Badge.spec.ts.snap @@ -14,12 +14,12 @@ exports[`Badge > renders with avatar and leadingIcon correctly 1`] = ` `; exports[`Badge > renders with avatar and trailingIcon correctly 1`] = ` -" +"  " `; exports[`Badge > renders with avatar correctly 1`] = ` -" +"  " `; diff --git a/test/components/__snapshots__/Breadcrumb-vue.spec.ts.snap b/test/components/__snapshots__/Breadcrumb-vue.spec.ts.snap index ffc81126be..473e1705d5 100644 --- a/test/components/__snapshots__/Breadcrumb-vue.spec.ts.snap +++ b/test/components/__snapshots__/Breadcrumb-vue.spec.ts.snap @@ -3,7 +3,7 @@ exports[`Breadcrumb > renders with as correctly 1`] = ` "
    -
  1. Home
  2. +
  3.  Home
  4. Components
  5. @@ -16,7 +16,7 @@ exports[`Breadcrumb > renders with as correctly 1`] = ` exports[`Breadcrumb > renders with class correctly 1`] = ` "
@@ -80,7 +80,7 @@ exports[`CommandPalette > renders with class correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -122,7 +122,7 @@ exports[`CommandPalette > renders with close correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -164,7 +164,7 @@ exports[`CommandPalette > renders with close slot correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -206,7 +206,7 @@ exports[`CommandPalette > renders with closeIcon correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -248,7 +248,7 @@ exports[`CommandPalette > renders with custom slot correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -292,7 +292,7 @@ exports[`CommandPalette > renders with defaultValue correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -336,7 +336,7 @@ exports[`CommandPalette > renders with disabled correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -380,7 +380,7 @@ exports[`CommandPalette > renders with empty slot correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -424,7 +424,7 @@ exports[`CommandPalette > renders with groups correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -468,7 +468,7 @@ exports[`CommandPalette > renders with icon correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -544,7 +544,7 @@ exports[`CommandPalette > renders with item-label slot correctly 1`] = `
Users
-
Item label slot
+
 Item label slot
@@ -620,7 +620,7 @@ exports[`CommandPalette > renders with item-trailing slot correctly 1`] = `
Users
-
benjamincanacItem trailing slot
+
 benjamincanacItem trailing slot
@@ -667,7 +667,7 @@ exports[`CommandPalette > renders with labelKey correctly 1`] = `
-
+
 
@@ -713,7 +713,7 @@ exports[`CommandPalette > renders with loading correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -757,7 +757,7 @@ exports[`CommandPalette > renders with loadingIcon correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -801,7 +801,7 @@ exports[`CommandPalette > renders with modelValue correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -845,7 +845,7 @@ exports[`CommandPalette > renders with placeholder correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -889,7 +889,7 @@ exports[`CommandPalette > renders with selectedIcon correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -933,7 +933,7 @@ exports[`CommandPalette > renders with ui correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
diff --git a/test/components/__snapshots__/CommandPalette.spec.ts.snap b/test/components/__snapshots__/CommandPalette.spec.ts.snap index f4e6cdbebd..e120999d9e 100644 --- a/test/components/__snapshots__/CommandPalette.spec.ts.snap +++ b/test/components/__snapshots__/CommandPalette.spec.ts.snap @@ -36,7 +36,7 @@ exports[`CommandPalette > renders with as correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -80,7 +80,7 @@ exports[`CommandPalette > renders with class correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -125,7 +125,7 @@ exports[`CommandPalette > renders with close correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -167,7 +167,7 @@ exports[`CommandPalette > renders with close slot correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -212,7 +212,7 @@ exports[`CommandPalette > renders with closeIcon correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -254,7 +254,7 @@ exports[`CommandPalette > renders with custom slot correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -298,7 +298,7 @@ exports[`CommandPalette > renders with defaultValue correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -342,7 +342,7 @@ exports[`CommandPalette > renders with disabled correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -386,7 +386,7 @@ exports[`CommandPalette > renders with empty slot correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -430,7 +430,7 @@ exports[`CommandPalette > renders with groups correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -474,7 +474,7 @@ exports[`CommandPalette > renders with icon correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -550,7 +550,7 @@ exports[`CommandPalette > renders with item-label slot correctly 1`] = `
Users
-
Item label slot
+
 Item label slot
@@ -626,7 +626,7 @@ exports[`CommandPalette > renders with item-trailing slot correctly 1`] = `
Users
-
benjamincanacItem trailing slot
+
 benjamincanacItem trailing slot
@@ -673,7 +673,7 @@ exports[`CommandPalette > renders with labelKey correctly 1`] = `
-
+
 
@@ -719,7 +719,7 @@ exports[`CommandPalette > renders with loading correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -763,7 +763,7 @@ exports[`CommandPalette > renders with loadingIcon correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -807,7 +807,7 @@ exports[`CommandPalette > renders with modelValue correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -851,7 +851,7 @@ exports[`CommandPalette > renders with placeholder correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -895,7 +895,7 @@ exports[`CommandPalette > renders with selectedIcon correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
@@ -939,7 +939,7 @@ exports[`CommandPalette > renders with ui correctly 1`] = `
Users
-
benjamincanac
+
 benjamincanac
diff --git a/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap b/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap index 9ef1d5501e..ca4ae22e10 100644 --- a/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap +++ b/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap @@ -9,7 +9,7 @@ exports[`DropdownMenu > renders with arrow correctly 1`] = `