@amateescu/portal-ui-components 0.0.30-beta9 → 0.0.32-beta0

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.
Files changed (32) hide show
  1. package/dist/{Box-ZFRI9JCw.js → Box-D-aleOLf.js} +1 -1
  2. package/dist/{Button-CNfTnafe.js → Button-xgiLW4_3.js} +5 -7
  3. package/dist/{ButtonBase-DWpUn0eT.js → ButtonBase-DUKuDCWw.js} +126 -125
  4. package/dist/{CircularProgress-D6RyizwS.js → CircularProgress-Dq_bUtxt.js} +29 -30
  5. package/dist/{EllipsisOutlined-D-3xCg8z.js → EllipsisOutlined-CmR4hXJ_.js} +1 -1
  6. package/dist/{PurePanel-CTG2Gs1r.js → PurePanel-CykVuv66.js} +1 -1
  7. package/dist/{Skeleton-AxdUhch9.js → Skeleton-BBwDqRB3.js} +1 -1
  8. package/dist/{UserInfoDropdown-DLPEHXMj.js → UserInfoDropdown-DtadP0e7.js} +3 -3
  9. package/dist/components/ConfirmationModal/ConfirmationModal.js +1 -1
  10. package/dist/components/ConfirmationModal/ConfirmationModal.stories.js +1 -1
  11. package/dist/components/CustomButton/CustomButton.js +1 -1
  12. package/dist/components/CustomButton/CustomButton.stories.js +1 -1
  13. package/dist/components/CustomPagination/CustomPagination.js +39 -41
  14. package/dist/components/ErrorModal/ErrorModal.js +1 -1
  15. package/dist/components/ErrorModal/ErrorModal.stories.js +1 -1
  16. package/dist/components/InfoModal/InfoModal.js +1 -1
  17. package/dist/components/InfoModal/InfoModal.stories.js +1 -1
  18. package/dist/components/KpiCard/KpiCard.js +3 -3
  19. package/dist/components/LoadingAnimation/LoadingAnimation.js +2 -2
  20. package/dist/components/Login/Login.js +1009 -989
  21. package/dist/components/SideMenu/SideMenu.js +19 -19
  22. package/dist/components/UserInfoDropdown/UserInfoDropdown.js +1 -1
  23. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +1 -1
  24. package/dist/components/index.js +1 -1
  25. package/dist/{context-D9BBvKPl.js → context-4ttylmIf.js} +1648 -1676
  26. package/dist/{createSimplePaletteValueFilter-rq2_biPF.js → createSimplePaletteValueFilter-evt-Xthj.js} +197 -196
  27. package/dist/{createSvgIcon-jB7EUYpq.js → createSvgIcon-CgFXfzFk.js} +1 -1
  28. package/dist/{index-C4jQKFL8.js → index-Dz00OoV7.js} +3 -3
  29. package/dist/main.js +1 -1
  30. package/dist/useSlot-Baxtq84W.js +188 -0
  31. package/package.json +11 -11
  32. package/dist/useSlot-CT4096EK.js +0 -188
@@ -1,53 +1,53 @@
1
- import { jsxs as i, jsx as e, Fragment as M } from "react/jsx-runtime";
1
+ import { jsxs as i, jsx as e, Fragment as R } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
- import { M as R, S as N, U as h } from "../../UserInfoDropdown-DLPEHXMj.js";
4
- import { S as H } from "../../InvencoGVR-qnTq-d6S.js";
3
+ import { M as N, S as H, U as h } from "../../UserInfoDropdown-DtadP0e7.js";
4
+ import { S as V } from "../../InvencoGVR-qnTq-d6S.js";
5
5
  import '../../assets/SideMenu.css';import '../../assets/theme.css';/* empty css */
6
6
  /* empty css */
7
- const v = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { d: "M11 19L4 12L11 5M19 19L12 12L19 5", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), p = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { d: "M13 5L20 12L13 19M5 5L12 12L5 19", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), V = (l) => /* @__PURE__ */ n.createElement("svg", { width: 28, height: 27, viewBox: "0 0 28 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.5 4V9C10.5 9.55228 10.0523 10 9.5 10H4.5L6.5 12H9.5C11.1569 12 12.5 10.6569 12.5 9V6L10.5 4Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.5 6V0L8.5 2V7.75C8.5 7.88807 8.38807 8 8.25 8H2.5L0.5 6H6.5Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.5 4V9C17.5 9.55228 17.9477 10 18.5 10H23.5L21.5 12H18.5C16.8431 12 15.5 10.6569 15.5 9V6L17.5 4Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.5 6V0L19.5 2V7.75C19.5 7.88807 19.6119 8 19.75 8H25.5L27.5 6H21.5Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.5 23V18C10.5 17.4477 10.0523 17 9.5 17H4.5L6.5 15H9.5C11.1569 15 12.5 16.3431 12.5 18V21L10.5 23Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.5 21V27L8.5 25V19.25C8.5 19.1119 8.38807 19 8.25 19H2.5L0.5 21H6.5Z", fill: "#12121A" })), j = ({
7
+ const v = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { d: "M11 19L4 12L11 5M19 19L12 12L19 5", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), p = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { d: "M13 5L20 12L13 19M5 5L12 12L5 19", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), A = (l) => /* @__PURE__ */ n.createElement("svg", { width: 28, height: 27, viewBox: "0 0 28 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.5 4V9C10.5 9.55228 10.0523 10 9.5 10H4.5L6.5 12H9.5C11.1569 12 12.5 10.6569 12.5 9V6L10.5 4Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.5 6V0L8.5 2V7.75C8.5 7.88807 8.38807 8 8.25 8H2.5L0.5 6H6.5Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.5 4V9C17.5 9.55228 17.9477 10 18.5 10H23.5L21.5 12H18.5C16.8431 12 15.5 10.6569 15.5 9V6L17.5 4Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.5 6V0L19.5 2V7.75C19.5 7.88807 19.6119 8 19.75 8H25.5L27.5 6H21.5Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.5 23V18C10.5 17.4477 10.0523 17 9.5 17H4.5L6.5 15H9.5C11.1569 15 12.5 16.3431 12.5 18V21L10.5 23Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.5 21V27L8.5 25V19.25C8.5 19.1119 8.38807 19 8.25 19H2.5L0.5 21H6.5Z", fill: "#12121A" })), y = ({
8
8
  logo: l,
9
9
  title: u,
10
10
  softwareName: r,
11
- majorVersion: L,
12
- menuItems: f,
11
+ majorVersion: g,
12
+ menuItems: L,
13
13
  userInfoDropdownItems: c,
14
14
  collapsed: t,
15
15
  username: a,
16
16
  isRtl: d,
17
- openKeys: w,
17
+ openKeys: f,
18
18
  toggleCollapsed: o,
19
- onClick: g,
19
+ onClick: w,
20
20
  handleMenuClickUserInfo: s,
21
21
  handleOpenChange: x
22
22
  }) => {
23
- const m = /@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g, k = t ? 54 : 250, C = t ? 50 : 250;
24
- return /* @__PURE__ */ i("div", { style: { width: k }, className: "main-container", children: [
23
+ const m = /@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g, k = t ? 54 : 250, C = t ? 50 : 250, M = localStorage.getItem("theme");
24
+ return console.log("theme", M), /* @__PURE__ */ i("div", { style: { width: k }, className: "main-container", children: [
25
25
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("div", { children: t ? /* @__PURE__ */ e("div", { className: "flex-col-center mt-15", children: d ? /* @__PURE__ */ e(v, { onClick: o, className: "pointer" }) : /* @__PURE__ */ e(p, { onClick: o, className: "pointer" }) }) : /* @__PURE__ */ i("div", { className: "space-around-center", children: [
26
26
  /* @__PURE__ */ i("div", { className: "flex-row-center", children: [
27
27
  l,
28
28
  /* @__PURE__ */ i("h4", { className: "station ml-5", children: [
29
29
  u,
30
- r ? /* @__PURE__ */ i(M, { children: [
30
+ r ? /* @__PURE__ */ i(R, { children: [
31
31
  /* @__PURE__ */ e("br", {}),
32
32
  " ",
33
33
  r,
34
34
  ": ",
35
- L
35
+ g
36
36
  ] }) : ""
37
37
  ] })
38
38
  ] }),
39
39
  d ? /* @__PURE__ */ e(p, { onClick: o, className: "pointer" }) : /* @__PURE__ */ e(v, { onClick: o, className: "pointer" })
40
40
  ] }) }) }),
41
41
  /* @__PURE__ */ e(
42
- R,
42
+ N,
43
43
  {
44
- onClick: g,
44
+ onClick: w,
45
45
  mode: "inline",
46
46
  onOpenChange: x,
47
- openKeys: w,
47
+ openKeys: f,
48
48
  selectedKeys: [location.pathname.slice(location.pathname.lastIndexOf("/"), location.pathname.length)],
49
- items: t ? void 0 : f,
50
- expandIcon: /* @__PURE__ */ e(N, {}),
49
+ items: t ? void 0 : L,
50
+ expandIcon: /* @__PURE__ */ e(H, {}),
51
51
  style: {
52
52
  height: t ? "82vh" : "80vh",
53
53
  //menuHeight,
@@ -59,9 +59,9 @@ const v = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24,
59
59
  }
60
60
  ),
61
61
  t ? /* @__PURE__ */ e("div", { className: "flex-col-center mb-30", children: /* @__PURE__ */ e(h, { user: a.replace(m, ""), collapsed: !0, items: c, handleMenuClick: s }) }) : /* @__PURE__ */ e("div", { className: "user-logo-container", children: /* @__PURE__ */ e(h, { user: a.replace(m, ""), collapsed: !1, items: c, handleMenuClick: s }) }),
62
- t ? /* @__PURE__ */ e("div", { className: "flex-col-center mb-30", children: /* @__PURE__ */ e(V, {}) }) : /* @__PURE__ */ e("div", { className: "logo-small-container", children: /* @__PURE__ */ e(H, {}) })
62
+ t ? /* @__PURE__ */ e("div", { className: "flex-col-center mb-30", children: /* @__PURE__ */ e(A, {}) }) : /* @__PURE__ */ e("div", { className: "logo-small-container", children: /* @__PURE__ */ e(V, {}) })
63
63
  ] });
64
64
  };
65
65
  export {
66
- j as SideMenu
66
+ y as SideMenu
67
67
  };
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { U as t } from "../../UserInfoDropdown-DLPEHXMj.js";
2
+ import { U as t } from "../../UserInfoDropdown-DtadP0e7.js";
3
3
  import "../../portal-utils/cn.js";
4
4
  export {
5
5
  t as UserInfoDropdown
@@ -1,6 +1,6 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { userInfoDropdownItems as s } from "../../mock.js";
3
- import { U as o } from "../../UserInfoDropdown-DLPEHXMj.js";
3
+ import { U as o } from "../../UserInfoDropdown-DtadP0e7.js";
4
4
  const n = {
5
5
  title: "User Info Dropdown",
6
6
  component: o,
@@ -10,7 +10,7 @@ import { LoadingAnimation as D } from "./LoadingAnimation/LoadingAnimation.js";
10
10
  import { Login as K } from "./Login/Login.js";
11
11
  import { SideMenu as U } from "./SideMenu/SideMenu.js";
12
12
  import { TotalDataGrid as A } from "./TotalDataGrid/TotalDataGrid.js";
13
- import { U as E } from "../UserInfoDropdown-DLPEHXMj.js";
13
+ import { U as E } from "../UserInfoDropdown-DtadP0e7.js";
14
14
  export {
15
15
  t as ConfirmationModal,
16
16
  m as CustomButton,