@instructure/ui-heading 11.7.9-snapshot-0 → 11.7.9-snapshot-2
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/lib/Heading/v1/index.js +10 -11
- package/lib/Heading/v2/index.js +2 -2
- package/package.json +11 -11
- 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.9-snapshot-
|
|
6
|
+
## [11.7.9-snapshot-2](https://github.com/instructure/instructure-ui/compare/v11.7.8...v11.7.9-snapshot-2) (2026-10-12)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-heading
|
|
9
9
|
|
package/lib/Heading/v1/index.js
CHANGED
|
@@ -7,9 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.Heading = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var _IconAiColoredSolid = require("@instructure/ui-icons/lib/generated/IconAiColoredSolid.js");
|
|
10
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
11
|
+
var _uiIcons = require("@instructure/ui-icons");
|
|
13
12
|
var _emotion = require("@instructure/emotion");
|
|
14
13
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
15
14
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
@@ -103,7 +102,7 @@ let Heading = exports.Heading = (_dec = (0, _emotion.withStyle)(_styles.default,
|
|
|
103
102
|
return (0, _jsxRuntime.jsxs)("span", {
|
|
104
103
|
css: [this.props.styles?.withIcon],
|
|
105
104
|
"aria-hidden": "true",
|
|
106
|
-
children: [(0,
|
|
105
|
+
children: [(0, _uiReactUtils.callRenderProp)(renderIcon), "\xA0", children]
|
|
107
106
|
});
|
|
108
107
|
}
|
|
109
108
|
if (aiVariant === 'stacked') {
|
|
@@ -112,7 +111,7 @@ let Heading = exports.Heading = (_dec = (0, _emotion.withStyle)(_styles.default,
|
|
|
112
111
|
"aria-hidden": "true",
|
|
113
112
|
children: [(0, _jsxRuntime.jsxs)("span", {
|
|
114
113
|
css: this.props.styles?.igniteAIStacked,
|
|
115
|
-
children: [(0, _jsxRuntime.jsx)(
|
|
114
|
+
children: [(0, _jsxRuntime.jsx)(_uiIcons.IconAiColoredSolid, {}), (0, _jsxRuntime.jsx)("span", {
|
|
116
115
|
css: this.props.styles?.igniteAI,
|
|
117
116
|
children: "IgniteAI"
|
|
118
117
|
})]
|
|
@@ -123,7 +122,7 @@ let Heading = exports.Heading = (_dec = (0, _emotion.withStyle)(_styles.default,
|
|
|
123
122
|
return (0, _jsxRuntime.jsxs)("span", {
|
|
124
123
|
css: this.props.styles?.withIcon,
|
|
125
124
|
"aria-hidden": "true",
|
|
126
|
-
children: [(0, _jsxRuntime.jsx)(
|
|
125
|
+
children: [(0, _jsxRuntime.jsx)(_uiIcons.IconAiColoredSolid, {}), (0, _jsxRuntime.jsx)("span", {
|
|
127
126
|
css: this.props.styles?.igniteAI,
|
|
128
127
|
children: "IgniteAI"
|
|
129
128
|
}), children]
|
|
@@ -133,14 +132,14 @@ let Heading = exports.Heading = (_dec = (0, _emotion.withStyle)(_styles.default,
|
|
|
133
132
|
return (0, _jsxRuntime.jsxs)("span", {
|
|
134
133
|
css: this.props.styles?.withIcon,
|
|
135
134
|
"aria-hidden": "true",
|
|
136
|
-
children: [(0, _jsxRuntime.jsx)(
|
|
135
|
+
children: [(0, _jsxRuntime.jsx)(_uiIcons.IconAiColoredSolid, {}), "\xA0", children]
|
|
137
136
|
});
|
|
138
137
|
}
|
|
139
138
|
if (aiVariant === 'stacked') {
|
|
140
139
|
return (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
141
140
|
children: [(0, _jsxRuntime.jsxs)("span", {
|
|
142
141
|
css: this.props.styles?.igniteAIStacked,
|
|
143
|
-
children: [(0, _jsxRuntime.jsx)(
|
|
142
|
+
children: [(0, _jsxRuntime.jsx)(_uiIcons.IconAiColoredSolid, {}), (0, _jsxRuntime.jsx)("span", {
|
|
144
143
|
css: this.props.styles?.igniteAI,
|
|
145
144
|
children: "IgniteAI"
|
|
146
145
|
})]
|
|
@@ -149,7 +148,7 @@ let Heading = exports.Heading = (_dec = (0, _emotion.withStyle)(_styles.default,
|
|
|
149
148
|
}
|
|
150
149
|
if (aiVariant === 'horizontal') {
|
|
151
150
|
return (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
152
|
-
children: [(0, _jsxRuntime.jsx)(
|
|
151
|
+
children: [(0, _jsxRuntime.jsx)(_uiIcons.IconAiColoredSolid, {}), (0, _jsxRuntime.jsx)("span", {
|
|
153
152
|
css: this.props.styles?.igniteAI,
|
|
154
153
|
children: "IgniteAI"
|
|
155
154
|
}), children]
|
|
@@ -157,7 +156,7 @@ let Heading = exports.Heading = (_dec = (0, _emotion.withStyle)(_styles.default,
|
|
|
157
156
|
}
|
|
158
157
|
if (aiVariant === 'iconOnly') {
|
|
159
158
|
return (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
160
|
-
children: [(0, _jsxRuntime.jsx)(
|
|
159
|
+
children: [(0, _jsxRuntime.jsx)(_uiIcons.IconAiColoredSolid, {}), "\xA0", children]
|
|
161
160
|
});
|
|
162
161
|
}
|
|
163
162
|
return children;
|
|
@@ -213,7 +212,7 @@ let Heading = exports.Heading = (_dec = (0, _emotion.withStyle)(_styles.default,
|
|
|
213
212
|
}
|
|
214
213
|
return (0, _jsxRuntime.jsx)(_v11_.View, {
|
|
215
214
|
"aria-label": this.getAriaLabel(),
|
|
216
|
-
...(0,
|
|
215
|
+
...(0, _uiReactUtils.passthroughProps)(props),
|
|
217
216
|
css: this.props.styles?.heading,
|
|
218
217
|
as: ElementType,
|
|
219
218
|
elementRef: this.handleRef,
|
package/lib/Heading/v2/index.js
CHANGED
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.Heading = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _latest = require("@instructure/ui-view/latest");
|
|
10
|
-
var
|
|
10
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
11
11
|
var _uiIcons = require("@instructure/ui-icons");
|
|
12
12
|
var _emotion = require("@instructure/emotion");
|
|
13
13
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
@@ -257,7 +257,7 @@ let Heading = exports.Heading = (_dec = (0, _emotion.withStyleNew)(_styles.defau
|
|
|
257
257
|
}
|
|
258
258
|
return (0, _jsxRuntime.jsx)(_latest.View, {
|
|
259
259
|
"aria-label": this.getAriaLabel(),
|
|
260
|
-
...(0,
|
|
260
|
+
...(0, _uiReactUtils.passthroughProps)(props),
|
|
261
261
|
css: this.props.styles?.heading,
|
|
262
262
|
as: ElementType,
|
|
263
263
|
elementRef: this.handleRef,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-heading",
|
|
3
|
-
"version": "11.7.9-snapshot-
|
|
3
|
+
"version": "11.7.9-snapshot-2",
|
|
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,18 +15,18 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.7",
|
|
18
|
-
"@instructure/console": "11.7.9-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.9-snapshot-
|
|
20
|
-
"@instructure/shared-types": "11.7.9-snapshot-
|
|
21
|
-
"@instructure/ui-icons": "11.7.9-snapshot-
|
|
22
|
-
"@instructure/ui-react-utils": "11.7.9-snapshot-
|
|
23
|
-
"@instructure/ui-themes": "11.7.9-snapshot-
|
|
24
|
-
"@instructure/ui-view": "11.7.9-snapshot-
|
|
18
|
+
"@instructure/console": "11.7.9-snapshot-2",
|
|
19
|
+
"@instructure/emotion": "11.7.9-snapshot-2",
|
|
20
|
+
"@instructure/shared-types": "11.7.9-snapshot-2",
|
|
21
|
+
"@instructure/ui-icons": "11.7.9-snapshot-2",
|
|
22
|
+
"@instructure/ui-react-utils": "11.7.9-snapshot-2",
|
|
23
|
+
"@instructure/ui-themes": "11.7.9-snapshot-2",
|
|
24
|
+
"@instructure/ui-view": "11.7.9-snapshot-2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"
|
|
28
|
-
"@instructure/ui-
|
|
29
|
-
"
|
|
27
|
+
"@instructure/ui-axe-check": "11.7.9-snapshot-2",
|
|
28
|
+
"@instructure/ui-babel-preset": "11.7.9-snapshot-2",
|
|
29
|
+
"vitest": "^5.0.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=18 <=19"
|