@yamada-ui/avatar
Advanced tools
Comparing version 0.0.0-dev-20231019162858 to 0.0.0-dev-20231102060754
@@ -46,3 +46,3 @@ "use client" | ||
height: "100%", | ||
className: "ui-avatar-icon", | ||
className: "ui-avatar__icon", | ||
...props, | ||
@@ -85,3 +85,3 @@ children: [ | ||
const css = { ...styles.name }; | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_core.ui.div, { className: "ui-avatar-name", role: "img", __css: css, ...rest, children: name ? format(name) : null }); | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_core.ui.div, { className: "ui-avatar__name", role: "img", __css: css, ...rest, children: name ? format(name) : null }); | ||
}; | ||
@@ -185,3 +185,3 @@ | ||
{ | ||
className: "ui-avatar-image", | ||
className: "ui-avatar__image", | ||
src, | ||
@@ -239,3 +239,3 @@ srcSet, | ||
ref, | ||
className: (0, import_utils2.cx)("ui-avatar-badge", className), | ||
className: (0, import_utils2.cx)("ui-avatar__badge", className), | ||
boxSize, | ||
@@ -242,0 +242,0 @@ __css: css, |
@@ -78,3 +78,3 @@ "use client" | ||
{ | ||
className: "ui-avatar-excess", | ||
className: "ui-avatar__excess", | ||
borderRadius, | ||
@@ -81,0 +81,0 @@ rounded, |
@@ -36,3 +36,3 @@ "use client" | ||
height: "100%", | ||
className: "ui-avatar-icon", | ||
className: "ui-avatar__icon", | ||
...props, | ||
@@ -39,0 +39,0 @@ children: [ |
@@ -45,3 +45,3 @@ "use client" | ||
height: "100%", | ||
className: "ui-avatar-icon", | ||
className: "ui-avatar__icon", | ||
...props, | ||
@@ -163,3 +163,3 @@ children: [ | ||
{ | ||
className: "ui-avatar-image", | ||
className: "ui-avatar__image", | ||
src, | ||
@@ -194,3 +194,3 @@ srcSet, | ||
const css = { ...styles.name }; | ||
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_core2.ui.div, { className: "ui-avatar-name", role: "img", __css: css, ...rest, children: name ? format(name) : null }); | ||
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_core2.ui.div, { className: "ui-avatar__name", role: "img", __css: css, ...rest, children: name ? format(name) : null }); | ||
}; | ||
@@ -197,0 +197,0 @@ // Annotate the CommonJS export names for ESM import in node: |
@@ -44,3 +44,3 @@ "use client" | ||
height: "100%", | ||
className: "ui-avatar-icon", | ||
className: "ui-avatar__icon", | ||
...props, | ||
@@ -83,3 +83,3 @@ children: [ | ||
const css = { ...styles.name }; | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_core.ui.div, { className: "ui-avatar-name", role: "img", __css: css, ...rest, children: name ? format(name) : null }); | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_core.ui.div, { className: "ui-avatar__name", role: "img", __css: css, ...rest, children: name ? format(name) : null }); | ||
}; | ||
@@ -183,3 +183,3 @@ | ||
{ | ||
className: "ui-avatar-image", | ||
className: "ui-avatar__image", | ||
src, | ||
@@ -186,0 +186,0 @@ srcSet, |
@@ -46,3 +46,3 @@ "use client" | ||
height: "100%", | ||
className: "ui-avatar-icon", | ||
className: "ui-avatar__icon", | ||
...props, | ||
@@ -85,3 +85,3 @@ children: [ | ||
const css = { ...styles.name }; | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_core.ui.div, { className: "ui-avatar-name", role: "img", __css: css, ...rest, children: name ? format(name) : null }); | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_core.ui.div, { className: "ui-avatar__name", role: "img", __css: css, ...rest, children: name ? format(name) : null }); | ||
}; | ||
@@ -185,3 +185,3 @@ | ||
{ | ||
className: "ui-avatar-image", | ||
className: "ui-avatar__image", | ||
src, | ||
@@ -252,3 +252,3 @@ srcSet, | ||
{ | ||
className: "ui-avatar-excess", | ||
className: "ui-avatar__excess", | ||
borderRadius, | ||
@@ -319,3 +319,3 @@ rounded, | ||
ref, | ||
className: (0, import_utils3.cx)("ui-avatar-badge", className), | ||
className: (0, import_utils3.cx)("ui-avatar__badge", className), | ||
boxSize, | ||
@@ -322,0 +322,0 @@ __css: css, |
{ | ||
"name": "@yamada-ui/avatar", | ||
"version": "0.0.0-dev-20231019162858", | ||
"version": "0.0.0-dev-20231102060754", | ||
"description": "Yamada UI avatar component", | ||
@@ -38,6 +38,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@yamada-ui/core": "0.0.0-dev-20231019162858", | ||
"@yamada-ui/utils": "0.0.0-dev-20231019162858", | ||
"@yamada-ui/image": "0.0.0-dev-20231019162858", | ||
"@yamada-ui/icon": "0.0.0-dev-20231019162858" | ||
"@yamada-ui/core": "0.12.4", | ||
"@yamada-ui/utils": "0.3.2", | ||
"@yamada-ui/image": "0.3.14", | ||
"@yamada-ui/icon": "0.3.14" | ||
}, | ||
@@ -44,0 +44,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52769
+ Added@yamada-ui/core@0.12.4(transitive)
+ Added@yamada-ui/icon@0.3.14(transitive)
+ Added@yamada-ui/image@0.3.14(transitive)
+ Added@yamada-ui/portal@0.3.5(transitive)
+ Added@yamada-ui/use-token@0.3.8(transitive)
+ Added@yamada-ui/utils@0.3.2(transitive)
- Removed@yamada-ui/core@0.0.0-dev-20231019162858(transitive)
- Removed@yamada-ui/icon@0.0.0-dev-20231019162858(transitive)
- Removed@yamada-ui/image@0.0.0-dev-20231019162858(transitive)
- Removed@yamada-ui/portal@0.0.0-dev-20231019162858(transitive)
- Removed@yamada-ui/use-token@0.0.0-dev-20231019162858(transitive)
- Removed@yamada-ui/utils@0.0.0-dev-20231019162858(transitive)
Updated@yamada-ui/core@0.12.4
Updated@yamada-ui/icon@0.3.14
Updated@yamada-ui/image@0.3.14
Updated@yamada-ui/utils@0.3.2