@instructure/ui-heading 11.7.3 → 11.7.4-pr-snapshot-1781695314229

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,6 +3,50 @@
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-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
7
+
8
+
9
+ ### Features
10
+
11
+ * **many:** remove deprecated v2 items ([eaf8876](https://github.com/instructure/instructure-ui/commit/eaf88767c9beb95c4e09ee5705c387dfd79e4cb7))
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
45
+
46
+
47
+
48
+
49
+
6
50
  ## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
7
51
 
8
52
 
package/LICENSE.md CHANGED
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -1,9 +1,3 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.allowedProps = void 0;
7
1
  /*
8
2
  * The MIT License (MIT)
9
3
  *
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
28
22
  * SOFTWARE.
29
23
  */
30
24
 
31
- const allowedProps = exports.allowedProps = ['aiVariant', 'border', 'children', 'color', 'level', 'as', 'margin', 'elementRef', 'variant'];
25
+ module.exports = {
26
+ presets: [
27
+ [
28
+ require('@instructure/ui-babel-preset'),
29
+ {
30
+ esModules: Boolean(process.env.ES_MODULES),
31
+ removeConsole: process.env.NODE_ENV === 'production',
32
+ transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
33
+ }
34
+ ]
35
+ ]
36
+ }
@@ -28,9 +28,9 @@ import { View } from '@instructure/ui-view/v11_6';
28
28
  import { passthroughProps, callRenderProp } from '@instructure/ui-react-utils';
29
29
  import { IconAiColoredSolid } from '@instructure/ui-icons';
30
30
  import { withStyle } from '@instructure/emotion';
31
- import generateStyle from "./styles.js";
32
- import generateComponentTheme from "./theme.js";
33
- import { allowedProps } from "./props.js";
31
+ import generateStyle from './styles.js';
32
+ import generateComponentTheme from './theme.js';
33
+ import { allowedProps } from './props.js';
34
34
  import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
35
35
  const variantLevels = {
36
36
  titlePageDesktop: 'h1',
@@ -51,7 +51,7 @@ category: components
51
51
  ---
52
52
  **/
53
53
  let Heading = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Heading extends Component {
54
- static displayName = "Heading";
54
+ static displayName = 'Heading';
55
55
  static componentId = 'Heading';
56
56
  static allowedProps = allowedProps;
57
57
  static defaultProps = {
@@ -1,5 +1,4 @@
1
1
  var _dec, _class;
2
- import "core-js/modules/es.array.includes.js";
3
2
  /*
4
3
  * The MIT License (MIT)
5
4
  *
@@ -29,8 +28,8 @@ import { View } from '@instructure/ui-view/latest';
29
28
  import { passthroughProps } from '@instructure/ui-react-utils';
30
29
  import { IgniteaiLogoInstUIIcon, renderIconWithProps } from '@instructure/ui-icons';
31
30
  import { withStyleNew } from '@instructure/emotion';
32
- import generateStyle from "./styles.js";
33
- import { allowedProps } from "./props.js";
31
+ import generateStyle from './styles.js';
32
+ import { allowedProps } from './props.js';
34
33
  import { jsxs as _jsxs, jsx as _jsx } from "@emotion/react/jsx-runtime";
35
34
  const variantLevels = {
36
35
  titlePageDesktop: 'h1',
@@ -91,7 +90,7 @@ category: components
91
90
  ---
92
91
  **/
93
92
  let Heading = (_dec = withStyleNew(generateStyle), _dec(_class = class Heading extends Component {
94
- static displayName = "Heading";
93
+ static displayName = 'Heading';
95
94
  static componentId = 'Heading';
96
95
  static allowedProps = allowedProps;
97
96
  static defaultProps = {
@@ -1,4 +1,3 @@
1
- import "core-js/modules/es.array.includes.js";
2
1
  /*
3
2
  * The MIT License (MIT)
4
3
  *
@@ -141,16 +140,6 @@ const generateStyle = (componentTheme, props) => {
141
140
  },
142
141
  'secondary-on': {
143
142
  color: componentTheme.mutedOnColor
144
- },
145
- ai: {
146
- background: `
147
- linear-gradient(to bottom, ${componentTheme.aiTextTopGradientColor} 0%, ${componentTheme.aiTextBottomGradientColor} 100%) text`,
148
- border: 'solid transparent',
149
- WebkitTextFillColor: 'transparent',
150
- '@media print': {
151
- background: 'transparent',
152
- WebkitTextFillColor: 'unset'
153
- }
154
143
  }
155
144
  };
156
145
  const borderStyles = {
package/es/exports/a.js CHANGED
@@ -21,4 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Heading } from "../Heading/v1/index.js";
24
+
25
+ export { Heading } from '../Heading/v1/index.js';
package/es/exports/b.js CHANGED
@@ -21,4 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Heading } from "../Heading/v2/index.js";
24
+
25
+ export { Heading } from '../Heading/v2/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-heading",
3
- "version": "11.7.3",
3
+ "version": "11.7.4-pr-snapshot-1781695314229",
4
+ "type": "module",
4
5
  "description": "A component for creating typographic headings",
5
6
  "author": "Instructure, Inc. Engineering and Product Design",
6
7
  "module": "./es/index.js",
7
- "main": "./lib/index.js",
8
8
  "types": "./types/index.d.ts",
9
9
  "repository": {
10
10
  "type": "git",
@@ -15,20 +15,20 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/console": "11.7.3",
19
- "@instructure/shared-types": "11.7.3",
20
- "@instructure/ui-icons": "11.7.3",
21
- "@instructure/emotion": "11.7.3",
22
- "@instructure/ui-react-utils": "11.7.3",
23
- "@instructure/ui-themes": "11.7.3",
24
- "@instructure/ui-view": "11.7.3"
18
+ "@instructure/console": "11.7.4-pr-snapshot-1781695314229",
19
+ "@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
20
+ "@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
21
+ "@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229",
22
+ "@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
23
+ "@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229",
24
+ "@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229"
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.3",
31
- "@instructure/ui-babel-preset": "11.7.3"
30
+ "@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
31
+ "@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": ">=18 <=19"
@@ -38,7 +38,6 @@
38
38
  },
39
39
  "sideEffects": false,
40
40
  "exports": {
41
- "./lib/*": "./lib/*",
42
41
  "./es/*": "./es/*",
43
42
  "./types/*": "./types/*",
44
43
  "./package.json": "./package.json",
@@ -47,28 +46,24 @@
47
46
  "src": "./src/exports/a.ts",
48
47
  "types": "./types/exports/a.d.ts",
49
48
  "import": "./es/exports/a.js",
50
- "require": "./lib/exports/a.js",
51
49
  "default": "./es/exports/a.js"
52
50
  },
53
51
  "./v11_6": {
54
52
  "src": "./src/exports/a.ts",
55
53
  "types": "./types/exports/a.d.ts",
56
54
  "import": "./es/exports/a.js",
57
- "require": "./lib/exports/a.js",
58
55
  "default": "./es/exports/a.js"
59
56
  },
60
57
  "./v11_7": {
61
58
  "src": "./src/exports/b.ts",
62
59
  "types": "./types/exports/b.d.ts",
63
60
  "import": "./es/exports/b.js",
64
- "require": "./lib/exports/b.js",
65
61
  "default": "./es/exports/b.js"
66
62
  },
67
63
  "./latest": {
68
64
  "src": "./src/exports/b.ts",
69
65
  "types": "./types/exports/b.d.ts",
70
66
  "import": "./es/exports/b.js",
71
- "require": "./lib/exports/b.js",
72
67
  "default": "./es/exports/b.js"
73
68
  }
74
69
  },
@@ -76,7 +71,7 @@
76
71
  "lint": "ui-scripts lint",
77
72
  "lint:fix": "ui-scripts lint --fix",
78
73
  "clean": "ui-scripts clean",
79
- "build": "ui-scripts build --modules es,cjs",
74
+ "build": "ui-scripts build",
80
75
  "build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
81
76
  "build:types": "tsc -p tsconfig.build.json",
82
77
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -30,10 +30,10 @@ import { IconAiColoredSolid } from '@instructure/ui-icons'
30
30
 
31
31
  import { withStyle } from '@instructure/emotion'
32
32
 
33
- import generateStyle from './styles'
34
- import generateComponentTheme from './theme'
33
+ import generateStyle from './styles.js'
34
+ import generateComponentTheme from './theme.js'
35
35
 
36
- import { allowedProps } from './props'
36
+ import { allowedProps } from './props.js'
37
37
  import type { HeadingProps } from './props'
38
38
  import { AsElementType } from '@instructure/shared-types'
39
39
 
@@ -60,6 +60,7 @@ category: components
60
60
  **/
61
61
  @withStyle(generateStyle, generateComponentTheme)
62
62
  class Heading extends Component<HeadingProps> {
63
+ static displayName = 'Heading'
63
64
  static readonly componentId = 'Heading'
64
65
 
65
66
  static allowedProps = allowedProps
@@ -33,9 +33,9 @@ import {
33
33
 
34
34
  import { withStyleNew } from '@instructure/emotion'
35
35
 
36
- import generateStyle from './styles'
36
+ import generateStyle from './styles.js'
37
37
 
38
- import { allowedProps } from './props'
38
+ import { allowedProps } from './props.js'
39
39
  import type { HeadingProps } from './props'
40
40
  import { AsElementType } from '@instructure/shared-types'
41
41
 
@@ -118,6 +118,7 @@ category: components
118
118
  **/
119
119
  @withStyleNew(generateStyle)
120
120
  class Heading extends Component<HeadingProps> {
121
+ static displayName = 'Heading'
121
122
  static readonly componentId = 'Heading'
122
123
 
123
124
  static allowedProps = allowedProps
@@ -51,7 +51,7 @@ type HeadingOwnProps = {
51
51
  */
52
52
  border?: 'none' | 'top' | 'bottom'
53
53
  /**
54
- * The font color to render, NOTE: `ai` color is deprecated. Use the `aiVariant` prop instead
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
  */
@@ -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 = {
package/src/exports/a.ts CHANGED
@@ -22,5 +22,5 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Heading } from '../Heading/v1'
25
+ export { Heading } from '../Heading/v1/index.js'
26
26
  export type { HeadingProps } from '../Heading/v1/props'
package/src/exports/b.ts CHANGED
@@ -22,5 +22,5 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Heading } from '../Heading/v2'
25
+ export { Heading } from '../Heading/v2/index.js'
26
26
  export type { HeadingProps } from '../Heading/v2/props'