@symbo.ls/avatar
Advanced tools
Comparing version 2.11.198 to 2.11.202
49
index.js
'use strict' | ||
import { Button } from '@symbo.ls/button' | ||
export * from './Avatar' | ||
export * from './AvatarIndicator' | ||
export * from './AvatarBundle' | ||
export const AvatarChooser = { | ||
extend: Button, | ||
tag: 'label', | ||
props: { | ||
round: 'C', | ||
gap: 'Y', | ||
padding: 'W2 A W2 W2', | ||
theme: 'tertiary', | ||
position: 'relative', | ||
cursor: 'pointer' | ||
}, | ||
Avatar: { | ||
boxSize: 'B1', | ||
pointerEvents: 'none' | ||
}, | ||
select: { | ||
props: { | ||
id: 'avatar-chooser', | ||
outline: 'none', | ||
pointerEvents: 'all', | ||
appearance: 'none', | ||
border: 'none', | ||
width: '100%', | ||
height: '100%', | ||
background: 'none', | ||
color: 'currentColor', | ||
fontSize: 'A', | ||
lineHeight: 1, | ||
margin: '0 0 0 -B1+X', | ||
padding: '0 A 0 B1+X' | ||
}, | ||
attr: { name: 'avatar-chooser' }, | ||
childExtend: { tag: 'option' }, | ||
$setPropsCollection: ({ parent }) => parent.props.options, | ||
on: { | ||
change: (ev, { parent }) => { | ||
parent.Avatar.update({ key: ev.target.value }) | ||
} | ||
} | ||
} | ||
} |
{ | ||
"name": "@symbo.ls/avatar", | ||
"version": "2.11.198", | ||
"version": "2.11.202", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "18f8fcfd01b3be21bd04d98d7fe6291eb920b729", | ||
"gitHead": "4a6bc5b8ca219fa9ae195bd25b29f9b82d6fbdae", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "@symbo.ls/atoms": "latest", |
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
3939
124