@yamada-ui/avatar
Advanced tools
Comparing version 2.0.0-next-20240409133350 to 2.0.0-next-20240508045332
@@ -192,3 +192,3 @@ "use client" | ||
if (isFallback) | ||
return name ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AvatarName, { name, format }) : (0, import_react.cloneElement)(icon, { role: "img" }); | ||
return name ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AvatarName, { name, format }) : (0, import_react.cloneElement)(icon, { role: "img", "aria-label": alt != null ? alt : "Avatar Icon" }); | ||
const css = { | ||
@@ -286,3 +286,3 @@ width: "100%", | ||
{ | ||
className: "ui-avatar__badge__ping", | ||
className: "ui-avatar__ping", | ||
__css: { | ||
@@ -289,0 +289,0 @@ position: "absolute", |
@@ -160,3 +160,3 @@ "use client" | ||
if (isFallback) | ||
return name ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AvatarName, { name, format }) : (0, import_react.cloneElement)(icon, { role: "img" }); | ||
return name ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AvatarName, { name, format }) : (0, import_react.cloneElement)(icon, { role: "img", "aria-label": alt != null ? alt : "Avatar Icon" }); | ||
const css = { | ||
@@ -163,0 +163,0 @@ width: "100%", |
@@ -189,3 +189,3 @@ "use client" | ||
if (isFallback) | ||
return name ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AvatarName, { name, format }) : (0, import_react.cloneElement)(icon, { role: "img" }); | ||
return name ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AvatarName, { name, format }) : (0, import_react.cloneElement)(icon, { role: "img", "aria-label": alt != null ? alt : "Avatar Icon" }); | ||
const css = { | ||
@@ -192,0 +192,0 @@ width: "100%", |
@@ -191,3 +191,3 @@ "use client" | ||
if (isFallback) | ||
return name ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AvatarName, { name, format }) : (0, import_react.cloneElement)(icon, { role: "img" }); | ||
return name ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AvatarName, { name, format }) : (0, import_react.cloneElement)(icon, { role: "img", "aria-label": alt != null ? alt : "Avatar Icon" }); | ||
const css = { | ||
@@ -365,3 +365,3 @@ width: "100%", | ||
{ | ||
className: "ui-avatar__badge__ping", | ||
className: "ui-avatar__ping", | ||
__css: { | ||
@@ -368,0 +368,0 @@ position: "absolute", |
{ | ||
"name": "@yamada-ui/avatar", | ||
"version": "2.0.0-next-20240409133350", | ||
"version": "2.0.0-next-20240508045332", | ||
"description": "Yamada UI avatar component", | ||
@@ -39,7 +39,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@yamada-ui/core": "1.6.1", | ||
"@yamada-ui/utils": "1.1.0", | ||
"@yamada-ui/image": "1.0.19", | ||
"@yamada-ui/icon": "1.0.19", | ||
"@yamada-ui/use-animation": "1.0.19" | ||
"@yamada-ui/core": "1.6.7", | ||
"@yamada-ui/utils": "1.2.0", | ||
"@yamada-ui/image": "1.0.26-next-20240508045332", | ||
"@yamada-ui/icon": "1.0.25", | ||
"@yamada-ui/use-animation": "1.0.25" | ||
}, | ||
@@ -46,0 +46,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
138727
+ Added@yamada-ui/core@1.6.7(transitive)
+ Added@yamada-ui/icon@1.0.25(transitive)
+ Added@yamada-ui/image@1.0.26-next-20240508045332(transitive)
+ Added@yamada-ui/portal@1.0.14(transitive)
+ Added@yamada-ui/use-animation@1.0.25(transitive)
+ Added@yamada-ui/use-event-listener@1.0.13(transitive)
+ Added@yamada-ui/use-token@1.1.13(transitive)
+ Added@yamada-ui/utils@1.2.0(transitive)
- Removed@yamada-ui/core@1.6.1(transitive)
- Removed@yamada-ui/icon@1.0.19(transitive)
- Removed@yamada-ui/image@1.0.19(transitive)
- Removed@yamada-ui/portal@1.0.9(transitive)
- Removed@yamada-ui/use-animation@1.0.19(transitive)
- Removed@yamada-ui/use-event-listener@1.0.9(transitive)
- Removed@yamada-ui/use-token@1.1.7(transitive)
- Removed@yamada-ui/utils@1.1.0(transitive)
Updated@yamada-ui/core@1.6.7
Updated@yamada-ui/icon@1.0.25
Updated@yamada-ui/utils@1.2.0