@m4l/components 9.2.51-beta.1 → 9.2.52

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.
Files changed (113) hide show
  1. package/.storybook/test-utils/index.d.ts +1 -0
  2. package/.storybook/test-utils/waitForHelpers.d.ts +4 -0
  3. package/.storybook/utils/getStylesColorsByMode.d.ts +98 -70
  4. package/components/Chip/ChipStyles.js +1 -1
  5. package/components/DataGrid/contexts/DataGridContext/index.js +1 -1
  6. package/components/DataGrid/contexts/FilterContext/index.js +1 -1
  7. package/components/DataGrid/dictionary.js +3 -0
  8. package/components/DataGrid/slots/DataGridEnum.js +2 -2
  9. package/components/DataGrid/slots/DataGridSlot.js +1 -1
  10. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +0 -2
  11. package/components/DataGrid/subcomponents/Table/subcomponents/CheckboxFormatter.js +1 -1
  12. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +2 -2
  13. package/components/DragResizeWindowRND/DragResizeWindowRND.js +1 -0
  14. package/components/DynamicFilter/dictionary.js +12 -0
  15. package/components/DynamicFilter/store/DynamicFilterContext.js +1 -1
  16. package/components/DynamicFilter/subcomponents/DynamicFilterBase/DynamicFilterBase.js +1 -1
  17. package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
  18. package/components/DynamicSort/dictionary.js +5 -0
  19. package/components/DynamicSort/slots/DynamicSortSlots.js +1 -1
  20. package/components/DynamicSort/store/DynamicSortContext.js +1 -1
  21. package/components/DynamicSort/subcomponents/DynamicSortBase/DynamicSortBase.js +1 -1
  22. package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
  23. package/components/GridLayout/GridLayout.js +1 -1
  24. package/components/GridLayout/styles.js +1 -1
  25. package/components/GridLayout/subcomponents/GridItem/index.js +1 -1
  26. package/components/GridLayout/subcomponents/Responsive/helper.js +1 -1
  27. package/components/GridLayout/subcomponents/Responsive/index.js +1 -1
  28. package/components/GridLayout/subcomponents/Responsive/responsiveUtils.js +3 -3
  29. package/components/GridLayout/subcomponents/withSizeProvider/index.js +1 -1
  30. package/components/Icon/Icon.js +1 -1
  31. package/components/Icon/constants.js +2 -2
  32. package/components/Icon/slots/IconSlots.js +1 -1
  33. package/components/Image/Image.js +1 -1
  34. package/components/Image/constant.js +2 -2
  35. package/components/Image/slots/ImageSlots.js +1 -1
  36. package/components/Image/subcomponents/IntersectComponent/index.js +1 -1
  37. package/components/LanguagePopover/LanguagePopover.js +1 -1
  38. package/components/LoadingError/LoadingError.js +1 -1
  39. package/components/LoadingError/slots/LoadingErrorSlots.js +1 -1
  40. package/components/MFIsolationApp/subcomponents/MFAuthApp/MFAuthApp.js +1 -1
  41. package/components/NoItemSelected/NoItemSelected.js +1 -1
  42. package/components/NumberInput/hooks/useNumberInput/NumberInputReducer.js +1 -1
  43. package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +0 -2
  44. package/components/ObjectLogs/dictionary.js +3 -0
  45. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +1 -1
  46. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +1 -1
  47. package/components/Pager/Pager.styles.js +8 -0
  48. package/components/Pager/dicctionary.js +5 -0
  49. package/components/PrintingSystem/subcomponents/ChartNode/index.js +1 -1
  50. package/components/PropertyValue/PropertyValue.js +2 -2
  51. package/components/ScrollBar/ScrollBar.js +1 -1
  52. package/components/SideBar/slots/SideBarEnum.js +4 -4
  53. package/components/SideBar/slots/SideBarSlots.js +1 -1
  54. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -1
  55. package/components/ToastContainer/ToastContainer.js +1 -1
  56. package/components/WindowBase/slots/WindowBaseSlots.js +1 -1
  57. package/components/animate/variants/bounce.js +1 -1
  58. package/components/animate/variants/fade.js +1 -1
  59. package/components/animate/variants/transition.js +2 -2
  60. package/components/areas/components/AreasAdmin/AreasAdmin.js +1 -1
  61. package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
  62. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.js +1 -1
  63. package/components/areas/contexts/AreasContext/helpers/helper.js +14 -14
  64. package/components/areas/contexts/AreasContext/store.js +5 -5
  65. package/components/areas/icons.js +8 -0
  66. package/components/commercial/HamburgerMenu/classes/index.js +1 -1
  67. package/components/formatters/BooleanFormatter/BooleanFormatter.js +1 -1
  68. package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +3 -3
  69. package/components/formatters/PeriodFormatter/PeriodFormatter.js +1 -1
  70. package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.js +2 -2
  71. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.js +1 -1
  72. package/components/hook-form/RHFPeriod/RHFPeriod.js +1 -1
  73. package/components/hook-form/RHFTextField/RHFTextField.styles.js +3 -1
  74. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.js +1 -1
  75. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.js +1 -1
  76. package/components/hook-form/RHFormContext/classes/index.js +1 -1
  77. package/components/hook-form/RHFormContext/index.js +1 -1
  78. package/components/mui_extended/Accordion/Accordion.js +1 -1
  79. package/components/mui_extended/Accordion/slots/AccordionSlots.js +2 -2
  80. package/components/mui_extended/Autocomplete/Autocomplete.js +1 -1
  81. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.js +3 -3
  82. package/components/mui_extended/CheckBox/CheckBox.js +1 -1
  83. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.js +2 -2
  84. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.js +1 -1
  85. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +1 -1
  86. package/components/mui_extended/ImageButton/utils/Clases/index.js +1 -1
  87. package/components/mui_extended/MenuItem/slots/MenuItemSlots.js +1 -1
  88. package/components/mui_extended/NavLink/NavLink.js +1 -1
  89. package/components/mui_extended/NavLink/constants.js +2 -2
  90. package/components/mui_extended/NavLink/slots/NavLinkSlots.js +1 -1
  91. package/components/mui_extended/Popover/Popover.js +1 -1
  92. package/components/mui_extended/Popover/Popover.styles.js +5 -1
  93. package/components/mui_extended/Popover/constants.js +2 -2
  94. package/components/mui_extended/Select/Select.js +1 -1
  95. package/components/mui_extended/Select/Select.styles.js +1 -1
  96. package/components/mui_extended/Select/constants.js +1 -1
  97. package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
  98. package/components/mui_extended/Tab/Tab.js +1 -1
  99. package/components/mui_extended/TextField/constants.js +1 -1
  100. package/components/mui_extended/Tooltip/Tooltip.js +2 -2
  101. package/components/mui_extended/Tooltip/slots/TooltipSlots.js +2 -2
  102. package/components/mui_extended/Typography/Typography.js +1 -1
  103. package/components/mui_extended/Typography/constants.js +3 -3
  104. package/components/mui_extended/Typography/slots/typographySlots.js +1 -1
  105. package/components/popups/components/PopupsViewer/icons.js +1 -0
  106. package/hooks/useDataGridPersistence/constants.js +2 -2
  107. package/hooks/useDataGridPersistence/useDataGridPersistence.js +1 -1
  108. package/hooks/useSvgColor/constants.js +2 -2
  109. package/hooks/useSvgColor/helpers.js +1 -1
  110. package/hooks/useSvgColor/useSvgColor.js +1 -1
  111. package/index.js +12 -12
  112. package/package.json +1 -1
  113. package/storybook/components/SideBar/SideBar.stories.d.ts +17 -5
@@ -3,7 +3,7 @@ import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.js";
3
3
  import { a as getNameDataTestId } from "../../../test/getNameDataTestId.js";
4
4
  import { P as PATH_EXPANDED_ICON, A as ACCORDION_KEY } from "./constants.js";
5
5
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
6
- import { A as AccordionRootStyled, a as AccordionSummaryStyled, I as IconLabelStyled, L as LabelStyled, b as IconExpandedStyled, c as AccordionDetailsStyled } from "./slots/AccordionSlots.js";
6
+ import { A as AccordionRootStyled, a as AccordionSummaryStyled, I as IconExpandedStyled, b as IconLabelStyled, L as LabelStyled, c as AccordionDetailsStyled } from "./slots/AccordionSlots.js";
7
7
  import { forwardRef } from "react";
8
8
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
9
9
  const Accordion = forwardRef((props, ref) => {
@@ -31,9 +31,9 @@ const AccordionDetailsStyled = styled(AccordionDetails, {
31
31
  })(accordionStyles?.accordionDetails);
32
32
  export {
33
33
  AccordionRootStyled as A,
34
- IconLabelStyled as I,
34
+ IconExpandedStyled as I,
35
35
  LabelStyled as L,
36
36
  AccordionSummaryStyled as a,
37
- IconExpandedStyled as b,
37
+ IconLabelStyled as b,
38
38
  AccordionDetailsStyled as c
39
39
  };
@@ -3,7 +3,7 @@ import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/cor
3
3
  import { forwardRef, useState, useCallback, useEffect, useMemo } from "react";
4
4
  import { r as renderOption } from "./renderOptions/index.js";
5
5
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
6
- import { C as ChipStyled, I as ImageStyled, A as AdormentsStyled, a as CircularProgressStyled, b as IconButtonStyled, S as SkeletonAutocompleteStyled, c as AutocompleteRootStyled, R as RenderInputStyled, P as PopperComponentStyled } from "./slots/AutocompleteSlots.js";
6
+ import { C as ChipStyled, I as ImageStyled, A as AdormentsStyled, a as CircularProgressStyled, b as IconButtonStyled, S as SkeletonAutocompleteStyled, c as AutocompleteRootStyled, P as PopperComponentStyled, R as RenderInputStyled } from "./slots/AutocompleteSlots.js";
7
7
  import { T as Typography } from "../Typography/Typography.js";
8
8
  const Autocomplete = forwardRef(function Autocomplete2(props, ref) {
9
9
  const {
@@ -6,12 +6,12 @@ import { a as autocompleteSyles } from "../Autocomplete.styles.js";
6
6
  import { A as AUTOCOMPLETE_KEY_COMPONENT } from "../constants.js";
7
7
  import { A as AutocompleteSlots } from "./AutocompleteEnum.js";
8
8
  import { I as IconButton } from "../../IconButton/IconButton.js";
9
- import { S as Skeleton } from "../../Skeleton/Skeleton.js";
10
9
  import { T as TextField } from "../../TextField/TextField.js";
11
- import { P as Popper } from "../../Popper/Popper.js";
12
10
  import { T as Typography } from "../../Typography/Typography.js";
13
- import { C as CircularProgress } from "../../CircularProgress/CircularProgress.js";
11
+ import { S as Skeleton } from "../../Skeleton/Skeleton.js";
12
+ import { P as Popper } from "../../Popper/Popper.js";
14
13
  import { M as MenuItem } from "../../MenuItem/MenuItem.js";
14
+ import { C as CircularProgress } from "../../CircularProgress/CircularProgress.js";
15
15
  const AutocompleteRootStyled = styled(Autocomplete, {
16
16
  name: AUTOCOMPLETE_KEY_COMPONENT,
17
17
  slot: AutocompleteSlots.root
@@ -5,7 +5,7 @@ import { g as getComponentClasses } from "../../../utils/getComponentSlotRoot.js
5
5
  import { C as CHECK_BOX_KEY_COMPONENT } from "./constants.js";
6
6
  import clsx from "clsx";
7
7
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
8
- import { C as CheckBoxRootStyled, M as MUICheckboxStyled, I as IconStyled, a as IconCheckedStyled, T as TypographyStyled, S as SkeletonStyled } from "./slots/CheckBoxSlots.js";
8
+ import { C as CheckBoxRootStyled, M as MUICheckboxStyled, I as IconCheckedStyled, a as IconStyled, T as TypographyStyled, S as SkeletonStyled } from "./slots/CheckBoxSlots.js";
9
9
  import { C as CheckBoxSlots } from "./slots/CheckBoxEnum.js";
10
10
  const CheckBox = forwardRef((props, ref) => {
11
11
  const {
@@ -31,9 +31,9 @@ const IconStyled = styled(Icon, {
31
31
  })(checkBoxStyles.icon);
32
32
  export {
33
33
  CheckBoxRootStyled as C,
34
- IconStyled as I,
34
+ IconCheckedStyled as I,
35
35
  MUICheckboxStyled as M,
36
36
  SkeletonStyled as S,
37
37
  TypographyStyled as T,
38
- IconCheckedStyled as a
38
+ IconStyled as a
39
39
  };
@@ -1,5 +1,5 @@
1
1
  import { styled, Popper, Paper } from "@mui/material";
2
- import { PickersCalendarHeader, PickersDay, MobileDateTimePicker, DesktopDateTimePicker } from "@mui/x-date-pickers";
2
+ import { DesktopDateTimePicker, MobileDateTimePicker, PickersCalendarHeader, PickersDay } from "@mui/x-date-pickers";
3
3
  import { d as dateTimePickerStyles } from "../DateTimePicker.styles.js";
4
4
  import { D as DATE_TIME_PICKER_KEY_COMPONENT } from "../constants.js";
5
5
  import { D as DateTimePickerEnum } from "./DateTimePickerEnum.js";
@@ -3,8 +3,8 @@ import { styled } from "@mui/material/styles";
3
3
  import { i as iconButtonStyles } from "../IconButton.styles.js";
4
4
  import { a as ICON_BUTTON_KEY_COMPONENT } from "../constants.js";
5
5
  import { I as IconButtonSlots } from "./IconButtonEnum.js";
6
- import { I as Icon } from "../../../Icon/Icon.js";
7
6
  import { S as Skeleton } from "../../Skeleton/Skeleton.js";
7
+ import { I as Icon } from "../../../Icon/Icon.js";
8
8
  const StyledMUIIconButton = styled(IconButton, {
9
9
  name: ICON_BUTTON_KEY_COMPONENT,
10
10
  slot: IconButtonSlots.styledMUIIconButton
@@ -1,4 +1,4 @@
1
- import { generateUtilityClass, generateUtilityClasses } from "@mui/material";
1
+ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
2
2
  import { unstable_composeClasses } from "@mui/base";
3
3
  import { c as componentName } from "./constants.js";
4
4
  generateUtilityClasses(componentName, [
@@ -3,8 +3,8 @@ import { MenuItem } from "@mui/material";
3
3
  import { a as MENUITEM_KEY_COMPONENT } from "../constants.js";
4
4
  import { m as menuItemStyles } from "../MenuItem.styles.js";
5
5
  import { M as MenuItemSlots } from "./MenuItemEnum.js";
6
- import { S as Skeleton } from "../../Skeleton/Skeleton.js";
7
6
  import { T as Typography } from "../../Typography/Typography.js";
7
+ import { S as Skeleton } from "../../Skeleton/Skeleton.js";
8
8
  import { I as Icon } from "../../../Icon/Icon.js";
9
9
  const MenuItemRootStyled = styled(MenuItem, {
10
10
  name: MENUITEM_KEY_COMPONENT,
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { R as RouterNavLinkRootStyled, a as RouterNavLinkStyled, T as TypographyStyled, S as SkeletonStyled } from "./slots/NavLinkSlots.js";
3
3
  import { useModuleSkeleton } from "@m4l/core";
4
- import { c as classNavLinkRoot, N as NAV_LINK_SPECIFY, a as NAV_LINK_KEY_COMPONENT } from "./constants.js";
4
+ import { N as NAV_LINK_KEY_COMPONENT, c as classNavLinkRoot, a as NAV_LINK_SPECIFY } from "./constants.js";
5
5
  import { N as NavLinkSlots } from "./slots/NavLinkEnum.js";
6
6
  import { clsx } from "clsx";
7
7
  import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
@@ -4,7 +4,7 @@ const NAV_LINK_KEY_COMPONENT = "M4LNavLink";
4
4
  const NAV_LINK_SPECIFY = "M4lclassCssSpecificity";
5
5
  const classNavLinkRoot = getComponentClasses(NAV_LINK_KEY_COMPONENT, NavLinkSlots);
6
6
  export {
7
- NAV_LINK_SPECIFY as N,
8
- NAV_LINK_KEY_COMPONENT as a,
7
+ NAV_LINK_KEY_COMPONENT as N,
8
+ NAV_LINK_SPECIFY as a,
9
9
  classNavLinkRoot as c
10
10
  };
@@ -1,7 +1,7 @@
1
1
  import { NavLink } from "react-router-dom";
2
2
  import { styled } from "@mui/material/styles";
3
3
  import { N as NavLinkSlots } from "./NavLinkEnum.js";
4
- import { a as NAV_LINK_KEY_COMPONENT } from "../constants.js";
4
+ import { N as NAV_LINK_KEY_COMPONENT } from "../constants.js";
5
5
  import { S as Skeleton } from "../../Skeleton/Skeleton.js";
6
6
  import { n as navLinkStyles } from "../NavLink.styles.js";
7
7
  import { T as Typography } from "../../Typography/Typography.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
3
- import { P as POPOVER_PREFIX, a as POPOVER_CLASS_NAME_SPECIFY } from "./constants.js";
3
+ import { P as POPOVER_CLASS_NAME_SPECIFY, a as POPOVER_PREFIX } from "./constants.js";
4
4
  import clsx from "clsx";
5
5
  import { P as PopoverRootStyled } from "./slots/PopoverSlots.js";
6
6
  import { P as PopoverSlots } from "./slots/PopoverEnum.js";
@@ -9,7 +9,11 @@ const popoverStyles = {
9
9
  borderRadius: theme.vars.size.borderRadius.r1
10
10
  }
11
11
  }
12
- })
12
+ }),
13
+ /**
14
+ * Styles applied to the Popover arrow element.
15
+ */
16
+ arrow: () => ({})
13
17
  };
14
18
  export {
15
19
  popoverStyles as p
@@ -2,7 +2,7 @@ const POPOVER_KEY_COMPONENT = "M4LPopover";
2
2
  const POPOVER_PREFIX = "Popover";
3
3
  const POPOVER_CLASS_NAME_SPECIFY = "M4lclassCssSpecificity";
4
4
  export {
5
- POPOVER_PREFIX as P,
6
- POPOVER_CLASS_NAME_SPECIFY as a,
5
+ POPOVER_CLASS_NAME_SPECIFY as P,
6
+ POPOVER_PREFIX as a,
7
7
  POPOVER_KEY_COMPONENT as b
8
8
  };
@@ -4,7 +4,7 @@ import { useTheme } from "@mui/material";
4
4
  import clsx from "clsx";
5
5
  import { forwardRef, useMemo, useState, useCallback } from "react";
6
6
  import { A as ArrowDownStyled, a as AdormentStyled, S as SelectRootStyled, b as SkeletonSelectStyled, M as MenuItemListStyled, c as MenuItemNoOptionStyled, L as LabelPlaceholerStyled, R as RenderValueContainerStyled, d as RenderValueTypography } from "./slots/SelectSlots.js";
7
- import { I as ICON_ARROW_DOWN, S as SELECT_CLASSES, a as SELECT_KEY_COMPONENT } from "./constants.js";
7
+ import { S as SELECT_CLASSES, a as SELECT_KEY_COMPONENT, I as ICON_ARROW_DOWN } from "./constants.js";
8
8
  import { S as SELECT_DICTIONARY } from "./dictionary.js";
9
9
  import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
10
10
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
@@ -1,5 +1,5 @@
1
1
  import { S as SELECT_CLASSES } from "./constants.js";
2
- import { g as getSizeStyles, a as getHeightSizeStyles } from "../../../utils/getSizeStyles/getSizeStyles.js";
2
+ import { a as getHeightSizeStyles, g as getSizeStyles } from "../../../utils/getSizeStyles/getSizeStyles.js";
3
3
  const selectStyles = {
4
4
  /**
5
5
  * Estilos para el componente Select
@@ -1,5 +1,5 @@
1
1
  import { g as getComponentClasses } from "../../../utils/getComponentSlotRoot.js";
2
- import { a as SelectComplementaryClasses, S as SelectSlots } from "./slots/SelectEnum.js";
2
+ import { S as SelectSlots, a as SelectComplementaryClasses } from "./slots/SelectEnum.js";
3
3
  const SELECT_KEY_COMPONENT = "M4LSelect";
4
4
  const ICON_ARROW_DOWN = "frontend/components/select/arrow_down.svg";
5
5
  const COMBINATED_TEXTFIELD_ENUMS = {
@@ -4,8 +4,8 @@ import { a as SELECT_KEY_COMPONENT } from "../constants.js";
4
4
  import { s as selectStyles } from "../Select.styles.js";
5
5
  import { S as SelectSlots } from "./SelectEnum.js";
6
6
  import { I as IconButton } from "../../IconButton/IconButton.js";
7
- import { S as Skeleton } from "../../Skeleton/Skeleton.js";
8
7
  import { M as MenuItem } from "../../MenuItem/MenuItem.js";
8
+ import { S as Skeleton } from "../../Skeleton/Skeleton.js";
9
9
  import { T as Typography } from "../../Typography/Typography.js";
10
10
  import { I as Icon } from "../../../Icon/Icon.js";
11
11
  const SelectRootStyled = () => styled(Select, {
@@ -5,7 +5,7 @@ import { T as TabSlots } from "./Slots/TabEnum.js";
5
5
  import { T as TAB_KEY_COMPONENT } from "./constants.js";
6
6
  import { g as getComponentClasses } from "../../../utils/getComponentSlotRoot.js";
7
7
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
8
- import { R as RootStyled, I as IconStyled, T as TypographyStyled } from "./Slots/TabSlots.js";
8
+ import { R as RootStyled, T as TypographyStyled, I as IconStyled } from "./Slots/TabSlots.js";
9
9
  function Tab(props) {
10
10
  const {
11
11
  size = "medium",
@@ -1,5 +1,5 @@
1
1
  import { g as getComponentClasses } from "../../../utils/getComponentSlotRoot.js";
2
- import { a as TexFieldComplementaryClasses, T as TextFieldSlots } from "./slots/TextFieldEnum.js";
2
+ import { T as TextFieldSlots, a as TexFieldComplementaryClasses } from "./slots/TextFieldEnum.js";
3
3
  const TEXT_FIELD_KEY_COMPONENT = "M4LTextField";
4
4
  const COMBINATED_TEXTFIELD_ENUMS = {
5
5
  ...TextFieldSlots,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { R as RootStyled, T as TooltipStyled, a as TextStyled } from "./slots/TooltipSlots.js";
3
- import { D as DEFAULT_TOOLTIP_OFFSET, T as TOOLTIP_CLASSES } from "./constants.js";
2
+ import { R as RootStyled, T as TextStyled, a as TooltipStyled } from "./slots/TooltipSlots.js";
3
+ import { T as TOOLTIP_CLASSES, D as DEFAULT_TOOLTIP_OFFSET } from "./constants.js";
4
4
  import clsx from "clsx";
5
5
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
6
6
  const Tooltip = (props) => {
@@ -17,6 +17,6 @@ const TooltipStyled = styled("div", {
17
17
  })(tooltipStyles?.tooltip);
18
18
  export {
19
19
  RootStyled as R,
20
- TooltipStyled as T,
21
- TextStyled as a
20
+ TextStyled as T,
21
+ TooltipStyled as a
22
22
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import clsx from "clsx";
3
3
  import { useModuleSkeleton } from "@m4l/core";
4
- import { T as TYPOGRAPHY_CLASSES, a as TYPOGRAPHY_KEY_COMPONENT, b as TYPOGRAPHY_CLASS_NAME_SPECIFY } from "./constants.js";
4
+ import { T as TYPOGRAPHY_CLASS_NAME_SPECIFY, a as TYPOGRAPHY_CLASSES, b as TYPOGRAPHY_KEY_COMPONENT } from "./constants.js";
5
5
  import { T as TypographySlots } from "./slots/typographyEnum.js";
6
6
  import { S as StyledMUITypography, a as StyledSkeleton } from "./slots/typographySlots.js";
7
7
  import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
@@ -4,7 +4,7 @@ const TYPOGRAPHY_KEY_COMPONENT = "M4LTypography";
4
4
  const TYPOGRAPHY_CLASS_NAME_SPECIFY = "M4lclassCssSpecificity";
5
5
  const TYPOGRAPHY_CLASSES = getComponentClasses(TYPOGRAPHY_KEY_COMPONENT, TypographySlots);
6
6
  export {
7
- TYPOGRAPHY_CLASSES as T,
8
- TYPOGRAPHY_KEY_COMPONENT as a,
9
- TYPOGRAPHY_CLASS_NAME_SPECIFY as b
7
+ TYPOGRAPHY_CLASS_NAME_SPECIFY as T,
8
+ TYPOGRAPHY_CLASSES as a,
9
+ TYPOGRAPHY_KEY_COMPONENT as b
10
10
  };
@@ -1,6 +1,6 @@
1
1
  import { Typography } from "@mui/material";
2
2
  import { styled } from "@mui/material/styles";
3
- import { a as TYPOGRAPHY_KEY_COMPONENT } from "../constants.js";
3
+ import { b as TYPOGRAPHY_KEY_COMPONENT } from "../constants.js";
4
4
  import { T as TypographySlots } from "./typographyEnum.js";
5
5
  import { t as typographyStyles } from "../typography.styles.js";
6
6
  import { S as Skeleton } from "../../Skeleton/Skeleton.js";
@@ -1,4 +1,5 @@
1
1
  const POPUPS_ICONS = {
2
+ CLOSE: "close.svg",
2
3
  EDITION_INFO: "edition_info.svg"
3
4
  };
4
5
  export {
@@ -1,6 +1,6 @@
1
1
  const COOKIE_COLUMNS_WIDTHS = "columns_widths";
2
2
  const COOKIE_COLUMNS_CONFIG = "columns_config";
3
3
  export {
4
- COOKIE_COLUMNS_CONFIG as C,
5
- COOKIE_COLUMNS_WIDTHS as a
4
+ COOKIE_COLUMNS_WIDTHS as C,
5
+ COOKIE_COLUMNS_CONFIG as a
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import { useState, useCallback } from "react";
2
2
  import { g as getColumnsConfigCookie } from "./helpers.js";
3
- import { C as COOKIE_COLUMNS_CONFIG, a as COOKIE_COLUMNS_WIDTHS } from "./constants.js";
3
+ import { C as COOKIE_COLUMNS_WIDTHS, a as COOKIE_COLUMNS_CONFIG } from "./constants.js";
4
4
  import { u as useWindowToolsMF } from "../../components/WindowBase/hooks/useWindowToolsMF/index.js";
5
5
  const useDataGridPersistence = (props) => {
6
6
  const { prefixCookie } = props;
@@ -31,8 +31,8 @@ const SVG_ICON_ERROR = "data:image/svg+xml;base64," + btoa(`<svg viewBox="0 0 64
31
31
  </svg>`);
32
32
  export {
33
33
  REPLACEMENT_PRYMARY_COLOR as R,
34
- SKELETON_SVG_ICON as S,
35
- SVG_CACHE_PREFIX as a,
34
+ SVG_CACHE_PREFIX as S,
35
+ SKELETON_SVG_ICON as a,
36
36
  SVG_ICON_ERROR as b,
37
37
  REPLACEMENT_SECONDARY_COLOR as c
38
38
  };
@@ -1,4 +1,4 @@
1
- import { S as SKELETON_SVG_ICON, a as SVG_CACHE_PREFIX } from "./constants.js";
1
+ import { S as SVG_CACHE_PREFIX, a as SKELETON_SVG_ICON } from "./constants.js";
2
2
  function purgedColor(color) {
3
3
  return color.replace(/[#\s]/g, "");
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import { useState, useEffect } from "react";
2
- import { b as SVG_ICON_ERROR, a as SVG_CACHE_PREFIX, R as REPLACEMENT_PRYMARY_COLOR, c as REPLACEMENT_SECONDARY_COLOR } from "./constants.js";
2
+ import { b as SVG_ICON_ERROR, S as SVG_CACHE_PREFIX, R as REPLACEMENT_PRYMARY_COLOR, c as REPLACEMENT_SECONDARY_COLOR } from "./constants.js";
3
3
  import { g as getSVG, p as purgedColor } from "./helpers.js";
4
4
  function useSvgColor(props) {
5
5
  const { src, cacheKey, primaryColor, secondaryColor = "#FFFFFF", skeletonIcon, fallBackIcon = SVG_ICON_ERROR } = props;
package/index.js CHANGED
@@ -9,7 +9,7 @@ import { A as A2 } from "./components/animate/AnimatedScroll/animatedScroll.js";
9
9
  import { v } from "./components/animate/variants/fade.js";
10
10
  import { v as v2 } from "./components/animate/variants/bounce.js";
11
11
  import { v as v3 } from "./components/animate/variants/container.js";
12
- import { a, v as v4, b } from "./components/animate/variants/transition.js";
12
+ import { v as v4, a, b } from "./components/animate/variants/transition.js";
13
13
  import { A as A3 } from "./components/AppBar/AppBar.js";
14
14
  import { g as g2 } from "./components/AppBar/dictionary.js";
15
15
  import { A as A4 } from "./components/areas/components/AreasAdmin/AreasAdmin.js";
@@ -120,7 +120,7 @@ import { D as D8 } from "./components/formatters/DistanceToNowFormatter/Distance
120
120
  import { g as g18 } from "./components/formatters/dictionary.js";
121
121
  import { G } from "./components/GridLayout/GridLayout.js";
122
122
  import { R as R3 } from "./components/GridLayout/subcomponents/Responsive/index.js";
123
- import { c as c2, e, d as d3 } from "./components/GridLayout/subcomponents/Responsive/responsiveUtils.js";
123
+ import { c as c2, d as d3, e } from "./components/GridLayout/subcomponents/Responsive/responsiveUtils.js";
124
124
  import { i, k } from "./components/GridLayout/utils.js";
125
125
  import { w } from "./components/GridLayout/subcomponents/withSizeProvider/index.js";
126
126
  import { H as H2 } from "./components/HelmetPage/index.js";
@@ -198,7 +198,7 @@ import { u as u23 } from "./hooks/useInterval/index.js";
198
198
  import { u as u24 } from "./hooks/useComponentSize/useComponentSize.js";
199
199
  import { u as u25 } from "./hooks/useFormReadyForUpdate/index.js";
200
200
  import { u as u26 } from "./hooks/useStateRef/index.js";
201
- import { S as S9 } from "./hooks/useSvgColor/constants.js";
201
+ import { a as a14 } from "./hooks/useSvgColor/constants.js";
202
202
  import { u as u27 } from "./hooks/useSvgColor/useSvgColor.js";
203
203
  import { u as u28 } from "./hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js";
204
204
  import { u as u29 } from "./hooks/useDataGridPersistence/useDataGridPersistence.js";
@@ -209,9 +209,9 @@ import { g as g30 } from "./utils/getComponentUtilityClass.js";
209
209
  import { g as g31 } from "./utils/getPaletteColor.js";
210
210
  import { g as g32 } from "./utils/getTypographyStyles.js";
211
211
  import { g as g33 } from "./utils/getIconColor.js";
212
- import { a as a14 } from "./utils/getSizeStyles/getSizeStyles.js";
212
+ import { a as a15 } from "./utils/getSizeStyles/getSizeStyles.js";
213
213
  import { O as O2 } from "./utils/ObjectQueue.js";
214
- import { g as g34, a as a15 } from "./utils/getComponentSlotRoot.js";
214
+ import { g as g34, a as a16 } from "./utils/getComponentSlotRoot.js";
215
215
  import { f } from "./utils/formatDistanceToNow/formatDistanteToNow.js";
216
216
  import { g as g35 } from "./utils/getValidDate.js";
217
217
  import { g as g36 } from "./utils/getNullGuard.js";
@@ -339,7 +339,7 @@ export {
339
339
  R as Resizable,
340
340
  R2 as ResizableBox,
341
341
  R3 as Responsive,
342
- S9 as SKELETON_SVG_ICON,
342
+ a14 as SKELETON_SVG_ICON,
343
343
  S7 as ScrollBar,
344
344
  S as SectionCommercial,
345
345
  S6 as SelectStyled,
@@ -375,9 +375,9 @@ export {
375
375
  W2 as WindowToolsMFContext,
376
376
  a10 as WindowToolsMFProvider,
377
377
  c2 as addLayoutItemToBreakPointIfNoExists,
378
- e as addLayoutItemToBreakPoints,
378
+ d3 as addLayoutItemToBreakPoints,
379
379
  c4 as capitalizeFirstLetter,
380
- d3 as cloneLayouts,
380
+ e as cloneLayouts,
381
381
  c3 as createDynamicMFStore,
382
382
  c as createToaster,
383
383
  d as defaultCommonActionsDictionary,
@@ -389,7 +389,7 @@ export {
389
389
  g3 as getAreasDictionary,
390
390
  g4 as getCommonActionsDictionary,
391
391
  g34 as getComponentClasses,
392
- a15 as getComponentSlotRoot,
392
+ a16 as getComponentSlotRoot,
393
393
  g30 as getComponentUtilityClass,
394
394
  g5 as getDataGridComponentsDictionary,
395
395
  g6 as getDataGridRowsFromSet,
@@ -403,7 +403,7 @@ export {
403
403
  g14 as getFormatPoints,
404
404
  g16 as getFormatPrice,
405
405
  g18 as getFormattersComponentsDictionary,
406
- a14 as getHeightSizeStyles,
406
+ a15 as getHeightSizeStyles,
407
407
  g33 as getIconColor,
408
408
  g8 as getIsIfInDynamicFilter,
409
409
  g22 as getLoadingErrorComponentsDictionary,
@@ -465,8 +465,8 @@ export {
465
465
  v2 as varBounce,
466
466
  v3 as varContainer,
467
467
  v as varFade,
468
- a as varTranEnter,
469
- v4 as varTranExit,
468
+ v4 as varTranEnter,
469
+ a as varTranExit,
470
470
  b as varTranHover,
471
471
  w as withSizeProvider
472
472
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.2.51-beta.1",
3
+ "version": "9.2.52",
4
4
  "license": "UNLICENSED",
5
5
  "description": "M4L Components",
6
6
  "lint-staged": {
@@ -3,16 +3,28 @@ import { SideBar } from '../../../src/components/SideBar';
3
3
  declare const meta: Meta<typeof SideBar>;
4
4
  type Story = StoryObj<typeof SideBar>;
5
5
  /**
6
- * Componente SideBar por defecto sin ningún item seleccionado
6
+ * SideBar por defecto sin ningún item seleccionado
7
7
  */
8
8
  export declare const Default: Story;
9
9
  /**
10
- * Componente SideBar con items en el menu, con un item seleccionado y 5 anidaciones incluyendo la sección padre de los menu items
10
+ * SideBar colapsado por medio del botón de anclaje
11
11
  */
12
- export declare const SidebarWithItemSelected: Story;
13
- export declare const SidebarWithoutData: Story;
12
+ export declare const CollapsedWithAnchorButton: Story;
13
+ /**
14
+ * SideBar colapsado con hover sobre el menú
15
+ */
16
+ export declare const CollapsedWithHoverOnMenu: Story;
17
+ /**
18
+ * SideBar colapsado retirando hover sobre el menú
19
+ */
20
+ export declare const CollapsedWithHoverRemoved: Story;
21
+ /**
22
+ * SideBar con items en el menu, con un item seleccionado y 5 anidaciones incluyendo la sección padre de los menu items
23
+ */
24
+ export declare const WithItemSelected: Story;
25
+ export declare const WithoutData: Story;
14
26
  /**
15
27
  * SideBar con componentes en skeleton
16
28
  */
17
- export declare const SidebarWithSkeleton: Story;
29
+ export declare const WithSkeleton: Story;
18
30
  export default meta;