@m4l/components 9.1.82 → 9.1.83
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/components/Color/types.d.ts +1 -1
- package/components/ToastContainer/ToastContainer.js +4 -3
- package/components/formatters/ConcatenatedFormatter/types.d.ts +1 -1
- package/components/formatters/PriceFormatter/types.d.ts +1 -1
- package/components/formatters/UncertaintyFormatter/types.d.ts +1 -1
- package/components/hook-form/RHFSelect/types.d.ts +2 -2
- package/components/mui_extended/Select/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Theme } from '@mui/material/styles';
|
|
2
2
|
import { IconButtonProps as MUIIconButtonProps } from '@mui/material';
|
|
3
3
|
import { Sizes } from '@m4l/styles';
|
|
4
|
-
import { M4LOverridesStyleRules } from '
|
|
4
|
+
import { M4LOverridesStyleRules } from '../../@types/augmentations';
|
|
5
5
|
import { COLOR_KEY_COMPONENT } from './constants';
|
|
6
6
|
import { ColorSlots } from './slots';
|
|
7
7
|
/**
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ToastContainer as ToastContainer$1 } from "react-toastify";
|
|
3
3
|
import { T as TOAST_KEY_COMPONENT, D as DEFAULT_CLOSE_TIME } from "./constants.js";
|
|
4
4
|
import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
|
|
5
5
|
import "react-toastify/dist/ReactToastify.min.css";
|
|
6
|
+
import { ModuleSkeletonProvider } from "@m4l/core";
|
|
6
7
|
import { R as RootStyled } from "./slots/toastContainerSlots.js";
|
|
7
8
|
import { T as ToastContainerSlots } from "./slots/ToastContainerEnum.js";
|
|
8
9
|
const ToastContainer = (props) => {
|
|
9
10
|
const { children, fixed = true, dataTestId, ...restProps } = props;
|
|
10
11
|
const ownerState = { fixed };
|
|
11
|
-
return /* @__PURE__ */ jsxs(
|
|
12
|
+
return /* @__PURE__ */ jsx(ModuleSkeletonProvider, { flags: [], children: /* @__PURE__ */ jsxs(
|
|
12
13
|
RootStyled,
|
|
13
14
|
{
|
|
14
15
|
ownerState,
|
|
@@ -28,7 +29,7 @@ const ToastContainer = (props) => {
|
|
|
28
29
|
children
|
|
29
30
|
]
|
|
30
31
|
}
|
|
31
|
-
);
|
|
32
|
+
) });
|
|
32
33
|
};
|
|
33
34
|
export {
|
|
34
35
|
ToastContainer as T
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { Theme } from '@mui/material';
|
|
3
3
|
import { Sizes } from '@m4l/styles';
|
|
4
|
-
import { M4LOverridesStyleRules } from '
|
|
4
|
+
import { M4LOverridesStyleRules } from '../../../@types/augmentations';
|
|
5
5
|
import { TypographyProps } from '../../mui_extended/Typography/types';
|
|
6
6
|
import { ConcatenatedFormatterSlots as Slots } from './slots/ConcatenatedFormatterEnum';
|
|
7
7
|
import { CONTATENATED_FORMATTER_KEY_COMPONENT } from './constants';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Theme } from '@mui/material';
|
|
2
2
|
import { Sizes } from '@m4l/styles';
|
|
3
|
-
import { M4LOverridesStyleRules } from '
|
|
3
|
+
import { M4LOverridesStyleRules } from '../../../@types/augmentations';
|
|
4
4
|
import { TypographyProps } from '../../mui_extended/Typography/types';
|
|
5
5
|
import { PriceFormatterSlots } from './slots/PriceFormatterEnum';
|
|
6
6
|
import { PRICE_FORMATTER_KEY_COMPONENT } from './constants';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Sizes } from '@m4l/styles';
|
|
2
2
|
import { Theme } from '@mui/material';
|
|
3
|
-
import { M4LOverridesStyleRules } from '
|
|
3
|
+
import { M4LOverridesStyleRules } from '../../../@types/augmentations';
|
|
4
4
|
import { TypographyProps } from '../../mui_extended/Typography/types';
|
|
5
5
|
import { UncertaintyFormatterSlots as Slots } from './slots/UncertaintyFormatterEnum';
|
|
6
6
|
import { UNCERTAINTY_FORMATTER_KEY_COMPONENT } from './constants';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { HelperErrorProps } from '
|
|
1
|
+
import { HelperErrorProps } from '../../HelperError';
|
|
2
2
|
import { LabelProps } from '../../Label/types';
|
|
3
3
|
import { SelectProps } from '../../mui_extended/Select/types';
|
|
4
4
|
import { Sizes } from '@m4l/styles';
|
|
5
|
-
import { M4LOverridesStyleRules } from '
|
|
5
|
+
import { M4LOverridesStyleRules } from '../../../@types/augmentations';
|
|
6
6
|
import { RHFSelectEnum } from './slots/RHFSelectEnum';
|
|
7
7
|
import { RHFSELECT_COMPONENT_KEY } from './constants';
|
|
8
8
|
import { Theme } from '@mui/material';
|
|
@@ -3,7 +3,7 @@ import { PaletteColor, Theme } from '@mui/material';
|
|
|
3
3
|
import { SelectProps as MUISelectProps } from '@mui/material/Select';
|
|
4
4
|
import { SELECT_KEY_COMPONENT } from './constants';
|
|
5
5
|
import { SelectSlots } from './slots';
|
|
6
|
-
import { M4LOverridesStyleRules } from '
|
|
6
|
+
import { M4LOverridesStyleRules } from '../../../@types/augmentations';
|
|
7
7
|
import { default as React } from 'react';
|
|
8
8
|
/**
|
|
9
9
|
* Representa una opción dentro del Select.
|