Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nextui-org/avatar

Package Overview
Dependencies
Maintainers
1
Versions
427
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextui-org/avatar - npm Package Compare versions

Comparing version 0.0.0-dev-v2-20230514151437 to 0.0.0-dev-v2-20230515031033

6

dist/use-avatar.d.ts

@@ -83,9 +83,9 @@ import * as tailwind_variants from 'tailwind-variants';

slots: {
name: (slotProps?: tailwind_variants.ClassProp<tailwind_variants.ClassValue> | undefined) => string;
base: (slotProps?: tailwind_variants.ClassProp<tailwind_variants.ClassValue> | undefined) => string;
img: (slotProps?: tailwind_variants.ClassProp<tailwind_variants.ClassValue> | undefined) => string;
fallback: (slotProps?: tailwind_variants.ClassProp<tailwind_variants.ClassValue> | undefined) => string;
name: (slotProps?: tailwind_variants.ClassProp<tailwind_variants.ClassValue> | undefined) => string;
icon: (slotProps?: tailwind_variants.ClassProp<tailwind_variants.ClassValue> | undefined) => string;
};
classNames: SlotsToClasses<"base" | "img" | "fallback" | "name" | "icon"> | undefined;
classNames: SlotsToClasses<"name" | "base" | "img" | "fallback" | "icon"> | undefined;
fallback: react.ReactNode;

@@ -95,3 +95,3 @@ isImgLoaded: boolean;

ignoreFallback: boolean;
getInitials: (name: string) => string;
getInitials: (text: string) => string;
getAvatarProps: PropGetter<Record<string, unknown>, _nextui_org_system.DOMAttributes<_nextui_org_system.DOMElement>>;

@@ -98,0 +98,0 @@ getImageProps: PropGetter<Record<string, unknown>, _nextui_org_system.DOMAttributes<_nextui_org_system.DOMElement>>;

{
"name": "@nextui-org/avatar",
"version": "0.0.0-dev-v2-20230514151437",
"version": "0.0.0-dev-v2-20230515031033",
"description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.",

@@ -34,7 +34,7 @@ "keywords": [

"@react-aria/utils": "^3.16.0",
"@nextui-org/system": "0.0.0-dev-v2-20230514151437",
"@nextui-org/shared-utils": "0.0.0-dev-v2-20230514151437",
"@nextui-org/theme": "0.0.0-dev-v2-20230514151437",
"@nextui-org/dom-utils": "0.0.0-dev-v2-20230514151437",
"@nextui-org/use-image": "0.0.0-dev-v2-20230514151437"
"@nextui-org/theme": "0.0.0-dev-v2-20230515031033",
"@nextui-org/shared-utils": "0.0.0-dev-v2-20230515031033",
"@nextui-org/dom-utils": "0.0.0-dev-v2-20230515031033",
"@nextui-org/system": "0.0.0-dev-v2-20230515031033",
"@nextui-org/use-image": "0.0.0-dev-v2-20230515031033"
},

@@ -44,4 +44,4 @@ "devDependencies": {

"react": "^18.0.0",
"@nextui-org/test-utils": "0.0.0-dev-v2-20230514151437",
"@nextui-org/shared-icons": "0.0.0-dev-v2-20230514151437"
"@nextui-org/shared-icons": "0.0.0-dev-v2-20230515031033",
"@nextui-org/test-utils": "0.0.0-dev-v2-20230515031033"
},

@@ -48,0 +48,0 @@ "clean-package": "../../../clean-package.config.json",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc