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.1 to 0.1.2

dist/chunk-2H6LCZPG.mjs

7

dist/Avatar.d.ts

@@ -1,4 +0,3 @@

import * as react from 'react';
import { ReactNode } from 'react';
import * as RadixAvatar from '@radix-ui/react-avatar';
import React, { ReactNode } from 'react';
import { AvatarVariantProps } from './styles.js';

@@ -17,3 +16,3 @@ import 'class-variance-authority/dist/types';

declare const getAvatarFallback: (name: string) => string;
declare const Avatar: react.ForwardRefExoticComponent<{
declare const Avatar: React.ForwardRefExoticComponent<{
className?: string | undefined;

@@ -25,4 +24,4 @@ src?: string | 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-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
"use strict";var e=require("./chunk-RBYSUJBP.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
export { Avatar, AvatarProps } from './Avatar.js';
import '@radix-ui/react-avatar';
import 'react';
import '@radix-ui/react-avatar';
import './styles.js';
import 'class-variance-authority/dist/types';
import 'class-variance-authority';

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

"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
"use strict";var e=require("./chunk-RBYSUJBP.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" | "black" | "white" | "grey" | "blue" | "lightblue" | "indaco" | "purple" | "orange" | null | undefined;
color?: "loading" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "error" | "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.1",
"version": "0.1.2",
"description": "An image with a fallback that represents the user",

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

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

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

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

@@ -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