@m4l/components 9.1.8 → 9.1.10

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 (456) hide show
  1. package/@types/types.d.ts +274 -136
  2. package/components/AccountPopover/classes/index.d.ts +1 -1
  3. package/components/AccountPopover/subcomponents/PopOver/index.d.ts +1 -0
  4. package/components/AccountPopover/subcomponents/PopOver/index.js +2 -2
  5. package/components/AppBar/AppBar.d.ts +15 -20
  6. package/components/AppBar/AppBar.js +29 -31
  7. package/components/AppBar/constants.d.ts +2 -0
  8. package/components/AppBar/constants.js +6 -0
  9. package/components/AppBar/slots/AppBarEnum.d.ts +8 -0
  10. package/components/AppBar/slots/AppBarEnum.js +12 -0
  11. package/components/AppBar/slots/AppBarSlots.d.ts +18 -0
  12. package/components/AppBar/slots/AppBarSlots.js +39 -0
  13. package/components/AppBar/styles.d.ts +2 -1
  14. package/components/AppBar/styles.js +97 -5
  15. package/components/AppBar/tests/utils.d.ts +1 -2
  16. package/components/AppBar/tests/utils.js +2 -3
  17. package/components/AppBar/types.d.ts +20 -12
  18. package/components/CommonActions/classes/index.d.ts +1 -1
  19. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  20. package/components/CommonActions/components/ActionCancel/types.d.ts +2 -2
  21. package/components/CommonActions/components/ActionFormCancel/index.js +1 -1
  22. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  23. package/components/CommonActions/components/ActionIntro/types.d.ts +2 -2
  24. package/components/CommonActions/components/ActionsContainer/ActionsContainerStyles.js +1 -0
  25. package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
  26. package/components/ControlIncrement/slots/ControltrolIncrementSlots.d.ts +2 -2
  27. package/components/DataGrid/dictionary.d.ts +4 -0
  28. package/components/DataGrid/dictionary.js +1 -1
  29. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +2 -2
  30. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.js +3 -3
  31. package/components/DragResizeWindow/hooks/useDimensionEffects.d.ts +1 -1
  32. package/components/DragResizeWindow/hooks/useDimensionEffects.js +7 -2
  33. package/components/DragResizeWindow/hooks/useDragOptions.d.ts +2 -2
  34. package/components/DragResizeWindow/hooks/useDragOptions.js +14 -8
  35. package/components/DragResizeWindow/hooks/useResizeOptions.d.ts +1 -1
  36. package/components/DragResizeWindow/hooks/useResizeOptions.js +37 -26
  37. package/components/DragResizeWindow/slots/DragResizeWindowSlots.d.ts +2 -2
  38. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +12 -12
  39. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +12 -12
  40. package/components/GridLayout/classes/index.d.ts +1 -1
  41. package/components/Icon/Icon.d.ts +2 -2
  42. package/components/Icon/Icon.js +12 -4
  43. package/components/Icon/slots/IconSlots.d.ts +2 -2
  44. package/components/InputNumberSpinner/slots/InputNumberSpinnerSlots.d.ts +1 -1
  45. package/components/Label/slots/LabelSlots.d.ts +1 -1
  46. package/components/LanguagePopover/LanguagePopover.d.ts +1 -0
  47. package/components/LanguagePopover/LanguagePopover.js +2 -2
  48. package/components/MFIsolationApp/MFIsolationApp.js +16 -15
  49. package/components/ModalDialog/ModalDialog.d.ts +57 -0
  50. package/components/ModalDialog/ModalDialog.js +94 -0
  51. package/components/ModalDialog/ModalDialog.styles.d.ts +2 -0
  52. package/components/ModalDialog/ModalDialog.styles.js +44 -0
  53. package/components/ModalDialog/constants.d.ts +1 -0
  54. package/components/ModalDialog/constants.js +4 -0
  55. package/components/{modal/ModalDialog → ModalDialog}/dictionary.js +1 -1
  56. package/components/ModalDialog/index.d.ts +8 -0
  57. package/components/ModalDialog/index.js +1 -0
  58. package/components/ModalDialog/slots/ModalDialogEnum.d.ts +7 -0
  59. package/components/ModalDialog/slots/ModalDialogEnum.js +11 -0
  60. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +9 -0
  61. package/components/ModalDialog/slots/ModalDialogSlots.js +34 -0
  62. package/components/ModalDialog/slots/index.d.ts +2 -0
  63. package/components/ModalDialog/slots/index.js +1 -0
  64. package/components/ModalDialog/subcomponents/ResizeHandle/index.js +4 -0
  65. package/components/ModalDialog/types.d.ts +16 -0
  66. package/components/ModalDialog/types.js +1 -0
  67. package/components/NavLink/NavLink.d.ts +2 -2
  68. package/components/NavLink/NavLink.js +4 -4
  69. package/components/ObjectLogs/components/DetailFormatter/index.js +1 -1
  70. package/components/PaperForm/PaperForm.d.ts +9 -1
  71. package/components/PaperForm/PaperForm.js +10 -10
  72. package/components/PaperForm/components/Header.d.ts +8 -1
  73. package/components/PaperForm/components/Header.js +20 -12
  74. package/components/PaperForm/constants.d.ts +1 -0
  75. package/components/PaperForm/constants.js +4 -0
  76. package/components/PaperForm/slots/PaperFormEnum.d.ts +7 -0
  77. package/components/PaperForm/slots/PaperFormEnum.js +11 -0
  78. package/components/PaperForm/slots/PaperFormSlots.d.ts +15 -0
  79. package/components/PaperForm/slots/PaperFormSlots.js +33 -0
  80. package/components/PaperForm/styles.d.ts +2 -6
  81. package/components/PaperForm/styles.js +97 -49
  82. package/components/PaperForm/types.d.ts +28 -4
  83. package/components/SideBar/SideBar.d.ts +25 -23
  84. package/components/SideBar/SideBar.js +36 -64
  85. package/components/SideBar/constants.d.ts +6 -2
  86. package/components/SideBar/constants.js +10 -4
  87. package/components/SideBar/context/sideBarContext/index.d.ts +5 -0
  88. package/components/SideBar/context/sideBarContext/index.js +18 -30
  89. package/components/SideBar/context/sideBarContext/types.d.ts +9 -5
  90. package/components/SideBar/dictionary.d.ts +1 -0
  91. package/components/SideBar/helpers/getDataToSkeleton/index.d.ts +15 -0
  92. package/components/SideBar/helpers/getDataToSkeleton/index.js +14 -0
  93. package/components/SideBar/helpers/getMenuDataWithState/index.d.ts +13 -0
  94. package/components/SideBar/helpers/getMenuDataWithState/index.js +27 -0
  95. package/components/SideBar/helpers/getMenuDataWithState/types.d.ts +6 -0
  96. package/components/SideBar/slots/SideBarEnum.d.ts +29 -0
  97. package/components/SideBar/slots/SideBarEnum.js +45 -0
  98. package/components/SideBar/slots/SideBarSlots.d.ts +45 -0
  99. package/components/SideBar/slots/SideBarSlots.js +80 -0
  100. package/components/SideBar/styles.d.ts +2 -15
  101. package/components/SideBar/styles.js +17 -19
  102. package/components/SideBar/subcomponents/ContentComponent/index.d.ts +10 -0
  103. package/components/SideBar/subcomponents/ContentComponent/index.js +27 -0
  104. package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -0
  105. package/components/SideBar/subcomponents/ContentComponent/style.js +18 -0
  106. package/components/SideBar/subcomponents/ContentGroups/index.d.ts +4 -0
  107. package/components/SideBar/subcomponents/ContentGroups/index.js +33 -41
  108. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -3
  109. package/components/SideBar/subcomponents/ContentGroups/styles.js +70 -26
  110. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.d.ts +12 -0
  111. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js +60 -0
  112. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -0
  113. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +44 -0
  114. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.d.ts +9 -0
  115. package/components/SideBar/subcomponents/ContentGroups/subcomponents/{ItemListRoot → ContainerMenuItemsMain}/subcomponents/ArrowIcon/index.js +8 -8
  116. package/components/SideBar/subcomponents/ContentGroups/subcomponents/{ItemListRoot → ContainerMenuItemsMain}/subcomponents/ArrowIcon/types.d.ts +1 -0
  117. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/types.d.ts +5 -0
  118. package/components/SideBar/subcomponents/FooterSidebar/index.d.ts +13 -0
  119. package/components/SideBar/subcomponents/FooterSidebar/index.js +33 -0
  120. package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -0
  121. package/components/SideBar/subcomponents/FooterSidebar/styles.js +20 -0
  122. package/components/SideBar/subcomponents/FooterSidebar/types.d.ts +5 -0
  123. package/components/SideBar/subcomponents/HeaderSidebar/index.d.ts +10 -0
  124. package/components/SideBar/subcomponents/HeaderSidebar/index.js +25 -0
  125. package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -0
  126. package/components/SideBar/subcomponents/HeaderSidebar/styles.js +32 -0
  127. package/components/SideBar/subcomponents/HeaderSidebar/types.d.ts +5 -0
  128. package/components/SideBar/subcomponents/SideBarDesktop/index.d.ts +8 -0
  129. package/components/SideBar/subcomponents/SideBarDesktop/index.js +80 -0
  130. package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -0
  131. package/components/SideBar/subcomponents/SideBarDesktop/styles.js +73 -0
  132. package/components/SideBar/subcomponents/SideBarMobile/index.d.ts +8 -0
  133. package/components/SideBar/subcomponents/SideBarMobile/index.js +36 -0
  134. package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -0
  135. package/components/SideBar/subcomponents/SideBarMobile/styles.js +15 -0
  136. package/components/SideBar/subcomponents/SideBarMobile/subcomponents/Drawer.d.ts +9 -0
  137. package/components/SideBar/tests/SideBar.integration.test.d.ts +0 -0
  138. package/components/SideBar/tests/SideBar.test.d.ts +0 -0
  139. package/components/SideBar/tests/utils.d.ts +34 -2
  140. package/components/SideBar/types.d.ts +34 -37
  141. package/components/ToastContainer/slots/toastContainerSlots.d.ts +4 -4
  142. package/components/WindowBase/WindowBase.d.ts +11 -0
  143. package/components/WindowBase/WindowBase.js +63 -0
  144. package/components/WindowBase/WindowBase.styles.d.ts +9 -0
  145. package/components/WindowBase/WindowBase.styles.js +204 -0
  146. package/components/WindowBase/constants.d.ts +1 -0
  147. package/components/WindowBase/constants.js +4 -0
  148. package/components/WindowBase/icons.d.ts +6 -0
  149. package/components/WindowBase/icons.js +9 -0
  150. package/components/WindowBase/index.d.ts +9 -0
  151. package/components/WindowBase/index.js +1 -0
  152. package/components/WindowBase/slots/WindowBaseEnum.d.ts +16 -0
  153. package/components/WindowBase/slots/WindowBaseEnum.js +20 -0
  154. package/components/WindowBase/slots/WindowBaseSlots.d.ts +95 -0
  155. package/components/WindowBase/slots/WindowBaseSlots.js +81 -0
  156. package/components/WindowBase/slots/index.d.ts +2 -0
  157. package/components/WindowBase/slots/index.js +1 -0
  158. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts +46 -0
  159. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +78 -0
  160. package/components/WindowBase/subcomponents/Header/index.d.ts +2 -0
  161. package/components/WindowBase/subcomponents/Header/index.js +1 -0
  162. package/components/WindowBase/subcomponents/Header/types.d.ts +90 -0
  163. package/components/WindowBase/subcomponents/Header/types.js +1 -0
  164. package/components/WindowBase/types.d.ts +136 -0
  165. package/components/WindowBase/types.js +1 -0
  166. package/components/WindowConfirm/WindowConfirm.d.ts +28 -0
  167. package/components/WindowConfirm/WindowConfirm.js +117 -0
  168. package/components/WindowConfirm/WindowConfirm.styles.d.ts +2 -0
  169. package/components/WindowConfirm/WindowConfirm.styles.js +202 -0
  170. package/components/WindowConfirm/constants.d.ts +1 -0
  171. package/components/WindowConfirm/constants.js +4 -0
  172. package/components/WindowConfirm/index.d.ts +9 -0
  173. package/components/WindowConfirm/slots/WindowConfirmEnum.d.ts +15 -0
  174. package/components/WindowConfirm/slots/WindowConfirmEnum.js +19 -0
  175. package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +39 -0
  176. package/components/WindowConfirm/slots/WindowConfirmSlots.js +77 -0
  177. package/components/WindowConfirm/slots/index.d.ts +2 -0
  178. package/components/WindowConfirm/slots/index.js +1 -0
  179. package/components/WindowConfirm/subcomponents/MessageIllustration/MessageIllustration.d.ts +10 -0
  180. package/components/WindowConfirm/subcomponents/MessageIllustration/MessageIllustration.js +47 -0
  181. package/components/WindowConfirm/subcomponents/MessageIllustration/index.d.ts +2 -0
  182. package/components/WindowConfirm/subcomponents/MessageIllustration/index.js +1 -0
  183. package/components/WindowConfirm/subcomponents/MessageIllustration/types.d.ts +2 -0
  184. package/components/WindowConfirm/subcomponents/MessageIllustration/types.js +1 -0
  185. package/components/WindowConfirm/types.d.ts +46 -0
  186. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  187. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/MainActions/index.d.ts +4 -0
  188. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/MainActions/index.js +1 -1
  189. package/components/commercial/HamburgerMenu/HamburgerMenu.d.ts +6 -0
  190. package/components/commercial/HamburgerMenu/HamburgerMenu.js +3 -7
  191. package/components/gclick/MyDevice/slots/MyDeviceSlots.d.ts +2 -2
  192. package/components/gclick/MyDeviceStatus/slots/MyDeviceStatusSlots.d.ts +2 -2
  193. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +4 -0
  194. package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeImage/index.js +5 -2
  195. package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.js +6 -3
  196. package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
  197. package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnerSlots.d.ts +1 -1
  198. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +4 -4
  199. package/components/index.d.ts +1 -0
  200. package/components/maps/components/Map/popups/MapPopupMyGps/slots/ MapPopupMyGpsSlots.d.ts +3 -3
  201. package/components/maps/components/Map/slots/MapSlots.d.ts +3 -3
  202. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.js +1 -1
  203. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +4 -0
  204. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.js +2 -2
  205. package/components/modal/classes/index.d.ts +9 -5
  206. package/components/modal/classes/index.js +4 -4
  207. package/components/modal/classes/types.d.ts +1 -0
  208. package/components/modal/index.d.ts +5 -5
  209. package/components/mui_extended/Accordion/Accordion.d.ts +4 -4
  210. package/components/mui_extended/Accordion/Accordion.js +48 -71
  211. package/components/mui_extended/Accordion/constants.d.ts +2 -1
  212. package/components/mui_extended/Accordion/constants.js +4 -2
  213. package/components/mui_extended/Accordion/slots/AccordionEnum.d.ts +8 -0
  214. package/components/mui_extended/Accordion/slots/AccordionEnum.js +12 -0
  215. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +23 -0
  216. package/components/mui_extended/Accordion/slots/AccordionSlots.js +39 -0
  217. package/components/mui_extended/Accordion/styles.d.ts +2 -3
  218. package/components/mui_extended/Accordion/styles.js +109 -23
  219. package/components/mui_extended/Accordion/tests/Accordion.test.d.ts +1 -0
  220. package/components/mui_extended/Accordion/types.d.ts +12 -7
  221. package/components/mui_extended/Autocomplete/Autocomplete.d.ts +2 -0
  222. package/components/mui_extended/Autocomplete/AutocompleteStyles.d.ts +2 -0
  223. package/components/mui_extended/Autocomplete/constants.d.ts +9 -0
  224. package/components/mui_extended/Autocomplete/dictionary.d.ts +3 -0
  225. package/components/mui_extended/Autocomplete/index.d.ts +1 -0
  226. package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +16 -0
  227. package/components/mui_extended/Autocomplete/slots /AutocompleteEnum.d.ts +14 -0
  228. package/components/mui_extended/Autocomplete/slots /AutocompleteSlots.d.ts +38 -0
  229. package/components/mui_extended/Autocomplete/slots /index.d.ts +2 -0
  230. package/components/mui_extended/Autocomplete/types.d.ts +67 -0
  231. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
  232. package/components/mui_extended/Button/ButtonStyles.js +1 -0
  233. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  234. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +2 -2
  235. package/components/mui_extended/Chip/Chip.d.ts +13 -0
  236. package/components/mui_extended/Chip/ChipStyles.d.ts +2 -0
  237. package/components/mui_extended/Chip/constants.d.ts +8 -0
  238. package/components/mui_extended/Chip/index copy.d.ts +2 -0
  239. package/components/mui_extended/Chip/index.d.ts +0 -0
  240. package/components/mui_extended/Chip/slots/ChipEnum.d.ts +7 -0
  241. package/components/mui_extended/Chip/slots/ChipSlots.d.ts +16 -0
  242. package/components/mui_extended/Chip/slots/index.d.ts +3 -0
  243. package/components/mui_extended/Chip/types.d.ts +49 -0
  244. package/components/mui_extended/CircularProgress/CircularProgress.d.ts +5 -0
  245. package/components/mui_extended/CircularProgress/CircularProgress.js +30 -0
  246. package/components/mui_extended/CircularProgress/CircularProgress.styles.d.ts +5 -0
  247. package/components/mui_extended/CircularProgress/CircularProgress.styles.js +57 -0
  248. package/components/mui_extended/CircularProgress/CircularProgress.test.d.ts +1 -0
  249. package/components/mui_extended/CircularProgress/constants.d.ts +13 -0
  250. package/components/mui_extended/CircularProgress/constants.js +6 -0
  251. package/components/mui_extended/CircularProgress/index.d.ts +1 -2
  252. package/components/mui_extended/CircularProgress/index.js +1 -8
  253. package/components/mui_extended/CircularProgress/slots/CircularProgressEnum.d.ts +4 -0
  254. package/components/mui_extended/CircularProgress/slots/CircularProgressEnum.js +8 -0
  255. package/components/mui_extended/CircularProgress/slots/CircularProgressSlots.d.ts +12 -0
  256. package/components/mui_extended/CircularProgress/slots/CircularProgressSlots.js +17 -0
  257. package/components/mui_extended/CircularProgress/types.d.ts +48 -0
  258. package/components/mui_extended/Dialog/Dialog.d.ts +54 -0
  259. package/components/mui_extended/Dialog/Dialog.js +38 -0
  260. package/components/mui_extended/Dialog/Dialog.styles.d.ts +2 -0
  261. package/components/mui_extended/Dialog/Dialog.styles.js +26 -0
  262. package/components/mui_extended/Dialog/constants.d.ts +1 -0
  263. package/components/mui_extended/Dialog/constants.js +4 -0
  264. package/components/mui_extended/Dialog/dictionary.d.ts +3 -0
  265. package/components/mui_extended/Dialog/dictionary.js +7 -0
  266. package/components/mui_extended/Dialog/index.d.ts +7 -0
  267. package/components/mui_extended/Dialog/index.js +1 -0
  268. package/components/mui_extended/Dialog/slots/DialogEnum.d.ts +5 -0
  269. package/components/mui_extended/Dialog/slots/DialogEnum.js +9 -0
  270. package/components/mui_extended/Dialog/slots/DialogSlots.d.ts +9 -0
  271. package/components/mui_extended/Dialog/slots/DialogSlots.js +20 -0
  272. package/components/mui_extended/Dialog/slots/index.d.ts +2 -0
  273. package/components/mui_extended/Dialog/slots/index.js +1 -0
  274. package/components/mui_extended/Dialog/tests/Dialog.test.d.ts +1 -0
  275. package/components/mui_extended/Dialog/types.d.ts +60 -0
  276. package/components/mui_extended/Dialog/types.js +1 -0
  277. package/components/mui_extended/IconButton/IconButton.js +79 -83
  278. package/components/mui_extended/IconButton/IconButton.styles.js +104 -189
  279. package/components/mui_extended/IconButton/slots/IconButtonEnum.d.ts +3 -1
  280. package/components/mui_extended/IconButton/slots/IconButtonEnum.js +2 -0
  281. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +8 -2
  282. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +14 -3
  283. package/components/mui_extended/IconButton/types.d.ts +25 -3
  284. package/components/mui_extended/MenuActions/MenuActions.js +7 -4
  285. package/components/mui_extended/MenuActions/MenuActions.styles.js +11 -2
  286. package/components/mui_extended/MenuActions/slots/MenuActionsEnum.d.ts +1 -0
  287. package/components/mui_extended/MenuActions/slots/MenuActionsEnum.js +1 -0
  288. package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +16 -5
  289. package/components/mui_extended/MenuActions/slots/MenuActionsSlots.js +8 -2
  290. package/components/mui_extended/MenuActions/types.d.ts +38 -1
  291. package/components/mui_extended/MenuItem/MenuItem.d.ts +2 -2
  292. package/components/mui_extended/MenuItem/MenuItem.js +25 -17
  293. package/components/mui_extended/MenuItem/MenuItem.styles.js +18 -29
  294. package/components/mui_extended/MenuItem/slots/MenuItemEnum.d.ts +3 -3
  295. package/components/mui_extended/MenuItem/slots/MenuItemEnum.js +3 -3
  296. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +5 -5
  297. package/components/mui_extended/MenuItem/slots/MenuItemSlots.js +12 -12
  298. package/components/mui_extended/MenuItem/types.d.ts +3 -2
  299. package/components/mui_extended/Select/slots/SelectSlots.d.ts +1 -1
  300. package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
  301. package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
  302. package/components/mui_extended/Tabs/styles.d.ts +1 -1
  303. package/components/mui_extended/TextField/TextField.d.ts +2 -2
  304. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
  305. package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +1 -1
  306. package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
  307. package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +6 -6
  308. package/contexts/ModalContext/index.d.ts +1 -1
  309. package/contexts/ModalContext/index.js +4 -8
  310. package/contexts/ModalContext/types.d.ts +1 -1
  311. package/hooks/useFormAddEdit/index.d.ts +4 -0
  312. package/hooks/useFormAddEdit/index.js +2 -2
  313. package/index.js +114 -89
  314. package/package.json +1 -1
  315. package/storybook/components/ModalDialog/ModalDialog.stories.d.ts +7 -0
  316. package/storybook/components/ModalDialog/subcomponent/WithExtendedContainer.d.ts +37 -0
  317. package/storybook/components/SideBar/SideBar.stories.d.ts +24 -0
  318. package/storybook/components/SideBar/data/menuData.d.ts +2 -0
  319. package/storybook/components/SideBar/subcomponents/SibarDecorator.d.ts +3 -0
  320. package/storybook/components/WindowBase/windowBase.stories.d.ts +9 -0
  321. package/storybook/components/WindowConfirm/windowConfirm.stories.d.ts +8 -0
  322. package/storybook/components/appBar/AppBar.stories.d.ts +11 -0
  323. package/storybook/components/extended/mui/Autocomplete/AutoComple.stories.d.ts +17 -0
  324. package/storybook/components/extended/mui/Chip/Chip.stories.d.ts +29 -0
  325. package/storybook/components/extended/mui/CircularProgress/CircularProgress.default.stories.d.ts +14 -0
  326. package/storybook/components/extended/mui/CircularProgress/CircularProgress.sizes.stories.d.ts +18 -0
  327. package/storybook/components/extended/mui/Dialog/Dialog.stories.d.ts +7 -0
  328. package/storybook/components/extended/mui/Dialog/subcomponents/ContentExample.d.ts +12 -0
  329. package/storybook/components/extended/mui/Dialog/subcomponents/WithExtendedContainer.d.ts +38 -0
  330. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DefaultIconButton/IconButton.containedDefault.stories.d.ts +1 -1
  331. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DefaultIconButton/IconButton.textDefault.stories.d.ts +1 -1
  332. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DefaultIconButton/iconButton.outlinedDefault.stories.d.ts +1 -1
  333. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DisableIconButton/IconButton.containedDisable.stories.d.ts +1 -1
  334. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DisableIconButton/IconButton.textDisable.stories.d.ts +1 -1
  335. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/DisableIconButton/iconButton.outlinedDisable.stories.d.ts +1 -1
  336. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/IconButton.stories.d.ts +9 -1
  337. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/PrimaryIconButton/IconButton.containedPrimary.stories.d.ts +1 -1
  338. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/PrimaryIconButton/IconButton.textPrimary.stories.d.ts +1 -1
  339. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/PrimaryIconButton/iconButton.outlinedPrimary.stories.d.ts +1 -1
  340. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/ErrorIconButton/IconButton.containedError.stories.d.ts +1 -1
  341. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/ErrorIconButton/IconButton.textError.stories.d.ts +1 -1
  342. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/ErrorIconButton/iconButton.outlinedError.stories.d.ts +1 -1
  343. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/InfoIconButton/IconButton.containedInfo.stories.d.ts +1 -1
  344. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/InfoIconButton/IconButton.textInfo.stories.d.ts +1 -1
  345. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/InfoIconButton/iconButton.outlinedInfo.stories.d.ts +1 -1
  346. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/SuccesIconButton/IconButton.containedSuccess.stories.d.ts +1 -1
  347. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/SuccesIconButton/IconButton.textSucces.stories.d.ts +1 -1
  348. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/SuccesIconButton/iconButton.outlinedSucces.stories.d.ts +1 -1
  349. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/WarningIconButton/IconButton.containedWarning.stories.d.ts +1 -1
  350. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/WarningIconButton/IconButton.textWarning.stories.d.ts +1 -1
  351. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SemanticIconButton/WarningIconButton/iconButton.outlinedWarning.stories.d.ts +1 -1
  352. package/{components/mui_extended/IconButton/stories → storybook/components/extended/mui/IconButton}/SizesIconButton/IconButtonSizeMedium.stories.d.ts +1 -1
  353. package/{components/mui_extended/MenuActions/stories → storybook/components/extended/mui/MenuActions}/MenuActions.default.stories.d.ts +5 -1
  354. package/{components/mui_extended/MenuActions/stories → storybook/components/extended/mui/MenuActions}/MenuActions.othersProps.stories.d.ts +1 -1
  355. package/storybook/components/mui_extended/Accordion/Accordion.stories.d.ts +25 -0
  356. package/storybook/components/paperForm/PaperForm.stories.d.ts +18 -0
  357. package/utils/getComponentSlotRoot.d.ts +13 -0
  358. package/utils/getComponentSlotRoot.js +13 -0
  359. package/components/AppBar/classes/constants.d.ts +0 -1
  360. package/components/AppBar/classes/constants.js +0 -4
  361. package/components/AppBar/classes/index.d.ts +0 -27
  362. package/components/AppBar/classes/index.js +0 -33
  363. package/components/AppBar/classes/types.d.ts +0 -11
  364. package/components/AppBar/tests/constants.js +0 -4
  365. package/components/AppBar/tests/index.test.d.ts +0 -5
  366. package/components/CommonActions/tests/index.test.d.ts +0 -7
  367. package/components/PaperForm/classes/constants.d.ts +0 -1
  368. package/components/PaperForm/classes/constants.js +0 -4
  369. package/components/PaperForm/classes/index.d.ts +0 -15
  370. package/components/PaperForm/classes/index.js +0 -33
  371. package/components/PaperForm/classes/types.d.ts +0 -11
  372. package/components/SideBar/classes/constants.d.ts +0 -1
  373. package/components/SideBar/classes/constants.js +0 -4
  374. package/components/SideBar/classes/index.d.ts +0 -47
  375. package/components/SideBar/classes/index.js +0 -131
  376. package/components/SideBar/classes/types.d.ts +0 -42
  377. package/components/SideBar/subcomponents/ContentDesktop/index.d.ts +0 -4
  378. package/components/SideBar/subcomponents/ContentDesktop/index.js +0 -12
  379. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/index.d.ts +0 -13
  380. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/index.js +0 -29
  381. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.d.ts +0 -2
  382. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.js +0 -10
  383. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/types.d.ts +0 -5
  384. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/ContentComponent/index.d.ts +0 -4
  385. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/ContentComponent/index.js +0 -74
  386. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/index.d.ts +0 -8
  387. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/index.js +0 -95
  388. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.d.ts +0 -1
  389. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.js +0 -9
  390. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/index.d.ts +0 -5
  391. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.d.ts +0 -1
  392. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.js +0 -9
  393. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/index.d.ts +0 -5
  394. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/index.js +0 -44
  395. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.d.ts +0 -8
  396. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.js +0 -29
  397. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/index.d.ts +0 -5
  398. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/index.js +0 -44
  399. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/type.d.ts +0 -8
  400. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/type.d.ts +0 -17
  401. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/index.d.ts +0 -5
  402. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/index.js +0 -78
  403. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.d.ts +0 -1
  404. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.js +0 -8
  405. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/index.d.ts +0 -5
  406. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/index.js +0 -20
  407. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/styles.d.ts +0 -7
  408. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/index.d.ts +0 -5
  409. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/index.js +0 -57
  410. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +0 -5
  411. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.js +0 -39
  412. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/types.d.ts +0 -8
  413. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/types.d.ts +0 -16
  414. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/type.d.ts +0 -11
  415. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/types.d.ts +0 -12
  416. package/components/SideBar/subcomponents/ContentGroups/type.d.ts +0 -5
  417. package/components/SideBar/subcomponents/ContentGroups/utils/index.d.ts +0 -2
  418. package/components/SideBar/subcomponents/ContentMobile/index.d.ts +0 -4
  419. package/components/SideBar/subcomponents/ContentMobile/index.js +0 -81
  420. package/components/SideBar/subcomponents/ContentMobile/styles.d.ts +0 -2
  421. package/components/SideBar/subcomponents/ContentMobile/styles.js +0 -18
  422. package/components/SideBar/subcomponents/ContentMobile/subcomponents/Drawer.d.ts +0 -5
  423. package/components/modal/ModalDialog/index.d.ts +0 -8
  424. package/components/modal/ModalDialog/index.js +0 -60
  425. package/components/modal/ModalDialog/styles.d.ts +0 -6
  426. package/components/modal/ModalDialog/types.d.ts +0 -7
  427. package/components/modal/WindowBase/index.d.ts +0 -7
  428. package/components/modal/WindowBase/index.js +0 -20
  429. package/components/modal/WindowBase/styles.d.ts +0 -1
  430. package/components/modal/WindowBase/subcomponents/Header/index.d.ts +0 -5
  431. package/components/modal/WindowBase/subcomponents/Header/index.js +0 -29
  432. package/components/modal/WindowBase/subcomponents/Header/styles.d.ts +0 -1
  433. package/components/modal/WindowBase/subcomponents/Header/types.d.ts +0 -5
  434. package/components/modal/WindowBase/types.d.ts +0 -11
  435. package/components/modal/WindowConfirm/index.d.ts +0 -16
  436. package/components/modal/WindowConfirm/index.js +0 -43
  437. package/components/modal/WindowConfirm/styles.d.ts +0 -1
  438. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/index.d.ts +0 -5
  439. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/index.js +0 -35
  440. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/types.d.ts +0 -6
  441. package/components/modal/WindowConfirm/types.d.ts +0 -44
  442. package/components/mui_extended/Accordion/classes/constants.d.ts +0 -1
  443. package/components/mui_extended/Accordion/classes/constants.js +0 -4
  444. package/components/mui_extended/Accordion/classes/index.d.ts +0 -13
  445. package/components/mui_extended/Accordion/classes/index.js +0 -31
  446. package/components/mui_extended/Accordion/classes/types.d.ts +0 -10
  447. package/components/mui_extended/Accordion/tests/constants.d.ts +0 -1
  448. package/components/mui_extended/Accordion/tests/utils.d.ts +0 -2
  449. /package/components/{modal/ModalDialog → ModalDialog}/dictionary.d.ts +0 -0
  450. /package/components/{modal/ModalDialog → ModalDialog}/subcomponents/ResizeHandle/index.d.ts +0 -0
  451. /package/components/{hook-form/RHFTextFieldPassword/tests/index.test.d.ts → ModalDialog/tests/ModalDialog.test.d.ts} +0 -0
  452. /package/components/SideBar/subcomponents/{ContentMobile → SideBarMobile}/subcomponents/Drawer.js +0 -0
  453. /package/components/SideBar/subcomponents/{ContentMobile → SideBarMobile}/subcomponents/types.d.ts +0 -0
  454. /package/components/{modal/WindowConfirm → WindowConfirm}/dictionary.d.ts +0 -0
  455. /package/components/{modal/WindowConfirm → WindowConfirm}/dictionary.js +0 -0
  456. /package/components/{mui_extended/Accordion/tests/index.test.d.ts → WindowConfirm/test/WindowConfirm.test.d.ts} +0 -0
@@ -0,0 +1,67 @@
1
+ import { AutocompleteChangeReason, AutocompleteCloseReason, AutocompleteFreeSoloValueMapping, AutocompleteInputChangeReason, AutocompleteValue, AutocompleteProps as MUIAutocompleteProps, Theme, PaletteColor } from '@mui/material';
2
+ import { ComponentPalletColor, Sizes } from '@m4l/styles';
3
+ import { ChangeEvent } from 'react';
4
+ import { TextFieldProps } from '../TextField/types';
5
+ import { AUTOCOMPLETE_KEY_COMPONENT } from './constants';
6
+ import { OverridesStyleRules } from '@mui/material/styles/overrides';
7
+ import { AutocompleteSlots } from './slots ';
8
+ export type GetOptionString<T> = (option: T | null) => string;
9
+ export type AutocompleteVariants = 'outlined' | 'text';
10
+ export type AutocompleteType = 'text' | 'image';
11
+ /**
12
+ * Props for the unified Autocomplete component.
13
+ * Supports both single and multiple selection, and two types: `text` and `image`.
14
+ * @createdAt 2024-11-28 17:06:36 - automatic
15
+ */
16
+ export interface AutocompleteProps<T, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = true, FreeSolo extends boolean | undefined = false> extends Omit<MUIAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, 'variant' | 'color' | 'size' | 'onChange' | 'value' | 'classes' | 'defaultValue' | 'onBlur' | 'onFocus' | 'autoComplete'>, Omit<TextFieldProps, 'label' | 'variant' | 'defaultValue' | 'classes' | 'onBlur' | 'onFocus' | 'onKeyDown' | 'ref' | 'onChange'> {
17
+ onFocus?: (event: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
18
+ autoComplete?: string;
19
+ /**
20
+ * The value of the autocomplete, supports single or multiple selection.
21
+ * Extended to include `null` for controlled components.
22
+ * @createdAt 2024-11-28 17:06:36 - automatic
23
+ */
24
+ value: AutocompleteValue<T, Multiple, DisableClearable, FreeSolo> | null | undefined;
25
+ size?: Extract<Sizes, 'small' | 'medium'>;
26
+ variant?: AutocompleteVariants;
27
+ color?: Extract<ComponentPalletColor, 'primary'>;
28
+ dataTestid?: string;
29
+ options: Array<T>;
30
+ getOptionLabel: (option: T | AutocompleteFreeSoloValueMapping<FreeSolo>) => string;
31
+ isOptionEqualToValue: (option: T, value: T) => boolean;
32
+ skeletonWidth?: string | number;
33
+ skeletonHeight?: string | number;
34
+ loading?: boolean;
35
+ refresh?: () => void;
36
+ helperMessage?: string;
37
+ onOpen?: (event: React.SyntheticEvent) => void;
38
+ onClose?: (event: React.SyntheticEvent, reason: AutocompleteCloseReason) => void;
39
+ onChangeFilterParmsLocal?: (newValue: string, reason: AutocompleteInputChangeReason) => void;
40
+ multiple?: Multiple;
41
+ type?: AutocompleteType;
42
+ getOptionUrlImage?: (option: T) => string;
43
+ imageScale?: boolean;
44
+ imageRepeat?: boolean;
45
+ customError?: {
46
+ message: string;
47
+ };
48
+ onChange: (event: ChangeEvent<{}> | undefined, value: T | T[] | null, reason: AutocompleteChangeReason) => void;
49
+ }
50
+ /**
51
+ * Represents the owner state of the Autocomplete component for styling purposes.
52
+ */
53
+ export interface AutocompleteOwnerState extends Pick<AutocompleteProps<any>, 'size' | 'disabled' | 'variant' | 'color'> {
54
+ disabled?: boolean;
55
+ multiple: boolean;
56
+ imageScale?: boolean;
57
+ imageRepeat?: boolean;
58
+ paletteColor: PaletteColor;
59
+ }
60
+ /**
61
+ * Defines the types of Slots available for the Autocomplete.
62
+ */
63
+ export type AutocompleteSlotsType = keyof typeof AutocompleteSlots;
64
+ /**
65
+ * Styles applicable to the Autocomplete using themes and custom slots.
66
+ */
67
+ export type AutocompleteStyles = Partial<OverridesStyleRules<AutocompleteSlotsType, typeof AUTOCOMPLETE_KEY_COMPONENT, Theme>> | undefined;
@@ -1,5 +1,5 @@
1
1
  export declare const BadgeRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').BadgeOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
2
2
  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;
3
- }, "children" | "components" | "color" | "style" | "variant" | "sx" | "classes" | "className" | "componentsProps" | "slotProps" | "slots" | "badgeContent" | "anchorOrigin" | "invisible" | "max" | "overlap" | "showZero">, "children" | "ref" | "title" | "id" | "components" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "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" | "slotProps" | "slots" | "key" | "badgeContent" | "anchorOrigin" | "invisible" | "max" | "overlap" | "showZero"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').BadgeOwnerState> & Record<string, unknown> & {
3
+ }, "children" | "components" | "color" | "style" | "variant" | "className" | "classes" | "sx" | "slots" | "slotProps" | "componentsProps" | "invisible" | "max" | "anchorOrigin" | "badgeContent" | "overlap" | "showZero">, "children" | "ref" | "title" | "id" | "components" | "hidden" | "color" | "content" | "style" | "variant" | "className" | "classes" | "onChange" | "sx" | "translate" | "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" | "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" | "invisible" | "max" | "anchorOrigin" | "badgeContent" | "overlap" | "showZero"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').BadgeOwnerState> & Record<string, unknown> & {
4
4
  ownerState: Partial<import('../types').BadgeOwnerState> & Record<string, unknown>;
5
5
  }, {}, {}>;
@@ -140,6 +140,7 @@ const buttonStyles = {
140
140
  }
141
141
  }
142
142
  }),
143
+ buttonIcon: {},
143
144
  /**
144
145
  * Styles for the text of the button component.
145
146
  * @author SebastianM - automatic
@@ -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
- }, "children" | "size" | "action" | "color" | "style" | "disabled" | "variant" | "sx" | "classes" | "className" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "endIcon" | "disableElevation" | "fullWidth" | "startIcon">, "children" | "value" | "ref" | "title" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "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" | "form" | "key" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "endIcon" | "disableElevation" | "fullWidth" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').ButtonOwnerState> & Record<string, unknown> & {
3
+ }, "children" | "size" | "action" | "color" | "style" | "disabled" | "variant" | "className" | "classes" | "sx" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "fullWidth" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon">, "children" | "value" | "ref" | "title" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "className" | "classes" | "onChange" | "sx" | "translate" | "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" | "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" | "href" | "fullWidth" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & 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> & {
@@ -1,6 +1,6 @@
1
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
2
  ownerState: Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>;
3
- }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
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 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
5
  ownerState: Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>;
6
6
  }, {}, {}>;
@@ -9,6 +9,6 @@ export declare const LabelCheckBoxStyled: import('@emotion/styled').StyledCompon
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" | "sx" | "classes" | "className">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "variant" | "width" | "height" | "translate" | "animation" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "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" | "key"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown> & {
12
+ }, "children" | "style" | "variant" | "width" | "height" | "className" | "classes" | "sx" | "animation">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "variant" | "width" | "height" | "className" | "classes" | "onChange" | "sx" | "translate" | "animation" | "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" | "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
13
  ownerState: Partial<import('../types').CheckBoxOwnerState> & Record<string, unknown>;
14
14
  }, {}, {}>;
@@ -0,0 +1,13 @@
1
+ import { ChipProps } from './types';
2
+ /**
3
+ * The Button component renders a button with an optional icon and label.
4
+ * It supports different sizes, colors, and states such as disabled.
5
+ * If the module is in skeleton mode, it renders a skeleton button instead.
6
+ * @param props
7
+ * @returns
8
+ * @author SebastianM - automatic
9
+ * @createdAt 2024-12-02 13:49:12 - automatic
10
+ * @updatedAt 2024-12-03 09:46:12 - automatic
11
+ * @updatedUser SebastianM - automatic
12
+ */
13
+ export declare const Chip: import('react').ForwardRefExoticComponent<Omit<ChipProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ import { ChipStyles } from './types';
2
+ export declare const chipStyles: ChipStyles;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Clave de identificación del componente Chip dentro del sistema.
3
+ *
4
+ * Esta constante se utiliza como identificador único para asociar y personalizar estilos y configuraciones
5
+ * relacionadas con el componente `Chip` dentro del sistema de temas y estilos.
6
+ * @default 'M4LChip'
7
+ */
8
+ export declare const CHIP_KEY_COMPONENT = "M4LChip";
@@ -0,0 +1,2 @@
1
+ export * from './Chip';
2
+ export * from './types';
File without changes
@@ -0,0 +1,7 @@
1
+ export declare const ChipSlots: {
2
+ chipRoot: string;
3
+ skeletonChip: string;
4
+ chipIcon: string;
5
+ textChip: string;
6
+ iconButton: string;
7
+ };
@@ -0,0 +1,16 @@
1
+ declare const ChipRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ChipOwnerState> & Record<string, unknown> & {
2
+ ownerState: Partial<import('../types').ChipOwnerState> & Record<string, unknown>;
3
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
+ declare const SkeletonChipStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Skeleton/types').SkeletonProps, keyof import('../../Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ChipOwnerState> & Record<string, unknown> & {
5
+ ownerState: Partial<import('../types').ChipOwnerState> & Record<string, unknown>;
6
+ }, {}, {}>;
7
+ declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ChipOwnerState> & Record<string, unknown> & {
8
+ ownerState: Partial<import('../types').ChipOwnerState> & Record<string, unknown>;
9
+ }, {}, {}>;
10
+ declare const TextChipStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Typography/types').TypographyProps, keyof import('../../Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ChipOwnerState> & Record<string, unknown> & {
11
+ ownerState: Partial<import('../types').ChipOwnerState> & Record<string, unknown>;
12
+ }, {}, {}>;
13
+ declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../IconButton/types').IconButtonProps, keyof import('../../IconButton/types').IconButtonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ChipOwnerState> & Record<string, unknown> & {
14
+ ownerState: Partial<import('../types').ChipOwnerState> & Record<string, unknown>;
15
+ }, {}, {}>;
16
+ export { ChipRootStyled, SkeletonChipStyled, IconStyled, TextChipStyled, IconButtonStyled };
@@ -0,0 +1,3 @@
1
+ export * from './ChipSlots';
2
+ export * from './ChipEnum';
3
+ export { ChipSlots } from './ChipEnum';
@@ -0,0 +1,49 @@
1
+ import { PaletteColor, Theme } from '@mui/material';
2
+ import { OverridesStyleRules } from '@mui/material/styles/overrides';
3
+ import { ChipProps as MUIChipProps } from '@mui/material/Chip';
4
+ import { ComponentPalletColor, Sizes } from '@m4l/styles';
5
+ import { ReactNode } from 'react';
6
+ import { ChipSlots } from './slots';
7
+ import { CHIP_KEY_COMPONENT } from './constants';
8
+ type ChipVariants = 'contained' | 'outlined';
9
+ /**
10
+ * Props for the `Chip` component, extending the original properties of Material UI.
11
+ * [startIcon] - Optional prop for the icon on the left in the `Chip`.
12
+ * [endIcon] - Optional prop for the icon on the right in the `Chip`.
13
+ * label - Text describing the `Chip`.
14
+ * [componentPaletteColor] - Customization of the component's palette color.
15
+ * [disabled] - Indicates if the `Chip` is disabled.
16
+ * [size] - Size of the `Chip` (default 'medium').
17
+ * [error] - Indicates if the `Chip` is in an error state.
18
+ * [variant] - Defines the variant of the `Chip` (default 'contained').
19
+ * [color] - Defines the color of the `Chip`.
20
+ */
21
+ export interface ChipProps extends Omit<MUIChipProps, 'color' | 'size' | 'variant'> {
22
+ startIcon?: ReactNode;
23
+ endIcon?: ReactNode;
24
+ size?: Extract<Sizes, 'small' | 'medium'>;
25
+ disabled?: boolean;
26
+ label: string;
27
+ variant?: ChipVariants;
28
+ color?: Exclude<ComponentPalletColor, 'primary'>;
29
+ skeletonWidth?: string | number;
30
+ hasIconClose?: boolean;
31
+ opacity?: boolean;
32
+ }
33
+ /**
34
+ * Owner state of the `Chip` used to define internal style and behavior properties.
35
+ */
36
+ export interface ChipOwnerState extends Pick<ChipProps, 'size' | 'variant' | 'color' | 'disabled'> {
37
+ opacity?: boolean;
38
+ disabled?: boolean;
39
+ paletteColor: PaletteColor;
40
+ }
41
+ /**
42
+ * Defines the types of Slots available for the `Chip`.
43
+ */
44
+ export type ChipSlotsType = keyof typeof ChipSlots;
45
+ /**
46
+ * Styles applicable to the `Chip` using themes and custom slots.
47
+ */
48
+ export type ChipStyles = Partial<OverridesStyleRules<ChipSlotsType, typeof CHIP_KEY_COMPONENT, Theme> | undefined> | undefined;
49
+ export {};
@@ -0,0 +1,5 @@
1
+ import { CircularProgressProps } from './types';
2
+ /**
3
+ * Componente CircularProgress extendido de MUI
4
+ */
5
+ export declare const CircularProgress: (props: CircularProgressProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,30 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useModuleSkeleton } from "@m4l/core";
3
+ import { a as getPropDataTestId } from "../../../test/getNameDataTestId.js";
4
+ import { S as SkeletonStyled, R as RootStyled } from "./slots/CircularProgressSlots.js";
5
+ import { C as CircularProgressSlots } from "./slots/CircularProgressEnum.js";
6
+ import { C as CIRCULAR_PROGRESS_PREFIX } from "./constants.js";
7
+ import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
8
+ const CircularProgress = (props) => {
9
+ const { size = "medium", color = "primary", instaceDataTestId, ...others } = props;
10
+ const { currentSize } = useComponentSize(size);
11
+ const isSkeleton = useModuleSkeleton();
12
+ const adjustedSize = currentSize === "small" || currentSize === "medium" ? currentSize : "medium";
13
+ const OwnerState = {
14
+ color,
15
+ size: adjustedSize
16
+ };
17
+ if (isSkeleton) {
18
+ return /* @__PURE__ */ jsx(
19
+ SkeletonStyled,
20
+ {
21
+ ownerState: { ...OwnerState },
22
+ ...getPropDataTestId(CIRCULAR_PROGRESS_PREFIX, CircularProgressSlots.root, instaceDataTestId)
23
+ }
24
+ );
25
+ }
26
+ return /* @__PURE__ */ jsx(RootStyled, { ownerState: { ...OwnerState }, ...others });
27
+ };
28
+ export {
29
+ CircularProgress as C
30
+ };
@@ -0,0 +1,5 @@
1
+ import { CircularProgressStyles } from './types';
2
+ /**
3
+ * Estilos para el componente CircularProgress
4
+ */
5
+ export declare const circularProgressStyles: CircularProgressStyles;
@@ -0,0 +1,57 @@
1
+ const circularProgressStyles = {
2
+ /**
3
+ * Slots para estilizar el `root` del componente
4
+ */
5
+ root: ({ theme, ownerState }) => ({
6
+ //overrides
7
+ color: theme.vars.palette[ownerState.color || "primary"].main,
8
+ //Sizes
9
+ ...ownerState.size === "small" && {
10
+ ...theme.generalSettings.isMobile ? {
11
+ height: `${theme.vars.size.mobile.small.base} !important`,
12
+ width: `${theme.vars.size.mobile.small.base} !important`
13
+ } : {
14
+ height: `${theme.vars.size.desktop.small.base} !important`,
15
+ width: `${theme.vars.size.desktop.small.base} !important`
16
+ }
17
+ },
18
+ ...ownerState.size === "medium" && {
19
+ ...theme.generalSettings.isMobile ? {
20
+ height: `${theme.vars.size.mobile.medium.base} !important`,
21
+ width: `${theme.vars.size.mobile.medium.base} !important`
22
+ } : {
23
+ height: `${theme.vars.size.desktop.medium.base} !important`,
24
+ width: `${theme.vars.size.desktop.medium.base} !important`
25
+ }
26
+ }
27
+ }),
28
+ /**
29
+ * Slots para estilar el `skeleton` del componente
30
+ */
31
+ skeleton: ({ theme, ownerState }) => ({
32
+ "&.M4lclassCssSpecificity": {
33
+ //Sizes
34
+ ...ownerState.size === "small" && {
35
+ ...theme.generalSettings.isMobile ? {
36
+ height: theme.vars.size.mobile.small.base,
37
+ width: theme.vars.size.mobile.small.base
38
+ } : {
39
+ height: theme.vars.size.desktop.small.base,
40
+ width: theme.vars.size.desktop.small.base
41
+ }
42
+ },
43
+ ...ownerState.size === "medium" && {
44
+ ...theme.generalSettings.isMobile ? {
45
+ height: theme.vars.size.mobile.medium.base,
46
+ width: theme.vars.size.mobile.medium.base
47
+ } : {
48
+ height: theme.vars.size.desktop.medium.base,
49
+ width: theme.vars.size.desktop.medium.base
50
+ }
51
+ }
52
+ }
53
+ })
54
+ };
55
+ export {
56
+ circularProgressStyles as c
57
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Clave de identificación del componente CircularProgress dentro del sistema.
3
+ *
4
+ * Esta constante se utiliza como identificador único para asociar y personalizar estilos y configuraciones
5
+ * relacionadas con el componente `CircularProgress` dentro del sistema de temas y estilos.
6
+ * @default 'M4LCircularProgress'
7
+ */
8
+ export declare const CIRCULAR_PROGRESS_KEY_COMPONENT = "M4LCircularProgress";
9
+ /**
10
+ * Nombre de clase creado para aportar especificidad a los estilos del componente. Es usado para sobreescribir los estilos de MUI sin
11
+ * tener la necesidad de agregar valores en !important.
12
+ */
13
+ export declare const CIRCULAR_PROGRESS_PREFIX = "CircularProgress";
@@ -0,0 +1,6 @@
1
+ const CIRCULAR_PROGRESS_KEY_COMPONENT = "M4LCircularProgress";
2
+ const CIRCULAR_PROGRESS_PREFIX = "CircularProgress";
3
+ export {
4
+ CIRCULAR_PROGRESS_PREFIX as C,
5
+ CIRCULAR_PROGRESS_KEY_COMPONENT as a
6
+ };
@@ -1,2 +1 @@
1
- import { CircularProgressProps } from '@mui/material';
2
- export declare const CircularProgress: (props: CircularProgressProps) => import("react/jsx-runtime").JSX.Element;
1
+ export * from './CircularProgress';
@@ -1,8 +1 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { CircularProgress as CircularProgress$1 } from "@mui/material";
3
- const CircularProgress = (props) => {
4
- return /* @__PURE__ */ jsx(CircularProgress$1, { ...props });
5
- };
6
- export {
7
- CircularProgress as C
8
- };
1
+
@@ -0,0 +1,4 @@
1
+ export declare enum CircularProgressSlots {
2
+ root = "root",
3
+ skeleton = "skeleton"
4
+ }
@@ -0,0 +1,8 @@
1
+ var CircularProgressSlots = /* @__PURE__ */ ((CircularProgressSlots2) => {
2
+ CircularProgressSlots2["root"] = "root";
3
+ CircularProgressSlots2["skeleton"] = "skeleton";
4
+ return CircularProgressSlots2;
5
+ })(CircularProgressSlots || {});
6
+ export {
7
+ CircularProgressSlots as C
8
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Slot root para el componente CircularProgress que extiende de `MUICircularProgress`
3
+ */
4
+ export declare const RootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').CircularProgressProps, keyof import('@mui/material').CircularProgressProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').CircularProgressOwnerState> & Record<string, unknown> & {
5
+ ownerState: Partial<import('../types').CircularProgressOwnerState> & Record<string, unknown>;
6
+ }, {}, {}>;
7
+ /**
8
+ * Slot skeleton para el componente CircularProgress que es un `Skeleton`
9
+ */
10
+ 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').Theme> & Partial<import('../types').CircularProgressOwnerState> & Record<string, unknown> & {
11
+ ownerState: Partial<import('../types').CircularProgressOwnerState> & Record<string, unknown>;
12
+ }, {}, {}>;
@@ -0,0 +1,17 @@
1
+ import { styled, CircularProgress } from "@mui/material";
2
+ import { c as circularProgressStyles } from "../CircularProgress.styles.js";
3
+ import { a as CIRCULAR_PROGRESS_KEY_COMPONENT } from "../constants.js";
4
+ import { C as CircularProgressSlots } from "./CircularProgressEnum.js";
5
+ import { S as Skeleton } from "../../Skeleton/Skeleton.js";
6
+ const RootStyled = styled(CircularProgress, {
7
+ name: CIRCULAR_PROGRESS_KEY_COMPONENT,
8
+ slot: CircularProgressSlots.root
9
+ })(circularProgressStyles?.root);
10
+ const SkeletonStyled = styled(Skeleton, {
11
+ name: CIRCULAR_PROGRESS_KEY_COMPONENT,
12
+ slot: CircularProgressSlots.skeleton
13
+ })(circularProgressStyles?.skeleton);
14
+ export {
15
+ RootStyled as R,
16
+ SkeletonStyled as S
17
+ };
@@ -0,0 +1,48 @@
1
+ import { Sizes, ComponentPalletColor } from '@m4l/styles';
2
+ import { Theme } from '@mui/material';
3
+ import { CircularProgressProps as MUICircularProgressProps } from '@mui/material/CircularProgress';
4
+ import { OverridesStyleRules } from '@mui/material/styles/overrides';
5
+ import { CircularProgressSlots } from './slots/CircularProgressEnum';
6
+ import { CIRCULAR_PROGRESS_KEY_COMPONENT } from './constants';
7
+ /**
8
+ * Props del componente `CircularProgress`.
9
+ *
10
+ * Extiende las propiedades del componente de Material-UI (`MUICircularProgressProps`),
11
+ * eliminando las propiedades nativas de HTML mediante `OmitHTMLProps`
12
+ * y omitiendo las propiedades `color` y `size` para redefinirlas con valores personalizados.
13
+ */
14
+ export interface CircularProgressProps extends Omit<MUICircularProgressProps, 'color' | 'size'> {
15
+ /**
16
+ * Define el color del componente `CircularProgress`.
17
+ * Este debe ser un valor de la paleta de colores personalizada (`ComponentPalletColor`),
18
+ * restringido actualmente al color `primary`.
19
+ */
20
+ color?: Extract<ComponentPalletColor, 'primary'>;
21
+ /**
22
+ * Tamaño del componente.
23
+ * Solo se aceptan los valores `small` y `medium`, que representan tamaños predefinidos.
24
+ */
25
+ size?: Extract<Sizes, 'small' | 'medium'>;
26
+ /**
27
+ * Identificador opcional para pruebas unitarias.
28
+ * Este valor puede ser utilizado para localizar el componente en el DOM durante pruebas automatizadas.
29
+ */
30
+ instaceDataTestId?: string;
31
+ }
32
+ /**
33
+ * Estado propietario del componente `CircularProgress`.
34
+ * Contiene una de las props principales.
35
+ */
36
+ export type CircularProgressOwnerState = Pick<CircularProgressProps, 'size' | 'color'>;
37
+ /**
38
+ * Define los tipos de `slots` disponibles para el componente `CircularProgress`.
39
+ *
40
+ * Los valores corresponden a las claves definidas en `CircularProgressSlots`.
41
+ */
42
+ export type CircularProgressSlotsType = keyof typeof CircularProgressSlots;
43
+ /**
44
+ * Estilos aplicables al componente `CircularProgress` utilizando el tema y `slots` personalizados.
45
+ *
46
+ * Basado en las reglas de sobrescritura de Material-UI (`OverridesStyleRules`).
47
+ */
48
+ export type CircularProgressStyles = Partial<OverridesStyleRules<CircularProgressSlotsType, typeof CIRCULAR_PROGRESS_KEY_COMPONENT, Theme>> | undefined;