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

@mabi-ui/avatar

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mabi-ui/avatar - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

dist/chunk-J2BLTJ7M.mjs

11

dist/Avatar.d.ts

@@ -1,2 +0,3 @@

import * as React from 'react';
import * as react from 'react';
import { ReactNode } from 'react';
import * as RadixAvatar from '@radix-ui/react-avatar';

@@ -11,3 +12,3 @@ import { AvatarVariantProps } from './styles.js';

alt?: string;
fallback?: string | React.ReactNode;
fallback?: string | ReactNode;
delayMs?: number;

@@ -17,11 +18,11 @@ onLoadingStatusChange?: RadixAvatar.AvatarImageProps["onLoadingStatusChange"];

declare const getAvatarFallback: (name: string) => string;
declare const Avatar: React.ForwardRefExoticComponent<{
declare const Avatar: react.ForwardRefExoticComponent<{
className?: string | undefined;
src?: string | undefined;
alt?: string | undefined;
fallback?: string | React.ReactNode;
fallback?: string | ReactNode;
delayMs?: number | undefined;
onLoadingStatusChange?: RadixAvatar.AvatarImageProps["onLoadingStatusChange"];
} & AvatarVariantProps & React.RefAttributes<HTMLSpanElement>>;
} & AvatarVariantProps & react.RefAttributes<HTMLSpanElement>>;
export { Avatar, AvatarProps, getAvatarFallback };

@@ -1,1 +0,1 @@

"use strict";var e=require("./chunk-24SD7YQO.js");require("./chunk-NDNCO5ST.js");require("./chunk-MJATO42Y.js");Object.defineProperty(exports,"Avatar",{enumerable:true,get:function r(){return e.b}});Object.defineProperty(exports,"getAvatarFallback",{enumerable:true,get:function r(){return e.a}});//# sourceMappingURL=Avatar.js.map
"use strict";var e=require("./chunk-XWW3B3PN.js");require("./chunk-NDNCO5ST.js");require("./chunk-MJATO42Y.js");Object.defineProperty(exports,"Avatar",{enumerable:true,get:function r(){return e.b}});Object.defineProperty(exports,"getAvatarFallback",{enumerable:true,get:function r(){return e.a}});//# sourceMappingURL=Avatar.js.map

@@ -1,1 +0,1 @@

"use strict";var e=require("./chunk-24SD7YQO.js");require("./chunk-NDNCO5ST.js");require("./chunk-MJATO42Y.js");Object.defineProperty(exports,"Avatar",{enumerable:true,get:function r(){return e.b}});//# sourceMappingURL=index.js.map
"use strict";var e=require("./chunk-XWW3B3PN.js");require("./chunk-NDNCO5ST.js");require("./chunk-MJATO42Y.js");Object.defineProperty(exports,"Avatar",{enumerable:true,get:function r(){return e.b}});//# sourceMappingURL=index.js.map

@@ -5,3 +5,3 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';

declare const avatar: (props?: ({
color?: "primary" | "secondary" | "tertiary" | "success" | "warning" | "error" | "loading" | "blue" | "lightblue" | "orange" | "purple" | "indaco" | "white" | "black" | "grey" | null | undefined;
color?: "primary" | "secondary" | "tertiary" | "success" | "warning" | "error" | "loading" | "black" | "white" | "grey" | "blue" | "lightblue" | "indaco" | "purple" | "orange" | null | undefined;
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;

@@ -8,0 +8,0 @@ declare const avatarImage: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string;

{
"name": "@mabi-ui/avatar",
"version": "0.1.0",
"version": "0.1.1",
"description": "An image with a fallback that represents the user",

@@ -29,4 +29,4 @@ "keywords": [

"class-variance-authority": "^0.6.0",
"@mabi-ui/typography": "0.1.0",
"@mabi-ui/utils": "0.1.0"
"@mabi-ui/utils": "0.1.0",
"@mabi-ui/typography": "0.1.1"
},

@@ -43,5 +43,5 @@ "devDependencies": {

"@types/react-dom": "^18.0",
"@mabi-ui/tsup-config": "0.1.0",
"@mabi-ui/eslint-config": "0.1.0",
"@mabi-ui/tsconfig": "0.1.0",
"@mabi-ui/tsup-config": "0.1.0"
"@mabi-ui/tsconfig": "0.1.0"
},

@@ -48,0 +48,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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