@soyfri/shared-library 2.0.0-beta.30 → 2.0.0-beta.31
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/Alert-B3SMPD1s.cjs +31 -0
- package/Alert-B3SMPD1s.cjs.map +1 -0
- package/Alert-YsPScpSE.js +32 -0
- package/Alert-YsPScpSE.js.map +1 -0
- package/components/Alert/Alert.cjs +6 -0
- package/components/Alert/Alert.cjs.map +1 -0
- package/components/Alert/Alert.d.ts +31 -0
- package/components/Alert/Alert.js +6 -0
- package/components/Alert/Alert.js.map +1 -0
- package/components/Alert/index.d.ts +2 -0
- package/components/Alert.d.ts +6 -0
- package/index.cjs +2 -4
- package/index.cjs.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +5 -4
- package/index.js.map +1 -1
- package/package.json +6 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const material = require("@mui/material");
|
|
4
|
+
function Alert({
|
|
5
|
+
severity = "info",
|
|
6
|
+
variant = "standard",
|
|
7
|
+
children,
|
|
8
|
+
onClose,
|
|
9
|
+
icon,
|
|
10
|
+
action,
|
|
11
|
+
sx,
|
|
12
|
+
className,
|
|
13
|
+
"data-testid": dataTestId
|
|
14
|
+
}) {
|
|
15
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16
|
+
material.Alert,
|
|
17
|
+
{
|
|
18
|
+
severity,
|
|
19
|
+
variant,
|
|
20
|
+
onClose,
|
|
21
|
+
icon,
|
|
22
|
+
action,
|
|
23
|
+
sx,
|
|
24
|
+
className,
|
|
25
|
+
"data-testid": dataTestId,
|
|
26
|
+
children
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
exports.Alert = Alert;
|
|
31
|
+
//# sourceMappingURL=Alert-B3SMPD1s.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert-B3SMPD1s.cjs","sources":["../src/components/Alert/Alert.tsx"],"sourcesContent":["import { type ReactNode } from 'react';\nimport { Alert as MuiAlert } from '@mui/material';\nimport type { SxProps, Theme } from '@mui/material/styles';\n\nexport type AlertSeverity = 'error' | 'warning' | 'info' | 'success';\nexport type AlertVariant = 'standard' | 'filled' | 'outlined';\n\nexport interface AlertProps {\n /** Color + icono. Default: `info`. */\n severity?: AlertSeverity;\n /** Estilo visual. Default: `standard`. */\n variant?: AlertVariant;\n /** Contenido del alert (texto o JSX arbitrario). */\n children?: ReactNode;\n /** Si se provee, muestra la X de cerrar y la invoca al click. */\n onClose?: () => void;\n /** Icono custom, o `false` para ocultarlo. */\n icon?: ReactNode | false;\n /** Acción a la derecha (ej. botón). */\n action?: ReactNode;\n sx?: SxProps<Theme>;\n className?: string;\n 'data-testid'?: string;\n}\n\n/**\n * Aviso inline flexible (banner). Wrapper fino sobre MUI `Alert` — para\n * mensajes contextuales con contenido arbitrario y las 4 severidades\n * (error/warning/info/success).\n *\n * Distinto de `StatusMessage`, que es feedback opinado de formularios\n * (title+description, success/danger/warning, modo alert o modal).\n */\nexport function Alert({\n severity = 'info',\n variant = 'standard',\n children,\n onClose,\n icon,\n action,\n sx,\n className,\n 'data-testid': dataTestId,\n}: AlertProps) {\n return (\n <MuiAlert\n severity={severity}\n variant={variant}\n onClose={onClose}\n icon={icon}\n action={action}\n sx={sx}\n className={className}\n data-testid={dataTestId}\n >\n {children}\n </MuiAlert>\n );\n}\n\nexport default Alert;\n"],"names":["jsx","MuiAlert"],"mappings":";;;AAiCO,SAAS,MAAM;AAAA,EACpB,WAAW;AAAA,EACX,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AACjB,GAAe;AACb,SACEA,2BAAAA;AAAAA,IAACC,SAAAA;AAAAA,IAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,eAAa;AAAA,MAEZ;AAAA,IAAA;AAAA,EAAA;AAGP;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Alert as Alert$1 } from "@mui/material";
|
|
3
|
+
function Alert({
|
|
4
|
+
severity = "info",
|
|
5
|
+
variant = "standard",
|
|
6
|
+
children,
|
|
7
|
+
onClose,
|
|
8
|
+
icon,
|
|
9
|
+
action,
|
|
10
|
+
sx,
|
|
11
|
+
className,
|
|
12
|
+
"data-testid": dataTestId
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ jsx(
|
|
15
|
+
Alert$1,
|
|
16
|
+
{
|
|
17
|
+
severity,
|
|
18
|
+
variant,
|
|
19
|
+
onClose,
|
|
20
|
+
icon,
|
|
21
|
+
action,
|
|
22
|
+
sx,
|
|
23
|
+
className,
|
|
24
|
+
"data-testid": dataTestId,
|
|
25
|
+
children
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
Alert as A
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=Alert-YsPScpSE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert-YsPScpSE.js","sources":["../src/components/Alert/Alert.tsx"],"sourcesContent":["import { type ReactNode } from 'react';\nimport { Alert as MuiAlert } from '@mui/material';\nimport type { SxProps, Theme } from '@mui/material/styles';\n\nexport type AlertSeverity = 'error' | 'warning' | 'info' | 'success';\nexport type AlertVariant = 'standard' | 'filled' | 'outlined';\n\nexport interface AlertProps {\n /** Color + icono. Default: `info`. */\n severity?: AlertSeverity;\n /** Estilo visual. Default: `standard`. */\n variant?: AlertVariant;\n /** Contenido del alert (texto o JSX arbitrario). */\n children?: ReactNode;\n /** Si se provee, muestra la X de cerrar y la invoca al click. */\n onClose?: () => void;\n /** Icono custom, o `false` para ocultarlo. */\n icon?: ReactNode | false;\n /** Acción a la derecha (ej. botón). */\n action?: ReactNode;\n sx?: SxProps<Theme>;\n className?: string;\n 'data-testid'?: string;\n}\n\n/**\n * Aviso inline flexible (banner). Wrapper fino sobre MUI `Alert` — para\n * mensajes contextuales con contenido arbitrario y las 4 severidades\n * (error/warning/info/success).\n *\n * Distinto de `StatusMessage`, que es feedback opinado de formularios\n * (title+description, success/danger/warning, modo alert o modal).\n */\nexport function Alert({\n severity = 'info',\n variant = 'standard',\n children,\n onClose,\n icon,\n action,\n sx,\n className,\n 'data-testid': dataTestId,\n}: AlertProps) {\n return (\n <MuiAlert\n severity={severity}\n variant={variant}\n onClose={onClose}\n icon={icon}\n action={action}\n sx={sx}\n className={className}\n data-testid={dataTestId}\n >\n {children}\n </MuiAlert>\n );\n}\n\nexport default Alert;\n"],"names":["MuiAlert"],"mappings":";;AAiCO,SAAS,MAAM;AAAA,EACpB,WAAW;AAAA,EACX,UAAU;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AACjB,GAAe;AACb,SACE;AAAA,IAACA;AAAAA,IAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,eAAa;AAAA,MAEZ;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const Alert = require("../../Alert-B3SMPD1s.cjs");
|
|
4
|
+
exports.Alert = Alert.Alert;
|
|
5
|
+
exports.default = Alert.Alert;
|
|
6
|
+
//# sourceMappingURL=Alert.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export type AlertSeverity = 'error' | 'warning' | 'info' | 'success';
|
|
4
|
+
export type AlertVariant = 'standard' | 'filled' | 'outlined';
|
|
5
|
+
export interface AlertProps {
|
|
6
|
+
/** Color + icono. Default: `info`. */
|
|
7
|
+
severity?: AlertSeverity;
|
|
8
|
+
/** Estilo visual. Default: `standard`. */
|
|
9
|
+
variant?: AlertVariant;
|
|
10
|
+
/** Contenido del alert (texto o JSX arbitrario). */
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
/** Si se provee, muestra la X de cerrar y la invoca al click. */
|
|
13
|
+
onClose?: () => void;
|
|
14
|
+
/** Icono custom, o `false` para ocultarlo. */
|
|
15
|
+
icon?: ReactNode | false;
|
|
16
|
+
/** Acción a la derecha (ej. botón). */
|
|
17
|
+
action?: ReactNode;
|
|
18
|
+
sx?: SxProps<Theme>;
|
|
19
|
+
className?: string;
|
|
20
|
+
'data-testid'?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Aviso inline flexible (banner). Wrapper fino sobre MUI `Alert` — para
|
|
24
|
+
* mensajes contextuales con contenido arbitrario y las 4 severidades
|
|
25
|
+
* (error/warning/info/success).
|
|
26
|
+
*
|
|
27
|
+
* Distinto de `StatusMessage`, que es feedback opinado de formularios
|
|
28
|
+
* (title+description, success/danger/warning, modo alert o modal).
|
|
29
|
+
*/
|
|
30
|
+
export declare function Alert({ severity, variant, children, onClose, icon, action, sx, className, 'data-testid': dataTestId, }: AlertProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export default Alert;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/index.cjs
CHANGED
|
@@ -10,6 +10,7 @@ const components_Column = require("./components/Column/Column.cjs");
|
|
|
10
10
|
const Avatar = require("./Avatar-Dw5rzayR.cjs");
|
|
11
11
|
const Stat = require("./Stat-BUcFCGrz.cjs");
|
|
12
12
|
const Spinner = require("./Spinner-D7qRmNS9.cjs");
|
|
13
|
+
const Alert = require("./Alert-B3SMPD1s.cjs");
|
|
13
14
|
const Step = require("./Step-Nd7SJbRZ.cjs");
|
|
14
15
|
const Tab = require("./Tab-BbP8jBcK.cjs");
|
|
15
16
|
const Table = require("./Table-C4OM6rrC.cjs");
|
|
@@ -33,10 +34,6 @@ function scrollToTop({
|
|
|
33
34
|
}
|
|
34
35
|
exports.DEFAULT_PRESET_NAME = resolvePreset.DEFAULT_PRESET_NAME;
|
|
35
36
|
exports.resolvePreset = resolvePreset.resolvePreset;
|
|
36
|
-
Object.defineProperty(exports, "Alert", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: () => material.Alert
|
|
39
|
-
});
|
|
40
37
|
Object.defineProperty(exports, "AlertTitle", {
|
|
41
38
|
enumerable: true,
|
|
42
39
|
get: () => material.AlertTitle
|
|
@@ -168,6 +165,7 @@ exports.Column = components_Column.Column;
|
|
|
168
165
|
exports.Avatar = Avatar.Avatar;
|
|
169
166
|
exports.Stat = Stat.Stat;
|
|
170
167
|
exports.Spinner = Spinner.Spinner;
|
|
168
|
+
exports.Alert = Alert.Alert;
|
|
171
169
|
exports.Step = Step.Step;
|
|
172
170
|
exports.Stepper = Step.Stepper;
|
|
173
171
|
exports.Tab = Tab.Tab;
|
package/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/utils/scrollToTop.ts"],"sourcesContent":["export interface ScrollToTopOptions {\n /** Comportamiento del scroll. Default: `'smooth'`. */\n behavior?: ScrollBehavior;\n /**\n * Elemento target del scroll. Default: `window`. Útil cuando el contenedor\n * scrolleable NO es `window` (p.ej. un `<Box>` con `overflow: auto`).\n */\n target?: Window | HTMLElement;\n /** Offset desde el top. Default: `0`. */\n top?: number;\n}\n\n/**\n * Hace scroll al tope (por default con animación suave). Safe en SSR — si\n * `window` no existe, es un no-op.\n *\n * Llamar tras mutaciones / cambios de filtros / apertura de modales para\n * asegurar que el usuario vea el mensaje de confirmación en la parte\n * superior de la página.\n *\n * ```ts\n * import { scrollToTop } from '@soyfri/shared-library';\n *\n * scrollToTop(); // window, smooth\n * scrollToTop({ behavior: 'auto' }); // window, instantáneo\n * scrollToTop({ target: myScrollableRef.current }); // container custom\n * ```\n */\nexport function scrollToTop({\n behavior = 'smooth',\n target = typeof window !== 'undefined' ? window : undefined,\n top = 0,\n}: ScrollToTopOptions = {}): void {\n if (!target) return;\n target.scrollTo({ top, left: 0, behavior });\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/utils/scrollToTop.ts"],"sourcesContent":["export interface ScrollToTopOptions {\n /** Comportamiento del scroll. Default: `'smooth'`. */\n behavior?: ScrollBehavior;\n /**\n * Elemento target del scroll. Default: `window`. Útil cuando el contenedor\n * scrolleable NO es `window` (p.ej. un `<Box>` con `overflow: auto`).\n */\n target?: Window | HTMLElement;\n /** Offset desde el top. Default: `0`. */\n top?: number;\n}\n\n/**\n * Hace scroll al tope (por default con animación suave). Safe en SSR — si\n * `window` no existe, es un no-op.\n *\n * Llamar tras mutaciones / cambios de filtros / apertura de modales para\n * asegurar que el usuario vea el mensaje de confirmación en la parte\n * superior de la página.\n *\n * ```ts\n * import { scrollToTop } from '@soyfri/shared-library';\n *\n * scrollToTop(); // window, smooth\n * scrollToTop({ behavior: 'auto' }); // window, instantáneo\n * scrollToTop({ target: myScrollableRef.current }); // container custom\n * ```\n */\nexport function scrollToTop({\n behavior = 'smooth',\n target = typeof window !== 'undefined' ? window : undefined,\n top = 0,\n}: ScrollToTopOptions = {}): void {\n if (!target) return;\n target.scrollTo({ top, left: 0, behavior });\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4BO,SAAS,YAAY;AAAA,EAC1B,WAAW;AAAA,EACX,SAAS,OAAO,WAAW,cAAc,SAAS;AAAA,EAClD,MAAM;AACR,IAAwB,IAAU;AAChC,MAAI,CAAC,OAAQ;AACb,SAAO,SAAS,EAAE,KAAK,MAAM,GAAG,UAAU;AAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export { Avatar } from './components/Avatar';
|
|
|
12
12
|
export { Stat } from './components/Stat';
|
|
13
13
|
export { Spinner } from './components/Spinner';
|
|
14
14
|
export type { SpinnerProps, SpinnerSize, SpinnerColor } from './components/Spinner';
|
|
15
|
+
export { Alert } from './components/Alert';
|
|
16
|
+
export type { AlertProps, AlertSeverity, AlertVariant } from './components/Alert';
|
|
15
17
|
export { Stepper, Step } from './components/Stepper';
|
|
16
18
|
export { Tabs, Tab } from './components/Tabs';
|
|
17
19
|
export { Table } from './components/Table';
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D, r } from "./resolvePreset-K6_BfWHD.js";
|
|
2
|
-
import {
|
|
2
|
+
import { AlertTitle, Backdrop, Box, CircularProgress, Collapse, Container, Divider, Fade, Grid, Grow, LinearProgress, Link, List, ListItem, ListItemButton, ListItemIcon, ListItemText, ListSubheader, Paper, Skeleton, Snackbar, Stack, ThemeProvider, Typography, Zoom, alpha, createTheme, styled, useMediaQuery, useTheme } from "@mui/material";
|
|
3
3
|
import { renderMultiSectionDigitalClockTimeView } from "@mui/x-date-pickers/timeViewRenderers";
|
|
4
4
|
import { B } from "./Button-UkkP-bNw.js";
|
|
5
5
|
import { C } from "./Card-DYKGY-NG.js";
|
|
@@ -8,6 +8,7 @@ import { Column } from "./components/Column/Column.js";
|
|
|
8
8
|
import { A } from "./Avatar-H8akSege.js";
|
|
9
9
|
import { S } from "./Stat-C06A_izS.js";
|
|
10
10
|
import { S as S2 } from "./Spinner-B6sThC1p.js";
|
|
11
|
+
import { A as A2 } from "./Alert-YsPScpSE.js";
|
|
11
12
|
import { a, S as S3 } from "./Step-BArsou1V.js";
|
|
12
13
|
import { a as a2, T } from "./Tab-BxSxKJsP.js";
|
|
13
14
|
import { T as T2 } from "./Table-C2LbW0B1.js";
|
|
@@ -15,7 +16,7 @@ import { S as S4 } from "./StatusMessage-D0WgSBx7.js";
|
|
|
15
16
|
import { M, b, c, a as a3 } from "./Modal-BFpX5AFV.js";
|
|
16
17
|
import { I } from "./Input-DP_fKl38.js";
|
|
17
18
|
import { O, S as S5 } from "./Select-BY5Y0qZ1.js";
|
|
18
|
-
import { A as
|
|
19
|
+
import { A as A3, a as a4 } from "./Autocomplete-C_lW1VER.js";
|
|
19
20
|
import { S as S6 } from "./Switch-D72dpkH2.js";
|
|
20
21
|
import { R } from "./RadioGroup-bO-ahP9T.js";
|
|
21
22
|
import { C as C3 } from "./Checkbox-gB5YKkVo.js";
|
|
@@ -30,9 +31,9 @@ import './index.css';function scrollToTop({
|
|
|
30
31
|
target.scrollTo({ top, left: 0, behavior });
|
|
31
32
|
}
|
|
32
33
|
export {
|
|
33
|
-
Alert,
|
|
34
|
+
A2 as Alert,
|
|
34
35
|
AlertTitle,
|
|
35
|
-
|
|
36
|
+
A3 as Autocomplete,
|
|
36
37
|
a4 as AutocompleteSelect,
|
|
37
38
|
A as Avatar,
|
|
38
39
|
Backdrop,
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/utils/scrollToTop.ts"],"sourcesContent":["export interface ScrollToTopOptions {\n /** Comportamiento del scroll. Default: `'smooth'`. */\n behavior?: ScrollBehavior;\n /**\n * Elemento target del scroll. Default: `window`. Útil cuando el contenedor\n * scrolleable NO es `window` (p.ej. un `<Box>` con `overflow: auto`).\n */\n target?: Window | HTMLElement;\n /** Offset desde el top. Default: `0`. */\n top?: number;\n}\n\n/**\n * Hace scroll al tope (por default con animación suave). Safe en SSR — si\n * `window` no existe, es un no-op.\n *\n * Llamar tras mutaciones / cambios de filtros / apertura de modales para\n * asegurar que el usuario vea el mensaje de confirmación en la parte\n * superior de la página.\n *\n * ```ts\n * import { scrollToTop } from '@soyfri/shared-library';\n *\n * scrollToTop(); // window, smooth\n * scrollToTop({ behavior: 'auto' }); // window, instantáneo\n * scrollToTop({ target: myScrollableRef.current }); // container custom\n * ```\n */\nexport function scrollToTop({\n behavior = 'smooth',\n target = typeof window !== 'undefined' ? window : undefined,\n top = 0,\n}: ScrollToTopOptions = {}): void {\n if (!target) return;\n target.scrollTo({ top, left: 0, behavior });\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/utils/scrollToTop.ts"],"sourcesContent":["export interface ScrollToTopOptions {\n /** Comportamiento del scroll. Default: `'smooth'`. */\n behavior?: ScrollBehavior;\n /**\n * Elemento target del scroll. Default: `window`. Útil cuando el contenedor\n * scrolleable NO es `window` (p.ej. un `<Box>` con `overflow: auto`).\n */\n target?: Window | HTMLElement;\n /** Offset desde el top. Default: `0`. */\n top?: number;\n}\n\n/**\n * Hace scroll al tope (por default con animación suave). Safe en SSR — si\n * `window` no existe, es un no-op.\n *\n * Llamar tras mutaciones / cambios de filtros / apertura de modales para\n * asegurar que el usuario vea el mensaje de confirmación en la parte\n * superior de la página.\n *\n * ```ts\n * import { scrollToTop } from '@soyfri/shared-library';\n *\n * scrollToTop(); // window, smooth\n * scrollToTop({ behavior: 'auto' }); // window, instantáneo\n * scrollToTop({ target: myScrollableRef.current }); // container custom\n * ```\n */\nexport function scrollToTop({\n behavior = 'smooth',\n target = typeof window !== 'undefined' ? window : undefined,\n top = 0,\n}: ScrollToTopOptions = {}): void {\n if (!target) return;\n target.scrollTo({ top, left: 0, behavior });\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA4BO,SAAS,YAAY;AAAA,EAC1B,WAAW;AAAA,EACX,SAAS,OAAO,WAAW,cAAc,SAAS;AAAA,EAClD,MAAM;AACR,IAAwB,IAAU;AAChC,MAAI,CAAC,OAAQ;AACb,SAAO,SAAS,EAAE,KAAK,MAAM,GAAG,UAAU;AAC5C;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soyfri/shared-library",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.31",
|
|
4
4
|
"main": "./index.cjs",
|
|
5
5
|
"module": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -178,6 +178,11 @@
|
|
|
178
178
|
"require": "./components/AppBar/AppBar.cjs",
|
|
179
179
|
"types": "./components/AppBar/index.d.ts"
|
|
180
180
|
},
|
|
181
|
+
"./components/Alert": {
|
|
182
|
+
"import": "./components/Alert/Alert.js",
|
|
183
|
+
"require": "./components/Alert/Alert.cjs",
|
|
184
|
+
"types": "./components/Alert/index.d.ts"
|
|
185
|
+
},
|
|
181
186
|
"./components/ActionMenu": {
|
|
182
187
|
"import": "./components/ActionMenu/ActionMenu.js",
|
|
183
188
|
"require": "./components/ActionMenu/ActionMenu.cjs",
|