@react-spectrum/avatar
Advanced tools
Comparing version
@@ -35,3 +35,3 @@ require("./vars.d338152f.css"); | ||
const $cc830936d47bae2b$var$SIZE_RE = /^size-\d+/; | ||
function $cc830936d47bae2b$var$Avatar(props, ref) { | ||
const $cc830936d47bae2b$export$e2255cf6045e8d47 = /*#__PURE__*/ (0, $3FJGB$react.forwardRef)(function Avatar(props, ref) { | ||
props = (0, $3FJGB$reactspectrumutils.useSlotProps)(props, 'avatar'); | ||
@@ -63,8 +63,5 @@ const { alt: alt = '', isDisabled: isDisabled, size: size = $cc830936d47bae2b$var$DEFAULT_SIZE, src: src, ...otherProps } = (0, $3FJGB$reactspectrumprovider.useProviderProps)(props); | ||
}); | ||
} | ||
/** | ||
* An avatar is a thumbnail representation of an entity, such as a user or an organization. | ||
*/ const $cc830936d47bae2b$export$e2255cf6045e8d47 = /*#__PURE__*/ (0, $3FJGB$react.forwardRef)($cc830936d47bae2b$var$Avatar); | ||
}); | ||
//# sourceMappingURL=Avatar.main.js.map |
@@ -29,3 +29,3 @@ import "./vars.d338152f.css"; | ||
const $ab0b7b2186c39312$var$SIZE_RE = /^size-\d+/; | ||
function $ab0b7b2186c39312$var$Avatar(props, ref) { | ||
const $ab0b7b2186c39312$export$e2255cf6045e8d47 = /*#__PURE__*/ (0, $73onX$forwardRef)(function Avatar(props, ref) { | ||
props = (0, $73onX$useSlotProps)(props, 'avatar'); | ||
@@ -57,6 +57,3 @@ const { alt: alt = '', isDisabled: isDisabled, size: size = $ab0b7b2186c39312$var$DEFAULT_SIZE, src: src, ...otherProps } = (0, $73onX$useProviderProps)(props); | ||
}); | ||
} | ||
/** | ||
* An avatar is a thumbnail representation of an entity, such as a user or an organization. | ||
*/ const $ab0b7b2186c39312$export$e2255cf6045e8d47 = /*#__PURE__*/ (0, $73onX$forwardRef)($ab0b7b2186c39312$var$Avatar); | ||
}); | ||
@@ -63,0 +60,0 @@ |
{ | ||
"name": "@react-spectrum/avatar", | ||
"version": "3.0.0-nightly-d57bd8d90-240927", | ||
"version": "3.0.0-nightly-d87cc4422-250109", | ||
"description": "Spectrum UI components in React", | ||
@@ -39,6 +39,6 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/utils": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@react-spectrum/utils": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@react-types/avatar": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@react-types/shared": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@react-aria/utils": "3.0.0-nightly-d87cc4422-250109", | ||
"@react-spectrum/utils": "3.0.0-nightly-d87cc4422-250109", | ||
"@react-types/avatar": "3.0.0-nightly-d87cc4422-250109", | ||
"@react-types/shared": "3.0.0-nightly-d87cc4422-250109", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -50,9 +50,8 @@ }, | ||
"peerDependencies": { | ||
"@react-spectrum/provider": "^3.0.0-nightly-d57bd8d90-240927", | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"@react-spectrum/provider": "3.0.0-nightly-d87cc4422-250109", | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.0.15" | ||
} | ||
} |
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
32722
-1.84%343
-3.11%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed