@m4l/components 9.2.56-beta.2 → 9.2.57

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 (374) hide show
  1. package/.storybook/decorators/WithWindowsToolsContext/WithContextWindowTools.d.ts +5 -0
  2. package/.storybook/utils/getStylesColorsByMode.d.ts +4 -4
  3. package/@types/augmentations.d.ts +1 -1
  4. package/@types/types.d.ts +9 -10
  5. package/components/AccountPopover/AccountPopover.js +4 -3
  6. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +32 -32
  7. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +14 -13
  8. package/components/AccountPopover/types.d.ts +2 -2
  9. package/components/AppBar/AppBar.js +9 -6
  10. package/components/AppBar/slots/AppBarSlots.d.ts +16 -16
  11. package/components/AppBar/styles.js +1 -2
  12. package/components/AppBar/types.d.ts +2 -2
  13. package/components/Chip/ChipStyles.js +12 -12
  14. package/components/Chip/slots/ChipSlots.d.ts +6 -6
  15. package/components/Color/Color.styles.js +11 -11
  16. package/components/Color/slots/ColorSlots.d.ts +5 -5
  17. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  18. package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
  19. package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +1 -0
  20. package/components/CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.d.ts +2 -2
  21. package/components/CommonActions/components/ActionFormIntro/types.d.ts +2 -2
  22. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  23. package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
  24. package/components/DataGrid/DataGrid.js +8 -29
  25. package/components/DataGrid/constants.d.ts +0 -1
  26. package/components/DataGrid/constants.js +0 -2
  27. package/components/DataGrid/contexts/DataGridContext/index.js +44 -31
  28. package/components/DataGrid/contexts/DataGridContext/types.d.ts +1 -6
  29. package/components/DataGrid/dictionary.d.ts +2 -1
  30. package/components/DataGrid/dictionary.js +22 -21
  31. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +2 -0
  32. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/formatter.js +2 -2
  33. package/components/DataGrid/icons.d.ts +0 -1
  34. package/components/DataGrid/icons.js +3 -4
  35. package/components/DataGrid/slots/DataGridEnum.d.ts +0 -6
  36. package/components/DataGrid/slots/DataGridEnum.js +2 -10
  37. package/components/DataGrid/slots/DataGridSlot.d.ts +0 -9
  38. package/components/DataGrid/slots/DataGridSlot.js +14 -35
  39. package/components/DataGrid/styles.js +484 -0
  40. package/components/DataGrid/subcomponents/Actions/index.d.ts +5 -0
  41. package/components/DataGrid/subcomponents/Actions/index.js +49 -0
  42. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/index.js +7 -8
  43. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Filter/index.js +2 -2
  44. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +7 -0
  45. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/MobileMenuActions/index.js +4 -4
  46. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/RowsCount/index.js +4 -4
  47. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/index.d.ts +5 -0
  48. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/index.js +4 -6
  49. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +47 -57
  50. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +3 -4
  51. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/types.d.ts +4 -0
  52. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +7 -0
  53. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/hooks/useModalSettings/index.js +7 -11
  54. package/components/DataGrid/subcomponents/Actions/types.d.ts +16 -0
  55. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +5 -5
  56. package/components/DataGrid/subcomponents/Table/index.js +4 -4
  57. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +3 -12
  58. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +13 -28
  59. package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +2 -2
  60. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +2 -4
  61. package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
  62. package/components/DataGrid/types.d.ts +3 -20
  63. package/components/DragResizeWindowRND/DragResizeWindowRND.styles.js +1 -1
  64. package/components/DragResizeWindowRND/slots/DragResizeWindowRNDSlots.d.ts +5 -3
  65. package/components/DynamicFilter/DynamicFilter.styles.js +13 -13
  66. package/components/DynamicFilter/dictionary.d.ts +1 -0
  67. package/components/DynamicFilter/dictionary.js +2 -1
  68. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +19 -19
  69. package/components/DynamicFilter/store/DynamicFilterStore.js +2 -2
  70. package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +2 -2
  71. package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +1 -1
  72. package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +3 -2
  73. package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -2
  74. package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +4 -3
  75. package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
  76. package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -0
  77. package/components/DynamicFilter/types.d.ts +1 -1
  78. package/components/DynamicSort/DynamicSort.styles.js +13 -13
  79. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +19 -19
  80. package/components/DynamicSort/store/DynamicSortStore.js +2 -2
  81. package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +2 -2
  82. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -0
  83. package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +5 -4
  84. package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
  85. package/components/DynamicSort/subcomponents/SortActions/SortActions.js +3 -2
  86. package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
  87. package/components/GridLayout/styles.js +82 -4
  88. package/components/HelperError/HelperError.styles.js +4 -4
  89. package/components/Icon/Icon.js +1 -1
  90. package/components/Icon/Icon.styles.js +10 -10
  91. package/components/Image/Image.js +1 -1
  92. package/components/Image/image.styles.js +1 -1
  93. package/components/Image/slots/ImageSlots.d.ts +12 -12
  94. package/components/Image/subcomponents/IntersectComponent/index.js +1 -0
  95. package/components/Image/types.d.ts +2 -2
  96. package/components/Label/Label.styles.js +11 -11
  97. package/components/Label/slots/LabelSlots.d.ts +1 -1
  98. package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
  99. package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
  100. package/components/LoadingError/LoadingError.js +2 -1
  101. package/components/MenuActions/MenuActions.js +3 -3
  102. package/components/MenuActions/MenuActions.styles.js +4 -4
  103. package/components/MenuActions/slots/MenuActionsSlots.d.ts +12 -12
  104. package/components/MenuActions/types.d.ts +3 -3
  105. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
  106. package/components/NoItemSelected/NoItemSelected.js +5 -3
  107. package/components/NoItemSelected/NoItemSelected.styles.js +4 -4
  108. package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +7 -7
  109. package/components/NumberInput/NumberInput.styles.js +20 -20
  110. package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +2 -0
  111. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  112. package/components/ObjectLogs/hooks/useDetailFormatter.js +2 -3
  113. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +20 -20
  114. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +3 -1
  115. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +3 -1
  116. package/components/ObjectLogs/types.d.ts +2 -2
  117. package/components/Pager/Pager.js +3 -2
  118. package/components/Pager/Pager.styles.js +12 -13
  119. package/components/Pager/slots/PagerEnum.d.ts +1 -2
  120. package/components/Pager/slots/PagerEnum.js +0 -1
  121. package/components/Pager/slots/PagerSlots.d.ts +0 -1
  122. package/components/Pager/slots/PagerSlots.js +2 -7
  123. package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +18 -16
  124. package/components/Pager/subcomponents/PagerActions/PagerActions.js +2 -4
  125. package/components/Pager/subcomponents/PagerActions/types.d.ts +0 -1
  126. package/components/PaperForm/components/Header.js +2 -2
  127. package/components/PaperForm/slots/PaperFormSlots.d.ts +10 -10
  128. package/components/PaperForm/styles.js +7 -7
  129. package/components/PaperForm/types.d.ts +2 -2
  130. package/components/PrintingSystem/slots/PrintingSystemSlots.d.ts +42 -42
  131. package/components/PrintingSystem/subcomponents/BodyNode/index.js +1 -0
  132. package/components/PrintingSystem/subcomponents/ChartNode/index.js +1 -0
  133. package/components/PrintingSystem/subcomponents/DividerNode/index.js +1 -0
  134. package/components/PrintingSystem/subcomponents/FooterNode/index.js +1 -0
  135. package/components/PrintingSystem/subcomponents/GridNode/index.js +5 -0
  136. package/components/PrintingSystem/subcomponents/HeaderNode/index.js +1 -0
  137. package/components/PrintingSystem/subcomponents/PageNode/index.js +1 -0
  138. package/components/PrintingSystem/subcomponents/PaperNode/index.js +5 -0
  139. package/components/PrintingSystem/subcomponents/PropertyValueNode/index.js +2 -0
  140. package/components/PrintingSystem/subcomponents/SectionNode/index.js +1 -0
  141. package/components/PrintingSystem/types.d.ts +2 -2
  142. package/components/PropertyValue/PropertyValue.js +4 -3
  143. package/components/PropertyValue/PropertyValue.styles.js +3 -3
  144. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
  145. package/components/ScrollBar/ScrollBar.d.ts +3 -3
  146. package/components/ScrollBar/ScrollBar.js +45 -5
  147. package/components/ScrollBar/ScrollBar.styles.js +52 -5
  148. package/components/ScrollBar/constants.d.ts +2 -4
  149. package/components/ScrollBar/constants.js +5 -2
  150. package/components/ScrollBar/slots/ScrollBarEnum.d.ts +4 -0
  151. package/components/ScrollBar/slots/ScrollBarEnum.js +8 -0
  152. package/components/ScrollBar/slots/ScrollBarSlots.d.ts +6 -1
  153. package/components/ScrollBar/slots/ScrollBarSlots.js +13 -7
  154. package/components/ScrollBar/slots/index.d.ts +2 -0
  155. package/components/ScrollBar/types.d.ts +42 -12
  156. package/components/SideBar/slots/SideBarSlots.d.ts +34 -34
  157. package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -2
  158. package/components/SideBar/subcomponents/ContentComponent/style.js +4 -4
  159. package/components/SideBar/subcomponents/ContentGroups/index.js +3 -3
  160. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -2
  161. package/components/SideBar/subcomponents/ContentGroups/styles.js +2 -11
  162. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -2
  163. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +10 -1
  164. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +1 -0
  165. package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -2
  166. package/components/SideBar/subcomponents/HeaderSidebar/index.js +2 -2
  167. package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -2
  168. package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -2
  169. package/components/SideBar/subcomponents/SideBarDesktop/styles.js +2 -2
  170. package/components/SideBar/subcomponents/SideBarMobile/index.js +1 -0
  171. package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -2
  172. package/components/SideBar/types.d.ts +2 -9
  173. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  174. package/components/WindowBase/WindowBase.js +6 -8
  175. package/components/WindowBase/WindowBase.styles.js +107 -208
  176. package/components/WindowBase/icons.js +2 -2
  177. package/components/WindowBase/slots/WindowBaseEnum.d.ts +3 -3
  178. package/components/WindowBase/slots/WindowBaseEnum.js +2 -2
  179. package/components/WindowBase/slots/WindowBaseSlots.d.ts +23 -18
  180. package/components/WindowBase/slots/WindowBaseSlots.js +12 -13
  181. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +12 -22
  182. package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
  183. package/components/WindowBase/subcomponents/Header/useButtonActions.js +2 -5
  184. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
  185. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
  186. package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +0 -9
  187. package/components/WindowBase/types.d.ts +0 -10
  188. package/components/WindowConfirm/WindowConfirm.js +3 -2
  189. package/components/WindowConfirm/WindowConfirm.styles.js +4 -4
  190. package/components/areas/components/AreasAdmin/AreasAdmin.js +17 -12
  191. package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +21 -13
  192. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +23 -23
  193. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +4 -1
  194. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +4 -3
  195. package/components/areas/components/AreasAdmin/types.d.ts +1 -1
  196. package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
  197. package/components/areas/components/AreasViewer/AreasViewer.styles.js +2 -2
  198. package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +5 -5
  199. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +1 -1
  200. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +1 -8
  201. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +3 -7
  202. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +1 -0
  203. package/components/areas/contexts/AreasContext/index.js +1 -1
  204. package/components/areas/contexts/AreasContext/store.js +1 -1
  205. package/components/areas/contexts/AreasContext/types.d.ts +1 -1
  206. package/components/areas/icons.d.ts +2 -2
  207. package/components/areas/icons.js +4 -4
  208. package/components/commercial/SectionCommercial/classes/index.d.ts +2 -2
  209. package/components/commercial/SectionCommercial/classes/index.js +3 -3
  210. package/components/commercial/SectionCommercial/types.d.ts +1 -1
  211. package/components/extended/React-Resizable/helpers.d.ts +9 -2
  212. package/components/extended/React-Resizable/helpers.js +13 -15
  213. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +1 -0
  214. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +1 -1
  215. package/components/extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.d.ts +4 -4
  216. package/components/extended/React-Spinners/PropagateLoaderSpinner/types.d.ts +2 -2
  217. package/components/extended/React-Splitter-Layout/slots/SplitLayoutSlots.d.ts +3 -3
  218. package/components/extended/React-resizable-panels/SplitLayout.styles.js +6 -6
  219. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +8 -8
  220. package/components/formatters/ChipStatusFormatter/slots/ChipStatusFormatterSlots.d.ts +2 -2
  221. package/components/formatters/PeriodFormatter/PeriodFormatter.styles.js +1 -1
  222. package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
  223. package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.d.ts +2 -1
  224. package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +7 -1
  225. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
  226. package/components/hook-form/RHFDateTime/types.d.ts +1 -1
  227. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
  228. package/components/hook-form/RHFSelect/RHFSelect.js +1 -1
  229. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  230. package/components/hook-form/RHFSelect/slots/RHFSlots.js +1 -1
  231. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  232. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +1 -1
  233. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +2 -2
  234. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +8 -8
  235. package/components/hook-form/RHFTextFieldPassword/types.d.ts +2 -2
  236. package/components/hook-form/RHFTimePicker/types.d.ts +1 -1
  237. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +1 -1
  238. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +3 -3
  239. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +22 -22
  240. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +10 -9
  241. package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +2 -2
  242. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.js +2 -2
  243. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +22 -22
  244. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +7 -2
  245. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +6 -5
  246. package/components/hook-form/RHFormContext/index.d.ts +1 -1
  247. package/components/index.d.ts +0 -2
  248. package/components/mui_extended/Accordion/Accordion.js +21 -31
  249. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
  250. package/components/mui_extended/Accordion/styles.js +33 -56
  251. package/components/mui_extended/Accordion/types.d.ts +6 -39
  252. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +3 -3
  253. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +1 -1
  254. package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +3 -1
  255. package/components/mui_extended/Autocomplete/renderOptions/index.js +3 -2
  256. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +17 -17
  257. package/components/mui_extended/Avatar/Avatar.js +1 -1
  258. package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
  259. package/components/mui_extended/Avatar/styles.js +3 -3
  260. package/components/mui_extended/Badge/Badge.js +2 -1
  261. package/components/mui_extended/Badge/Badge.styles.js +9 -9
  262. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
  263. package/components/mui_extended/Badge/types.d.ts +2 -2
  264. package/components/mui_extended/Button/ButtonStyles.js +25 -25
  265. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  266. package/components/mui_extended/CheckBox/CheckBox.js +2 -2
  267. package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -12
  268. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +12 -12
  269. package/components/mui_extended/CheckBox/types.d.ts +2 -2
  270. package/components/mui_extended/CircularProgress/CircularProgress.styles.js +5 -5
  271. package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +49 -49
  272. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +12 -12
  273. package/components/mui_extended/Divider/Divider.js +2 -1
  274. package/components/mui_extended/Divider/Divider.styles.js +9 -9
  275. package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
  276. package/components/mui_extended/IconButton/IconButton.js +2 -3
  277. package/components/mui_extended/IconButton/IconButton.styles.js +21 -21
  278. package/components/mui_extended/IconButton/helpers/getIconButtonColors.d.ts +1 -1
  279. package/components/mui_extended/IconButton/helpers/getIconButtonColors.js +4 -4
  280. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +5 -5
  281. package/components/mui_extended/IconButton/types.d.ts +1 -1
  282. package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
  283. package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  284. package/components/mui_extended/MenuDivider/MenuDivider.js +2 -1
  285. package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
  286. package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
  287. package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
  288. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +7 -7
  289. package/components/mui_extended/MenuItem/types.d.ts +3 -8
  290. package/components/mui_extended/NavLink/NavLink.js +2 -1
  291. package/components/mui_extended/NavLink/NavLink.styles.js +9 -9
  292. package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +4 -4
  293. package/components/mui_extended/Popover/Popover.js +1 -0
  294. package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +2 -2
  295. package/components/mui_extended/Popover/types.d.ts +3 -3
  296. package/components/mui_extended/Popper/PopperStyles.js +1 -1
  297. package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
  298. package/components/mui_extended/Select/Select.js +3 -2
  299. package/components/mui_extended/Select/Select.styles.js +10 -10
  300. package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -12
  301. package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
  302. package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
  303. package/components/mui_extended/Skeleton/skeleton.styles.js +4 -4
  304. package/components/mui_extended/Stack/Stack.styles.js +3 -3
  305. package/components/mui_extended/Stack/slots/StackSlot.d.ts +2 -2
  306. package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
  307. package/components/mui_extended/Tab/Tab.js +0 -2
  308. package/components/mui_extended/Tab/Tab.styles.js +48 -26
  309. package/components/mui_extended/Tab/types.d.ts +0 -4
  310. package/components/mui_extended/TabContent/TabContent.js +1 -1
  311. package/components/mui_extended/TabContent/TabContent.styles.js +4 -2
  312. package/components/mui_extended/TabContent/slots/TabContentSlots.d.ts +2 -2
  313. package/components/mui_extended/TabContent/types.d.ts +2 -2
  314. package/components/mui_extended/Tabs/Tabs.styles.js +1 -2
  315. package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -1
  316. package/components/mui_extended/TextField/TextField.styles.js +22 -22
  317. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
  318. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +9 -9
  319. package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  320. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  321. package/components/mui_extended/Tooltip/Tooltip.styles.js +1 -1
  322. package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +3 -3
  323. package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
  324. package/components/mui_extended/Typography/typography.styles.js +7 -7
  325. package/components/mui_extended/index.d.ts +2 -0
  326. package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +2 -2
  327. package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +9 -7
  328. package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +0 -2
  329. package/hooks/useComponentSize/useComponentSize.d.ts +3 -3
  330. package/hooks/useComponentSize/useComponentSize.js +2 -5
  331. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -6
  332. package/hooks/useDynamicFilterAndSort/styles.js +7 -8
  333. package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
  334. package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +15 -8
  335. package/index.js +24 -24
  336. package/package.json +3 -3
  337. package/storybook/components/Chip/Chip.stories.d.ts +0 -4
  338. package/storybook/components/DataGrid/DataGrid.stories.d.ts +0 -16
  339. package/storybook/components/Icon/Icon.stories.d.ts +0 -4
  340. package/storybook/components/ObjectLogs/ObjectLogs.stories.d.ts +2 -2
  341. package/storybook/components/WindowBase/windowBase.stories.d.ts +7 -60
  342. package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +20 -72
  343. package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
  344. package/storybook/components/extended/scrollBar/ScrollBar.stories.d.ts +7 -0
  345. package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +11 -0
  346. package/.storybook/utils/flattenDeep.d.ts +0 -8
  347. package/components/DataGrid/Datagrid.styles.js +0 -598
  348. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +0 -5
  349. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +0 -30
  350. package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +0 -2
  351. package/components/DataGrid/subcomponents/ControlNavigate/types.d.ts +0 -7
  352. package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +0 -5
  353. package/components/DataGrid/subcomponents/HeaderActions/index.js +0 -39
  354. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/MobileMenuActions/index.d.ts +0 -4
  355. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/index.d.ts +0 -4
  356. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +0 -7
  357. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/types.d.ts +0 -2
  358. package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +0 -4
  359. package/components/Pager/index.d.ts +0 -2
  360. package/components/ScrollBar/index.d.ts +0 -2
  361. package/components/ScrollBar/index.js +0 -1
  362. package/components/ScrollBar/slots/ScrollbarEnum.d.ts +0 -3
  363. package/components/ScrollBar/slots/ScrollbarEnum.js +0 -7
  364. package/storybook/tootls/WrapperLineGuide/WrapperLineGuide.d.ts +0 -9
  365. package/storybook/tootls/WrapperLineGuide/styles.d.ts +0 -1
  366. package/storybook/tootls/WrapperLineGuide/types.d.ts +0 -5
  367. /package/components/DataGrid/{Datagrid.styles.d.ts → styles.d.ts} +0 -0
  368. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/index.d.ts +0 -0
  369. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/types.d.ts +0 -0
  370. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Filter/index.d.ts +0 -0
  371. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/RowsCount/index.d.ts +0 -0
  372. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -0
  373. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/hooks/useModalSettings/types.d.ts +0 -0
  374. /package/components/{Pager → ScrollBar/slots}/index.js +0 -0
@@ -14,64 +14,64 @@ const buttonStyles = {
14
14
  maxWidth: "200px",
15
15
  minWidth: "0",
16
16
  "&:hover": {
17
- backgroundColor: ownerState?.paletteColor?.hoverOpacity,
18
- borderColor: ownerState?.paletteColor?.hover
17
+ backgroundColor: ownerState.paletteColor?.hoverOpacity,
18
+ borderColor: ownerState.paletteColor?.hover
19
19
  },
20
20
  "&:active": {
21
21
  boxShadow: "none",
22
- borderColor: ownerState?.paletteColor?.active,
23
- backgroundColor: ownerState?.paletteColor?.activeOpacity
22
+ borderColor: ownerState.paletteColor?.active,
23
+ backgroundColor: ownerState.paletteColor?.activeOpacity
24
24
  },
25
25
  "&:focus-visible": {
26
26
  boxShadow: "none",
27
27
  outline: theme.vars.size.borderStroke.container,
28
28
  outlineColor: theme.vars.palette.border.main,
29
29
  outlineOffset: theme.vars.size.baseSpacings["sp0-5"],
30
- backgroundColor: ownerState?.paletteColor?.activeOpacity
30
+ backgroundColor: ownerState.paletteColor?.activeOpacity
31
31
  },
32
32
  "&:disabled": {
33
33
  backgroundColor: "none",
34
34
  "&&& .M4LIcon-icon": {
35
35
  backgroundColor: theme.vars.palette.text.disabled
36
36
  },
37
- ...ownerState?.variant === "contained" && {
38
- backgroundColor: ownerState?.paletteColor?.enabled
37
+ ...ownerState.variant === "contained" && {
38
+ backgroundColor: ownerState.paletteColor?.enabled
39
39
  }
40
40
  },
41
- ...ownerState?.variant === "contained" && {
42
- backgroundColor: ownerState?.paletteColor?.enabled,
41
+ ...ownerState.variant === "contained" && {
42
+ backgroundColor: ownerState.paletteColor?.enabled,
43
43
  "&:hover": {
44
- backgroundColor: ownerState?.paletteColor?.hover
44
+ backgroundColor: ownerState.paletteColor?.hover
45
45
  },
46
46
  "&:active": {
47
47
  boxShadow: "none",
48
- backgroundColor: ownerState?.paletteColor?.active
48
+ backgroundColor: ownerState.paletteColor?.active
49
49
  }
50
50
  },
51
- ...ownerState?.variant === "outlined" && {
52
- borderColor: ownerState?.paletteColor?.enabled,
51
+ ...ownerState.variant === "outlined" && {
52
+ borderColor: ownerState.paletteColor?.enabled,
53
53
  "&&& .M4LIcon-icon": {
54
- backgroundColor: ownerState?.paletteColor?.semanticText
54
+ backgroundColor: ownerState.paletteColor?.semanticText
55
55
  }
56
56
  },
57
- ...ownerState?.variant === "text" && {
58
- color: ownerState?.paletteColor?.semanticText,
59
- borderColor: ownerState?.paletteColor?.enabled,
57
+ ...ownerState.variant === "text" && {
58
+ color: ownerState.paletteColor?.semanticText,
59
+ borderColor: ownerState.paletteColor?.enabled,
60
60
  "&&& .M4LIcon-icon": {
61
- backgroundColor: ownerState?.paletteColor?.semanticText
61
+ backgroundColor: ownerState.paletteColor?.semanticText
62
62
  }
63
63
  },
64
64
  "& span": {
65
65
  margin: "0px"
66
66
  },
67
67
  height: "auto !important",
68
- minHeight: theme.generalSettings?.isMobile ? theme.vars.size.mobile[ownerState?.size || "medium"].action : theme.vars.size.desktop[ownerState?.size || "medium"].action
68
+ minHeight: theme.generalSettings?.isMobile ? theme.vars.size.mobile[ownerState.size || "medium"].action : theme.vars.size.desktop[ownerState.size || "medium"].action
69
69
  }),
70
70
  /**
71
71
  * Styles for the text of the button component.
72
72
  */
73
73
  textButton: ({ theme, ownerState }) => ({
74
- cursor: ownerState?.disabled ? "not-allowed" : "pointer",
74
+ cursor: ownerState.disabled ? "not-allowed" : "pointer",
75
75
  ...theme.typography.bodyDens,
76
76
  display: "block",
77
77
  width: "100%",
@@ -89,10 +89,10 @@ const buttonStyles = {
89
89
  ...ownerState.variant === "contained" && {
90
90
  color: ownerState.paletteColor?.contrastText
91
91
  },
92
- ...(ownerState?.variant === "outlined" || ownerState?.variant === "text") && {
93
- color: ownerState?.paletteColor?.semanticText
92
+ ...(ownerState.variant === "outlined" || ownerState.variant === "text") && {
93
+ color: ownerState.paletteColor?.semanticText
94
94
  },
95
- ...ownerState?.disabled && {
95
+ ...ownerState.disabled && {
96
96
  color: theme.vars.palette.text.disabled
97
97
  }
98
98
  }),
@@ -102,10 +102,10 @@ const buttonStyles = {
102
102
  skeletonButton: ({ theme, ownerState }) => ({
103
103
  "&&&": {
104
104
  width: "100%",
105
- background: theme.vars.palette.skeleton.default,
105
+ background: theme.vars.palette.skeleton.transition,
106
106
  ...getSizeStyles(
107
107
  theme,
108
- ownerState?.size || "medium",
108
+ ownerState.size || "medium",
109
109
  "action",
110
110
  (sizeValue) => ({
111
111
  height: sizeValue,
@@ -1,6 +1,6 @@
1
1
  declare const ButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
2
2
  ref?: ((instance: HTMLButtonElement | 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<HTMLButtonElement> | null | undefined;
3
- }, "size" | "children" | "disabled" | "action" | "color" | "style" | "variant" | "className" | "classes" | "sx" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "startIcon" | "endIcon" | "disableElevation" | "fullWidth">, "value" | "size" | "children" | "ref" | "title" | "name" | "id" | "type" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "className" | "classes" | "sx" | "form" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "startIcon" | "endIcon" | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').ButtonOwnerState> & Record<string, unknown> & {
3
+ }, "size" | "children" | "disabled" | "action" | "color" | "style" | "variant" | "className" | "classes" | "sx" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "startIcon" | "endIcon" | "disableElevation" | "fullWidth">, "value" | "size" | "children" | "ref" | "title" | "name" | "id" | "type" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "className" | "classes" | "sx" | "form" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "startIcon" | "endIcon" | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').ButtonOwnerState> & Record<string, unknown> & {
4
4
  ownerState: Partial<import('..').ButtonOwnerState> & Record<string, unknown>;
5
5
  }, {}, {}>;
6
6
  declare const SkeletonButtonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Skeleton/types').SkeletonProps, keyof import('../../Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').ButtonOwnerState> & Record<string, unknown> & {
@@ -68,8 +68,8 @@ const CheckBox = forwardRef((props, ref) => {
68
68
  }
69
69
  )
70
70
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
71
- /* @__PURE__ */ jsx(SkeletonStyled, { variant: "rounded", className: "checkSkeleton" }),
72
- inlineText ? /* @__PURE__ */ jsx(SkeletonStyled, { variant: "rectangular", className: "checkSkeletonInlineText" }) : null
71
+ /* @__PURE__ */ jsx(SkeletonStyled, { ownerState: {}, variant: "rounded", className: "checkSkeleton" }),
72
+ inlineText ? /* @__PURE__ */ jsx(SkeletonStyled, { ownerState: {}, variant: "rectangular", className: "checkSkeletonInlineText" }) : null
73
73
  ] }) });
74
74
  });
75
75
  export {
@@ -23,10 +23,10 @@ const checkBoxStyles = {
23
23
  * @returns {object} - Los estilos aplicados al MuiCheckBox.
24
24
  */
25
25
  muiCheckBox: ({ theme, ownerState }) => {
26
- const color = ownerState?.error ? "error" : "primary";
27
- const opacityColor = ownerState?.error ? "error" : "default";
26
+ const color = ownerState.error ? "error" : "primary";
27
+ const opacityColor = ownerState.error ? "error" : "default";
28
28
  const device = theme.generalSettings.isMobile ? "mobile" : "desktop";
29
- const size = ownerState?.size ?? "medium";
29
+ const size = ownerState.size ?? "medium";
30
30
  return {
31
31
  overflow: "visible",
32
32
  height: theme.vars.size[device][size].action,
@@ -56,10 +56,10 @@ const checkBoxStyles = {
56
56
  outline: `1px solid ${theme.vars.palette["primary"].focusVisible}`
57
57
  },
58
58
  // Historia Disabled para CheckBox 😶‍🌫️
59
- ...ownerState?.disabled && {
60
- pointerEvents: ownerState?.disabled ? "none" : "auto",
59
+ ...ownerState.disabled && {
60
+ pointerEvents: ownerState.disabled ? "none" : "auto",
61
61
  "&:hover": {
62
- pointerEvents: ownerState?.disabled ? "none" : "auto"
62
+ pointerEvents: ownerState.disabled ? "none" : "auto"
63
63
  }
64
64
  }
65
65
  };
@@ -72,15 +72,15 @@ const checkBoxStyles = {
72
72
  */
73
73
  skeletonStyled: ({ theme, ownerState }) => {
74
74
  const device = theme.generalSettings.isMobile ? "mobile" : "desktop";
75
- const size = ownerState?.size ?? "medium";
75
+ const size = ownerState.size ?? "medium";
76
76
  return {
77
77
  borderRadius: theme.vars.size.borderRadius.r1,
78
- backgroundColor: theme.vars.palette?.skeleton.default,
78
+ backgroundColor: theme.vars.palette?.skeleton.transition,
79
79
  "&.checkSkeleton": {
80
80
  width: theme.vars.size[device][size].action,
81
81
  ...getHeightSizeStyles(
82
82
  theme.generalSettings.isMobile,
83
- ownerState?.size || "medium",
83
+ ownerState.size || "medium",
84
84
  "action",
85
85
  (val) => {
86
86
  return {
@@ -90,7 +90,7 @@ const checkBoxStyles = {
90
90
  ),
91
91
  ...getHeightSizeStyles(
92
92
  theme.generalSettings.isMobile,
93
- ownerState?.size || "small",
93
+ ownerState.size || "small",
94
94
  "action",
95
95
  (val) => {
96
96
  return {
@@ -104,12 +104,12 @@ const checkBoxStyles = {
104
104
  borderRadius: theme.vars.size.borderRadius.r1,
105
105
  ...getHeightSizeStyles(
106
106
  theme.generalSettings.isMobile,
107
- ownerState?.size || "medium",
107
+ ownerState.size || "medium",
108
108
  "base"
109
109
  ),
110
110
  ...getHeightSizeStyles(
111
111
  theme.generalSettings.isMobile,
112
- ownerState?.size || "small",
112
+ ownerState.size || "small",
113
113
  "base"
114
114
  )
115
115
  }
@@ -1,20 +1,20 @@
1
- export declare const CheckBoxRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
- ownerState?: (Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>) | undefined;
1
+ export declare const CheckBoxRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown> & {
2
+ ownerState: Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>;
3
3
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
- export declare const MUICheckboxStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').CheckboxProps, keyof import('@mui/material').CheckboxProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
5
- ownerState?: (Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>) | undefined;
4
+ export declare const MUICheckboxStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').CheckboxProps, keyof import('@mui/material').CheckboxProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown> & {
5
+ ownerState: Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>;
6
6
  }, {}, {}>;
7
- 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').Theme> & Record<string, unknown> & {
8
- ownerState?: (Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>) | undefined;
7
+ 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').Theme> & Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown> & {
8
+ ownerState: Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>;
9
9
  }, {}, {}>;
10
10
  export declare const SkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').SkeletonOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
11
11
  ref?: ((instance: HTMLSpanElement | 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<HTMLSpanElement> | null | undefined;
12
- }, "children" | "style" | "variant" | "width" | "height" | "animation" | "className" | "classes" | "sx">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "variant" | "width" | "height" | "translate" | "animation" | "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"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
13
- ownerState?: (Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>) | undefined;
12
+ }, "children" | "style" | "variant" | "width" | "height" | "animation" | "className" | "classes" | "sx">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "variant" | "width" | "height" | "translate" | "animation" | "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"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown> & {
13
+ ownerState: Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>;
14
14
  }, {}, {}>;
15
- export declare const IconCheckedStyled: 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('../types').CheckBoxOwnerState> & Record<string, unknown>) | undefined;
15
+ export declare const IconCheckedStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown> & {
16
+ ownerState: Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>;
17
17
  }, {}, {}>;
18
- export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
19
- ownerState?: (Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>) | undefined;
18
+ export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown> & {
19
+ ownerState: Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>;
20
20
  }, {}, {}>;
@@ -2,8 +2,8 @@ import { CheckboxProps as MUICheckboxProps, Theme } from '@mui/material';
2
2
  import { LabelProps } from '../../Label/types';
3
3
  import { ComponentPalletColor, Sizes } from '@m4l/styles';
4
4
  import { CheckBoxSlots } from './slots';
5
+ import { OverridesStyleRules } from '@mui/material/styles/overrides';
5
6
  import { CHECK_BOX_KEY_COMPONENT } from './constants';
6
- import { M4LOverridesStyleRules } from '../../../@types/augmentations';
7
7
  /**
8
8
  * Propiedades del estado del propietario del CheckBox.
9
9
  * size - El tamaño del CheckBox.
@@ -62,4 +62,4 @@ export type CheckBoxSlotsType = keyof typeof CheckBoxSlots;
62
62
  /**
63
63
  * Estilos del CheckBox.
64
64
  */
65
- export type CheckBoxStyles = M4LOverridesStyleRules<CheckBoxSlotsType, typeof CHECK_BOX_KEY_COMPONENT, Theme>;
65
+ export type CheckBoxStyles = OverridesStyleRules<CheckBoxSlotsType, typeof CHECK_BOX_KEY_COMPONENT, Theme>;
@@ -4,9 +4,9 @@ const circularProgressStyles = {
4
4
  */
5
5
  root: ({ theme, ownerState }) => ({
6
6
  //overrides
7
- color: theme.vars.palette[ownerState?.color || "primary"].enabled,
7
+ color: theme.vars.palette[ownerState.color || "primary"].enabled,
8
8
  //Sizes
9
- ...ownerState?.size === "small" && {
9
+ ...ownerState.size === "small" && {
10
10
  ...theme.generalSettings.isMobile ? {
11
11
  height: `${theme.vars.size.mobile.small.base} !important`,
12
12
  width: `${theme.vars.size.mobile.small.base} !important`
@@ -15,7 +15,7 @@ const circularProgressStyles = {
15
15
  width: `${theme.vars.size.desktop.small.base} !important`
16
16
  }
17
17
  },
18
- ...ownerState?.size === "medium" && {
18
+ ...ownerState.size === "medium" && {
19
19
  ...theme.generalSettings.isMobile ? {
20
20
  height: `${theme.vars.size.mobile.medium.base} !important`,
21
21
  width: `${theme.vars.size.mobile.medium.base} !important`
@@ -31,7 +31,7 @@ const circularProgressStyles = {
31
31
  skeleton: ({ theme, ownerState }) => ({
32
32
  "&.M4lclassCssSpecificity": {
33
33
  //Sizes
34
- ...ownerState?.size === "small" && {
34
+ ...ownerState.size === "small" && {
35
35
  ...theme.generalSettings.isMobile ? {
36
36
  height: theme.vars.size.mobile.small.base,
37
37
  width: theme.vars.size.mobile.small.base
@@ -40,7 +40,7 @@ const circularProgressStyles = {
40
40
  width: theme.vars.size.desktop.small.base
41
41
  }
42
42
  },
43
- ...ownerState?.size === "medium" && {
43
+ ...ownerState.size === "medium" && {
44
44
  ...theme.generalSettings.isMobile ? {
45
45
  height: theme.vars.size.mobile.medium.base,
46
46
  width: theme.vars.size.mobile.medium.base