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

@rmwc/avatar

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/avatar - npm Package Compare versions

Comparing version 5.3.1 to 5.4.0

30

dist/generated-props.json

@@ -25,3 +25,3 @@ {

"name": "AvatarProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L8",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L8",
"methods": [],

@@ -50,3 +50,3 @@ "properties": [

"name": "contain",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L20",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L20",
"type": "undefined | false | true"

@@ -75,3 +75,3 @@ },

"name": "interactive",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L18",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L18",
"type": "undefined | false | true"

@@ -100,3 +100,3 @@ },

"name": "name",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L14",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L14",
"type": "undefined | string"

@@ -125,3 +125,3 @@ },

"name": "size",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L12",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L12",
"type": "RMWC.IconSizeT"

@@ -150,3 +150,3 @@ },

"name": "square",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L16",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L16",
"type": "undefined | false | true"

@@ -175,3 +175,3 @@ },

"name": "src",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L10",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L10",
"type": "undefined | string"

@@ -202,3 +202,3 @@ }

"name": "AvatarGroupProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L77",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L77",
"methods": [],

@@ -227,3 +227,3 @@ "properties": [

"name": "dense",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L79",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L79",
"type": "undefined | false | true"

@@ -254,3 +254,3 @@ }

"name": "AvatarCountProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L137",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L137",
"methods": [],

@@ -279,3 +279,3 @@ "properties": [

"name": "interactive",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L147",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L147",
"type": "undefined | false | true"

@@ -304,3 +304,3 @@ },

"name": "overflow",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L141",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L141",
"type": "undefined | false | true"

@@ -329,3 +329,3 @@ },

"name": "size",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L143",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L143",
"type": "RMWC.IconSizeT"

@@ -354,3 +354,3 @@ },

"name": "square",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L145",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L145",
"type": "undefined | false | true"

@@ -379,3 +379,3 @@ },

"name": "value",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L139",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L139",
"type": "number"

@@ -382,0 +382,0 @@ }

@@ -25,3 +25,3 @@ {

"name": "AvatarProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L8",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L8",
"methods": [],

@@ -50,3 +50,3 @@ "properties": [

"name": "contain",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L20",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L20",
"type": "undefined | false | true"

@@ -75,3 +75,3 @@ },

"name": "interactive",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L18",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L18",
"type": "undefined | false | true"

@@ -100,3 +100,3 @@ },

"name": "name",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L14",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L14",
"type": "undefined | string"

@@ -125,3 +125,3 @@ },

"name": "size",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L12",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L12",
"type": "RMWC.IconSizeT"

@@ -150,3 +150,3 @@ },

"name": "square",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L16",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L16",
"type": "undefined | false | true"

@@ -175,3 +175,3 @@ },

"name": "src",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L10",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L10",
"type": "undefined | string"

@@ -202,3 +202,3 @@ }

"name": "AvatarGroupProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L77",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L77",
"methods": [],

@@ -227,3 +227,3 @@ "properties": [

"name": "dense",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L79",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L79",
"type": "undefined | false | true"

@@ -254,3 +254,3 @@ }

"name": "AvatarCountProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L137",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L137",
"methods": [],

@@ -279,3 +279,3 @@ "properties": [

"name": "interactive",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L147",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L147",
"type": "undefined | false | true"

@@ -304,3 +304,3 @@ },

"name": "overflow",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L141",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L141",
"type": "undefined | false | true"

@@ -329,3 +329,3 @@ },

"name": "size",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L143",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L143",
"type": "RMWC.IconSizeT"

@@ -354,3 +354,3 @@ },

"name": "square",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L145",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L145",
"type": "undefined | false | true"

@@ -379,3 +379,3 @@ },

"name": "value",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L139",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L139",
"type": "number"

@@ -382,0 +382,0 @@ }

@@ -25,3 +25,3 @@ {

"name": "AvatarProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L8",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L8",
"methods": [],

@@ -50,3 +50,3 @@ "properties": [

"name": "contain",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L20",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L20",
"type": "undefined | false | true"

@@ -75,3 +75,3 @@ },

"name": "interactive",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L18",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L18",
"type": "undefined | false | true"

@@ -100,3 +100,3 @@ },

"name": "name",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L14",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L14",
"type": "undefined | string"

@@ -125,3 +125,3 @@ },

"name": "size",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L12",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L12",
"type": "RMWC.IconSizeT"

@@ -150,3 +150,3 @@ },

"name": "square",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L16",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L16",
"type": "undefined | false | true"

@@ -175,3 +175,3 @@ },

"name": "src",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L10",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L10",
"type": "undefined | string"

@@ -202,3 +202,3 @@ }

"name": "AvatarGroupProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L77",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L77",
"methods": [],

@@ -227,3 +227,3 @@ "properties": [

"name": "dense",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L79",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L79",
"type": "undefined | false | true"

@@ -254,3 +254,3 @@ }

"name": "AvatarCountProps",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L137",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L137",
"methods": [],

@@ -279,3 +279,3 @@ "properties": [

"name": "interactive",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L147",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L147",
"type": "undefined | false | true"

@@ -304,3 +304,3 @@ },

"name": "overflow",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L141",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L141",
"type": "undefined | false | true"

@@ -329,3 +329,3 @@ },

"name": "size",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L143",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L143",
"type": "RMWC.IconSizeT"

@@ -354,3 +354,3 @@ },

"name": "square",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L145",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L145",
"type": "undefined | false | true"

@@ -379,3 +379,3 @@ },

"name": "value",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/40cb74678/src/avatar/index.tsx#L139",
"sourceUrl": "https://github.com/jamesmfriedman/rmwc/blob/15f167a1b/src/avatar/index.tsx#L139",
"type": "number"

@@ -382,0 +382,0 @@ }

{
"name": "@rmwc/avatar",
"version": "5.3.1",
"version": "5.4.0",
"description": "RMWC avatar component",

@@ -35,8 +35,8 @@ "main": "dist/index.js",

"dependencies": {
"@rmwc/base": "^5.3.1",
"@rmwc/icon": "^5.3.1",
"@rmwc/ripple": "^5.3.1",
"@rmwc/types": "^5.3.1"
"@rmwc/base": "^5.4.0",
"@rmwc/icon": "^5.4.0",
"@rmwc/ripple": "^5.4.0",
"@rmwc/types": "^5.4.0"
},
"gitHead": "5ae98ed32a2827431980ce949d5c95078ea9e3c9"
"gitHead": "8b3ddc7d3562c36c46e980516a3929e364800d00"
}

@@ -153,8 +153,8 @@ # Avatars `RMWC ADDON`

|------|------|-------------|
| `contain` | `undefined | false | true` | Contain the avatar image instead of covering. |
| `interactive` | `undefined | false | true` | Make the avatar interactive. |
| `name` | `undefined | string` | The name of the user. This will get converted to initials and set the hover title. |
| `contain` | `undefined \| false \| true` | Contain the avatar image instead of covering. |
| `interactive` | `undefined \| false \| true` | Make the avatar interactive. |
| `name` | `undefined \| string` | The name of the user. This will get converted to initials and set the hover title. |
| `size` | `RMWC.IconSizeT` | The size of the avatar |
| `square` | `undefined | false | true` | Make the avatar square. |
| `src` | `undefined | string` | The url for the image. This gets passed to the Icon component. |
| `square` | `undefined \| false \| true` | Make the avatar square. |
| `src` | `undefined \| string` | The url for the image. This gets passed to the Icon component. |

@@ -169,3 +169,3 @@

|------|------|-------------|
| `dense` | `undefined | false | true` | Makes the list dense |
| `dense` | `undefined \| false \| true` | Makes the list dense |

@@ -180,8 +180,8 @@

|------|------|-------------|
| `interactive` | `undefined | false | true` | Make the avatar interactive. |
| `overflow` | `undefined | false | true` | Optionally renders a "+" to indicate overlow. |
| `interactive` | `undefined \| false \| true` | Make the avatar interactive. |
| `overflow` | `undefined \| false \| true` | Optionally renders a "+" to indicate overlow. |
| `size` | `RMWC.IconSizeT` | The size of the avatar |
| `square` | `undefined | false | true` | Make the avatar square. |
| `square` | `undefined \| false \| true` | Make the avatar square. |
| `value` | `number` | The number of users. |
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