@unifiedsoftware/react-components 1.0.1 → 1.0.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/dist/index.js CHANGED
@@ -15077,11 +15077,6 @@ function MdClose(props) {
15077
15077
  return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "fill": "none", "d": "M0 0h24v24H0z" } }, { "tag": "path", "attr": { "d": "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" } }] })(props);
15078
15078
  }
15079
15079
 
15080
- // ../../../node_modules/react-icons/vsc/index.esm.js
15081
- function VscChevronRight(props) {
15082
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 16 16", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "clipRule": "evenodd", "d": "M10.072 8.024L5.715 3.667l.618-.62L11 7.716v.618L6.333 13l-.618-.619 4.357-4.357z" } }] })(props);
15083
- }
15084
-
15085
15080
  // ../../../node_modules/styled-components/dist/styled-components.esm.js
15086
15081
  var import_react_is = __toESM(require_react_is2());
15087
15082
  var import_react13 = __toESM(require("react"));
@@ -16728,24 +16723,7 @@ var AppBreadCrumbNav = ({ paths }) => {
16728
16723
  setRoutes(paths != null ? paths : []);
16729
16724
  }, [paths]);
16730
16725
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Breadcrumb, { children: [
16731
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "d-flex align-items-center", children: [
16732
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_router3.Link, { href: "/", className: "link", children: "HOME" }),
16733
- routes.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(VscChevronRight, { color: "black" }),
16734
- routes.length > 0 ? routes.map((i2, idx, arr) => {
16735
- if (i2.route === -1) {
16736
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "link", onClick: () => router.back(), children: [
16737
- i2.title,
16738
- " ",
16739
- idx + 1 === arr.length ? "" : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(VscChevronRight, { color: "black" })
16740
- ] }, idx);
16741
- }
16742
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_react_router3.Link, { href: i2.route, className: "link", children: [
16743
- i2.title,
16744
- " ",
16745
- idx + 1 === arr.length ? "" : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(VscChevronRight, { color: "black" })
16746
- ] }, idx);
16747
- }) : ""
16748
- ] }),
16726
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "d-flex align-items-center" }),
16749
16727
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
16750
16728
  CloseIcon,
16751
16729
  {
package/dist/index.mjs CHANGED
@@ -14960,7 +14960,7 @@ function GlobalProvider({ children }) {
14960
14960
  }
14961
14961
 
14962
14962
  // src/layout/AppBreadcrumb.tsx
14963
- import { Link as Link3, useRouter } from "@unifiedsoftware/react-router";
14963
+ import { useRouter } from "@unifiedsoftware/react-router";
14964
14964
  import { useContext as useContext5, useEffect as useEffect4 } from "react";
14965
14965
 
14966
14966
  // ../../../node_modules/react-icons/lib/esm/iconBase.js
@@ -15049,11 +15049,6 @@ function MdClose(props) {
15049
15049
  return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24" }, "child": [{ "tag": "path", "attr": { "fill": "none", "d": "M0 0h24v24H0z" } }, { "tag": "path", "attr": { "d": "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" } }] })(props);
15050
15050
  }
15051
15051
 
15052
- // ../../../node_modules/react-icons/vsc/index.esm.js
15053
- function VscChevronRight(props) {
15054
- return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 16 16", "fill": "currentColor" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "clipRule": "evenodd", "d": "M10.072 8.024L5.715 3.667l.618-.62L11 7.716v.618L6.333 13l-.618-.619 4.357-4.357z" } }] })(props);
15055
- }
15056
-
15057
15052
  // ../../../node_modules/styled-components/dist/styled-components.esm.js
15058
15053
  var import_react_is = __toESM(require_react_is2());
15059
15054
  var import_shallowequal = __toESM(require_shallowequal());
@@ -16700,24 +16695,7 @@ var AppBreadCrumbNav = ({ paths }) => {
16700
16695
  setRoutes(paths != null ? paths : []);
16701
16696
  }, [paths]);
16702
16697
  return /* @__PURE__ */ jsxs(Breadcrumb, { children: [
16703
- /* @__PURE__ */ jsxs("div", { className: "d-flex align-items-center", children: [
16704
- /* @__PURE__ */ jsx7(Link3, { href: "/", className: "link", children: "HOME" }),
16705
- routes.length > 0 && /* @__PURE__ */ jsx7(VscChevronRight, { color: "black" }),
16706
- routes.length > 0 ? routes.map((i2, idx, arr) => {
16707
- if (i2.route === -1) {
16708
- return /* @__PURE__ */ jsxs("span", { className: "link", onClick: () => router.back(), children: [
16709
- i2.title,
16710
- " ",
16711
- idx + 1 === arr.length ? "" : /* @__PURE__ */ jsx7(VscChevronRight, { color: "black" })
16712
- ] }, idx);
16713
- }
16714
- return /* @__PURE__ */ jsxs(Link3, { href: i2.route, className: "link", children: [
16715
- i2.title,
16716
- " ",
16717
- idx + 1 === arr.length ? "" : /* @__PURE__ */ jsx7(VscChevronRight, { color: "black" })
16718
- ] }, idx);
16719
- }) : ""
16720
- ] }),
16698
+ /* @__PURE__ */ jsx7("div", { className: "d-flex align-items-center" }),
16721
16699
  /* @__PURE__ */ jsx7(
16722
16700
  CloseIcon,
16723
16701
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifiedsoftware/react-components",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [