@availity/mui-breadcrumbs 0.2.3 → 0.2.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 +17 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -4
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
- package/src/lib/Breadcrumbs.tsx +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.2.5](https://github.com/Availity/element/compare/@availity/mui-breadcrumbs@0.2.4...@availity/mui-breadcrumbs@0.2.5) (2024-04-04)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `mui-icon` updated to version `0.8.1`
|
|
10
|
+
* `mui-link` updated to version `0.2.8`
|
|
11
|
+
|
|
12
|
+
### Performance Improvements
|
|
13
|
+
|
|
14
|
+
* **mui-breadcrumbs:** use path imports for material deps ([5ca7692](https://github.com/Availity/element/commit/5ca769283a7edf97f0c639f551ec4dc9efde0b86))
|
|
15
|
+
|
|
16
|
+
## [0.2.4](https://github.com/Availity/element/compare/@availity/mui-breadcrumbs@0.2.3...@availity/mui-breadcrumbs@0.2.4) (2024-03-15)
|
|
17
|
+
|
|
18
|
+
### Dependency Updates
|
|
19
|
+
|
|
20
|
+
* `mui-icon` updated to version `0.8.0`
|
|
21
|
+
* `mui-link` updated to version `0.2.7`
|
|
5
22
|
## [0.2.3](https://github.com/Availity/element/compare/@availity/mui-breadcrumbs@0.2.2...@availity/mui-breadcrumbs@0.2.3) (2024-02-22)
|
|
6
23
|
|
|
7
24
|
### Dependency Updates
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
8
|
var __export = (target, all) => {
|
|
7
9
|
for (var name in all)
|
|
@@ -15,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
17
|
}
|
|
16
18
|
return to;
|
|
17
19
|
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
|
+
mod
|
|
23
|
+
));
|
|
18
24
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
25
|
|
|
20
26
|
// src/index.ts
|
|
@@ -25,7 +31,8 @@ __export(src_exports, {
|
|
|
25
31
|
module.exports = __toCommonJS(src_exports);
|
|
26
32
|
|
|
27
33
|
// src/lib/Breadcrumbs.tsx
|
|
28
|
-
var
|
|
34
|
+
var import_Breadcrumbs = __toESM(require("@mui/material/Breadcrumbs"));
|
|
35
|
+
var import_Typography = __toESM(require("@mui/material/Typography"));
|
|
29
36
|
var import_mui_icon = require("@availity/mui-icon");
|
|
30
37
|
var import_mui_link = require("@availity/mui-link");
|
|
31
38
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -38,7 +45,7 @@ var Breadcrumb = ({ name, url, target = "_top" }) => {
|
|
|
38
45
|
...props,
|
|
39
46
|
href: url,
|
|
40
47
|
target
|
|
41
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
48
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Typography.default, {
|
|
42
49
|
...props
|
|
43
50
|
});
|
|
44
51
|
};
|
|
@@ -50,7 +57,7 @@ var Breadcrumbs = ({
|
|
|
50
57
|
homeUrl = "/public/apps/dashboard",
|
|
51
58
|
...rest
|
|
52
59
|
}) => {
|
|
53
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
60
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_Breadcrumbs.default, {
|
|
54
61
|
...rest,
|
|
55
62
|
separator: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_mui_icon.NavigateNextIcon, {
|
|
56
63
|
fontSize: "xsmall"
|
|
@@ -70,7 +77,7 @@ var Breadcrumbs = ({
|
|
|
70
77
|
target
|
|
71
78
|
}, name)),
|
|
72
79
|
children,
|
|
73
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
80
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Typography.default, {
|
|
74
81
|
children: active || emptyState
|
|
75
82
|
})
|
|
76
83
|
]
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// src/lib/Breadcrumbs.tsx
|
|
2
|
-
import {
|
|
2
|
+
import { default as MuiBreadcrumbs } from "@mui/material/Breadcrumbs";
|
|
3
|
+
import Typography from "@mui/material/Typography";
|
|
3
4
|
import { NavigateNextIcon, MoreHorizontalIcon } from "@availity/mui-icon";
|
|
4
5
|
import { Link } from "@availity/mui-link";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-breadcrumbs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Availity MUI Breadcrumbs Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@availity/mui-icon": "^0.
|
|
50
|
-
"@availity/mui-link": "^0.2.
|
|
49
|
+
"@availity/mui-icon": "^0.8.1",
|
|
50
|
+
"@availity/mui-link": "^0.2.8"
|
|
51
51
|
}
|
|
52
52
|
}
|
package/src/lib/Breadcrumbs.tsx
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as MuiBreadcrumbs, BreadcrumbsProps as MuiBreadcrumbsProps } from '@mui/material/Breadcrumbs';
|
|
2
|
+
import Typography from '@mui/material/Typography';
|
|
2
3
|
import { NavigateNextIcon, MoreHorizontalIcon } from '@availity/mui-icon';
|
|
3
4
|
import { Link } from '@availity/mui-link';
|
|
4
5
|
|