bmi-next-brokers 1.3.7 → 1.3.8

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.
@@ -1 +1 @@
1
- ._sidebar_1e8mb_1{position:fixed;top:0;left:0;height:100dvh;width:fit-content;max-width:244px;background-color:#fff;border-right:1px solid rgba(0,0,0,.2);display:flex;flex-direction:column;padding:17px 12px 21px;overflow:hidden;box-sizing:border-box}._sidebar_1e8mb_1._open_1e8mb_17{width:244px}._content_1e8mb_21{display:flex;flex-direction:column;height:100%;gap:30px}._header_1e8mb_28{display:flex;align-items:center;justify-content:center;max-width:100%}._header_1e8mb_28._open_1e8mb_17{justify-content:space-between;padding-inline:5px}._toggleButton_1e8mb_40{background-color:var(--Blacks-Transparencias-Black-10, rgba(0, 0, 0, .1));border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;width:28px;height:28px}._menuList_1e8mb_51{display:flex;flex-direction:column;width:100%;margin:0;padding:0;list-style:none;gap:4px;overflow-y:auto;flex:1}._menuList_1e8mb_51::-webkit-scrollbar{display:none}._bottomDiv_1e8mb_67{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:auto;gap:9px;width:100%}._bottomDiv_1e8mb_67._open_1e8mb_17{align-items:stretch}
1
+ ._sidebar_y2z0h_1{position:fixed;top:0;left:0;height:100dvh;width:62px;background-color:#fff;border-right:1px solid rgba(0,0,0,.2);display:flex;flex-direction:column;padding:17px 12px 21px;overflow:hidden;box-sizing:border-box;transition:width .3s cubic-bezier(.4,0,.2,1)}._sidebar_y2z0h_1._open_y2z0h_17{width:244px}._content_y2z0h_21{display:flex;flex-direction:column;height:100%;gap:30px}._header_y2z0h_28{display:flex;align-items:center;justify-content:center;max-width:100%;transition:justify-content .3s cubic-bezier(.4,0,.2,1),padding-inline .3s cubic-bezier(.4,0,.2,1)}._header_y2z0h_28._open_y2z0h_17{justify-content:space-between;padding-inline:5px}._toggleButton_y2z0h_42{background-color:var(--Blacks-Transparencias-Black-10, rgba(0, 0, 0, .1));border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;width:28px;height:28px;transition:background-color .2s ease}._toggleButton_y2z0h_42:hover{background-color:var(--Blacks-Transparencias-Black-20, rgba(0, 0, 0, .2))}._menuList_y2z0h_58{display:flex;flex-direction:column;width:100%;margin:0;padding:0;list-style:none;gap:4px;overflow-y:auto;flex:1}._menuList_y2z0h_58::-webkit-scrollbar{display:none}._bottomDiv_y2z0h_74{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:auto;gap:9px;width:100%;transition:align-items .3s cubic-bezier(.4,0,.2,1)}._bottomDiv_y2z0h_74._open_y2z0h_17{align-items:stretch}
@@ -1,32 +1,32 @@
1
1
  import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
- import { forwardRef as u, useState as v } from "react";
2
+ import { forwardRef as b, useState as v } from "react";
3
3
  import { Icon as i } from "../../icons/Icon.js";
4
- import { MenuItem as m } from "./menuItem/index.js";
5
- import '../../assets/index2.css';const f = "_sidebar_1e8mb_1", B = "_open_1e8mb_17", N = "_content_1e8mb_21", $ = "_header_1e8mb_28", w = "_toggleButton_1e8mb_40", C = "_menuList_1e8mb_51", L = "_bottomDiv_1e8mb_67", e = {
4
+ import { MenuItem as h } from "./menuItem/index.js";
5
+ import '../../assets/index2.css';const f = "_sidebar_y2z0h_1", y = "_open_y2z0h_17", B = "_content_y2z0h_21", N = "_header_y2z0h_28", z = "_toggleButton_y2z0h_42", $ = "_menuList_y2z0h_58", w = "_bottomDiv_y2z0h_74", e = {
6
6
  sidebar: f,
7
- open: B,
8
- content: N,
9
- header: $,
10
- toggleButton: w,
11
- menuList: C,
12
- bottomDiv: L
13
- }, O = u(
7
+ open: y,
8
+ content: B,
9
+ header: N,
10
+ toggleButton: z,
11
+ menuList: $,
12
+ bottomDiv: w
13
+ }, x = b(
14
14
  ({
15
15
  options: c,
16
- className: d,
16
+ className: m,
17
17
  activeItem: l,
18
- withConfig: h = !1,
18
+ withConfig: d = !1,
19
19
  configAction: s,
20
20
  ..._
21
- }, b) => {
22
- const [t, p] = v(!0), r = () => {
23
- p((a) => !a);
21
+ }, p) => {
22
+ const [t, g] = v(!0), r = () => {
23
+ g((a) => !a);
24
24
  };
25
25
  return /* @__PURE__ */ o(
26
26
  "aside",
27
27
  {
28
- ref: b,
29
- className: `${e.sidebar} ${t ? e.open : ""} ${d || ""}`,
28
+ ref: p,
29
+ className: `${e.sidebar} ${t ? e.open : ""} ${m || ""}`,
30
30
  ..._,
31
31
  children: /* @__PURE__ */ n("div", { className: e.content, children: [
32
32
  /* @__PURE__ */ n("header", { className: `${e.header} ${t && e.open}`, children: [
@@ -49,19 +49,19 @@ import '../../assets/index2.css';const f = "_sidebar_1e8mb_1", B = "_open_1e8mb_
49
49
  ) })
50
50
  ] }),
51
51
  /* @__PURE__ */ n("ul", { className: e.menuList, children: [
52
- c.map((a, g) => /* @__PURE__ */ o(
53
- m,
52
+ c.map((a, u) => /* @__PURE__ */ o(
53
+ h,
54
54
  {
55
55
  option: a,
56
56
  activeItem: l,
57
57
  open: t
58
58
  },
59
- g
59
+ u
60
60
  )),
61
61
  /* @__PURE__ */ n("div", { className: `${e.bottomDiv} ${t && e.open}`, children: [
62
62
  !t && /* @__PURE__ */ o("div", { className: e.toggleButton, onClick: r, children: /* @__PURE__ */ o(i, { name: "OpenPanel", width: 20, height: 20, fill: "black" }) }),
63
- h && /* @__PURE__ */ o(
64
- m,
63
+ d && /* @__PURE__ */ o(
64
+ h,
65
65
  {
66
66
  option: {
67
67
  label: "Configuración",
@@ -81,5 +81,5 @@ import '../../assets/index2.css';const f = "_sidebar_1e8mb_1", B = "_open_1e8mb_
81
81
  }
82
82
  );
83
83
  export {
84
- O as Navbar
84
+ x as Navbar
85
85
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bmi-next-brokers",
3
3
  "description": "Componentes de UI para proyecto BMI Next Brokers",
4
- "version": "1.3.7",
4
+ "version": "1.3.8",
5
5
  "author": "BMI Ahorro España",
6
6
  "contributors": [
7
7
  "José Ramón Jiménez <jrjimenez@bmicos.com>",