@symbo.ls/avatar 2.11.205 → 2.11.212

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.
package/Avatar.js CHANGED
@@ -9,7 +9,6 @@ export const Avatar = {
9
9
  avatarType: 'initials',
10
10
  borderRadius: '100%',
11
11
  boxSize: 'C+X C+X',
12
- cursor: 'pointer',
13
- src: `https://api.dicebear.com/7.x/${props.avatarType || 'adventurer-neutral'}/svg?seed=${props.key || key}`
12
+ src: `https://api.dicebear.com/7.x/${props.avatarType || 'initials'}/svg?seed=${props.key || key}`
14
13
  })
15
14
  }
package/AvatarBundle.js CHANGED
@@ -5,14 +5,18 @@ import { Avatar } from './Avatar'
5
5
 
6
6
  export const AvatarBundle = {
7
7
  extend: Flex,
8
- childExtend: {
9
- extend: Avatar,
10
- props: {
11
- border: '0.1312em, black .85, solid',
8
+ props: {
9
+ childProps: {
10
+ '@light': {
11
+ border: 'X, var(--theme-document-light-background), solid'
12
+ },
13
+ '@dark': {
14
+ border: 'X, var(--theme-document-dark-background), solid'
15
+ },
12
16
  ':not(:last-child)': {
13
17
  margin: '0 -Y2 0 0'
14
18
  }
15
19
  }
16
20
  },
17
- ...[{}, {}, {}, {}]
21
+ childExtend: Avatar
18
22
  }
package/AvatarChooser.js CHANGED
@@ -8,6 +8,7 @@ export const AvatarChooser = {
8
8
 
9
9
  props: {
10
10
  round: 'C',
11
+ width: 'fit-content',
11
12
  gap: 'Y',
12
13
  padding: 'W2 A W2 W2',
13
14
  theme: 'tertiary',
@@ -26,7 +27,7 @@ export const AvatarChooser = {
26
27
  Select: {
27
28
  props: {
28
29
  outline: 'none',
29
- pointerEvents: 'all',
30
+ pointerEvents: 'All',
30
31
  appearance: 'none',
31
32
  border: 'none',
32
33
  width: '100%',
@@ -57,5 +58,9 @@ export const AvatarChooser = {
57
58
  console.log(state.key)
58
59
  }
59
60
  }
61
+ },
62
+
63
+ Icon: {
64
+ name: 'arrowDown'
60
65
  }
61
66
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/avatar",
3
- "version": "2.11.205",
3
+ "version": "2.11.212",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "34a12e0c41de4a08c45fa5f48b0913510b861c06",
6
+ "gitHead": "12914eac8527ac1df36183098bbf3dfcfaa2e027",
7
7
  "dependencies": {
8
8
  "@symbo.ls/atoms": "latest",
9
9
  "@symbo.ls/button": "latest",