@instructure/ui-avatar 11.7.4-snapshot-135 → 11.7.4-snapshot-136
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,12 +3,13 @@
|
|
|
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-136](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-136) (2026-07-24)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
|
10
10
|
|
|
11
11
|
* **many:** support current spacing tokens in the margin prop for v2 components ([1b47c5f](https://github.com/instructure/instructure-ui/commit/1b47c5f23eaa60b532cdfd53c39bd71f0cf51aaa))
|
|
12
|
+
* **ui-codemods:** update tokens and move theme.componentOverrides to themeOverride.components ([7f94400](https://github.com/instructure/instructure-ui/commit/7f94400b25e32effc7b748d4c77ced7ecb1a70ef))
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
package/es/Avatar/v2/styles.js
CHANGED
|
@@ -146,6 +146,7 @@ const generateStyle = (componentTheme, params, sharedTokens) => {
|
|
|
146
146
|
color: hasInverseColor ? componentTheme.textOnColor : colorVariants[color].text,
|
|
147
147
|
borderColor: componentTheme.borderColor,
|
|
148
148
|
fontWeight: componentTheme.fontWeight,
|
|
149
|
+
fontFamily: componentTheme.fontFamily,
|
|
149
150
|
overflow: 'hidden',
|
|
150
151
|
// TODO handle the merging on tokens inside the util
|
|
151
152
|
margin: calcSpacingFromShorthand(margin, {
|
package/lib/Avatar/v2/styles.js
CHANGED
|
@@ -152,6 +152,7 @@ const generateStyle = (componentTheme, params, sharedTokens) => {
|
|
|
152
152
|
color: hasInverseColor ? componentTheme.textOnColor : colorVariants[color].text,
|
|
153
153
|
borderColor: componentTheme.borderColor,
|
|
154
154
|
fontWeight: componentTheme.fontWeight,
|
|
155
|
+
fontFamily: componentTheme.fontFamily,
|
|
155
156
|
overflow: 'hidden',
|
|
156
157
|
// TODO handle the merging on tokens inside the util
|
|
157
158
|
margin: (0, _emotion.calcSpacingFromShorthand)(margin, {
|
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-136",
|
|
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.29.7",
|
|
18
|
-
"@instructure/emotion": "11.7.4-snapshot-
|
|
19
|
-
"@instructure/shared-types": "11.7.4-snapshot-
|
|
20
|
-
"@instructure/ui-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/ui-view": "11.7.4-snapshot-
|
|
18
|
+
"@instructure/emotion": "11.7.4-snapshot-136",
|
|
19
|
+
"@instructure/shared-types": "11.7.4-snapshot-136",
|
|
20
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-136",
|
|
21
|
+
"@instructure/ui-icons": "11.7.4-snapshot-136",
|
|
22
|
+
"@instructure/ui-themes": "11.7.4-snapshot-136",
|
|
23
|
+
"@instructure/ui-view": "11.7.4-snapshot-136"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@testing-library/jest-dom": "^6.9.1",
|
|
27
27
|
"@testing-library/react": "16.3.2",
|
|
28
28
|
"vitest": "^4.1.9",
|
|
29
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
30
|
-
"@instructure/ui-axe-check": "11.7.4-snapshot-
|
|
31
|
-
"@instructure/ui-color-utils": "11.7.4-snapshot-
|
|
29
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-136",
|
|
30
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-136",
|
|
31
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-136"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=18 <=19"
|
package/src/Avatar/v2/styles.ts
CHANGED
|
@@ -173,6 +173,7 @@ const generateStyle = (
|
|
|
173
173
|
: colorVariants[color!].text,
|
|
174
174
|
borderColor: componentTheme.borderColor,
|
|
175
175
|
fontWeight: componentTheme.fontWeight,
|
|
176
|
+
fontFamily: componentTheme.fontFamily,
|
|
176
177
|
overflow: 'hidden',
|
|
177
178
|
// TODO handle the merging on tokens inside the util
|
|
178
179
|
margin: calcSpacingFromShorthand(margin, {
|