@m4l/components 9.3.25 → 9.3.27-BE071125-beta.1

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 (213) hide show
  1. package/@types/types.d.ts +18 -5
  2. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +1 -1
  3. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +1 -1
  4. package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
  5. package/components/Card/constants.d.ts +1 -1
  6. package/components/Chip/constants.d.ts +1 -1
  7. package/components/Chip/slots/ChipSlots.d.ts +1 -1
  8. package/components/Color/slots/ColorSlots.d.ts +1 -1
  9. package/components/CommonActions/components/ActionFormCancel/ActionFormCancel.js +17 -8
  10. package/components/CommonActions/components/ActionFormCancel/types.d.ts +9 -0
  11. package/components/ContainerFlow/constants.d.ts +1 -1
  12. package/components/DataGrid/formatters/ColumnIconFormatter/index.d.ts +1 -0
  13. package/components/DataGrid/index.d.ts +1 -1
  14. package/components/DataGrid/subcomponents/editors/EditLabelEditor/formatter.d.ts +8 -0
  15. package/components/DataGrid/subcomponents/editors/EditLabelEditor/index.d.ts +3 -0
  16. package/components/DataGrid/subcomponents/editors/EditLabelEditor/types.d.ts +5 -0
  17. package/components/DataGrid/subcomponents/editors/EditLabelEditor/useColumnEditLabel.d.ts +9 -0
  18. package/components/DataGrid/tests/helpers/types.d.ts +2 -0
  19. package/components/DataGrid/types.d.ts +2 -0
  20. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
  21. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
  22. package/components/EditLabel/EditLabel.d.ts +7 -0
  23. package/components/EditLabel/EditLabel.styles.d.ts +2 -0
  24. package/components/EditLabel/constants.d.ts +2 -0
  25. package/components/EditLabel/hooks/types.d.ts +17 -0
  26. package/components/EditLabel/hooks/useEditLabel.d.ts +7 -0
  27. package/components/EditLabel/icons.d.ts +5 -0
  28. package/components/EditLabel/index.d.ts +2 -0
  29. package/components/EditLabel/slots/EditLabelEnum.d.ts +8 -0
  30. package/components/EditLabel/slots/EditLabelSlots.d.ts +18 -0
  31. package/components/EditLabel/test/EditLabel.test.d.ts +1 -0
  32. package/components/EditLabel/types.d.ts +43 -0
  33. package/components/FormContainer/constants.d.ts +1 -1
  34. package/components/Icon/Icon.js +6 -3
  35. package/components/Icon/types.d.ts +4 -0
  36. package/components/Image/constant.d.ts +1 -1
  37. package/components/ImageText/ImageText.styles.js +1 -1
  38. package/components/ImageText/constants.d.ts +1 -1
  39. package/components/Label/Label.js +1 -1
  40. package/components/LanguagePopover/LanguagePopover.js +2 -0
  41. package/components/MFIsolationApp/MFIsolationApp.js +13 -8
  42. package/components/MFIsolationApp/MFIsolationApp.styles.d.ts +2 -0
  43. package/components/MFIsolationApp/MFIsolationApp.styles.js +22 -0
  44. package/components/MFIsolationApp/constants.d.ts +1 -0
  45. package/components/MFIsolationApp/constants.js +4 -0
  46. package/components/MFIsolationApp/icons.d.ts +3 -0
  47. package/components/MFIsolationApp/icons.js +6 -0
  48. package/components/MFIsolationApp/slots/MFIsolationAppEnum.d.ts +4 -0
  49. package/components/MFIsolationApp/slots/MFIsolationAppEnum.js +8 -0
  50. package/components/MFIsolationApp/slots/MFIsolationAppSlots.d.ts +2 -0
  51. package/components/MFIsolationApp/slots/MFIsolationAppSlots.js +17 -0
  52. package/components/MFIsolationApp/subcomponents/AppBarSettings/AppBarSettings.js +21 -0
  53. package/components/MFIsolationApp/subcomponents/AppBarSettings/index.js +1 -0
  54. package/components/MFIsolationApp/types.d.ts +8 -0
  55. package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.js +137 -0
  56. package/components/MFIsolationAppStorybook/index.js +1 -0
  57. package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/MFAuthAppStorybook.js +44 -0
  58. package/components/MFIsolationAppStorybook/subcomponents/MFAuthAppStorybook/index.js +1 -0
  59. package/components/MFIsolationAppStorybook/types.d.ts +0 -4
  60. package/components/MenuActions/MenuActions.js +1 -1
  61. package/components/MenuActions/constants.d.ts +1 -1
  62. package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
  63. package/components/ModalDialog/ModalDialog.js +1 -0
  64. package/components/NoItemSelected/constant.d.ts +1 -1
  65. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  66. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +1 -1
  67. package/components/PaperForm/PaperForm.js +1 -1
  68. package/components/PaperForm/components/Header.js +9 -7
  69. package/components/PaperForm/styles.js +9 -4
  70. package/components/PaperForm/types.d.ts +3 -2
  71. package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
  72. package/components/Stepper/Stepper.styles.js +2 -0
  73. package/components/Stepper/dictionary.js +0 -1
  74. package/components/Stepper/subcomponents/StepArea/hooks/useStepArea.d.ts +13 -0
  75. package/components/Stepper/subcomponents/StepArea/hooks/useStepArea.js +111 -0
  76. package/components/Stepper/subcomponents/StepArea/hooks/useVisibileSteps.d.ts +8 -0
  77. package/components/Stepper/subcomponents/StepArea/hooks/useVisibileSteps.js +79 -0
  78. package/components/Stepper/subcomponents/StepArea/index.js +7 -115
  79. package/components/Stepper/subcomponents/StepperButtons/StepperCancelButton/index.d.ts +2 -2
  80. package/components/Stepper/subcomponents/StepperButtons/StepperCancelButton/index.js +3 -53
  81. package/components/Stepper/subcomponents/StepperButtons/StepperNextButton/index.js +3 -2
  82. package/components/Stepper/subcomponents/StepperButtons/StepperPrevButton/index.js +3 -2
  83. package/components/Stepper/subcomponents/StepperButtons/StepperSubmitButton/index.js +24 -5
  84. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/hooks/useIsStepVisible.d.ts +8 -0
  85. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/hooks/useIsStepVisible.js +93 -0
  86. package/components/Stepper/subcomponents/StepperContent/subcomponents/Step/index.js +2 -51
  87. package/components/Stepper/types.d.ts +4 -0
  88. package/components/ToastContainer/ToastContainer.js +1 -0
  89. package/components/ToastContainer/constants.d.ts +1 -1
  90. package/components/ToastContainer/constants.js +1 -1
  91. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  92. package/components/WindowBase/constants.d.ts +1 -1
  93. package/components/WindowBase/contexts/WindowToolsMFContext/WindowToolsMFContext.js +47 -3
  94. package/components/WindowBase/contexts/WindowToolsMFContext/types.d.ts +1 -1
  95. package/components/WindowBase/subcomponents/Component/index.d.ts +12 -1
  96. package/components/WindowBase/subcomponents/Component/index.js +56 -2
  97. package/components/WindowBase/subcomponents/Component/types.d.ts +1 -0
  98. package/components/WindowBase/types.d.ts +1 -1
  99. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +1 -1
  100. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +1 -0
  101. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useWindow.js +1 -1
  102. package/components/areas/contexts/AreasContext/store.js +5 -1
  103. package/components/areas/contexts/AreasContext/types.d.ts +1 -1
  104. package/components/extended/React-Json-Viewer/constants.d.ts +1 -1
  105. package/components/extended/React-resizable-panels/SplitLayout.js +1 -1
  106. package/components/formatters/ChipStatusFormatter/constants.d.ts +1 -1
  107. package/components/formatters/EditLabelFormatter/EditLabelFormatter.d.ts +5 -0
  108. package/components/formatters/EditLabelFormatter/EditLabelFormatter.styles.d.ts +2 -0
  109. package/components/formatters/EditLabelFormatter/constants.d.ts +5 -0
  110. package/components/formatters/EditLabelFormatter/index.d.ts +2 -0
  111. package/components/formatters/EditLabelFormatter/slots/EditLabelFormatterEnum.d.ts +4 -0
  112. package/components/formatters/EditLabelFormatter/slots/EditLabelFormatterSlots.d.ts +5 -0
  113. package/components/formatters/EditLabelFormatter/test/EditLabelFormatter.test.d.ts +1 -0
  114. package/components/formatters/EditLabelFormatter/types.d.ts +23 -0
  115. package/components/formatters/TagsFormatter/constants.d.ts +1 -1
  116. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +1 -1
  117. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.js +7 -1
  118. package/components/hook-form/RHFAutocomplete/constants.d.ts +1 -1
  119. package/components/hook-form/RHFAutocomplete/types.d.ts +13 -0
  120. package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.js +7 -1
  121. package/components/hook-form/RHFAutocompleteAsync/slots/RHFAutocompleteSlotsAsync.d.ts +1 -1
  122. package/components/hook-form/RHFCheckbox/constants.d.ts +1 -1
  123. package/components/hook-form/RHFSelect/constants.d.ts +1 -1
  124. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  125. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +1 -1
  126. package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.d.ts +25 -1
  127. package/components/hook-form/RHFUpload/RHFUploadSingleFile/constants.js +5 -1
  128. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +1 -1
  129. package/components/hook-form/RHFormContext/index.d.ts +109 -9
  130. package/components/hook-form/RHFormContext/index.js +23 -21
  131. package/components/hook-form/RHFormContext/styles.js +2 -1
  132. package/components/hook-form/RHFormContext/types.d.ts +64 -1
  133. package/components/index.d.ts +1 -0
  134. package/components/mui_extended/Autocomplete/Autocomplete.d.ts +4 -8
  135. package/components/mui_extended/Autocomplete/Autocomplete.js +24 -112
  136. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +41 -12
  137. package/components/mui_extended/Autocomplete/hooks/useAutocomplete/useAutocomplete.d.ts +26 -0
  138. package/components/mui_extended/Autocomplete/hooks/useAutocomplete/useAutocomplete.js +166 -0
  139. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +2 -1
  140. package/components/mui_extended/Autocomplete/hooks/useMultipleChips.d.ts +17 -0
  141. package/components/mui_extended/Autocomplete/hooks/useMultipleChips.js +108 -0
  142. package/components/mui_extended/Autocomplete/hooks/useValuesAndHandlers.d.ts +0 -2
  143. package/components/mui_extended/Autocomplete/hooks/useValuesAndHandlers.js +11 -17
  144. package/components/mui_extended/Autocomplete/slots/AutocompleteEnum.d.ts +2 -1
  145. package/components/mui_extended/Autocomplete/slots/AutocompleteEnum.js +1 -0
  146. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +4 -1
  147. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.js +5 -0
  148. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/LoadingText.d.ts +2 -0
  149. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/LoadingText.js +14 -0
  150. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/index.d.ts +1 -0
  151. package/components/mui_extended/Autocomplete/subcomponents/LoadingText/index.js +1 -0
  152. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.d.ts +2 -0
  153. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.js +14 -0
  154. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/index.d.ts +1 -0
  155. package/components/mui_extended/Autocomplete/subcomponents/NoOptionsText/index.js +1 -0
  156. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/PopperComponent.d.ts +8 -0
  157. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/PopperComponent.js +23 -0
  158. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/index.d.ts +2 -0
  159. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/index.js +1 -0
  160. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/types.d.ts +7 -0
  161. package/components/mui_extended/Autocomplete/subcomponents/PopperComponent/types.js +1 -0
  162. package/components/mui_extended/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.d.ts +6 -0
  163. package/components/mui_extended/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.js +45 -0
  164. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/index.d.ts +9 -0
  165. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/index.js +61 -0
  166. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/types.d.ts +7 -0
  167. package/components/mui_extended/Autocomplete/types.d.ts +21 -1
  168. package/components/mui_extended/Button/Button.js +15 -4
  169. package/components/mui_extended/Button/ButtonStyles.js +165 -82
  170. package/components/mui_extended/Button/{constans.d.ts → constants.d.ts} +1 -0
  171. package/components/mui_extended/Button/constants.js +8 -0
  172. package/components/mui_extended/Button/slots/ButtonSlots.js +1 -1
  173. package/components/mui_extended/Button/types.d.ts +1 -1
  174. package/components/mui_extended/CheckBox/CheckBox.js +1 -0
  175. package/components/mui_extended/CircularProgress/types.d.ts +1 -1
  176. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +1 -1
  177. package/components/mui_extended/IconButton/constants.d.ts +1 -1
  178. package/components/mui_extended/IconButton/constants.js +4 -1
  179. package/components/mui_extended/MenuItem/MenuItem.js +1 -1
  180. package/components/mui_extended/MenuItem/MenuItem.styles.js +4 -1
  181. package/components/mui_extended/MenuItem/constants.d.ts +1 -1
  182. package/components/mui_extended/NavLink/constants.d.ts +1 -1
  183. package/components/mui_extended/Select/Select.js +71 -29
  184. package/components/mui_extended/Select/Select.styles.js +41 -6
  185. package/components/mui_extended/Select/constants.d.ts +1 -1
  186. package/components/mui_extended/Select/slots/SelectSlots.d.ts +1 -1
  187. package/components/mui_extended/Select/types.d.ts +6 -1
  188. package/components/mui_extended/TextField/constants.d.ts +1 -1
  189. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +1 -1
  190. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  191. package/components/mui_extended/Tooltip/Tooltip.styles.js +16 -4
  192. package/components/mui_extended/Tooltip/constants.d.ts +1 -1
  193. package/components/mui_extended/Typography/constants.d.ts +1 -1
  194. package/components/mui_extended/Typography/types.d.ts +2 -1
  195. package/components/mui_extended/Typography/typography.styles.js +4 -9
  196. package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +5 -1
  197. package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +1 -1
  198. package/components/popups/components/PopupsProvider/hooks/usePopups.d.ts +2 -4
  199. package/components/popups/components/PopupsProvider/hooks/usePopups.js +19 -7
  200. package/components/popups/components/PopupsViewer/PopupsViewer.js +1 -1
  201. package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +1 -1
  202. package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +32 -21
  203. package/contexts/AppearanceComponentContext/AppearanceComponentContext.js +9 -1
  204. package/index.js +74 -70
  205. package/package.json +1 -1
  206. package/utils/getComponentSlotRoot.d.ts +3 -1
  207. package/components/mui_extended/Autocomplete/hooks/useStartAdornments.d.ts +0 -21
  208. package/components/mui_extended/Autocomplete/hooks/useStartAdornments.js +0 -31
  209. package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +0 -22
  210. package/components/mui_extended/Autocomplete/renderOptions/index.js +0 -24
  211. package/components/mui_extended/Button/constans.js +0 -4
  212. /package/components/{MFIsolationAppStorybook → MFIsolationApp}/subcomponents/AppBarSettings/AppBarSettings.d.ts +0 -0
  213. /package/components/{MFIsolationAppStorybook → MFIsolationApp}/subcomponents/AppBarSettings/index.d.ts +0 -0
@@ -1,84 +1,176 @@
1
1
  import { g as getSizeStyles } from "../../../utils/getSizeStyles/getSizeStyles.js";
2
+ import { B as BUTTON_CLASSES } from "./constants.js";
2
3
  const buttonStyles = {
3
4
  /**
4
5
  * Styles for the root element of the button component.
5
6
  */
6
- buttonRoot: ({ theme, ownerState }) => ({
7
- display: "flex",
8
- flexWrap: "nowrap",
9
- alignItems: "center",
10
- gap: theme.vars.size.baseSpacings.sp1,
11
- padding: `0px ${theme.vars.size.baseSpacings.sp2}`,
12
- boxShadow: "none",
13
- borderRadius: theme.vars.size.borderRadius["r1-5"],
14
- maxWidth: "200px",
15
- minWidth: "0",
16
- flexShrink: 0,
17
- "&:hover": {
18
- backgroundColor: ownerState?.color === "default" ? ownerState?.paletteColor?.hover : ownerState?.paletteColor?.hoverOpacity,
19
- borderColor: ownerState?.paletteColor?.hover
20
- },
21
- "&:active": {
22
- boxShadow: "none",
23
- borderColor: ownerState?.paletteColor?.active,
24
- backgroundColor: ownerState?.paletteColor?.activeOpacity
25
- },
26
- "&:focus-visible": {
27
- boxShadow: "none",
28
- backgroundColor: ownerState?.paletteColor?.activeOpacity
29
- },
30
- "&:disabled": {
31
- backgroundColor: "none",
32
- "&&& .M4LIcon-icon": {
33
- backgroundColor: theme.vars.palette.text.disabled
34
- },
7
+ buttonRoot: ({ theme, ownerState }) => {
8
+ const selectionEffect = {
9
+ boxShadow: `inset 0px 0px 0px 1px ${theme.vars.palette.primary.focusVisible}`
10
+ };
11
+ return {
12
+ // Configuración general
13
+ display: "flex",
14
+ flexWrap: "nowrap",
15
+ alignItems: "center",
16
+ gap: theme.vars.size.baseSpacings.sp1,
17
+ padding: `0px ${theme.vars.size.baseSpacings.sp2}`,
18
+ borderRadius: theme.vars.size.borderRadius["r1-5"],
19
+ maxWidth: "200px",
20
+ minWidth: "0",
21
+ flexShrink: 0,
22
+ border: "unset!important",
23
+ // Tamaño de altura
24
+ ...getSizeStyles(
25
+ theme,
26
+ ownerState?.size || "medium",
27
+ "action",
28
+ (size) => {
29
+ return {
30
+ height: "auto!important",
31
+ minHeight: size
32
+ };
33
+ }
34
+ ),
35
+ // Variante Contained
35
36
  ...ownerState?.variant === "contained" && {
36
- backgroundColor: ownerState?.paletteColor?.enabled
37
- }
38
- },
39
- ...ownerState?.variant === "contained" && {
40
- backgroundColor: ownerState?.paletteColor?.enabled,
41
- "&:hover": {
42
- backgroundColor: ownerState?.paletteColor?.hover
37
+ backgroundColor: ownerState?.paletteColor?.enabled,
38
+ boxShadow: "unset",
39
+ // Color del texto
40
+ [`&&& .${BUTTON_CLASSES.textButton}`]: {
41
+ ...ownerState?.color === "default" && {
42
+ color: theme.vars.palette.text.primary
43
+ },
44
+ ...ownerState?.color !== "default" && {
45
+ color: ownerState?.paletteColor?.contrastText
46
+ }
47
+ },
48
+ // Color de los adornos laterales
49
+ "&&& .M4LIcon-icon": {
50
+ ...ownerState?.color === "default" && {
51
+ backgroundColor: theme.vars.palette.text.primary
52
+ },
53
+ ...ownerState?.color !== "default" && {
54
+ backgroundColor: ownerState?.paletteColor?.contrastText
55
+ }
56
+ },
57
+ // Estado Hover
58
+ "&:hover": {
59
+ backgroundColor: ownerState?.paletteColor?.hover,
60
+ boxShadow: "unset"
61
+ },
62
+ // Estado Active
63
+ "&:active": {
64
+ backgroundColor: ownerState?.paletteColor?.active,
65
+ boxShadow: "unset"
66
+ },
67
+ // Estado focus visible
68
+ "&:focus-visible": {
69
+ backgroundColor: ownerState?.paletteColor?.active,
70
+ ...selectionEffect
71
+ }
43
72
  },
44
- "&:active": {
45
- boxShadow: "none",
46
- backgroundColor: ownerState?.paletteColor?.active
47
- }
48
- },
49
- ...ownerState?.variant === "outlined" && {
50
- borderColor: ownerState?.paletteColor?.enabled,
51
- "&&& .M4LIcon-icon": {
52
- backgroundColor: ownerState?.paletteColor?.semanticText
53
- }
54
- },
55
- ...ownerState?.variant === "text" && {
56
- color: ownerState?.paletteColor?.semanticText,
57
- borderColor: ownerState?.paletteColor?.enabled,
58
- "&&& .M4LIcon-icon": {
59
- backgroundColor: ownerState?.paletteColor?.semanticText
60
- }
61
- },
62
- "& span": {
63
- margin: "0px"
64
- },
65
- ...getSizeStyles(
66
- theme,
67
- ownerState?.size || "medium",
68
- "action",
69
- (size) => {
70
- return {
71
- height: "auto!important",
72
- minHeight: size
73
- };
73
+ // Variante Outlined
74
+ ...ownerState?.variant === "outlined" && {
75
+ "&&&": {
76
+ // Borde
77
+ ...ownerState?.color === "default" ? {
78
+ outline: `1px solid ${theme.vars.palette.border.default}`,
79
+ outlineOffset: "-1px"
80
+ } : {
81
+ outline: `1px solid ${ownerState?.paletteColor?.enabled}`,
82
+ outlineOffset: "-1px"
83
+ },
84
+ // Color del texto
85
+ [`& .${BUTTON_CLASSES.textButton}`]: {
86
+ ...ownerState?.color === "default" ? {
87
+ color: theme.vars.palette.text.primary
88
+ } : {
89
+ color: ownerState?.paletteColor?.semanticText
90
+ }
91
+ },
92
+ // Color de los adornos laterales
93
+ "& .M4LIcon-icon": {
94
+ backgroundColor: ownerState?.paletteColor?.semanticText
95
+ },
96
+ // Estado Hover
97
+ "&:hover": {
98
+ backgroundColor: ownerState?.paletteColor?.hoverOpacity,
99
+ outline: `1px solid ${ownerState?.paletteColor?.hover}`,
100
+ outlineOffset: "-1px",
101
+ boxShadow: "unset"
102
+ }
103
+ },
104
+ // Estado Active
105
+ "&&&:active": {
106
+ backgroundColor: ownerState?.paletteColor?.activeOpacity,
107
+ outline: `1px solid ${ownerState?.paletteColor?.active}`,
108
+ outlineOffset: "-1px"
109
+ },
110
+ // Estado focus visible
111
+ "&:focus-visible": {
112
+ backgroundColor: ownerState?.paletteColor?.activeOpacity,
113
+ outline: "unset!important",
114
+ //efecto de selección
115
+ ...selectionEffect
116
+ }
117
+ },
118
+ // Variante Text
119
+ ...ownerState?.variant === "text" && {
120
+ "&&&": {
121
+ backgroundColor: "unset",
122
+ outline: "unset",
123
+ // Color del texto
124
+ [`& .${BUTTON_CLASSES.textButton}`]: {
125
+ color: ownerState?.paletteColor?.semanticText
126
+ },
127
+ // Color de los adornos laterales
128
+ "& .M4LIcon-icon": {
129
+ backgroundColor: ownerState?.paletteColor?.semanticText
130
+ },
131
+ // Estado Hover
132
+ "&:hover": {
133
+ backgroundColor: ownerState?.paletteColor?.hoverOpacity,
134
+ boxShadow: "unset"
135
+ },
136
+ // Estado Active
137
+ "&:active": {
138
+ backgroundColor: ownerState?.paletteColor?.activeOpacity
139
+ },
140
+ // Estado focus visible
141
+ "&:focus-visible": {
142
+ backgroundColor: ownerState?.paletteColor?.activeOpacity,
143
+ //efecto de selección
144
+ ...selectionEffect
145
+ }
146
+ }
147
+ },
148
+ // Estado deshabilitado
149
+ "&:disabled": {
150
+ "&&&": {
151
+ backgroundColor: "unset",
152
+ // Color del texto
153
+ [`& .${BUTTON_CLASSES.textButton}`]: {
154
+ color: theme.vars.palette.text.disabled
155
+ },
156
+ // Color de los adornos laterales
157
+ "& .M4LIcon-icon": {
158
+ backgroundColor: theme.vars.palette.text.disabled
159
+ }
160
+ }
161
+ },
162
+ // Overrides
163
+ "& span": {
164
+ margin: "0px"
165
+ },
166
+ // Configuración de achura completa
167
+ ...ownerState?.fullWidth && {
168
+ width: "100%",
169
+ maxWidth: "unset",
170
+ minWidth: "unset"
74
171
  }
75
- ),
76
- ...ownerState?.fullWidth && {
77
- width: "100%",
78
- maxWidth: "unset",
79
- minWidth: "unset"
80
- }
81
- }),
172
+ };
173
+ },
82
174
  /**
83
175
  * Styles for the text of the button component.
84
176
  */
@@ -99,15 +191,6 @@ const buttonStyles = {
99
191
  display: "block",
100
192
  overflow: "hidden",
101
193
  textOverflow: "ellipsis"
102
- },
103
- ...ownerState.variant === "contained" && {
104
- color: ownerState.color === "default" ? ownerState.paletteColor?.semanticText : ownerState.paletteColor?.contrastText
105
- },
106
- ...(ownerState?.variant === "outlined" || ownerState?.variant === "text") && {
107
- color: ownerState?.paletteColor?.semanticText
108
- },
109
- ...ownerState?.disabled && {
110
- color: theme.vars.palette.text.disabled
111
194
  }
112
195
  }),
113
196
  /**
@@ -6,3 +6,4 @@
6
6
  * @default 'M4LButton'
7
7
  */
8
8
  export declare const BUTTON_KEY_COMPONENT = "M4LButton";
9
+ export declare const BUTTON_CLASSES: Record<"buttonRoot" | "skeletonButton" | "buttonIcon" | "textButton", string>;
@@ -0,0 +1,8 @@
1
+ import { g as getComponentClasses } from "../../../utils/getComponentSlotRoot.js";
2
+ import { B as ButtonSlots } from "./slots/ButtonEnum.js";
3
+ const BUTTON_KEY_COMPONENT = "M4LButton";
4
+ const BUTTON_CLASSES = getComponentClasses(BUTTON_KEY_COMPONENT, ButtonSlots);
5
+ export {
6
+ BUTTON_CLASSES as B,
7
+ BUTTON_KEY_COMPONENT as a
8
+ };
@@ -1,7 +1,7 @@
1
1
  import { Button } from "@mui/material";
2
2
  import { styled } from "@mui/material/styles";
3
3
  import { b as buttonStyles } from "../ButtonStyles.js";
4
- import { B as BUTTON_KEY_COMPONENT } from "../constans.js";
4
+ import { a as BUTTON_KEY_COMPONENT } from "../constants.js";
5
5
  import { B as ButtonSlots } from "./ButtonEnum.js";
6
6
  import { S as Skeleton } from "../../Skeleton/Skeleton.js";
7
7
  import { T as Typography } from "../../Typography/Typography.js";
@@ -1,6 +1,6 @@
1
1
  import { ButtonProps as MUIButtonProps, PaletteColor, Theme } from '@mui/material';
2
2
  import { OverridesStyleRules } from '@mui/material/styles/overrides';
3
- import { BUTTON_KEY_COMPONENT } from './constans';
3
+ import { BUTTON_KEY_COMPONENT } from './constants';
4
4
  import { ButtonSlots } from './slots/ButtonEnum';
5
5
  import { ComponentPalletColor, Sizes } from '@m4l/styles';
6
6
  import { ReactNode } from 'react';
@@ -64,6 +64,7 @@ const CheckBox = forwardRef((props, ref) => {
64
64
  ownerState: { ...ownerState },
65
65
  size: adjustedSize,
66
66
  disabled,
67
+ ellipsis: true,
67
68
  children: inlineText
68
69
  }
69
70
  )
@@ -17,7 +17,7 @@ export interface CircularProgressProps extends Omit<MUICircularProgressProps, 'c
17
17
  * Este debe ser un valor de la paleta de colores personalizada (`ComponentPalletColor`),
18
18
  * restringido actualmente al color `primary`.
19
19
  */
20
- color?: Extract<ComponentPalletColor, 'primary'>;
20
+ color?: ComponentPalletColor;
21
21
  /**
22
22
  * Tamaño del componente.
23
23
  * Solo se aceptan los valores `small` y `medium`, que representan tamaños predefinidos.
@@ -15,7 +15,7 @@ export declare const PaperStyled: import('@emotion/styled').StyledComponent<Pick
15
15
  export declare const PickersCalendarHeaderStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/x-date-pickers').PickersCalendarHeaderProps<unknown> & import('react').RefAttributes<HTMLButtonElement>, keyof import('react').RefAttributes<HTMLButtonElement> | keyof import('@mui/x-date-pickers').PickersCalendarHeaderProps<unknown>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
16
16
  ownerState?: (Partial<import('../types').DateTimePickerOwnerState> & Record<string, unknown>) | undefined;
17
17
  }, {}, {}>;
18
- export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
18
+ export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
19
19
  ownerState?: (Partial<import('../types').DateTimePickerOwnerState> & Record<string, unknown>) | undefined;
20
20
  }, {}, {}>;
21
21
  export declare const PickersDayStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/x-date-pickers').PickersDayProps<unknown> & import('react').RefAttributes<HTMLButtonElement>, "value" | "children" | "ref" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "translate" | "className" | "classes" | "sx" | "form" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "day" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "disableMargin" | "isAnimating" | "onDaySelect" | "outsideCurrentMonth" | "isFirstVisibleCell" | "isLastVisibleCell" | "today"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
@@ -2,4 +2,4 @@ export declare const ICON_BUTTON_KEY_COMPONENT = "M4LIconButton";
2
2
  /**
3
3
  * Inventario de clases CSS para el componente TextField
4
4
  */
5
- export declare const ICON_BUTTON_CLASSES: Record<string, string>;
5
+ export declare const ICON_BUTTON_CLASSES: Record<"text" | "selected" | "contained" | "skeleton" | "icon" | "outline" | "styledMUIIconButton" | "badgeIconButton", string>;
@@ -2,7 +2,10 @@ import { g as getComponentClasses } from "../../../utils/getComponentSlotRoot.js
2
2
  import { I as IconButtonSlots } from "./slots/IconButtonEnum.js";
3
3
  const ICON_BUTTON_KEY_COMPONENT = "M4LIconButton";
4
4
  const IconButtonComplementaryClasses = {
5
- selected: "selected"
5
+ selected: "selected",
6
+ contained: "contained",
7
+ outline: "outline",
8
+ text: "text"
6
9
  };
7
10
  const IconButtonCombineClasses = {
8
11
  ...IconButtonSlots,
@@ -69,7 +69,7 @@ const MenuItem = (props) => {
69
69
  "data-testid": "SkeletonMenuItem",
70
70
  width: skeletonWidth,
71
71
  ownerState: { ...ownerState },
72
- className: MENUITEM_CLASSES.skeleton
72
+ className: MENUITEM_CLASSES.skeletonMenuItem
73
73
  }
74
74
  );
75
75
  }
@@ -17,6 +17,8 @@ const menuItemStyles = {
17
17
  paddingLeft: theme.vars.size.baseSpacings.sp4,
18
18
  paddingRight: theme.vars.size.baseSpacings.sp4,
19
19
  borderRadius: theme.vars.size.borderRadius.r0,
20
+ borderLeft: theme.vars.size.borderStroke.container,
21
+ borderLeftColor: "transparent",
20
22
  // Estilos base para el texto y el ícono
21
23
  "&&& .M4LTypography-root": {
22
24
  paddingLeft: theme.vars.size.baseSpacings.sp1,
@@ -46,10 +48,11 @@ const menuItemStyles = {
46
48
  // outlineOffset: theme.vars.size.baseSpacings['sp0-5'],
47
49
  // },
48
50
  ...ownerState?.selected && {
49
- borderLeft: theme.vars.size.borderStroke.container,
50
51
  borderLeftColor: paletteColor.enabled
51
52
  },
52
53
  "& .M4LImage-root": {
54
+ marginRight: 6,
55
+ marginLeft: 6,
53
56
  ...getHeightSizeStyles(
54
57
  theme.generalSettings.isMobile,
55
58
  ownerState?.size || "medium",
@@ -9,4 +9,4 @@ export declare const MENUITEM_KEY_COMPONENT = "M4LMenuItem";
9
9
  /**
10
10
  * Inventario de clases CSS para el componente MenuItem
11
11
  */
12
- export declare const MENUITEM_CLASSES: Record<string, string>;
12
+ export declare const MENUITEM_CLASSES: Record<"root" | "menuItemIcon" | "menuItemIconChecked" | "menuItemContainer" | "skeletonMenuItem" | "menuItemTypography", string>;
@@ -11,4 +11,4 @@ export declare const NAV_LINK_SPECIFY = "M4lclassCssSpecificity";
11
11
  /**
12
12
  * Inventario de clases CSS para el componente Typography.
13
13
  */
14
- export declare const classNavLinkRoot: Record<string, string>;
14
+ export declare const classNavLinkRoot: Record<"root" | "typographyStyled" | "skeletonStyled" | "routerNavLinkStyled", string>;