@react-spectrum/avatar
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
require("./vars.d338152f.css"); | ||
require("./avatar.6abf1dc5.css"); | ||
var $d22788318b5f79eb$exports = require("./avatar_vars_css.main.js"); | ||
@@ -35,3 +35,3 @@ var $3FJGB$reactspectrumutils = require("@react-spectrum/utils"); | ||
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 |
@@ -1,2 +0,2 @@ | ||
import "./vars.d338152f.css"; | ||
import "./avatar.6abf1dc5.css"; | ||
import $73onX$avatar_vars_cssmodulejs from "./avatar_vars_css.module.js"; | ||
@@ -29,3 +29,3 @@ import {useSlotProps as $73onX$useSlotProps, useStyleProps as $73onX$useStyleProps, useDOMRef as $73onX$useDOMRef, dimensionValue as $73onX$dimensionValue, classNames as $73onX$classNames} from "@react-spectrum/utils"; | ||
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-6193c40ee-240920", | ||
"version": "3.0.0-nightly-6328d20e0-250501", | ||
"description": "Spectrum UI components in React", | ||
@@ -39,6 +39,6 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/utils": "^3.0.0-nightly-6193c40ee-240920", | ||
"@react-spectrum/utils": "^3.0.0-nightly-6193c40ee-240920", | ||
"@react-types/avatar": "^3.0.0-nightly-6193c40ee-240920", | ||
"@react-types/shared": "^3.0.0-nightly-6193c40ee-240920", | ||
"@react-aria/utils": "3.0.0-nightly-6328d20e0-250501", | ||
"@react-spectrum/utils": "3.0.0-nightly-6328d20e0-250501", | ||
"@react-types/avatar": "3.0.0-nightly-6328d20e0-250501", | ||
"@react-types/shared": "3.0.0-nightly-6328d20e0-250501", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -50,9 +50,9 @@ }, | ||
"peerDependencies": { | ||
"@react-spectrum/provider": "^3.0.0-nightly-6193c40ee-240920", | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"@react-spectrum/provider": "3.0.0-nightly-6328d20e0-250501", | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", | ||
"react-dom": "^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
32803
-1.6%8
14.29%343
-3.11%+ Added
+ 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