@instructure/ui-avatar 8.50.1-snapshot-2 → 8.50.1-snapshot-13
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/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/package.json +14 -14
- package/src/Avatar/README.md +7 -6
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [8.50.1-snapshot-
|
|
6
|
+
## [8.50.1-snapshot-13](https://github.com/instructure/instructure-ui/compare/v8.50.0...v8.50.1-snapshot-13) (2023-12-07)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-avatar
|
|
9
9
|
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-avatar",
|
|
3
|
-
"version": "8.50.1-snapshot-
|
|
3
|
+
"version": "8.50.1-snapshot-13",
|
|
4
4
|
"description": "An image or letters that represents a user.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.23.2",
|
|
27
|
-
"@instructure/console": "8.50.1-snapshot-
|
|
28
|
-
"@instructure/emotion": "8.50.1-snapshot-
|
|
29
|
-
"@instructure/shared-types": "8.50.1-snapshot-
|
|
30
|
-
"@instructure/ui-icons": "8.50.1-snapshot-
|
|
31
|
-
"@instructure/ui-react-utils": "8.50.1-snapshot-
|
|
32
|
-
"@instructure/ui-testable": "8.50.1-snapshot-
|
|
33
|
-
"@instructure/ui-view": "8.50.1-snapshot-
|
|
27
|
+
"@instructure/console": "8.50.1-snapshot-13",
|
|
28
|
+
"@instructure/emotion": "8.50.1-snapshot-13",
|
|
29
|
+
"@instructure/shared-types": "8.50.1-snapshot-13",
|
|
30
|
+
"@instructure/ui-icons": "8.50.1-snapshot-13",
|
|
31
|
+
"@instructure/ui-react-utils": "8.50.1-snapshot-13",
|
|
32
|
+
"@instructure/ui-testable": "8.50.1-snapshot-13",
|
|
33
|
+
"@instructure/ui-view": "8.50.1-snapshot-13",
|
|
34
34
|
"prop-types": "^15.8.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@instructure/ui-axe-check": "8.50.1-snapshot-
|
|
38
|
-
"@instructure/ui-babel-preset": "8.50.1-snapshot-
|
|
39
|
-
"@instructure/ui-color-utils": "8.50.1-snapshot-
|
|
40
|
-
"@instructure/ui-test-locator": "8.50.1-snapshot-
|
|
41
|
-
"@instructure/ui-test-utils": "8.50.1-snapshot-
|
|
42
|
-
"@instructure/ui-themes": "8.50.1-snapshot-
|
|
37
|
+
"@instructure/ui-axe-check": "8.50.1-snapshot-13",
|
|
38
|
+
"@instructure/ui-babel-preset": "8.50.1-snapshot-13",
|
|
39
|
+
"@instructure/ui-color-utils": "8.50.1-snapshot-13",
|
|
40
|
+
"@instructure/ui-test-locator": "8.50.1-snapshot-13",
|
|
41
|
+
"@instructure/ui-test-utils": "8.50.1-snapshot-13",
|
|
42
|
+
"@instructure/ui-themes": "8.50.1-snapshot-13",
|
|
43
43
|
"@testing-library/jest-dom": "^6.1.4",
|
|
44
44
|
"@testing-library/react": "^14.0.0"
|
|
45
45
|
},
|
package/src/Avatar/README.md
CHANGED
|
@@ -10,7 +10,8 @@ The avatar can be `circle` _(default)_ or `rectangle`. Use the `margin` prop to
|
|
|
10
10
|
|
|
11
11
|
```js
|
|
12
12
|
---
|
|
13
|
-
|
|
13
|
+
type: example
|
|
14
|
+
readonly: true
|
|
14
15
|
---
|
|
15
16
|
<div>
|
|
16
17
|
<Avatar name="Sarah Robinson" src={avatarSquare} margin="0 small 0 0" />
|
|
@@ -29,7 +30,7 @@ of its container.
|
|
|
29
30
|
|
|
30
31
|
```js
|
|
31
32
|
---
|
|
32
|
-
|
|
33
|
+
type: example
|
|
33
34
|
---
|
|
34
35
|
<div>
|
|
35
36
|
<View display="block" padding="small medium">
|
|
@@ -68,7 +69,7 @@ The color of the initials and icons can be set with the `color` prop, and it all
|
|
|
68
69
|
|
|
69
70
|
```js
|
|
70
71
|
---
|
|
71
|
-
|
|
72
|
+
type: example
|
|
72
73
|
---
|
|
73
74
|
<div>
|
|
74
75
|
<View display="block" padding="small medium">
|
|
@@ -98,7 +99,7 @@ Inverted Avatars have **no border**.
|
|
|
98
99
|
|
|
99
100
|
```js
|
|
100
101
|
---
|
|
101
|
-
|
|
102
|
+
type: example
|
|
102
103
|
---
|
|
103
104
|
<div>
|
|
104
105
|
<View display="block" padding="small medium" background="primary">
|
|
@@ -126,7 +127,7 @@ In case you need more control over the color, feel free to use the `themeOverrid
|
|
|
126
127
|
|
|
127
128
|
```js
|
|
128
129
|
---
|
|
129
|
-
|
|
130
|
+
type: example
|
|
130
131
|
---
|
|
131
132
|
<div>
|
|
132
133
|
<Avatar name="Isaac Asimov" renderIcon={<IconGroupLine />} themeOverride={{ color: '#efb410' }} margin="0 small 0 0" />
|
|
@@ -154,7 +155,7 @@ example: true
|
|
|
154
155
|
|
|
155
156
|
```js
|
|
156
157
|
---
|
|
157
|
-
|
|
158
|
+
type: embed
|
|
158
159
|
---
|
|
159
160
|
<Guidelines>
|
|
160
161
|
<Figure recommendation="yes" title="Do">
|