@amateescu/portal-ui-components 0.0.33 → 0.0.35-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 (35) hide show
  1. package/dist/{Box-D-aleOLf.js → Box-C-zPAMZN.js} +1 -1
  2. package/dist/{Button-xgiLW4_3.js → Button-DG4uye8X.js} +3 -3
  3. package/dist/{ButtonBase-DUKuDCWw.js → ButtonBase-DrxMtoTW.js} +1 -1
  4. package/dist/{CircularProgress-Dq_bUtxt.js → CircularProgress-DpvktFBW.js} +1 -1
  5. package/dist/{EllipsisOutlined-CmR4hXJ_.js → EllipsisOutlined-DfCu6q_b.js} +816 -816
  6. package/dist/{PurePanel-CykVuv66.js → PurePanel-DvQTygSo.js} +487 -491
  7. package/dist/{Skeleton-BBwDqRB3.js → Skeleton-Bh0A9xju.js} +15 -18
  8. package/dist/{UserInfoDropdown-GTCkmg6H.js → UserInfoDropdown-CWTcdnqL.js} +1186 -1221
  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 +4 -4
  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 +715 -682
  19. package/dist/components/LoadingAnimation/LoadingAnimation.js +2 -2
  20. package/dist/components/Login/Login.js +775 -760
  21. package/dist/components/Login/Login.stories.js +4 -1
  22. package/dist/components/SideMenu/SideMenu.js +9 -9
  23. package/dist/components/UserInfoDropdown/UserInfoDropdown.js +1 -1
  24. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +1 -1
  25. package/dist/components/index.js +1 -1
  26. package/dist/context-dCWAMvX5.js +7320 -0
  27. package/dist/createSimplePaletteValueFilter-CwLqlaaZ.js +3457 -0
  28. package/dist/{createSvgIcon-CgFXfzFk.js → createSvgIcon-DNSRtm3a.js} +1 -1
  29. package/dist/index-B00P9-H3.js +1681 -0
  30. package/dist/main.js +1 -1
  31. package/dist/{useSlot-Baxtq84W.js → useSlot-B4sbbhYz.js} +2 -2
  32. package/package.json +28 -28
  33. package/dist/context-4ttylmIf.js +0 -7356
  34. package/dist/createSimplePaletteValueFilter-evt-Xthj.js +0 -3444
  35. package/dist/index-Dz00OoV7.js +0 -1687
@@ -24147,7 +24147,10 @@ var { buildQueries: buildQueries2, configure: configure2, createEvent: createEve
24147
24147
  let io = fn2(ne);
24148
24148
  return yt && io.mockName(yt), io;
24149
24149
  }
24150
- if (Array.isArray(ne)) return pt++, ne.map((io) => traverseArgs(io, pt));
24150
+ if (Array.isArray(ne)) {
24151
+ pt++;
24152
+ for (let io = 0; io < ne.length; io++) ne[io] = traverseArgs(ne[io], pt);
24153
+ }
24151
24154
  if (typeof ne == "object" && ne.constructor === Object) {
24152
24155
  pt++;
24153
24156
  for (let [io, uo] of Object.entries(ne)) (ir = Object.getOwnPropertyDescriptor(ne, io)) != null && ir.writable && (ne[io] = traverseArgs(uo, pt, io));
@@ -1,10 +1,10 @@
1
1
  import { jsxs as o, jsx as e, Fragment as M } from "react/jsx-runtime";
2
- import * as l from "react";
3
- import { M as R, S as N, U as h } from "../../UserInfoDropdown-GTCkmg6H.js";
2
+ import * as n from "react";
3
+ import { M as R, S as N, U as h } from "../../UserInfoDropdown-CWTcdnqL.js";
4
4
  import { S as H } from "../../InvencoGVR-qnTq-d6S.js";
5
5
  import '../../assets/SideMenu.css';/* empty css */
6
- const v = (n) => /* @__PURE__ */ l.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ l.createElement("path", { d: "M11 19L4 12L11 5M19 19L12 12L19 5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), p = (n) => /* @__PURE__ */ l.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ l.createElement("path", { d: "M13 5L20 12L13 19M5 5L12 12L5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), V = (n) => /* @__PURE__ */ l.createElement("svg", { width: 28, height: 27, viewBox: "0 0 28 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ l.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__ */ l.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__ */ l.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__ */ l.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__ */ l.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__ */ l.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" })), Z = ({
7
- logo: n,
6
+ 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: "currentColor", 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: "currentColor", 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" })), Z = ({
7
+ logo: l,
8
8
  title: u,
9
9
  softwareName: t,
10
10
  majorVersion: L,
@@ -19,11 +19,11 @@ const v = (n) => /* @__PURE__ */ l.createElement("svg", { width: 24, height: 24,
19
19
  handleMenuClickUserInfo: s,
20
20
  handleOpenChange: C
21
21
  }) => {
22
- const m = /@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g, x = r ? 54 : 250, k = r ? 50 : 250;
23
- return /* @__PURE__ */ o("div", { style: { width: x }, className: "main-container", children: [
22
+ const m = /@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g, k = r ? 54 : 250, x = r ? 50 : 250;
23
+ return /* @__PURE__ */ o("div", { style: { width: k }, className: "main-container", children: [
24
24
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("div", { children: r ? /* @__PURE__ */ e("div", { className: "flex-col-center mt-15", children: d ? /* @__PURE__ */ e(v, { onClick: i, className: "pointer", color: "var(--color-primary)" }) : /* @__PURE__ */ e(p, { onClick: i, className: "pointer", color: "var(--color-primary)" }) }) : /* @__PURE__ */ o("div", { className: "space-around-center", children: [
25
25
  /* @__PURE__ */ o("div", { className: "flex-row-center", children: [
26
- n,
26
+ l,
27
27
  /* @__PURE__ */ o("h4", { className: "station ml-5", children: [
28
28
  u,
29
29
  t ? /* @__PURE__ */ o(M, { children: [
@@ -46,11 +46,11 @@ const v = (n) => /* @__PURE__ */ l.createElement("svg", { width: 24, height: 24,
46
46
  openKeys: w,
47
47
  selectedKeys: [location.pathname.slice(location.pathname.lastIndexOf("/"), location.pathname.length)],
48
48
  items: r ? void 0 : f,
49
- expandIcon: /* @__PURE__ */ e(N, { color: "var(--color-primary)" }),
49
+ expandIcon: /* @__PURE__ */ e(N, { stroke: "var(--color-primary)" }),
50
50
  style: {
51
51
  height: r ? "82vh" : "80vh",
52
52
  //menuHeight,
53
- width: k,
53
+ width: x,
54
54
  backgroundColor: "var(--color-background)",
55
55
  border: "none"
56
56
  },
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { U as t } from "../../UserInfoDropdown-GTCkmg6H.js";
2
+ import { U as t } from "../../UserInfoDropdown-CWTcdnqL.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-GTCkmg6H.js";
3
+ import { U as o } from "../../UserInfoDropdown-CWTcdnqL.js";
4
4
  const n = {
5
5
  title: "User Info Dropdown",
6
6
  component: o,
@@ -11,7 +11,7 @@ import { LoadingAnimation as I } from "./LoadingAnimation/LoadingAnimation.js";
11
11
  import { Login as L } from "./Login/Login.js";
12
12
  import { SideMenu as w } from "./SideMenu/SideMenu.js";
13
13
  import { TotalDataGrid as B } from "./TotalDataGrid/TotalDataGrid.js";
14
- import { U as F } from "../UserInfoDropdown-GTCkmg6H.js";
14
+ import { U as F } from "../UserInfoDropdown-CWTcdnqL.js";
15
15
  export {
16
16
  m as ConfirmationModal,
17
17
  e as CustomButton,