@instructure/ui-avatar 11.7.4-snapshot-53 → 11.7.4-snapshot-80
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/es/Avatar/v2/styles.js +1 -1
- package/lib/Avatar/v2/styles.js +1 -1
- package/package.json +14 -14
- package/src/Avatar/v2/styles.ts +1 -1
- 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
|
-
## [11.7.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-80](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-80) (2026-07-07)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-avatar
|
|
9
9
|
|
package/es/Avatar/v2/styles.js
CHANGED
|
@@ -136,7 +136,7 @@ const generateStyle = (componentTheme, params, sharedTokens) => {
|
|
|
136
136
|
label: 'avatar',
|
|
137
137
|
boxSizing: 'border-box',
|
|
138
138
|
border: getBorder(),
|
|
139
|
-
borderRadius: shape === 'circle' ? '50%' :
|
|
139
|
+
borderRadius: shape === 'circle' ? '50%' : componentTheme.rectangleRadius,
|
|
140
140
|
...sizeStyles[size],
|
|
141
141
|
background: hasInverseColor || color === 'ai' ? colorVariants[color].background : componentTheme.backgroundColor,
|
|
142
142
|
display: display === 'inline' ? 'inline-flex' : 'flex',
|
package/lib/Avatar/v2/styles.js
CHANGED
|
@@ -142,7 +142,7 @@ const generateStyle = (componentTheme, params, sharedTokens) => {
|
|
|
142
142
|
label: 'avatar',
|
|
143
143
|
boxSizing: 'border-box',
|
|
144
144
|
border: getBorder(),
|
|
145
|
-
borderRadius: shape === 'circle' ? '50%' :
|
|
145
|
+
borderRadius: shape === 'circle' ? '50%' : componentTheme.rectangleRadius,
|
|
146
146
|
...sizeStyles[size],
|
|
147
147
|
background: hasInverseColor || color === 'ai' ? colorVariants[color].background : componentTheme.backgroundColor,
|
|
148
148
|
display: display === 'inline' ? 'inline-flex' : 'flex',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-avatar",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-80",
|
|
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",
|
|
@@ -14,21 +14,21 @@
|
|
|
14
14
|
"bugs": "https://github.com/instructure/instructure-ui/issues",
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@babel/runtime": "^7.29.
|
|
18
|
-
"@instructure/emotion": "11.7.4-snapshot-
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/ui-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/
|
|
17
|
+
"@babel/runtime": "^7.29.7",
|
|
18
|
+
"@instructure/emotion": "11.7.4-snapshot-80",
|
|
19
|
+
"@instructure/shared-types": "11.7.4-snapshot-80",
|
|
20
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-80",
|
|
21
|
+
"@instructure/ui-themes": "11.7.4-snapshot-80",
|
|
22
|
+
"@instructure/ui-icons": "11.7.4-snapshot-80",
|
|
23
|
+
"@instructure/ui-view": "11.7.4-snapshot-80"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@testing-library/jest-dom": "^6.
|
|
27
|
-
"@testing-library/react": "
|
|
28
|
-
"vitest": "^
|
|
29
|
-
"@instructure/ui-
|
|
30
|
-
"@instructure/ui-
|
|
31
|
-
"@instructure/ui-
|
|
26
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
27
|
+
"@testing-library/react": "16.3.2",
|
|
28
|
+
"vitest": "^4.1.9",
|
|
29
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-80",
|
|
30
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-80",
|
|
31
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-80"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=18 <=19"
|
package/src/Avatar/v2/styles.ts
CHANGED
|
@@ -158,7 +158,7 @@ const generateStyle = (
|
|
|
158
158
|
label: 'avatar',
|
|
159
159
|
boxSizing: 'border-box',
|
|
160
160
|
border: getBorder(),
|
|
161
|
-
borderRadius: shape === 'circle' ? '50%' :
|
|
161
|
+
borderRadius: shape === 'circle' ? '50%' : componentTheme.rectangleRadius,
|
|
162
162
|
...sizeStyles[size!],
|
|
163
163
|
background:
|
|
164
164
|
hasInverseColor || color === 'ai'
|