@amateescu/portal-ui-components 0.0.33 → 0.0.34

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.
@@ -3773,7 +3773,7 @@ const Vt = (e) => {
3773
3773
  Vt.__ANT_BUTTON = !0;
3774
3774
  const Wt = $e;
3775
3775
  Wt.Button = Vt;
3776
- const ur = (e) => /* @__PURE__ */ l.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M19 9L12 16L5 9", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), mr = "_avatar_1f4cc_1", pr = "_pointer_1f4cc_7", gr = "_flexRowCenter_1f4cc_11", fr = "_userTitle_1f4cc_18", xe = {
3776
+ const ur = (e) => /* @__PURE__ */ l.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M19 9L12 16L5 9", color: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), mr = "_avatar_1f4cc_1", pr = "_pointer_1f4cc_7", gr = "_flexRowCenter_1f4cc_11", fr = "_userTitle_1f4cc_18", xe = {
3777
3777
  avatar: mr,
3778
3778
  pointer: pr,
3779
3779
  flexRowCenter: gr,
@@ -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-Bf6STdbW.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-Bf6STdbW.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-Bf6STdbW.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-Bf6STdbW.js";
15
15
  export {
16
16
  m as ConfirmationModal,
17
17
  e as CustomButton,
package/dist/main.js CHANGED
@@ -11,7 +11,7 @@ import { LoadingAnimation as M } from "./components/LoadingAnimation/LoadingAnim
11
11
  import { Login as U } from "./components/Login/Login.js";
12
12
  import { SideMenu as y } from "./components/SideMenu/SideMenu.js";
13
13
  import { TotalDataGrid as D } from "./components/TotalDataGrid/TotalDataGrid.js";
14
- import { U as K } from "./UserInfoDropdown-GTCkmg6H.js";
14
+ import { U as K } from "./UserInfoDropdown-Bf6STdbW.js";
15
15
  import { chunkArray as k } from "./portal-utils/chunkArray.js";
16
16
  import { cn as w } from "./portal-utils/cn.js";
17
17
  import { currency as E, date as F, datetime as G, decimal as S, fuelUnitPrice as T, fuelVolume as V, hours as W, number as j, time as q } from "./portal-utils/formatters.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@amateescu/portal-ui-components",
3
3
  "main": "dist/main.js",
4
4
  "types": "dist/main.d.ts",
5
- "version": "0.0.33",
5
+ "version": "0.0.34",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"