@instructure/ui-avatar 11.7.3-snapshot-4 → 11.7.3-snapshot-7
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/package.json +10 -10
- package/src/Avatar/v2/props.ts +5 -4
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Avatar/v1/index.d.ts +1 -3
- package/types/Avatar/v1/index.d.ts.map +1 -1
- package/types/Avatar/v2/index.d.ts +1 -3
- package/types/Avatar/v2/index.d.ts.map +1 -1
- package/types/Avatar/v2/props.d.ts +3 -4
- package/types/Avatar/v2/props.d.ts.map +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
|
-
## [11.7.3-snapshot-
|
|
6
|
+
## [11.7.3-snapshot-7](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-7) (2026-04-29)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-avatar
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-avatar",
|
|
3
|
-
"version": "11.7.3-snapshot-
|
|
3
|
+
"version": "11.7.3-snapshot-7",
|
|
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",
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.27.6",
|
|
18
|
-
"@instructure/emotion": "11.7.3-snapshot-
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/ui-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/
|
|
18
|
+
"@instructure/emotion": "11.7.3-snapshot-7",
|
|
19
|
+
"@instructure/ui-icons": "11.7.3-snapshot-7",
|
|
20
|
+
"@instructure/ui-react-utils": "11.7.3-snapshot-7",
|
|
21
|
+
"@instructure/ui-themes": "11.7.3-snapshot-7",
|
|
22
|
+
"@instructure/shared-types": "11.7.3-snapshot-7",
|
|
23
|
+
"@instructure/ui-view": "11.7.3-snapshot-7"
|
|
23
24
|
},
|
|
24
25
|
"devDependencies": {
|
|
25
26
|
"@testing-library/jest-dom": "^6.6.3",
|
|
26
27
|
"@testing-library/react": "15.0.7",
|
|
27
28
|
"vitest": "^3.2.2",
|
|
28
|
-
"@instructure/ui-
|
|
29
|
-
"@instructure/ui-
|
|
30
|
-
"@instructure/ui-color-utils": "11.7.3-snapshot-
|
|
31
|
-
"@instructure/ui-themes": "11.7.3-snapshot-4"
|
|
29
|
+
"@instructure/ui-axe-check": "11.7.3-snapshot-7",
|
|
30
|
+
"@instructure/ui-babel-preset": "11.7.3-snapshot-7",
|
|
31
|
+
"@instructure/ui-color-utils": "11.7.3-snapshot-7"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=18 <=19"
|
package/src/Avatar/v2/props.ts
CHANGED
|
@@ -27,13 +27,14 @@ import { SyntheticEvent } from 'react'
|
|
|
27
27
|
import type {
|
|
28
28
|
Spacing,
|
|
29
29
|
ComponentStyle,
|
|
30
|
-
|
|
30
|
+
NewThemeOverrideProp
|
|
31
31
|
} from '@instructure/emotion'
|
|
32
32
|
import type {
|
|
33
33
|
AsElementType,
|
|
34
34
|
OtherHTMLAttributes,
|
|
35
35
|
Renderable
|
|
36
36
|
} from '@instructure/shared-types'
|
|
37
|
+
import type { NewComponentTypes } from '@instructure/ui-themes'
|
|
37
38
|
|
|
38
39
|
const avatarSizeToIconSize = {
|
|
39
40
|
'xx-small': 'xs',
|
|
@@ -112,9 +113,9 @@ type PropKeys = keyof AvatarOwnProps
|
|
|
112
113
|
|
|
113
114
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
114
115
|
|
|
115
|
-
type AvatarProps = AvatarOwnProps &
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
type AvatarProps = AvatarOwnProps &
|
|
117
|
+
NewThemeOverrideProp<ReturnType<NewComponentTypes['Avatar']>> &
|
|
118
|
+
OtherHTMLAttributes<AvatarOwnProps>
|
|
118
119
|
|
|
119
120
|
type AvatarStyle = ComponentStyle<'avatar' | 'image'>
|
|
120
121
|
|