@mabi-ui/avatar
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
20724
76
+ Added@mabi-ui/typography@0.1.2(transitive)
+ Added@mabi-ui/utils@0.1.1(transitive)
- Removed@mabi-ui/typography@0.1.1(transitive)
- Removed@mabi-ui/utils@0.1.0(transitive)
Updated@mabi-ui/typography@0.1.2
Updated@mabi-ui/utils@0.1.1