@symbo.ls/avatar 2.11.143 → 2.11.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +36 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -4,7 +4,7 @@ import { Img, Flex } from '@symbo.ls/atoms'
4
4
  import { Button } from '@symbo.ls/button'
5
5
  import { IndicatorDot } from '@symbo.ls/accessories'
6
6
  import { InfoSet } from '@symbo.ls/infoset'
7
- import { CardLabel } from '@symbo.ls/card'
7
+ import { CardLabel } from '@symbo.ls/label'
8
8
 
9
9
  export const Avatar = {
10
10
  extend: Img,
@@ -20,6 +20,41 @@ export const Avatar = {
20
20
  }
21
21
  }
22
22
 
23
+ export const DropDownWithAvatar = {
24
+ extend: Flex,
25
+ avatar: { extend: Avatar },
26
+ list: {
27
+ childExtend: { tag: 'H6' },
28
+ ...[{ props: { text: 'eth' } }]
29
+ },
30
+ downArrow: {
31
+ extend: Button,
32
+ props: { icon: 'arrowDown' }
33
+ },
34
+
35
+ props: {
36
+ boxSize: 'fit-content fit-content',
37
+ align: 'center flex-start',
38
+ padding: 'Y Z',
39
+ gap: 'Z',
40
+ round: 'Z',
41
+ background: 'rgba(28, 28, 31, 1)',
42
+ avatar: { boxSize: 'A+Y' },
43
+ list: {
44
+ childProps: {
45
+ fontSize: 'Z',
46
+ textTransform: 'uppercase'
47
+ }
48
+ },
49
+ downArrow: {
50
+ padding: '0',
51
+ background: 'transparent',
52
+ color: 'white',
53
+ fontSize: 'Y'
54
+ }
55
+ }
56
+ }
57
+
23
58
  export const AvatarWithIndicator = {
24
59
  avatar: { extend: Avatar },
25
60
  indicator: { extend: IndicatorDot },
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/avatar",
3
- "version": "2.11.143",
3
+ "version": "2.11.146",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "3d7bcc81ae9ee0083a70e6b95f7ecac3b73359ba",
6
+ "gitHead": "b8899bfbe4ca5e7ed373cd5e2e6612aa330899ed",
7
7
  "dependencies": {
8
8
  "@symbo.ls/atoms": "latest",
9
9
  "@symbo.ls/button": "latest"