@nextui-org/avatar
Advanced tools
Comparing version 0.0.0-dev-v2-20230326201634 to 0.0.0-dev-v2-20230326202948
@@ -84,9 +84,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; | ||
}; | ||
styles: SlotsToClasses<"base" | "img" | "fallback" | "name" | "icon"> | undefined; | ||
styles: SlotsToClasses<"name" | "base" | "img" | "fallback" | "icon"> | undefined; | ||
fallback: react.ReactNode; | ||
@@ -96,3 +96,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>>; | ||
@@ -99,0 +99,0 @@ getImageProps: PropGetter<Record<string, unknown>, _nextui_org_system.DOMAttributes<_nextui_org_system.DOMElement>>; |
{ | ||
"name": "@nextui-org/avatar", | ||
"version": "0.0.0-dev-v2-20230326201634", | ||
"version": "0.0.0-dev-v2-20230326202948", | ||
"description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.", | ||
@@ -33,7 +33,7 @@ "keywords": [ | ||
"@react-aria/utils": "^3.15.0", | ||
"@nextui-org/system": "0.0.0-dev-v2-20230326201634", | ||
"@nextui-org/dom-utils": "0.0.0-dev-v2-20230326201634", | ||
"@nextui-org/use-image": "0.0.0-dev-v2-20230326201634", | ||
"@nextui-org/theme": "0.0.0-dev-v2-20230326201634", | ||
"@nextui-org/shared-utils": "0.0.0-dev-v2-20230326201634" | ||
"@nextui-org/system": "0.0.0-dev-v2-20230326202948", | ||
"@nextui-org/dom-utils": "0.0.0-dev-v2-20230326202948", | ||
"@nextui-org/theme": "0.0.0-dev-v2-20230326202948", | ||
"@nextui-org/shared-utils": "0.0.0-dev-v2-20230326202948", | ||
"@nextui-org/use-image": "0.0.0-dev-v2-20230326202948" | ||
}, | ||
@@ -43,4 +43,4 @@ "devDependencies": { | ||
"react": "^18.0.0", | ||
"@nextui-org/test-utils": "0.0.0-dev-v2-20230326201634", | ||
"@nextui-org/shared-icons": "0.0.0-dev-v2-20230326201634" | ||
"@nextui-org/shared-icons": "0.0.0-dev-v2-20230326202948", | ||
"@nextui-org/test-utils": "0.0.0-dev-v2-20230326202948" | ||
}, | ||
@@ -47,0 +47,0 @@ "clean-package": "../../../clean-package.config.json", |
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
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
62067
1743
+ Added@nextui-org/dom-utils@0.0.0-dev-v2-20230326202948(transitive)
+ Added@nextui-org/shared-utils@0.0.0-dev-v2-20230326202948(transitive)
+ Added@nextui-org/system@0.0.0-dev-v2-20230326202948(transitive)
+ Added@nextui-org/theme@0.0.0-dev-v2-20230326202948(transitive)
+ Added@nextui-org/use-image@0.0.0-dev-v2-20230326202948(transitive)
+ Added@nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230326202948(transitive)
- Removed@nextui-org/dom-utils@0.0.0-dev-v2-20230326201634(transitive)
- Removed@nextui-org/shared-utils@0.0.0-dev-v2-20230326201634(transitive)
- Removed@nextui-org/system@0.0.0-dev-v2-20230326201634(transitive)
- Removed@nextui-org/theme@0.0.0-dev-v2-20230326201634(transitive)
- Removed@nextui-org/use-image@0.0.0-dev-v2-20230326201634(transitive)
- Removed@nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230326201634(transitive)