@instructure/ui-heading 11.7.4-snapshot-3 → 11.7.4-snapshot-5
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 +38 -2
- package/es/Heading/v2/styles.js +0 -10
- package/lib/Heading/v2/styles.js +0 -10
- package/package.json +10 -10
- package/src/Heading/v2/props.ts +1 -2
- package/src/Heading/v2/styles.ts +1 -11
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Heading/v2/index.d.ts +1 -1
- package/types/Heading/v2/props.d.ts +2 -2
- package/types/Heading/v2/props.d.ts.map +1 -1
- package/types/Heading/v2/styles.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,45 @@
|
|
|
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-5](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-5) (2026-05-12)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **many:** remove deprecated v2 items ([d5c1198](https://github.com/instructure/instructure-ui/commit/d5c1198820342f674c99bd7ef016ab2094d62a89))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* **many:** Removed FormFieldLabel component
|
|
17
|
+
|
|
18
|
+
Removed _content prop from DrawerLayout.Tray and DrawerLayout.Content
|
|
19
|
+
|
|
20
|
+
Removed _link prop from Link
|
|
21
|
+
|
|
22
|
+
Removed _node prop from Menu.Item
|
|
23
|
+
|
|
24
|
+
Removed _root prop from Pagination, TreeBrowser
|
|
25
|
+
|
|
26
|
+
Removed _select prop from SimpleSelect and TimeSelect
|
|
27
|
+
|
|
28
|
+
Removed _ref prop from TruncateText
|
|
29
|
+
|
|
30
|
+
Removed _element prop from View
|
|
31
|
+
|
|
32
|
+
Removed color="ai" from Heading
|
|
33
|
+
|
|
34
|
+
Removed variant="inline-small" and variant="standalone-small" from Link
|
|
35
|
+
|
|
36
|
+
Removed title prop from Tag
|
|
37
|
+
|
|
38
|
+
Removed focusRingBorderRadius prop from View
|
|
39
|
+
|
|
40
|
+
Removed hideActionsUserSeparator prop from TopNavBar.Layout
|
|
41
|
+
|
|
42
|
+
Removed handleFocusOutlineColor, handleFocusOutlineWidth, handleShadowColor from RangeInput
|
|
43
|
+
|
|
44
|
+
INSTUI-5025
|
|
9
45
|
|
|
10
46
|
|
|
11
47
|
|
package/es/Heading/v2/styles.js
CHANGED
|
@@ -140,16 +140,6 @@ const generateStyle = (componentTheme, props) => {
|
|
|
140
140
|
},
|
|
141
141
|
'secondary-on': {
|
|
142
142
|
color: componentTheme.mutedOnColor
|
|
143
|
-
},
|
|
144
|
-
ai: {
|
|
145
|
-
background: `
|
|
146
|
-
linear-gradient(to bottom, ${componentTheme.aiTextTopGradientColor} 0%, ${componentTheme.aiTextBottomGradientColor} 100%) text`,
|
|
147
|
-
border: 'solid transparent',
|
|
148
|
-
WebkitTextFillColor: 'transparent',
|
|
149
|
-
'@media print': {
|
|
150
|
-
background: 'transparent',
|
|
151
|
-
WebkitTextFillColor: 'unset'
|
|
152
|
-
}
|
|
153
143
|
}
|
|
154
144
|
};
|
|
155
145
|
const borderStyles = {
|
package/lib/Heading/v2/styles.js
CHANGED
|
@@ -146,16 +146,6 @@ const generateStyle = (componentTheme, props) => {
|
|
|
146
146
|
},
|
|
147
147
|
'secondary-on': {
|
|
148
148
|
color: componentTheme.mutedOnColor
|
|
149
|
-
},
|
|
150
|
-
ai: {
|
|
151
|
-
background: `
|
|
152
|
-
linear-gradient(to bottom, ${componentTheme.aiTextTopGradientColor} 0%, ${componentTheme.aiTextBottomGradientColor} 100%) text`,
|
|
153
|
-
border: 'solid transparent',
|
|
154
|
-
WebkitTextFillColor: 'transparent',
|
|
155
|
-
'@media print': {
|
|
156
|
-
background: 'transparent',
|
|
157
|
-
WebkitTextFillColor: 'unset'
|
|
158
|
-
}
|
|
159
149
|
}
|
|
160
150
|
};
|
|
161
151
|
const borderStyles = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-heading",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-5",
|
|
4
4
|
"description": "A component for creating typographic headings",
|
|
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.2",
|
|
18
|
-
"@instructure/console": "11.7.4-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.4-snapshot-
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-themes": "11.7.4-snapshot-
|
|
24
|
-
"@instructure/ui-view": "11.7.4-snapshot-
|
|
18
|
+
"@instructure/console": "11.7.4-snapshot-5",
|
|
19
|
+
"@instructure/emotion": "11.7.4-snapshot-5",
|
|
20
|
+
"@instructure/shared-types": "11.7.4-snapshot-5",
|
|
21
|
+
"@instructure/ui-icons": "11.7.4-snapshot-5",
|
|
22
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-5",
|
|
23
|
+
"@instructure/ui-themes": "11.7.4-snapshot-5",
|
|
24
|
+
"@instructure/ui-view": "11.7.4-snapshot-5"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@testing-library/jest-dom": "^6.6.3",
|
|
28
28
|
"@testing-library/react": "15.0.7",
|
|
29
29
|
"vitest": "^3.2.2",
|
|
30
|
-
"@instructure/ui-axe-check": "11.7.4-snapshot-
|
|
31
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
30
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-5",
|
|
31
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-5"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=18 <=19"
|
package/src/Heading/v2/props.ts
CHANGED
|
@@ -51,7 +51,7 @@ type HeadingOwnProps = {
|
|
|
51
51
|
*/
|
|
52
52
|
border?: 'none' | 'top' | 'bottom'
|
|
53
53
|
/**
|
|
54
|
-
* The font color to render
|
|
54
|
+
* The font color to render
|
|
55
55
|
*/
|
|
56
56
|
color?:
|
|
57
57
|
| 'primary'
|
|
@@ -61,7 +61,6 @@ type HeadingOwnProps = {
|
|
|
61
61
|
| 'inherit'
|
|
62
62
|
| 'primary-on'
|
|
63
63
|
| 'secondary-on'
|
|
64
|
-
| 'ai'
|
|
65
64
|
/**
|
|
66
65
|
* The level of the heading in the DOM: h1 is largest; h6 is smallest.
|
|
67
66
|
*/
|
package/src/Heading/v2/styles.ts
CHANGED
|
@@ -129,17 +129,7 @@ const generateStyle = (
|
|
|
129
129
|
'primary-inverse': { color: componentTheme.inverseColor },
|
|
130
130
|
'secondary-inverse': { color: componentTheme.inverseColor },
|
|
131
131
|
'primary-on': { color: componentTheme.baseOnColor },
|
|
132
|
-
'secondary-on': { color: componentTheme.mutedOnColor }
|
|
133
|
-
ai: {
|
|
134
|
-
background: `
|
|
135
|
-
linear-gradient(to bottom, ${componentTheme.aiTextTopGradientColor} 0%, ${componentTheme.aiTextBottomGradientColor} 100%) text`,
|
|
136
|
-
border: 'solid transparent',
|
|
137
|
-
WebkitTextFillColor: 'transparent',
|
|
138
|
-
'@media print': {
|
|
139
|
-
background: 'transparent',
|
|
140
|
-
WebkitTextFillColor: 'unset'
|
|
141
|
-
}
|
|
142
|
-
}
|
|
132
|
+
'secondary-on': { color: componentTheme.mutedOnColor }
|
|
143
133
|
}
|
|
144
134
|
|
|
145
135
|
const borderStyles = {
|