@instructure/ui-breadcrumb 11.7.8 → 11.7.9-snapshot-1
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,14 @@
|
|
|
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-1](https://github.com/instructure/instructure-ui/compare/v11.7.8...v11.7.9-snapshot-1) (2026-10-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-breadcrumb
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [11.7.8](https://github.com/instructure/instructure-ui/compare/v11.7.7...v11.7.8) (2026-10-02)
|
|
7
15
|
|
|
8
16
|
### Bug Fixes
|
|
@@ -7,7 +7,7 @@ exports.default = exports.BreadcrumbLink = void 0;
|
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _v11_ = require("@instructure/ui-truncate-text/v11_6");
|
|
9
9
|
var _v11_2 = require("@instructure/ui-link/v11_6");
|
|
10
|
-
var
|
|
10
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
11
11
|
var _v11_3 = require("@instructure/ui-tooltip/v11_6");
|
|
12
12
|
var _props = require("./props.js");
|
|
13
13
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
@@ -77,7 +77,7 @@ class BreadcrumbLink extends _react.Component {
|
|
|
77
77
|
const {
|
|
78
78
|
isTruncated
|
|
79
79
|
} = this.state;
|
|
80
|
-
const props = (0,
|
|
80
|
+
const props = (0, _uiReactUtils.omitProps)(this.props, BreadcrumbLink.allowedProps);
|
|
81
81
|
const isInteractive = onClick || href;
|
|
82
82
|
return (0, _jsxRuntime.jsx)(_v11_3.Tooltip, {
|
|
83
83
|
renderTip: children,
|
|
@@ -15,7 +15,7 @@ exports.default = void 0;
|
|
|
15
15
|
var _react = require("react");
|
|
16
16
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
17
17
|
var _emotion = require("@instructure/emotion");
|
|
18
|
-
var
|
|
18
|
+
var _uiIcons = require("@instructure/ui-icons");
|
|
19
19
|
var _index = require("./BreadcrumbLink/index.js");
|
|
20
20
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
21
21
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
@@ -97,7 +97,7 @@ let Breadcrumb = exports.Breadcrumb = (_dec = (0, _emotion.withStyle)(_styles.de
|
|
|
97
97
|
return (0, _jsxRuntime.jsxs)("li", {
|
|
98
98
|
css: styles?.crumb,
|
|
99
99
|
style: inlineStyle,
|
|
100
|
-
children: [!isAriaCurrentSet && isLastElement && child.props.isCurrentPage !== false ? this.addAriaCurrent(child) : child, index < numChildren - 1 && (0, _jsxRuntime.jsx)(
|
|
100
|
+
children: [!isAriaCurrentSet && isLastElement && child.props.isCurrentPage !== false ? this.addAriaCurrent(child) : child, index < numChildren - 1 && (0, _jsxRuntime.jsx)(_uiIcons.IconArrowOpenEndSolid, {
|
|
101
101
|
color: "auto",
|
|
102
102
|
css: styles?.separator
|
|
103
103
|
})]
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.BreadcrumbLink = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _latest = require("@instructure/ui-link/latest");
|
|
10
|
-
var
|
|
10
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
11
11
|
var _latest2 = require("@instructure/ui-tooltip/latest");
|
|
12
12
|
var _emotion = require("@instructure/emotion");
|
|
13
13
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
@@ -104,7 +104,7 @@ let BreadcrumbLink = exports.BreadcrumbLink = (_dec = (0, _emotion.withStyleNew)
|
|
|
104
104
|
const {
|
|
105
105
|
isTruncated
|
|
106
106
|
} = this.state;
|
|
107
|
-
const props = (0,
|
|
107
|
+
const props = (0, _uiReactUtils.omitProps)(this.props, BreadcrumbLink.allowedProps);
|
|
108
108
|
const isInteractive = onClick || href;
|
|
109
109
|
return (0, _jsxRuntime.jsx)(_latest2.Tooltip, {
|
|
110
110
|
renderTip: children,
|
|
@@ -14,7 +14,7 @@ Object.defineProperty(exports, "BreadcrumbLink", {
|
|
|
14
14
|
exports.default = void 0;
|
|
15
15
|
var _react = require("react");
|
|
16
16
|
var _latest = require("@instructure/ui-view/latest");
|
|
17
|
-
var
|
|
17
|
+
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
18
18
|
var _emotion = require("@instructure/emotion");
|
|
19
19
|
var _uiIcons = require("@instructure/ui-icons");
|
|
20
20
|
var _index = require("./BreadcrumbLink/index.js");
|
|
@@ -63,7 +63,7 @@ let Breadcrumb = exports.Breadcrumb = (_dec = (0, _emotion.withStyleNew)(_styles
|
|
|
63
63
|
this.ref = el;
|
|
64
64
|
};
|
|
65
65
|
addAriaCurrent = child => {
|
|
66
|
-
const updatedChild = (0,
|
|
66
|
+
const updatedChild = (0, _uiReactUtils.safeCloneElement)(child, {
|
|
67
67
|
'aria-current': 'page'
|
|
68
68
|
});
|
|
69
69
|
return updatedChild;
|
|
@@ -97,7 +97,7 @@ let Breadcrumb = exports.Breadcrumb = (_dec = (0, _emotion.withStyleNew)(_styles
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
// Clone child (BreadcrumbLink) and pass size prop
|
|
100
|
-
const childWithSize = /*#__PURE__*/(0, _react.isValidElement)(child) ? (0,
|
|
100
|
+
const childWithSize = /*#__PURE__*/(0, _react.isValidElement)(child) ? (0, _uiReactUtils.safeCloneElement)(child, {
|
|
101
101
|
size
|
|
102
102
|
}) : child;
|
|
103
103
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-breadcrumb",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.9-snapshot-1",
|
|
4
4
|
"description": "A breadcrumb component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.7",
|
|
18
|
-
"@instructure/
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/ui-link": "11.7.
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
18
|
+
"@instructure/emotion": "11.7.9-snapshot-1",
|
|
19
|
+
"@instructure/shared-types": "11.7.9-snapshot-1",
|
|
20
|
+
"@instructure/ui-link": "11.7.9-snapshot-1",
|
|
21
|
+
"@instructure/ui-react-utils": "11.7.9-snapshot-1",
|
|
22
|
+
"@instructure/ui-icons": "11.7.9-snapshot-1",
|
|
23
|
+
"@instructure/ui-tooltip": "11.7.9-snapshot-1",
|
|
24
|
+
"@instructure/ui-truncate-text": "11.7.9-snapshot-1",
|
|
25
|
+
"@instructure/ui-themes": "11.7.9-snapshot-1",
|
|
26
|
+
"@instructure/ui-utils": "11.7.9-snapshot-1",
|
|
27
|
+
"@instructure/ui-view": "11.7.9-snapshot-1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"vitest": "^5.0.0",
|
|
31
|
-
"@instructure/ui-
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/ui-scripts": "11.7.
|
|
31
|
+
"@instructure/ui-axe-check": "11.7.9-snapshot-1",
|
|
32
|
+
"@instructure/ui-babel-preset": "11.7.9-snapshot-1",
|
|
33
|
+
"@instructure/ui-scripts": "11.7.9-snapshot-1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": ">=18 <=19"
|