@instructure/ui-avatar 11.7.3-snapshot-3 → 11.7.3-snapshot-6

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 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-3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-3) (2026-04-28)
6
+ ## [11.7.3-snapshot-6](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-6) (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",
3
+ "version": "11.7.3-snapshot-6",
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-3",
19
- "@instructure/shared-types": "11.7.3-snapshot-3",
20
- "@instructure/ui-view": "11.7.3-snapshot-3",
21
- "@instructure/ui-react-utils": "11.7.3-snapshot-3",
22
- "@instructure/ui-icons": "11.7.3-snapshot-3"
18
+ "@instructure/emotion": "11.7.3-snapshot-6",
19
+ "@instructure/shared-types": "11.7.3-snapshot-6",
20
+ "@instructure/ui-icons": "11.7.3-snapshot-6",
21
+ "@instructure/ui-react-utils": "11.7.3-snapshot-6",
22
+ "@instructure/ui-themes": "11.7.3-snapshot-6",
23
+ "@instructure/ui-view": "11.7.3-snapshot-6"
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-axe-check": "11.7.3-snapshot-3",
29
- "@instructure/ui-babel-preset": "11.7.3-snapshot-3",
30
- "@instructure/ui-color-utils": "11.7.3-snapshot-3",
31
- "@instructure/ui-themes": "11.7.3-snapshot-3"
29
+ "@instructure/ui-axe-check": "11.7.3-snapshot-6",
30
+ "@instructure/ui-babel-preset": "11.7.3-snapshot-6",
31
+ "@instructure/ui-color-utils": "11.7.3-snapshot-6"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": ">=18 <=19"
@@ -27,13 +27,14 @@ import { SyntheticEvent } from 'react'
27
27
  import type {
28
28
  Spacing,
29
29
  ComponentStyle,
30
- ThemeOverrideValue
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
- themeOverride?: ThemeOverrideValue
117
- } & OtherHTMLAttributes<AvatarOwnProps>
116
+ type AvatarProps = AvatarOwnProps &
117
+ NewThemeOverrideProp<ReturnType<NewComponentTypes['Avatar']>> &
118
+ OtherHTMLAttributes<AvatarOwnProps>
118
119
 
119
120
  type AvatarStyle = ComponentStyle<'avatar' | 'image'>
120
121