New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@brighthr/component-avatar

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brighthr/component-avatar - npm Package Compare versions

Comparing version 0.0.32 to 1.0.0

dist/index.d.cts

6

dist/index.d.ts
import React from 'react';
declare type AvatarSize = 'xxs' | 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl';

@@ -8,3 +9,3 @@ declare type Presence = 'in' | 'out' | 'absent';

};
export declare type AvatarProps = BaseAvatarProps & {
declare type AvatarProps = BaseAvatarProps & {
imageHref?: string;

@@ -14,2 +15,3 @@ presence?: Presence;

declare const Avatar: ({ name, imageHref, size, presence, }: AvatarProps) => React.ReactElement;
export default Avatar;
export { AvatarProps, Avatar as default };
{
"name": "@brighthr/component-avatar",
"version": "0.0.32",
"version": "1.0.0",
"license": "MIT",
"type": "module",
"source": "src/index.tsx",
"exports": "./dist/index.modern.js",
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"types": "./dist/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {

@@ -15,4 +16,4 @@ "access": "public"

"scripts": {
"start": "microbundle watch --jsx React.createElement --jsxFragment React.Fragment",
"build": "microbundle --jsx React.createElement --jsxFragment React.Fragment"
"start": "tsup --watch",
"build": "tsup"
},

@@ -38,6 +39,6 @@ "eslintConfig": {

"dependencies": {
"@brighthr/component-icon": "^1.1.26",
"@brighthr/component-icon": "^2.0.0",
"classnames": "^2.3.1"
},
"gitHead": "a22d4147dd3ba29a8805b57f75a2f30cf0b76a3f"
"gitHead": "1b82cedd964ef0ee483494eba535cdd0e48716ea"
}

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