@availity/mui-breadcrumbs 0.1.4 → 0.1.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 +7 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
- package/src/lib/Breadcrumbs.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.1.5](https://github.com/Availity/element/compare/@availity/mui-breadcrumbs@0.1.4...@availity/mui-breadcrumbs@0.1.5) (2023-10-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **mui-breadcrumbs:** home link target and separator tweaks ([4eb1b5f](https://github.com/Availity/element/commit/4eb1b5f172d072fe14ac9dc5b9d22707de7ca0b5))
|
|
11
|
+
|
|
5
12
|
## [0.1.4](https://github.com/Availity/element/compare/@availity/mui-breadcrumbs@0.1.3...@availity/mui-breadcrumbs@0.1.4) (2023-10-06)
|
|
6
13
|
|
|
7
14
|
## [0.1.3](https://github.com/Availity/element/compare/@availity/mui-breadcrumbs@0.1.2...@availity/mui-breadcrumbs@0.1.3) (2023-08-23)
|
package/dist/index.js
CHANGED
|
@@ -52,13 +52,14 @@ var Breadcrumbs = ({
|
|
|
52
52
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.Breadcrumbs, {
|
|
53
53
|
...rest,
|
|
54
54
|
separator: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_mui_icon.NavigateNextIcon, {
|
|
55
|
-
fontSize: "
|
|
55
|
+
fontSize: "xsmall"
|
|
56
56
|
}),
|
|
57
57
|
slotProps: { collapsedIcon: { className: "breadcrumbs__collapsed-icon" } },
|
|
58
58
|
slots: { CollapsedIcon: import_mui_icon.MoreHorizontalIcon },
|
|
59
59
|
children: [
|
|
60
60
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_mui_link.Link, {
|
|
61
61
|
"aria-label": "Home",
|
|
62
|
+
target: "_top",
|
|
62
63
|
href: homeUrl,
|
|
63
64
|
children: "Home"
|
|
64
65
|
}),
|
package/dist/index.mjs
CHANGED
|
@@ -26,13 +26,14 @@ var Breadcrumbs = ({
|
|
|
26
26
|
return /* @__PURE__ */ jsxs(MuiBreadcrumbs, {
|
|
27
27
|
...rest,
|
|
28
28
|
separator: /* @__PURE__ */ jsx(NavigateNextIcon, {
|
|
29
|
-
fontSize: "
|
|
29
|
+
fontSize: "xsmall"
|
|
30
30
|
}),
|
|
31
31
|
slotProps: { collapsedIcon: { className: "breadcrumbs__collapsed-icon" } },
|
|
32
32
|
slots: { CollapsedIcon: MoreHorizontalIcon },
|
|
33
33
|
children: [
|
|
34
34
|
/* @__PURE__ */ jsx(Link, {
|
|
35
35
|
"aria-label": "Home",
|
|
36
|
+
target: "_top",
|
|
36
37
|
href: homeUrl,
|
|
37
38
|
children: "Home"
|
|
38
39
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-breadcrumbs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Availity MUI Breadcrumbs Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@availity/mui-icon": "^0.
|
|
50
|
+
"@availity/mui-icon": "^0.7.0",
|
|
51
51
|
"@availity/mui-link": "^0.2.1"
|
|
52
52
|
}
|
|
53
53
|
}
|
package/src/lib/Breadcrumbs.tsx
CHANGED
|
@@ -46,11 +46,11 @@ export const Breadcrumbs = ({
|
|
|
46
46
|
return (
|
|
47
47
|
<MuiBreadcrumbs
|
|
48
48
|
{...rest}
|
|
49
|
-
separator={<NavigateNextIcon fontSize="
|
|
49
|
+
separator={<NavigateNextIcon fontSize="xsmall" />}
|
|
50
50
|
slotProps={{ collapsedIcon: { className: 'breadcrumbs__collapsed-icon' } }}
|
|
51
51
|
slots={{ CollapsedIcon: MoreHorizontalIcon }}
|
|
52
52
|
>
|
|
53
|
-
<Link aria-label="Home" href={homeUrl}>
|
|
53
|
+
<Link aria-label="Home" target="_top" href={homeUrl}>
|
|
54
54
|
Home
|
|
55
55
|
</Link>
|
|
56
56
|
{crumbs && crumbs.length > 0 && crumbs.map((crumb) => renderBreadCrumb(crumb))}
|