react-ecosistema-unp 0.2.1 → 0.2.3

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,10 +1,10 @@
1
1
  import { jsx as f, jsxs as W } from "react/jsx-runtime";
2
2
  import * as p from "react";
3
3
  import C, { useRef as $, useState as re, useCallback as oe, useReducer as ae, useContext as h, useEffect as ie } from "react";
4
- import se from "./NotificacionUsuario.js";
5
- import { B as le } from "../../useFinalizarSesion-COlHmXt5.js";
6
- import { MenuLateral as ue } from "./MenuLateral.js";
7
- import { _ as ce, u as k, S as E, c as q, m as S, d as de, e as j, f as R, T as fe, g as ve, a as pe, b as me } from "../../TabPane-C423iXKE.js";
4
+ import { B as se } from "../../useFinalizarSesion-COlHmXt5.js";
5
+ import { MenuLateral as le } from "./MenuLateral.js";
6
+ import ue from "./NotificacionUsuario.js";
7
+ import { _ as ce, u as k, S as E, c as q, m as S, d as de, e as j, f as R, T as fe, g as ve, a as pe, b as me } from "../../Bootstrap-ByT3_uwe.js";
8
8
  function I() {
9
9
  return I = Object.assign ? Object.assign.bind() : function(e) {
10
10
  for (var t = 1; t < arguments.length; t++) {
@@ -469,9 +469,9 @@ const Me = ({ children: e }) => {
469
469
  )[0];
470
470
  o(a.props.eventKey);
471
471
  }
472
- }, [e]), /* @__PURE__ */ W(le, { children: [
473
- /* @__PURE__ */ f("div", { className: "position-absolute top-0 end-0 m-3", children: /* @__PURE__ */ f(se, {}) }),
474
- /* @__PURE__ */ f(ue, { onToggle: i, isOpen: t }),
472
+ }, [e]), /* @__PURE__ */ W(se, { children: [
473
+ /* @__PURE__ */ f("div", { className: "position-absolute top-0 end-0 m-3", children: /* @__PURE__ */ f(ue, {}) }),
474
+ /* @__PURE__ */ f(le, { onToggle: i, isOpen: t }),
475
475
  /* @__PURE__ */ f("div", { className: `${t ? "menu-open" : ""}`, children: /* @__PURE__ */ f("div", { className: "main-section", children: /* @__PURE__ */ f(
476
476
  te,
477
477
  {
@@ -0,0 +1,24 @@
1
+ import { jsx as t, Fragment as o, jsxs as r } from "react/jsx-runtime";
2
+ const i = {
3
+ display: "flex",
4
+ justifyContent: "start",
5
+ alignItems: "center",
6
+ marginTop: "1rem",
7
+ marginBottom: "1.25rem"
8
+ }, s = {
9
+ fontColor: "#303d50s",
10
+ fontSize: "1.1rem",
11
+ fontWeight: "700",
12
+ marginLeft: "0.66rem"
13
+ }, l = {
14
+ fontSize: "1.25rem"
15
+ }, c = ({
16
+ subtitulo: e,
17
+ icon: n
18
+ }) => /* @__PURE__ */ t(o, { children: /* @__PURE__ */ r("div", { style: i, children: [
19
+ /* @__PURE__ */ t(n, { style: l }),
20
+ /* @__PURE__ */ t("span", { style: s, children: e })
21
+ ] }) });
22
+ export {
23
+ c as Subtitulo
24
+ };
package/dist/ui.js ADDED
@@ -0,0 +1,4 @@
1
+ import { Subtitulo as r } from "./ui/components/Subtitulo.js";
2
+ export {
3
+ r as Subtitulo
4
+ };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "react-ecosistema-unp",
3
3
  "author": "Ecosistema de Información - Unidad Nacional de Protección",
4
4
  "private": false,
5
- "version": "0.2.1",
5
+ "version": "0.2.3",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {
@@ -13,6 +13,10 @@
13
13
  "types": "./dist/lib/shared.d.ts",
14
14
  "default": "./dist/shared.js"
15
15
  },
16
+ "./ui": {
17
+ "types": "./dist/lib/ui.d.ts",
18
+ "default": "./dist/ui.js"
19
+ },
16
20
  "./utils": {
17
21
  "types": "./dist/lib/utils.d.ts",
18
22
  "default": "./dist/utils.js"
@@ -34,6 +38,10 @@
34
38
  "preview": "vite preview"
35
39
  },
36
40
  "peerDependencies": {
41
+ "react": "^18.3.1",
42
+ "react-dom": "^18.3.1"
43
+ },
44
+ "dependencies": {
37
45
  "bootstrap": "^5.3.3",
38
46
  "jwt-decode": "^4.0.0",
39
47
  "lottie-react": "^2.4.1",