@codeplex-sac/utils 0.0.1 → 0.0.2

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.
package/index.mjs CHANGED
@@ -11481,7 +11481,7 @@ process.env.NODE_ENV !== "production" && (fa.propTypes = {
11481
11481
  exit: s.number
11482
11482
  })])
11483
11483
  });
11484
- const Wp = (e) => /* @__PURE__ */ V(pn, { ...e }), da = Lu(/* @__PURE__ */ V("path", {
11484
+ const Wp = ({ alHacerClickFuera: e, ...t }) => /* @__PURE__ */ V(pn, { onClickAway: e, ...t }), da = Lu(/* @__PURE__ */ V("path", {
11485
11485
  d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
11486
11486
  }), "Close"), Bp = {
11487
11487
  position: "absolute",
@@ -11499,12 +11499,12 @@ const Wp = (e) => /* @__PURE__ */ V(pn, { ...e }), da = Lu(/* @__PURE__ */ V("pa
11499
11499
  // Default width
11500
11500
  }, Up = ({
11501
11501
  children: e,
11502
- title: t,
11503
- description: n,
11504
- showCloseIcon: r = !0,
11502
+ titulo: t,
11503
+ descripcion: n,
11504
+ mostrarIconoCierre: r = !0,
11505
11505
  onClose: o,
11506
11506
  contentSx: i,
11507
- width: a,
11507
+ ancho: a,
11508
11508
  ...c
11509
11509
  }) => /* @__PURE__ */ V(
11510
11510
  Ao,
@@ -11657,15 +11657,15 @@ const Wp = (e) => /* @__PURE__ */ V(pn, { ...e }), da = Lu(/* @__PURE__ */ V("pa
11657
11657
  exit: 200
11658
11658
  }, Kp = ({ timeout: e = "auto", ...t }) => /* @__PURE__ */ V(Yn, { timeout: e, ...t }), Xp = ({ timeout: e = Er, ...t }) => /* @__PURE__ */ V(br, { timeout: e, ...t }), Jp = ({ timeout: e = Er, ...t }) => /* @__PURE__ */ V(hn, { timeout: e, ...t }), Zp = ({ timeout: e = Er, direction: t = "up", ...n }) => /* @__PURE__ */ V(la, { timeout: e, direction: t, ...n }), Qp = ({ timeout: e = Er, ...t }) => /* @__PURE__ */ V(fa, { timeout: e, ...t });
11659
11659
  export {
11660
- Wp as CodeplexClickAwayListener,
11661
- Kp as CodeplexCollapse,
11662
- Xp as CodeplexFade,
11663
- Jp as CodeplexGrow,
11660
+ Kp as CodeplexColapso,
11661
+ Jp as CodeplexCrecimiento,
11662
+ Zp as CodeplexDeslizamiento,
11663
+ Xp as CodeplexDesvanecimiento,
11664
+ Wp as CodeplexDetectorClickFuera,
11664
11665
  Up as CodeplexModal,
11665
11666
  Hp as CodeplexPopover,
11666
11667
  qp as CodeplexPopper,
11667
11668
  Yp as CodeplexPortal,
11668
- Zp as CodeplexSlide,
11669
11669
  Gp as CodeplexTextareaAutosize,
11670
11670
  Qp as CodeplexZoom
11671
11671
  };
@@ -1,4 +1,5 @@
1
1
  import { ClickAwayListenerProps as MuiClickAwayListenerProps } from '@mui/material';
2
- export interface CodeplexClickAwayListenerProps extends MuiClickAwayListenerProps {
2
+ export interface CodeplexDetectorClickFueraProps extends Omit<MuiClickAwayListenerProps, 'onClickAway'> {
3
+ alHacerClickFuera: (event: MouseEvent | TouchEvent) => void;
3
4
  }
4
- export declare const CodeplexClickAwayListener: (props: CodeplexClickAwayListenerProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const CodeplexDetectorClickFuera: ({ alHacerClickFuera, ...props }: CodeplexDetectorClickFueraProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,10 +2,10 @@ import { default as React } from 'react';
2
2
  import { ModalProps as MuiModalProps, SxProps, Theme } from '@mui/material';
3
3
  export interface CodeplexModalProps extends Omit<MuiModalProps, 'children' | 'title'> {
4
4
  children: React.ReactNode;
5
- title?: React.ReactNode;
6
- description?: string;
7
- showCloseIcon?: boolean;
5
+ titulo?: React.ReactNode;
6
+ descripcion?: string;
7
+ mostrarIconoCierre?: boolean;
8
8
  contentSx?: SxProps<Theme>;
9
- width?: number | string;
9
+ ancho?: number | string;
10
10
  }
11
- export declare const CodeplexModal: ({ children, title, description, showCloseIcon, onClose, contentSx, width, ...props }: CodeplexModalProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const CodeplexModal: ({ children, titulo, descripcion, mostrarIconoCierre, onClose, contentSx, ancho, ...props }: CodeplexModalProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,16 @@
1
1
  import { CollapseProps as MuiCollapseProps, FadeProps as MuiFadeProps, GrowProps as MuiGrowProps, SlideProps as MuiSlideProps, ZoomProps as MuiZoomProps } from '@mui/material';
2
- export interface CodeplexCollapseProps extends MuiCollapseProps {
2
+ export interface CodeplexColapsoProps extends MuiCollapseProps {
3
3
  }
4
- export declare const CodeplexCollapse: ({ timeout, ...props }: CodeplexCollapseProps) => import("react/jsx-runtime").JSX.Element;
5
- export interface CodeplexFadeProps extends MuiFadeProps {
4
+ export declare const CodeplexColapso: ({ timeout, ...props }: CodeplexColapsoProps) => import("react/jsx-runtime").JSX.Element;
5
+ export interface CodeplexDesvanecimientoProps extends MuiFadeProps {
6
6
  }
7
- export declare const CodeplexFade: ({ timeout, ...props }: CodeplexFadeProps) => import("react/jsx-runtime").JSX.Element;
8
- export interface CodeplexGrowProps extends MuiGrowProps {
7
+ export declare const CodeplexDesvanecimiento: ({ timeout, ...props }: CodeplexDesvanecimientoProps) => import("react/jsx-runtime").JSX.Element;
8
+ export interface CodeplexCrecimientoProps extends MuiGrowProps {
9
9
  }
10
- export declare const CodeplexGrow: ({ timeout, ...props }: CodeplexGrowProps) => import("react/jsx-runtime").JSX.Element;
11
- export interface CodeplexSlideProps extends MuiSlideProps {
10
+ export declare const CodeplexCrecimiento: ({ timeout, ...props }: CodeplexCrecimientoProps) => import("react/jsx-runtime").JSX.Element;
11
+ export interface CodeplexDeslizamientoProps extends MuiSlideProps {
12
12
  }
13
- export declare const CodeplexSlide: ({ timeout, direction, ...props }: CodeplexSlideProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const CodeplexDeslizamiento: ({ timeout, direction, ...props }: CodeplexDeslizamientoProps) => import("react/jsx-runtime").JSX.Element;
14
14
  export interface CodeplexZoomProps extends MuiZoomProps {
15
15
  }
16
16
  export declare const CodeplexZoom: ({ timeout, ...props }: CodeplexZoomProps) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeplex-sac/utils",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {