@m4l/components 9.2.57 → 9.2.58

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 (403) hide show
  1. package/.storybook/utils/flattenDeep.d.ts +8 -0
  2. package/.storybook/utils/getStylesColorsByMode.d.ts +52 -4
  3. package/@types/augmentations.d.ts +1 -1
  4. package/@types/types.d.ts +10 -9
  5. package/components/AccountPopover/AccountPopover.js +3 -4
  6. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +32 -32
  7. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +13 -14
  8. package/components/AccountPopover/types.d.ts +2 -2
  9. package/components/AppBar/AppBar.js +6 -9
  10. package/components/AppBar/slots/AppBarSlots.d.ts +16 -16
  11. package/components/AppBar/styles.js +2 -1
  12. package/components/AppBar/types.d.ts +2 -2
  13. package/components/Chip/Chip.js +1 -1
  14. package/components/Chip/ChipStyles.js +12 -12
  15. package/components/Chip/slots/ChipSlots.d.ts +6 -6
  16. package/components/Color/Color.styles.js +11 -11
  17. package/components/Color/slots/ColorSlots.d.ts +5 -5
  18. package/components/CommonActions/components/ActionCancel/ActionCancel.js +1 -1
  19. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  20. package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
  21. package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +0 -1
  22. package/components/CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.d.ts +2 -2
  23. package/components/CommonActions/components/ActionFormIntro/types.d.ts +2 -2
  24. package/components/CommonActions/components/ActionIntro/ActionIntro.js +1 -1
  25. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  26. package/components/CommonActions/components/ActionsContainer/ActionsContainerStyles.js +1 -1
  27. package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
  28. package/components/DataGrid/DataGrid.js +36 -8
  29. package/components/DataGrid/Datagrid.styles.js +630 -0
  30. package/components/DataGrid/constants.d.ts +9 -0
  31. package/components/DataGrid/constants.js +9 -3
  32. package/components/DataGrid/contexts/DataGridContext/index.js +23 -5
  33. package/components/DataGrid/contexts/DataGridContext/types.d.ts +4 -0
  34. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +0 -2
  35. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/formatter.js +2 -2
  36. package/components/DataGrid/icons.d.ts +1 -0
  37. package/components/DataGrid/icons.js +4 -3
  38. package/components/DataGrid/index.d.ts +1 -1
  39. package/components/DataGrid/slots/DataGridEnum.d.ts +6 -0
  40. package/components/DataGrid/slots/DataGridEnum.js +10 -2
  41. package/components/DataGrid/slots/DataGridSlot.d.ts +9 -0
  42. package/components/DataGrid/slots/DataGridSlot.js +35 -14
  43. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +5 -0
  44. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +30 -0
  45. package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +2 -0
  46. package/components/DataGrid/subcomponents/ControlNavigate/types.d.ts +7 -0
  47. package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +5 -0
  48. package/components/DataGrid/subcomponents/HeaderActions/index.js +40 -0
  49. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.js +4 -3
  50. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.js +3 -2
  51. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.js +4 -4
  52. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.js +5 -2
  53. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +34 -24
  54. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +4 -1
  55. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +8 -0
  56. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/index.js +11 -6
  57. package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +5 -0
  58. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +6 -6
  59. package/components/DataGrid/subcomponents/Table/index.js +4 -4
  60. package/components/DataGrid/subcomponents/Table/subcomponents/ActionsColumn.js +1 -1
  61. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +12 -3
  62. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +28 -13
  63. package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +3 -3
  64. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +4 -2
  65. package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
  66. package/components/DataGrid/types.d.ts +20 -3
  67. package/components/DragResizeWindowRND/DragResizeWindowRND.styles.js +1 -1
  68. package/components/DragResizeWindowRND/slots/DragResizeWindowRNDSlots.d.ts +3 -5
  69. package/components/DynamicFilter/DynamicFilter.styles.js +13 -13
  70. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +19 -19
  71. package/components/DynamicFilter/store/DynamicFilterStore.js +2 -2
  72. package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +2 -2
  73. package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +1 -1
  74. package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +2 -3
  75. package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -2
  76. package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +3 -4
  77. package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
  78. package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
  79. package/components/DynamicSort/DynamicSort.styles.js +13 -13
  80. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +19 -19
  81. package/components/DynamicSort/store/DynamicSortStore.js +2 -2
  82. package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +2 -2
  83. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
  84. package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +4 -5
  85. package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
  86. package/components/DynamicSort/subcomponents/SortActions/SortActions.js +2 -3
  87. package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
  88. package/components/GridLayout/styles.js +4 -82
  89. package/components/HelperError/HelperError.styles.js +4 -4
  90. package/components/Icon/Icon.js +1 -1
  91. package/components/Icon/Icon.styles.js +10 -10
  92. package/components/Image/Image.js +1 -1
  93. package/components/Image/image.styles.js +1 -1
  94. package/components/Image/slots/ImageSlots.d.ts +12 -12
  95. package/components/Image/subcomponents/IntersectComponent/index.js +0 -1
  96. package/components/Image/types.d.ts +2 -2
  97. package/components/Label/Label.js +1 -1
  98. package/components/Label/Label.styles.js +22 -13
  99. package/components/Label/slots/LabelSlots.d.ts +1 -1
  100. package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
  101. package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
  102. package/components/LoadingError/LoadingError.js +1 -2
  103. package/components/LoadingError/LoadingError.styles.js +6 -3
  104. package/components/MenuActions/MenuActions.js +3 -3
  105. package/components/MenuActions/MenuActions.styles.js +4 -4
  106. package/components/MenuActions/slots/MenuActionsSlots.d.ts +12 -12
  107. package/components/MenuActions/types.d.ts +3 -3
  108. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
  109. package/components/NoItemSelected/NoItemSelected.js +23 -7
  110. package/components/NoItemSelected/NoItemSelected.styles.js +24 -17
  111. package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +7 -7
  112. package/components/NumberInput/NumberInput.styles.js +20 -20
  113. package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +0 -2
  114. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  115. package/components/ObjectLogs/hooks/useDetailFormatter.js +3 -2
  116. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +20 -20
  117. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +1 -4
  118. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +1 -4
  119. package/components/ObjectLogs/types.d.ts +2 -2
  120. package/components/Pager/Pager.js +2 -3
  121. package/components/Pager/Pager.styles.js +13 -12
  122. package/components/Pager/index.d.ts +2 -0
  123. package/components/Pager/slots/PagerEnum.d.ts +2 -1
  124. package/components/Pager/slots/PagerEnum.js +1 -0
  125. package/components/Pager/slots/PagerSlots.d.ts +1 -0
  126. package/components/Pager/slots/PagerSlots.js +7 -2
  127. package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +16 -18
  128. package/components/Pager/subcomponents/PagerActions/PagerActions.js +4 -2
  129. package/components/Pager/subcomponents/PagerActions/types.d.ts +1 -0
  130. package/components/PaperForm/components/Header.js +2 -2
  131. package/components/PaperForm/slots/PaperFormSlots.d.ts +10 -10
  132. package/components/PaperForm/styles.js +7 -7
  133. package/components/PaperForm/types.d.ts +2 -2
  134. package/components/PrintingSystem/slots/PrintingSystemSlots.d.ts +42 -42
  135. package/components/PrintingSystem/subcomponents/BodyNode/index.js +0 -1
  136. package/components/PrintingSystem/subcomponents/ChartNode/index.js +0 -1
  137. package/components/PrintingSystem/subcomponents/DividerNode/index.js +0 -1
  138. package/components/PrintingSystem/subcomponents/FooterNode/index.js +0 -1
  139. package/components/PrintingSystem/subcomponents/GridNode/index.js +0 -5
  140. package/components/PrintingSystem/subcomponents/HeaderNode/index.js +0 -1
  141. package/components/PrintingSystem/subcomponents/PageNode/index.js +0 -1
  142. package/components/PrintingSystem/subcomponents/PaperNode/index.js +0 -5
  143. package/components/PrintingSystem/subcomponents/PropertyValueNode/index.js +0 -2
  144. package/components/PrintingSystem/subcomponents/SectionNode/index.js +0 -1
  145. package/components/PrintingSystem/types.d.ts +2 -2
  146. package/components/PropertyValue/PropertyValue.js +3 -4
  147. package/components/PropertyValue/PropertyValue.styles.js +36 -31
  148. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
  149. package/components/ScrollBar/ScrollBar.d.ts +3 -3
  150. package/components/ScrollBar/ScrollBar.js +6 -45
  151. package/components/ScrollBar/ScrollBar.styles.js +7 -52
  152. package/components/ScrollBar/constants.d.ts +5 -2
  153. package/components/ScrollBar/constants.js +4 -4
  154. package/components/ScrollBar/index.d.ts +2 -0
  155. package/components/ScrollBar/index.js +1 -0
  156. package/components/ScrollBar/slots/ScrollBarSlots.d.ts +2 -5
  157. package/components/ScrollBar/slots/ScrollBarSlots.js +7 -13
  158. package/components/ScrollBar/slots/ScrollbarEnum.d.ts +3 -0
  159. package/components/ScrollBar/slots/ScrollbarEnum.js +7 -0
  160. package/components/ScrollBar/types.d.ts +19 -38
  161. package/components/SideBar/slots/SideBarSlots.d.ts +34 -34
  162. package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -2
  163. package/components/SideBar/subcomponents/ContentComponent/style.js +10 -7
  164. package/components/SideBar/subcomponents/ContentGroups/index.js +3 -3
  165. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -2
  166. package/components/SideBar/subcomponents/ContentGroups/styles.js +15 -3
  167. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -2
  168. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -10
  169. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +0 -1
  170. package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -2
  171. package/components/SideBar/subcomponents/HeaderSidebar/index.js +2 -2
  172. package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -2
  173. package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -2
  174. package/components/SideBar/subcomponents/SideBarDesktop/styles.js +2 -2
  175. package/components/SideBar/subcomponents/SideBarMobile/index.js +0 -1
  176. package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -2
  177. package/components/SideBar/types.d.ts +9 -2
  178. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  179. package/components/WindowBase/WindowBase.js +13 -7
  180. package/components/WindowBase/WindowBase.styles.js +233 -116
  181. package/components/WindowBase/icons.js +2 -2
  182. package/components/WindowBase/slots/WindowBaseEnum.d.ts +3 -3
  183. package/components/WindowBase/slots/WindowBaseEnum.js +2 -2
  184. package/components/WindowBase/slots/WindowBaseSlots.d.ts +18 -23
  185. package/components/WindowBase/slots/WindowBaseSlots.js +13 -12
  186. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +24 -12
  187. package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
  188. package/components/WindowBase/subcomponents/Header/useButtonActions.js +5 -2
  189. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
  190. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
  191. package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +9 -0
  192. package/components/WindowBase/types.d.ts +16 -0
  193. package/components/WindowConfirm/WindowConfirm.js +2 -3
  194. package/components/WindowConfirm/WindowConfirm.styles.js +5 -7
  195. package/components/areas/components/AreasAdmin/AreasAdmin.js +14 -20
  196. package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +24 -23
  197. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +23 -23
  198. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +2 -5
  199. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +3 -4
  200. package/components/areas/components/AreasAdmin/types.d.ts +1 -1
  201. package/components/areas/components/AreasViewer/AreasViewer.js +12 -4
  202. package/components/areas/components/AreasViewer/AreasViewer.styles.js +7 -4
  203. package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +5 -5
  204. package/components/areas/components/AreasViewer/subcomponents/Area/Area.js +2 -2
  205. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.js +20 -4
  206. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/types.d.ts +2 -0
  207. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +7 -2
  208. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/types.d.ts +2 -0
  209. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +8 -1
  210. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +7 -3
  211. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +0 -1
  212. package/components/areas/components/AreasViewer/subcomponents/Area/types.d.ts +2 -0
  213. package/components/areas/components/AreasViewer/types.d.ts +6 -0
  214. package/components/areas/contexts/AreasContext/helpers/helper.d.ts +2 -9
  215. package/components/areas/contexts/AreasContext/helpers/helper.js +14 -16
  216. package/components/areas/contexts/AreasContext/index.js +1 -1
  217. package/components/areas/contexts/AreasContext/store.js +4 -4
  218. package/components/areas/contexts/AreasContext/types.d.ts +1 -1
  219. package/components/areas/icons.d.ts +2 -2
  220. package/components/areas/icons.js +4 -4
  221. package/components/commercial/SectionCommercial/classes/index.d.ts +2 -2
  222. package/components/commercial/SectionCommercial/classes/index.js +3 -3
  223. package/components/commercial/SectionCommercial/types.d.ts +1 -1
  224. package/components/extended/React-Resizable/helpers.d.ts +2 -9
  225. package/components/extended/React-Resizable/helpers.js +15 -13
  226. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +0 -1
  227. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +1 -1
  228. package/components/extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.d.ts +4 -4
  229. package/components/extended/React-Spinners/PropagateLoaderSpinner/types.d.ts +2 -2
  230. package/components/extended/React-Splitter-Layout/slots/SplitLayoutSlots.d.ts +3 -3
  231. package/components/extended/React-resizable-panels/SplitLayout.styles.js +6 -6
  232. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +8 -8
  233. package/components/formatters/BooleanFormatter/BooleanFormatter.js +3 -1
  234. package/components/formatters/BooleanFormatter/BooleanFormatter.styles.js +1 -1
  235. package/components/formatters/ChipStatusFormatter/slots/ChipStatusFormatterSlots.d.ts +2 -2
  236. package/components/formatters/PeriodFormatter/PeriodFormatter.styles.js +1 -1
  237. package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
  238. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.js +1 -1
  239. package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +0 -5
  240. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
  241. package/components/hook-form/RHFColorPicker/RFHColorPicker.js +1 -1
  242. package/components/hook-form/RHFDateTime/types.d.ts +1 -1
  243. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
  244. package/components/hook-form/RHFSelect/RHFSelect.js +1 -1
  245. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  246. package/components/hook-form/RHFSelect/slots/RHFSlots.js +1 -1
  247. package/components/hook-form/RHFTextField/RHFTextField.js +13 -17
  248. package/components/hook-form/RHFTextField/RHFTextField.styles.js +2 -1
  249. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  250. package/components/hook-form/RHFTextField/types.d.ts +1 -1
  251. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +1 -1
  252. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +2 -2
  253. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +8 -8
  254. package/components/hook-form/RHFTextFieldPassword/types.d.ts +2 -2
  255. package/components/hook-form/RHFTimePicker/types.d.ts +1 -1
  256. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +1 -1
  257. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +3 -3
  258. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +22 -22
  259. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +9 -10
  260. package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +2 -2
  261. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.js +2 -2
  262. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +22 -22
  263. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +2 -7
  264. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +5 -6
  265. package/components/hook-form/RHFormContext/index.d.ts +1 -1
  266. package/components/hook-form/RHFormContext/styles.js +2 -1
  267. package/components/index.d.ts +2 -0
  268. package/components/mui_extended/Accordion/Accordion.js +32 -22
  269. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
  270. package/components/mui_extended/Accordion/styles.js +60 -33
  271. package/components/mui_extended/Accordion/types.d.ts +39 -6
  272. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +3 -3
  273. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +1 -1
  274. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +17 -17
  275. package/components/mui_extended/Avatar/Avatar.js +1 -1
  276. package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
  277. package/components/mui_extended/Avatar/styles.js +3 -3
  278. package/components/mui_extended/Badge/Badge.js +1 -2
  279. package/components/mui_extended/Badge/Badge.styles.js +9 -9
  280. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
  281. package/components/mui_extended/Badge/types.d.ts +2 -2
  282. package/components/mui_extended/Button/Button.js +4 -5
  283. package/components/mui_extended/Button/ButtonStyles.js +37 -26
  284. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  285. package/components/mui_extended/CheckBox/CheckBox.js +2 -2
  286. package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -12
  287. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +12 -12
  288. package/components/mui_extended/CheckBox/types.d.ts +2 -2
  289. package/components/mui_extended/CircularProgress/CircularProgress.styles.js +5 -5
  290. package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +49 -49
  291. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +12 -12
  292. package/components/mui_extended/Divider/Divider.js +1 -2
  293. package/components/mui_extended/Divider/Divider.styles.js +9 -9
  294. package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
  295. package/components/mui_extended/IconButton/IconButton.js +3 -2
  296. package/components/mui_extended/IconButton/IconButton.styles.js +21 -21
  297. package/components/mui_extended/IconButton/helpers/getIconButtonColors.d.ts +1 -1
  298. package/components/mui_extended/IconButton/helpers/getIconButtonColors.js +4 -4
  299. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +5 -5
  300. package/components/mui_extended/IconButton/types.d.ts +1 -1
  301. package/components/mui_extended/LoadingButton/LoadingButton.js +1 -1
  302. package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
  303. package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  304. package/components/mui_extended/MenuDivider/MenuDivider.js +1 -2
  305. package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
  306. package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
  307. package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
  308. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +7 -7
  309. package/components/mui_extended/MenuItem/types.d.ts +8 -3
  310. package/components/mui_extended/NavLink/NavLink.js +1 -2
  311. package/components/mui_extended/NavLink/NavLink.styles.js +9 -9
  312. package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +4 -4
  313. package/components/mui_extended/Popover/Popover.js +0 -1
  314. package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +2 -2
  315. package/components/mui_extended/Popover/types.d.ts +3 -3
  316. package/components/mui_extended/Popper/PopperStyles.js +1 -1
  317. package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
  318. package/components/mui_extended/Select/Select.js +2 -3
  319. package/components/mui_extended/Select/Select.styles.js +10 -10
  320. package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -12
  321. package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
  322. package/components/mui_extended/Skeleton/Skeleton.js +2 -2
  323. package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
  324. package/components/mui_extended/Skeleton/skeleton.styles.js +6 -5
  325. package/components/mui_extended/Skeleton/types.d.ts +1 -1
  326. package/components/mui_extended/Stack/Stack.styles.js +3 -3
  327. package/components/mui_extended/Stack/slots/StackSlot.d.ts +2 -2
  328. package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
  329. package/components/mui_extended/Tab/Tab.js +2 -0
  330. package/components/mui_extended/Tab/Tab.styles.js +27 -49
  331. package/components/mui_extended/Tab/types.d.ts +4 -0
  332. package/components/mui_extended/TabContent/TabContent.js +2 -2
  333. package/components/mui_extended/TabContent/TabContent.styles.js +13 -7
  334. package/components/mui_extended/TabContent/index.d.ts +1 -0
  335. package/components/mui_extended/TabContent/slots/TabContentSlots.d.ts +2 -2
  336. package/components/mui_extended/TabContent/types.d.ts +3 -2
  337. package/components/mui_extended/Tabs/Tabs.styles.js +2 -1
  338. package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -1
  339. package/components/mui_extended/TextField/TextField.js +11 -6
  340. package/components/mui_extended/TextField/TextField.styles.js +71 -68
  341. package/components/mui_extended/TextField/constants.d.ts +1 -0
  342. package/components/mui_extended/TextField/slots/TextFieldEnum.d.ts +2 -1
  343. package/components/mui_extended/TextField/slots/TextFieldEnum.js +1 -0
  344. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
  345. package/components/mui_extended/TextField/types.d.ts +7 -0
  346. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +9 -9
  347. package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  348. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  349. package/components/mui_extended/Tooltip/Tooltip.styles.js +1 -1
  350. package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +3 -3
  351. package/components/mui_extended/Typography/Typography.js +2 -1
  352. package/components/mui_extended/Typography/slots/typographySlots.d.ts +4 -4
  353. package/components/mui_extended/Typography/types.d.ts +3 -2
  354. package/components/mui_extended/Typography/typography.styles.js +12 -9
  355. package/components/mui_extended/index.d.ts +0 -2
  356. package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +4 -4
  357. package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +7 -9
  358. package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +2 -0
  359. package/hooks/useComponentSize/useComponentSize.d.ts +3 -3
  360. package/hooks/useComponentSize/useComponentSize.js +5 -2
  361. package/hooks/useDynamicFilterAndSort/icons.d.ts +2 -2
  362. package/hooks/useDynamicFilterAndSort/icons.js +2 -2
  363. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -6
  364. package/hooks/useDynamicFilterAndSort/styles.js +8 -7
  365. package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
  366. package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +3 -3
  367. package/index.js +24 -26
  368. package/package.json +1 -1
  369. package/storybook/components/Chip/Chip.stories.d.ts +4 -0
  370. package/storybook/components/DataGrid/DataGrid.stories.d.ts +16 -0
  371. package/storybook/components/Icon/Icon.stories.d.ts +4 -0
  372. package/storybook/components/NoItemSelect/NoItemSelect.stories.d.ts +4 -0
  373. package/storybook/components/PropertyValue/PropertyValue.stories.d.ts +5 -1
  374. package/storybook/components/{extended/scrollBar → ScrollBar}/ScrollBar.stories.d.ts +2 -2
  375. package/storybook/components/WindowBase/windowBase.stories.d.ts +64 -7
  376. package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +72 -20
  377. package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
  378. package/storybook/components/extended/mui/TextField/TextFieldText.stories.d.ts +11 -0
  379. package/storybook/hook-form/RHFTextField/RHFTextField.stories.d.ts +13 -0
  380. package/storybook/wrappers/LineGuide/LineGuide.d.ts +9 -0
  381. package/storybook/wrappers/LineGuide/styles.d.ts +1 -0
  382. package/storybook/wrappers/LineGuide/types.d.ts +5 -0
  383. package/components/DataGrid/styles.js +0 -484
  384. package/components/DataGrid/subcomponents/Actions/index.d.ts +0 -5
  385. package/components/DataGrid/subcomponents/Actions/index.js +0 -49
  386. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +0 -7
  387. package/components/DataGrid/subcomponents/Actions/types.d.ts +0 -16
  388. package/components/ScrollBar/slots/ScrollBarEnum.d.ts +0 -4
  389. package/components/ScrollBar/slots/ScrollBarEnum.js +0 -8
  390. package/components/ScrollBar/slots/index.d.ts +0 -2
  391. package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +0 -11
  392. /package/components/DataGrid/{styles.d.ts → Datagrid.styles.d.ts} +0 -0
  393. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.d.ts +0 -0
  394. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/types.d.ts +0 -0
  395. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.d.ts +0 -0
  396. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.js +0 -0
  397. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.d.ts +0 -0
  398. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.d.ts +0 -0
  399. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.d.ts +0 -0
  400. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -0
  401. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/types.d.ts +0 -0
  402. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/types.d.ts +0 -0
  403. /package/components/{ScrollBar/slots → Pager}/index.js +0 -0
@@ -4,7 +4,7 @@ const loadingButtonStyles = {
4
4
  * Componente boton con variantes y paletas de colores.
5
5
  */
6
6
  root: ({ ownerState }) => ({
7
- ...ownerState.loading && {
7
+ ...ownerState?.loading && {
8
8
  "&>.MuiTypography-root": {
9
9
  visibility: "hidden"
10
10
  },
@@ -19,9 +19,9 @@ const loadingButtonStyles = {
19
19
  */
20
20
  skeletonLoadingButton: ({ theme, ownerState }) => ({
21
21
  width: "100%",
22
- background: theme.vars.palette.skeleton.transition,
22
+ background: theme.vars.palette.skeleton.default,
23
23
  // Styles for small size skeleton
24
- ...ownerState.size === "small" && {
24
+ ...ownerState?.size === "small" && {
25
25
  ...theme.generalSettings.isMobile ? {
26
26
  height: theme.vars.size.mobile.small.action,
27
27
  minHeight: theme.vars.size.mobile.small.action
@@ -31,7 +31,7 @@ const loadingButtonStyles = {
31
31
  }
32
32
  },
33
33
  // Styles for medium size skeleton
34
- ...ownerState.size === "medium" && {
34
+ ...ownerState?.size === "medium" && {
35
35
  ...theme.generalSettings.isMobile ? {
36
36
  height: theme.vars.size.mobile.medium.action,
37
37
  minHeight: theme.vars.size.mobile.medium.action
@@ -47,7 +47,7 @@ const loadingButtonStyles = {
47
47
  */
48
48
  circularProgress: ({ theme, ownerState }) => ({
49
49
  position: "absolute",
50
- color: ownerState.color === "default" ? theme.vars.palette.text.disabled : theme.vars.palette[ownerState.color || "default"].enabled
50
+ color: ownerState?.color === "default" ? theme.vars.palette.text.disabled : theme.vars.palette[ownerState?.color || "default"].enabled
51
51
  })
52
52
  };
53
53
  export {
@@ -2,7 +2,7 @@
2
2
  * `LoadingButtonRootStyled`
3
3
  * Componente raíz del botón que usa el componente `Button` de material UI.
4
4
  */
5
- declare const RootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "className" | "classes" | "sx" | "form" | "label" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "skeletonWidth" | "startIcon" | "endIcon" | keyof import('react').RefAttributes<HTMLButtonElement> | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').LoadingButtonOwnerState> & Record<string, unknown> & {
5
+ declare const RootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "className" | "classes" | "sx" | "form" | "label" | "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" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "skeletonWidth" | "startIcon" | "endIcon" | keyof import('react').RefAttributes<HTMLButtonElement> | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').LoadingButtonOwnerState> & Record<string, unknown> & {
6
6
  ownerState: Partial<import('../types').LoadingButtonOwnerState> & Record<string, unknown>;
7
7
  }, {}, {}>;
8
8
  /**
@@ -16,11 +16,10 @@ const MenuDivider = (props) => {
16
16
  ...other
17
17
  } = props;
18
18
  const { currentSize } = useComponentSize(size);
19
- const normalizedSize = currentSize === "large" ? "medium" : currentSize;
20
19
  const ownerState = {
21
20
  MenuDividerVariant: variant,
22
21
  MenuDividerOrientation: orientation,
23
- MenuDividerSize: normalizedSize
22
+ MenuDividerSize: currentSize
24
23
  };
25
24
  return /* @__PURE__ */ jsx(
26
25
  MenuDividerRootStyled,
@@ -10,14 +10,14 @@ const menuDividerStyles = {
10
10
  position: "relative",
11
11
  ...getHeightSizeStyles(
12
12
  theme.generalSettings.isMobile,
13
- ownerState.MenuDividerSize || "medium",
13
+ ownerState?.MenuDividerSize || "medium",
14
14
  "action",
15
15
  (dynamicSize) => ({
16
- ...ownerState.MenuDividerOrientation === "horizontal" && {
16
+ ...ownerState?.MenuDividerOrientation === "horizontal" && {
17
17
  height: dynamicSize,
18
18
  width: "100%"
19
19
  },
20
- ...ownerState.MenuDividerOrientation === "vertical" && {
20
+ ...ownerState?.MenuDividerOrientation === "vertical" && {
21
21
  width: dynamicSize,
22
22
  height: "100%"
23
23
  }
@@ -29,13 +29,13 @@ const menuDividerStyles = {
29
29
  */
30
30
  divider: ({ theme, ownerState }) => ({
31
31
  position: "absolute",
32
- top: ownerState.MenuDividerOrientation === "horizontal" ? "50%" : "0",
33
- left: ownerState.MenuDividerOrientation === "vertical" ? "50%" : "0",
34
- transform: ownerState.MenuDividerOrientation === "horizontal" ? "translateY(-50%)" : "translateX(-50%)",
35
- width: ownerState.MenuDividerOrientation === "horizontal" ? "100%" : "1px",
36
- height: ownerState.MenuDividerOrientation === "vertical" ? "100%" : "1px",
32
+ top: ownerState?.MenuDividerOrientation === "horizontal" ? "50%" : "0",
33
+ left: ownerState?.MenuDividerOrientation === "vertical" ? "50%" : "0",
34
+ transform: ownerState?.MenuDividerOrientation === "horizontal" ? "translateY(-50%)" : "translateX(-50%)",
35
+ width: ownerState?.MenuDividerOrientation === "horizontal" ? "100%" : "1px",
36
+ height: ownerState?.MenuDividerOrientation === "vertical" ? "100%" : "1px",
37
37
  borderColor: theme.vars.palette.border.secondary,
38
- borderStyle: ownerState.MenuDividerVariant === "dash" ? "dashed" : "solid"
38
+ borderStyle: ownerState?.MenuDividerVariant === "dash" ? "dashed" : "solid"
39
39
  })
40
40
  };
41
41
  export {
@@ -3,6 +3,6 @@ export declare const MenuDividerRootStyled: import('@emotion/styled').StyledComp
3
3
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
4
  export declare const DividerStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').DividerOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
5
5
  ref?: ((instance: HTMLHRElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLHRElement> | null | undefined;
6
- }, "children" | "light" | "style" | "absolute" | "variant" | "textAlign" | "className" | "classes" | "sx" | "orientation" | "flexItem">, "children" | "ref" | "title" | "id" | "light" | "hidden" | "color" | "content" | "style" | "absolute" | "variant" | "textAlign" | "translate" | "className" | "classes" | "sx" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "orientation" | "flexItem"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').MenuDividerOwnerState> & Record<string, unknown> & {
6
+ }, "children" | "light" | "style" | "absolute" | "variant" | "textAlign" | "className" | "classes" | "sx" | "orientation" | "flexItem">, "children" | "ref" | "title" | "id" | "light" | "hidden" | "color" | "content" | "style" | "absolute" | "variant" | "textAlign" | "translate" | "className" | "classes" | "sx" | "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" | "orientation" | "flexItem"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').MenuDividerOwnerState> & Record<string, unknown> & {
7
7
  ownerState: Partial<import('../types').MenuDividerOwnerState> & Record<string, unknown>;
8
8
  }, {}, {}>;
@@ -4,10 +4,10 @@ const menuItemStyles = {
4
4
  * Estilos para el contenedor de los items del menú contenedor
5
5
  */
6
6
  root: ({ theme, ownerState }) => {
7
- const mainColor = ownerState.selected ? ownerState.color === "error" ? ownerState.color : "primary" : ownerState.color;
7
+ const mainColor = ownerState?.selected ? ownerState?.color === "error" ? ownerState?.color : "primary" : ownerState?.color;
8
8
  const paletteColor = theme.vars.palette[mainColor ?? "default"];
9
9
  const color = (token) => {
10
- return ownerState.color === "default" && !ownerState.selected ? theme.vars.palette.text.primary : paletteColor[token];
10
+ return ownerState?.color === "default" && !ownerState?.selected ? theme.vars.palette.text.primary : paletteColor[token];
11
11
  };
12
12
  return {
13
13
  width: "100%",
@@ -45,14 +45,14 @@ const menuItemStyles = {
45
45
  // outlineColor: theme.vars.palette.border.main,
46
46
  // outlineOffset: theme.vars.size.baseSpacings['sp0-5'],
47
47
  // },
48
- ...ownerState.selected && {
48
+ ...ownerState?.selected && {
49
49
  borderLeft: theme.vars.size.borderStroke.container,
50
50
  borderLeftColor: paletteColor.enabled
51
51
  },
52
52
  "& .M4LImage-root": {
53
53
  ...getHeightSizeStyles(
54
54
  theme.generalSettings.isMobile,
55
- ownerState.size || "medium",
55
+ ownerState?.size || "medium",
56
56
  "base",
57
57
  (val) => {
58
58
  return {
@@ -64,7 +64,7 @@ const menuItemStyles = {
64
64
  },
65
65
  ...getHeightSizeStyles(
66
66
  theme.generalSettings.isMobile,
67
- ownerState.size || "medium",
67
+ ownerState?.size || "medium",
68
68
  "action",
69
69
  (height) => {
70
70
  return {
@@ -79,7 +79,7 @@ const menuItemStyles = {
79
79
  * Estilos para el icono de los items del menú
80
80
  */
81
81
  menuItemIcon: ({ ownerState, theme }) => {
82
- const finalColor = ownerState.selected ? ownerState.color === "error" ? theme.vars.palette["error"].enabled : theme.vars.palette["primary"].enabled : ownerState.color === "default" ? theme.vars.palette["text"].primary : theme.vars.palette[ownerState.color ?? "default"].enabled;
82
+ const finalColor = ownerState?.selected ? ownerState?.color === "error" ? theme.vars.palette["error"].enabled : theme.vars.palette["primary"].enabled : ownerState?.color === "default" ? theme.vars.palette["text"].primary : theme.vars.palette[ownerState?.color ?? "default"].enabled;
83
83
  return {
84
84
  "&.MenuItemEndIcon-root": {
85
85
  marginLeft: "auto"
@@ -93,9 +93,9 @@ const menuItemStyles = {
93
93
  * Estilos para el icono de los items del menú cuando están seleccionados
94
94
  */
95
95
  menuItemIconChecked: ({ theme, ownerState }) => {
96
- const finalColor = ownerState.selected ? ownerState.color === "error" ? theme.vars.palette["error"].enabled : theme.vars.palette["primary"].enabled : ownerState.color === "default" ? theme.vars.palette["text"].primary : theme.vars.palette[ownerState.color ?? "default"].enabled;
96
+ const finalColor = ownerState?.selected ? ownerState?.color === "error" ? theme.vars.palette["error"].enabled : theme.vars.palette["primary"].enabled : ownerState?.color === "default" ? theme.vars.palette["text"].primary : theme.vars.palette[ownerState?.color ?? "default"].enabled;
97
97
  return {
98
- visibility: ownerState.checkable ? ownerState.checked ? "visible" : "hidden" : "hidden",
98
+ visibility: ownerState?.checkable ? ownerState?.checked ? "visible" : "hidden" : "hidden",
99
99
  "& .M4LIcon-icon": {
100
100
  backgroundColor: finalColor
101
101
  },
@@ -128,10 +128,10 @@ const menuItemStyles = {
128
128
  borderRadius: theme.vars.size.borderRadius.r0,
129
129
  display: "flex",
130
130
  alignItems: "center",
131
- background: theme.vars.palette.skeleton.transition,
131
+ background: theme.vars.palette.skeleton.default,
132
132
  ...getHeightSizeStyles(
133
133
  theme.generalSettings.isMobile,
134
- ownerState.size || "medium",
134
+ ownerState?.size || "medium",
135
135
  "action"
136
136
  )
137
137
  })
@@ -1,21 +1,21 @@
1
1
  declare const MenuItemRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').MenuItemOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
2
2
  ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
3
- }, "children" | "divider" | "selected" | "disabled" | "action" | "style" | "dense" | "className" | "classes" | "sx" | "autoFocus" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters">, "value" | "children" | "ref" | "title" | "id" | "divider" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "dense" | "translate" | "className" | "classes" | "sx" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
4
- ownerState: Partial<import('..').MenuItemOwnerState> & Record<string, unknown>;
3
+ }, "children" | "divider" | "selected" | "disabled" | "action" | "style" | "dense" | "className" | "classes" | "sx" | "autoFocus" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters">, "value" | "children" | "ref" | "title" | "id" | "divider" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "dense" | "translate" | "className" | "classes" | "sx" | "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" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
4
+ ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
5
5
  }, {}, {}>;
6
6
  declare const MenuItemContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
7
- ownerState: Partial<import('..').MenuItemOwnerState> & Record<string, unknown>;
7
+ ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
8
8
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
9
9
  declare const MenuItemTypographyStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Typography/types').TypographyProps, keyof import('../../Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
10
- ownerState: Partial<import('..').MenuItemOwnerState> & Record<string, unknown>;
10
+ ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
11
11
  }, {}, {}>;
12
12
  declare const MenuItemIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
13
- ownerState: Partial<import('..').MenuItemOwnerState> & Record<string, unknown>;
13
+ ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
14
14
  }, {}, {}>;
15
15
  declare const MenuItemIconCheckedStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
16
- ownerState: Partial<import('..').MenuItemOwnerState> & Record<string, unknown>;
16
+ ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
17
17
  }, {}, {}>;
18
18
  declare const MenuItemSkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Skeleton/types').SkeletonProps, keyof import('../../Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
19
- ownerState: Partial<import('..').MenuItemOwnerState> & Record<string, unknown>;
19
+ ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
20
20
  }, {}, {}>;
21
21
  export { MenuItemRootStyled, MenuItemIconStyled, MenuItemIconCheckedStyled, MenuItemTypographyStyled, MenuItemContainerStyled, MenuItemSkeletonStyled, };
@@ -1,9 +1,10 @@
1
1
  import { MenuItemProps as MUIMenuItemProps, Theme } from '@mui/material';
2
- import { Sizes, ComponentPalletColor } from '@m4l/styles';
2
+ import { Sizes } from '@m4l/styles';
3
3
  import { MenuItemSlots } from './slots';
4
4
  import { MENUITEM_KEY_COMPONENT } from './constants';
5
5
  import { ReactNode } from 'react';
6
6
  import { M4LOverridesStyleRules } from '../../../@types/augmentations';
7
+ import { IconButtonProps } from '../IconButton/types';
7
8
  /**
8
9
  * Propiedades del componente `MenuItem`.
9
10
  */
@@ -27,7 +28,11 @@ export interface MenuItemProps extends Omit<MUIMenuItemProps, 'size' | 'color'>
27
28
  /**
28
29
  * Define el color del `MenuItem`
29
30
  */
30
- color?: Extract<ComponentPalletColor, 'default' | 'error'>;
31
+ color?: IconButtonProps['color'];
32
+ /**
33
+ * Define el nombre de la clase del componente
34
+ */
35
+ className?: string;
31
36
  /**
32
37
  * Indica si el `MenuItem` está deshabilitado
33
38
  */
@@ -55,7 +60,7 @@ export interface MenuItemProps extends Omit<MUIMenuItemProps, 'size' | 'color'>
55
60
  * paletteColor - Define el color de la paleta aplicada al `MenuItem`.
56
61
  */
57
62
  export interface MenuItemOwnerState extends Pick<MenuItemProps, 'checked' | 'checkable' | 'size' | 'disabled' | 'selected'> {
58
- color: Extract<ComponentPalletColor, 'default' | 'error' | 'primary'>;
63
+ color: IconButtonProps['color'];
59
64
  }
60
65
  /**
61
66
  * Define los tipos de Slots disponibles para el `MenuItem`.
@@ -27,7 +27,6 @@ const NavLink = (props) => {
27
27
  return /* @__PURE__ */ jsx(
28
28
  RouterNavLinkRootStyled,
29
29
  {
30
- ownerState: {},
31
30
  ...getPropDataTestId(NAV_LINK_KEY_COMPONENT, NavLinkSlots.root, dataTestId),
32
31
  children: !isSkeleton ? /* @__PURE__ */ jsx(
33
32
  RouterNavLinkStyled,
@@ -59,7 +58,7 @@ const NavLink = (props) => {
59
58
  typeof children === "function" ? children({ isActive }) : children
60
59
  ] })
61
60
  }
62
- ) : /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(SkeletonStyled, { ownerState: {}, variant: "rounded" }) })
61
+ ) : /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(SkeletonStyled, { variant: "rounded" }) })
63
62
  }
64
63
  );
65
64
  };
@@ -13,17 +13,17 @@ const navLinkStyles = {
13
13
  typographyStyled: ({ ownerState, theme }) => ({
14
14
  "&.MuiTypography-root": {
15
15
  color: "inherit",
16
- cursor: ownerState.disabled ? "not-allowed" : "inherit",
16
+ cursor: ownerState?.disabled ? "not-allowed" : "inherit",
17
17
  /* *
18
18
  * 🔠 Estilos para tamaños de la tipografia 🔠 */
19
19
  ...getTypographyStyles(
20
20
  theme.generalSettings.isMobile,
21
- ownerState.size || "medium",
21
+ ownerState?.size || "medium",
22
22
  "body"
23
23
  ),
24
24
  ...getTypographyStyles(
25
25
  theme.generalSettings.isMobile,
26
- ownerState.size || "small",
26
+ ownerState?.size || "small",
27
27
  "body"
28
28
  )
29
29
  }
@@ -38,15 +38,15 @@ const navLinkStyles = {
38
38
  borderRadius: theme.vars.size.borderRadius.r1,
39
39
  display: "flex",
40
40
  padding: theme.vars.size.baseSpacings.sp1,
41
- backgroundColor: theme.vars.palette.skeleton.transition,
41
+ backgroundColor: theme.vars.palette.skeleton.default,
42
42
  ...getHeightSizeStyles(
43
43
  theme.generalSettings.isMobile,
44
- ownerState.size || "medium",
44
+ ownerState?.size || "medium",
45
45
  "base"
46
46
  ),
47
47
  ...getHeightSizeStyles(
48
48
  theme.generalSettings.isMobile,
49
- ownerState.size || "small",
49
+ ownerState?.size || "small",
50
50
  "base"
51
51
  )
52
52
  }
@@ -57,9 +57,9 @@ const navLinkStyles = {
57
57
  */
58
58
  routerNavLinkStyled: ({ theme, ownerState }) => ({
59
59
  /** 😶‍🌫️ Estilo Disabeld & Enabled para el componente RouterNavLink 😶‍🌫️ */
60
- cursor: ownerState.disabled ? "not-allowed" : "pointer",
61
- pointerEvents: ownerState.disabled ? "none" : "auto",
62
- color: ownerState.disabled ? theme.vars.palette.text.disabled : theme.vars.palette.primary.enabled,
60
+ cursor: ownerState?.disabled ? "not-allowed" : "pointer",
61
+ pointerEvents: ownerState?.disabled ? "none" : "auto",
62
+ color: ownerState?.disabled ? theme.vars.palette.text.disabled : theme.vars.palette.primary.enabled,
63
63
  /** Estilo Hover para el componente RouterNavLink */
64
64
  "&:hover": {
65
65
  color: theme.vars.palette.primary.hover
@@ -1,12 +1,12 @@
1
1
  export declare const RouterNavLinkRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
2
- ownerState: Partial<import('../types').NavLinkOwnerState> & Record<string, unknown>;
2
+ ownerState?: (Partial<import('../types').NavLinkOwnerState> & Record<string, unknown>) | undefined;
3
3
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
4
  export declare const TypographyStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Typography/types').TypographyProps, keyof import('../../Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
5
- ownerState: Partial<import('../types').NavLinkOwnerState> & Record<string, unknown>;
5
+ ownerState?: (Partial<import('../types').NavLinkOwnerState> & Record<string, unknown>) | undefined;
6
6
  }, {}, {}>;
7
7
  export declare const SkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Skeleton/types').SkeletonProps, keyof import('../../Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
8
- ownerState: Partial<import('../types').NavLinkOwnerState> & Record<string, unknown>;
8
+ ownerState?: (Partial<import('../types').NavLinkOwnerState> & Record<string, unknown>) | undefined;
9
9
  }, {}, {}>;
10
10
  export declare const RouterNavLinkStyled: import('@emotion/styled').StyledComponent<Pick<import('react-router-dom').NavLinkProps & import('react').RefAttributes<HTMLAnchorElement>, keyof import('react').RefAttributes<HTMLAnchorElement> | keyof import('react-router-dom').NavLinkProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
11
- ownerState: Partial<import('../types').NavLinkOwnerState> & Record<string, unknown>;
11
+ ownerState?: (Partial<import('../types').NavLinkOwnerState> & Record<string, unknown>) | undefined;
12
12
  }, {}, {}>;
@@ -27,7 +27,6 @@ const Popover = (props) => {
27
27
  /* @__PURE__ */ jsx(
28
28
  PopoverRootStyled,
29
29
  {
30
- ownerState: {},
31
30
  open,
32
31
  className: clsx(className, POPOVER_CLASS_NAME_SPECIFY),
33
32
  "data-testid": "PopoverRoot",
@@ -1,3 +1,3 @@
1
- export declare const PopoverRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PopoverProps, keyof import('@mui/material').PopoverProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').PopoverProps> & Record<string, unknown> & {
2
- ownerState: Partial<import('../types').PopoverProps> & Record<string, unknown>;
1
+ export declare const PopoverRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PopoverProps, keyof import('@mui/material').PopoverProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
+ ownerState?: (Partial<import('../types').PopoverProps> & Record<string, unknown>) | undefined;
3
3
  }, {}, {}>;
@@ -1,11 +1,11 @@
1
1
  import { ComponentNameToClassKey, SxProps, Theme, PopoverProps as MUIPopoverProps } from '@mui/material';
2
- import { OverridesStyleRules } from '@mui/material/styles/overrides';
3
2
  import { PopoverSlots } from './slots';
4
3
  import { POPOVER_KEY_COMPONENT } from './constants';
5
4
  import { Sizes } from '@m4l/styles';
5
+ import { M4LOverridesStyleRules } from '../../../@types/augmentations';
6
6
  export interface PopoverProps extends Omit<MUIPopoverProps, 'sx'> {
7
7
  arrowType?: ArrowType;
8
- sx?: SxProps<Theme> | Partial<OverridesStyleRules<string, ComponentNameToClassKey, Theme>>;
8
+ sx?: SxProps<Theme> | Partial<M4LOverridesStyleRules<string, ComponentNameToClassKey, Theme>>;
9
9
  size?: Sizes;
10
10
  /**
11
11
  * Propiedad que sirve para complementar el nombre del data-testid, aporta un identificador único del elemento html en toda aplicación.
@@ -19,4 +19,4 @@ export type ArrowStyleProps = {
19
19
  };
20
20
  export type PopoverSlotsType = keyof typeof PopoverSlots;
21
21
  export type PopoverOwnerState = PopoverProps;
22
- export type PopoverStyles = Partial<OverridesStyleRules<PopoverSlotsType, typeof POPOVER_KEY_COMPONENT, Theme> | undefined> | undefined;
22
+ export type PopoverStyles = M4LOverridesStyleRules<PopoverSlotsType, typeof POPOVER_KEY_COMPONENT, Theme>;
@@ -8,7 +8,7 @@ const popperStyles = {
8
8
  backgroundColor: theme.vars.palette.background.default,
9
9
  borderRadius: theme.vars.size.borderRadius.r1,
10
10
  boxShadow: theme.vars.shadows[3],
11
- ...ownerState.arrow && {
11
+ ...ownerState?.arrow && {
12
12
  // Top-Center
13
13
  '&[data-popper-placement="top"]': {
14
14
  "&.M4LPopperClass-root": {
@@ -1,4 +1,4 @@
1
- declare const PopperRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PopperProps & import('react').RefAttributes<HTMLDivElement>, "children" | "ref" | "title" | "component" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "transition" | "translate" | "className" | "sx" | "slots" | "slotProps" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "componentsProps" | "placement" | "anchorEl" | "disablePortal" | "keepMounted" | "modifiers" | "popperOptions" | "popperRef"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').PopperOwnerState> & Record<string, unknown> & {
1
+ declare const PopperRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PopperProps & import('react').RefAttributes<HTMLDivElement>, "children" | "ref" | "title" | "component" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "transition" | "translate" | "className" | "sx" | "slots" | "slotProps" | "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" | "componentsProps" | "placement" | "anchorEl" | "disablePortal" | "keepMounted" | "modifiers" | "popperOptions" | "popperRef"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').PopperOwnerState> & Record<string, unknown> & {
2
2
  ownerState: Partial<import('..').PopperOwnerState> & Record<string, unknown>;
3
3
  }, {}, {}>;
4
4
  export { PopperRootStyled };
@@ -88,7 +88,6 @@ const Select = forwardRef(
88
88
  return /* @__PURE__ */ jsx(
89
89
  AdormentStyled,
90
90
  {
91
- ownerState: {},
92
91
  src: icon,
93
92
  size: adjustedSize,
94
93
  className: SELECT_CLASSES.renderValueStartAdorment,
@@ -105,7 +104,7 @@ const Select = forwardRef(
105
104
  }, []);
106
105
  const renderValue = () => {
107
106
  if (!selectedValue || multiple && Array.isArray(selectedValue) && selectedValue.length === 0) {
108
- return /* @__PURE__ */ jsx(LabelPlaceholerStyled, { variant: "body", color: "text.disabled", ownerState: {}, children: placeholder });
107
+ return /* @__PURE__ */ jsx(LabelPlaceholerStyled, { variant: "body", color: "text.disabled", children: placeholder });
109
108
  }
110
109
  if (multiple) {
111
110
  if (!Array.isArray(selectedValue)) {
@@ -135,7 +134,7 @@ const Select = forwardRef(
135
134
  const selectedOption = options.find((option) => String(option.id) === String(selectedValue));
136
135
  return selectedOption ? /* @__PURE__ */ jsxs(RenderValueContainerStyled, { ownerState: { ...ownerState }, className: SELECT_CLASSES.renderValueContainer, children: [
137
136
  selectedOption.startAdornment && RenderIcon(selectedOption.startAdornment),
138
- /* @__PURE__ */ jsx(RenderValueTypography, { variant: "body", color: "text.primary", ownerState: {}, size: adjustedSize, className: SELECT_CLASSES.renderValueTypography, children: selectedOption.label })
137
+ /* @__PURE__ */ jsx(RenderValueTypography, { variant: "body", color: "text.primary", size: adjustedSize, className: SELECT_CLASSES.renderValueTypography, children: selectedOption.label })
139
138
  ] }) : "";
140
139
  }
141
140
  };