@instructure/ui-heading 11.7.4-snapshot-11 → 11.7.4-snapshot-49
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/LICENSE.md +1 -0
- package/es/Heading/v1/index.js +4 -4
- package/es/Heading/v2/index.js +3 -3
- package/es/exports/a.js +2 -1
- package/es/exports/b.js +2 -1
- package/lib/Heading/v1/index.js +4 -4
- package/lib/Heading/v2/index.js +3 -3
- package/lib/exports/a.js +2 -2
- package/lib/exports/b.js +2 -2
- package/package.json +10 -10
- package/src/Heading/v1/index.tsx +4 -3
- package/src/Heading/v2/index.tsx +3 -2
- package/src/exports/a.ts +1 -1
- package/src/exports/b.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Heading/v1/index.d.ts +1 -0
- package/types/Heading/v1/index.d.ts.map +1 -1
- package/types/Heading/v2/index.d.ts +1 -0
- package/types/Heading/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +1 -1
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +1 -1
- package/types/exports/b.d.ts.map +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-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
package/LICENSE.md
CHANGED
package/es/Heading/v1/index.js
CHANGED
|
@@ -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
|
|
32
|
-
import generateComponentTheme from
|
|
33
|
-
import { allowedProps } from
|
|
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 =
|
|
54
|
+
static displayName = 'Heading';
|
|
55
55
|
static componentId = 'Heading';
|
|
56
56
|
static allowedProps = allowedProps;
|
|
57
57
|
static defaultProps = {
|
package/es/Heading/v2/index.js
CHANGED
|
@@ -28,8 +28,8 @@ import { View } from '@instructure/ui-view/latest';
|
|
|
28
28
|
import { passthroughProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { IgniteaiLogoInstUIIcon, renderIconWithProps } from '@instructure/ui-icons';
|
|
30
30
|
import { withStyleNew } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import { allowedProps } from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
33
|
import { jsxs as _jsxs, jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
34
34
|
const variantLevels = {
|
|
35
35
|
titlePageDesktop: 'h1',
|
|
@@ -90,7 +90,7 @@ category: components
|
|
|
90
90
|
---
|
|
91
91
|
**/
|
|
92
92
|
let Heading = (_dec = withStyleNew(generateStyle), _dec(_class = class Heading extends Component {
|
|
93
|
-
static displayName =
|
|
93
|
+
static displayName = 'Heading';
|
|
94
94
|
static componentId = 'Heading';
|
|
95
95
|
static allowedProps = allowedProps;
|
|
96
96
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
package/es/exports/b.js
CHANGED
package/lib/Heading/v1/index.js
CHANGED
|
@@ -11,9 +11,9 @@ var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProp
|
|
|
11
11
|
var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js");
|
|
12
12
|
var _IconAiColoredSolid = require("@instructure/ui-icons/lib/generated/IconAiColoredSolid.js");
|
|
13
13
|
var _emotion = require("@instructure/emotion");
|
|
14
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
15
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
16
|
-
var _props = require("./props");
|
|
14
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
15
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
16
|
+
var _props = require("./props.js");
|
|
17
17
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
18
18
|
var _dec, _class;
|
|
19
19
|
/*
|
|
@@ -58,7 +58,7 @@ category: components
|
|
|
58
58
|
---
|
|
59
59
|
**/
|
|
60
60
|
let Heading = exports.Heading = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Heading extends _react.Component {
|
|
61
|
-
static displayName =
|
|
61
|
+
static displayName = 'Heading';
|
|
62
62
|
static componentId = 'Heading';
|
|
63
63
|
static allowedProps = _props.allowedProps;
|
|
64
64
|
static defaultProps = {
|
package/lib/Heading/v2/index.js
CHANGED
|
@@ -10,8 +10,8 @@ var _latest = require("@instructure/ui-view/latest");
|
|
|
10
10
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
11
11
|
var _uiIcons = require("@instructure/ui-icons");
|
|
12
12
|
var _emotion = require("@instructure/emotion");
|
|
13
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
14
|
-
var _props = require("./props");
|
|
13
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
14
|
+
var _props = require("./props.js");
|
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
16
16
|
var _dec, _class;
|
|
17
17
|
/*
|
|
@@ -96,7 +96,7 @@ category: components
|
|
|
96
96
|
---
|
|
97
97
|
**/
|
|
98
98
|
let Heading = exports.Heading = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Heading extends _react.Component {
|
|
99
|
-
static displayName =
|
|
99
|
+
static displayName = 'Heading';
|
|
100
100
|
static componentId = 'Heading';
|
|
101
101
|
static allowedProps = _props.allowedProps;
|
|
102
102
|
static defaultProps = {
|
package/lib/exports/a.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Heading", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.Heading;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _index = require("../Heading/v1/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Heading", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.Heading;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _index = require("../Heading/v2/index.js");
|
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-49",
|
|
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/
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/ui-icons": "11.7.4-snapshot-
|
|
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-49",
|
|
19
|
+
"@instructure/shared-types": "11.7.4-snapshot-49",
|
|
20
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-49",
|
|
21
|
+
"@instructure/ui-icons": "11.7.4-snapshot-49",
|
|
22
|
+
"@instructure/emotion": "11.7.4-snapshot-49",
|
|
23
|
+
"@instructure/ui-themes": "11.7.4-snapshot-49",
|
|
24
|
+
"@instructure/ui-view": "11.7.4-snapshot-49"
|
|
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-49",
|
|
31
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-49"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=18 <=19"
|
package/src/Heading/v1/index.tsx
CHANGED
|
@@ -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
|
package/src/Heading/v2/index.tsx
CHANGED
|
@@ -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
|
package/src/exports/a.ts
CHANGED
package/src/exports/b.ts
CHANGED