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

@jouwomgeving/ui-avatar

Package Overview
Dependencies
Maintainers
4
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jouwomgeving/ui-avatar - npm Package Compare versions

Comparing version 0.0.1-alpha.45a4fa31 to 0.0.1-alpha.499779ad

dist/bundle.min.css

14

package.json
{
"name": "@jouwomgeving/ui-avatar",
"version": "0.0.1-alpha.45a4fa31",
"version": "0.0.1-alpha.499779ad",
"description": "",
"main": "dist/bundle.js",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"scripts": {

@@ -18,7 +20,7 @@ "test": "echo \"Error: no test specified\" && exit 1"

"react-dom": "^15.2.0",
"@jouwomgeving/ui-icon": "^0.0.1-alpha.45a4fa31",
"@jouwomgeving/ui-popover": "^0.0.1-alpha.45a4fa31",
"@jouwomgeving/ui-list": "^0.0.1-alpha.45a4fa31",
"@jouwomgeving/ui-typography": "^0.0.1-alpha.45a4fa31"
"@jouwomgeving/ui-icon": "^0.0.1-alpha.499779ad",
"@jouwomgeving/ui-popover": "^0.0.1-alpha.499779ad",
"@jouwomgeving/ui-list": "^0.0.1-alpha.499779ad",
"@jouwomgeving/ui-typography": "^0.0.1-alpha.499779ad"
}
}
import React, { PropTypes } from 'react';
import classnames from 'classnames/bind';
import { FontAwesome } from '@jouwomgeving/ui-icon';
import styles from './../styles.css';
import FaUser from '@jouwomgeving/ui-icon/FontAwesome/FaUser';
const styles = require('./../styles.css');
const cx = classnames.bind(styles);

@@ -22,3 +23,3 @@

/> :
<FontAwesome.FaUser
<FaUser
size={faSizeMap[props.size]}

@@ -25,0 +26,0 @@ />

import React from 'react';
import { storiesOf } from '@kadira/storybook';
import Avatar from 'ui-avatar/index';
import 'ui-icon/dist/bundle.css';
import * as Avatar from '@jouwomgeving/ui-avatar';

@@ -16,3 +15,3 @@ const settings = {

() => (
<Avatar.default
<Avatar.Avatar
size="small"

@@ -25,3 +24,3 @@ src="https://placekitten.com/g/55/55"

() => (
<Avatar.default
<Avatar.Avatar
size="medium"

@@ -34,3 +33,3 @@ src="https://placekitten.com/g/100/100"

() => (
<Avatar.default
<Avatar.Avatar
size="large"

@@ -43,3 +42,3 @@ src="https://placekitten.com/g/200/200"

() => (
<Avatar.default
<Avatar.Avatar
size="small"

@@ -46,0 +45,0 @@ />

@@ -5,7 +5,9 @@ import React, { PropTypes, Children, cloneElement } from 'react';

import { PopOverContainer } from '@jouwomgeving/ui-popover';
import { Text } from '@jouwomgeving/ui-typography';
import List from '@jouwomgeving/ui-list';
import PopOverContainer from '@jouwomgeving/ui-popover/PopOverContainer';
import Text from '@jouwomgeving/ui-typography/Text';
import Container from '@jouwomgeving/ui-list/Container';
import Row from '@jouwomgeving/ui-list/Row';
import Cell from '@jouwomgeving/ui-list/Cell';
import styles from './../styles.css';
const styles = require('./../styles.css');

@@ -28,6 +30,6 @@ const cx = classNames.bind(styles);

content={(
<List.Container>
<Container>
{hide.map(avatar => (
<List.Row spacing="thin">
<List.Cell
<Row spacing="thin">
<Cell
vertical="center"

@@ -37,11 +39,11 @@ size="2rem"

{cloneElement(avatar, { size: 'small' })}
</List.Cell>
<List.Cell vertical="center">
</Cell>
<Cell vertical="center">
<Text>
{avatar.props.name}
</Text>
</List.Cell>
</List.Row>
</Cell>
</Row>
))}
</List.Container>
</Container>
)}

@@ -48,0 +50,0 @@ >

@@ -6,3 +6,3 @@ import React from 'react';

import Avatar from 'ui-avatar/index';
import * as Avatar from '@jouwomgeving/ui-avatar';

@@ -9,0 +9,0 @@ const settings = {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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