@m4l/components 9.5.3 → 9.5.4-beta-feature-701-create-extended-library.0

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 (299) hide show
  1. package/@types/types.d.ts +1 -1
  2. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +5 -5
  3. package/components/AccountPopover/slots/AccountPopoverSlots.js +37 -38
  4. package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +3 -3
  5. package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts.map +1 -1
  6. package/components/ActionsGroup/slots/ActionsGroupSlots.js +12 -13
  7. package/components/ActionsGroup/subcomponents/ActionIconButton/ActionIconButton.js +1 -1
  8. package/components/AppBar/AppBar.d.ts +9 -9
  9. package/components/AppBar/AppBar.d.ts.map +1 -1
  10. package/components/AppBar/AppBar.js +23 -21
  11. package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
  12. package/components/CheckableList/CheckableList.js +28 -28
  13. package/components/CheckableList/slots/styled.d.ts +9 -9
  14. package/components/CheckableList/slots/styled.js +1 -1
  15. package/components/Chip/slots/ChipSlots.d.ts +4 -4
  16. package/components/Chip/slots/ChipSlots.d.ts.map +1 -1
  17. package/components/Chip/slots/ChipSlots.js +20 -21
  18. package/components/Color/Color.d.ts +1 -3
  19. package/components/Color/Color.d.ts.map +1 -1
  20. package/components/Color/Color.js +9 -9
  21. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  22. package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
  23. package/components/CommonActions/components/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.d.ts +1 -1
  24. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  25. package/components/DaysOfMonthPicker/slots/DaysOfMonthPickerSlots.d.ts +1 -1
  26. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.d.ts +1 -1
  27. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
  28. package/components/DynamicFilter/subcomponents/InputFilter/InputFilter.js +1 -1
  29. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
  30. package/components/DynamicSort/subcomponents/FieldTypes/StringSort/index.js +1 -1
  31. package/components/DynamicSort/subcomponents/InputSort/InputSort.js +1 -1
  32. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -1
  33. package/components/EditLabel/slots/EditLabelSlots.d.ts +4 -4
  34. package/components/HelperError/slots/HelperErrorSlots.d.ts +1 -1
  35. package/components/HelperError/slots/HelperErrorSlots.js +1 -1
  36. package/components/HelperError/types.d.ts +1 -1
  37. package/components/HelperError/types.d.ts.map +1 -1
  38. package/components/Icon/Icon.d.ts +3 -6
  39. package/components/Icon/Icon.d.ts.map +1 -1
  40. package/components/Icon/Icon.js +3 -99
  41. package/components/Icon/index.d.ts +3 -2
  42. package/components/Icon/index.d.ts.map +1 -1
  43. package/components/ImageText/slots/ImageTextSlots.d.ts +2 -2
  44. package/components/ImageText/slots/ImageTextSlots.js +1 -1
  45. package/components/Label/slots/LabelSlots.d.ts +3 -3
  46. package/components/Label/slots/LabelSlots.d.ts.map +1 -1
  47. package/components/Label/slots/LabelSlots.js +9 -10
  48. package/components/Label/types.d.ts +19 -17
  49. package/components/Label/types.d.ts.map +1 -1
  50. package/components/LoadingError/LoadingError.js +6 -6
  51. package/components/LoadingError/slots/LoadingErrorSlots.d.ts +1 -1
  52. package/components/LoadingError/slots/LoadingErrorSlots.d.ts.map +1 -1
  53. package/components/LoadingError/slots/LoadingErrorSlots.js +6 -6
  54. package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
  55. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
  56. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  57. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +4 -4
  58. package/components/ObjectLogs/slots/ObjectLogsSlots.js +18 -19
  59. package/components/Pager/slots/PagerSlots.d.ts +3 -3
  60. package/components/Pager/slots/PagerSlots.d.ts.map +1 -1
  61. package/components/Pager/slots/PagerSlots.js +1 -1
  62. package/components/PaperForm/slots/PaperFormSlots.d.ts +2 -2
  63. package/components/PaperForm/slots/PaperFormSlots.js +9 -10
  64. package/components/PropertyValue/PropertyValue.js +14 -14
  65. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +1 -1
  66. package/components/PropertyValue/slots/PropertyValueSlots.js +1 -1
  67. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +5 -5
  68. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts.map +1 -1
  69. package/components/SettingsLayout/slots/SettingsLayoutSlots.js +25 -26
  70. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.d.ts.map +1 -1
  71. package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.js +17 -18
  72. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.d.ts.map +1 -1
  73. package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.js +13 -14
  74. package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.js +1 -1
  75. package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.js +4 -4
  76. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.d.ts.map +1 -1
  77. package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.js +19 -20
  78. package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
  79. package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/AdormentIcon/AdormentIcon.js +3 -3
  80. package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/ArrowIcon/index.js +1 -1
  81. package/components/Stepper/slots/StepperSlot.d.ts +5 -5
  82. package/components/Stepper/slots/StepperSlot.d.ts.map +1 -1
  83. package/components/Stepper/slots/StepperSlot.js +41 -42
  84. package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.js +1 -1
  85. package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +3 -3
  86. package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts.map +1 -1
  87. package/components/TabsNavigator/slots/TabsNavigatorSlots.js +21 -22
  88. package/components/TabsNavigator/subcomponents/TextMarquee/types.d.ts +1 -1
  89. package/components/TabsNavigator/subcomponents/TextMarquee/types.d.ts.map +1 -1
  90. package/components/ToastContainer/slots/toastContainerSlots.d.ts +5 -5
  91. package/components/ToastContainer/slots/toastContainerSlots.d.ts.map +1 -1
  92. package/components/ToastContainer/slots/toastContainerSlots.js +17 -18
  93. package/components/ToastContainer/types.d.ts +1 -1
  94. package/components/ToastContainer/types.d.ts.map +1 -1
  95. package/components/WindowBase/slots/WindowBaseSlots.d.ts +4 -4
  96. package/components/WindowBase/slots/WindowBaseSlots.d.ts.map +1 -1
  97. package/components/WindowBase/slots/WindowBaseSlots.js +67 -68
  98. package/components/WindowBase/subcomponents/EditionInfo/EditionInfo.js +6 -6
  99. package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +1 -1
  100. package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts.map +1 -1
  101. package/components/WindowBase/types.d.ts +1 -2
  102. package/components/WindowBase/types.d.ts.map +1 -1
  103. package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +4 -4
  104. package/components/WindowConfirm/slots/WindowConfirmSlots.js +1 -1
  105. package/components/animate/variants/background.d.ts +9 -9
  106. package/components/animate/variants/bounce.d.ts +9 -9
  107. package/components/animate/variants/fade.d.ts +20 -20
  108. package/components/animate/variants/flip.d.ts +6 -6
  109. package/components/animate/variants/rotate.d.ts +3 -3
  110. package/components/animate/variants/scale.d.ts +6 -6
  111. package/components/animate/variants/slide.d.ts +16 -16
  112. package/components/animate/variants/transition.d.ts +3 -3
  113. package/components/animate/variants/zoom.d.ts +15 -15
  114. package/components/areas/components/AreasAdmin/AreasAdmin.js +8 -8
  115. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +3 -3
  116. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.js +4 -4
  117. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +22 -22
  118. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +10 -10
  119. package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/index.js +1 -1
  120. package/components/datagrids/formatters/ColumnIconFormatter/types.d.ts +1 -1
  121. package/components/datagrids/formatters/ColumnIconFormatter/types.d.ts.map +1 -1
  122. package/components/datagrids/slots/DataGridSlot.d.ts +6 -6
  123. package/components/datagrids/slots/DataGridSlot.d.ts.map +1 -1
  124. package/components/datagrids/slots/DataGridSlot.js +111 -112
  125. package/components/datagrids/subcomponents/HeaderActions/subcomponents/Density/Density.js +1 -1
  126. package/components/datagrids/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.js +1 -1
  127. package/components/datagrids/tests/helpers/useCustomCardExample.d.ts.map +1 -1
  128. package/components/datagrids/views/TableView/hooks/useHeaderMenuActions/useHeaderMenuActions.js +4 -4
  129. package/components/datagrids/views/TableView/subcomponents/CheckboxFormatter/subcomponents/CustomIcons/CustomIcons.js +8 -8
  130. package/components/datagrids/views/TableView/subcomponents/DraggableHeaderRenderer/DraggableHeaderRenderer.js +1 -1
  131. package/components/datagrids/views/TableView/subcomponents/RenderGroupCell/RenderGroupCell.js +1 -1
  132. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +1 -1
  133. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.js +1 -1
  134. package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts +3 -3
  135. package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts.map +1 -1
  136. package/components/extended/mui/Accordion/slots/AccordionSlots.js +11 -12
  137. package/components/extended/mui/Autocomplete/constants.d.ts +1 -1
  138. package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.d.ts +5 -5
  139. package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.js +1 -1
  140. package/components/extended/mui/Autocomplete/subcomponents/LoadingText/LoadingText.js +4 -4
  141. package/components/extended/mui/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.js +4 -4
  142. package/components/extended/mui/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.js +4 -4
  143. package/components/extended/mui/Badge/slots/BadgeSlots.d.ts +1 -1
  144. package/components/extended/mui/Button/slots/ButtonSlots.d.ts +2 -2
  145. package/components/extended/mui/Button/slots/ButtonSlots.js +10 -11
  146. package/components/extended/mui/CheckBox/slots/CheckBoxSlots.d.ts +3 -3
  147. package/components/extended/mui/CheckBox/slots/CheckBoxSlots.js +11 -12
  148. package/components/extended/mui/DatePicker/slots/DatePickerSlots.d.ts +2 -2
  149. package/components/extended/mui/DateTimePicker/slots/DateTimePickerSlots.d.ts +2 -2
  150. package/components/extended/mui/IconButton/IconButton.js +9 -9
  151. package/components/extended/mui/IconButton/helpers/evalIconColor.d.ts +1 -1
  152. package/components/extended/mui/IconButton/helpers/evalIconColor.d.ts.map +1 -1
  153. package/components/extended/mui/IconButton/slots/IconButtonSlots.d.ts +1 -1
  154. package/components/extended/mui/IconButton/slots/IconButtonSlots.js +1 -1
  155. package/components/extended/mui/IconButton/types.d.ts +1 -2
  156. package/components/extended/mui/IconButton/types.d.ts.map +1 -1
  157. package/components/extended/mui/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  158. package/components/extended/mui/MenuItem/slots/MenuItemSlots.d.ts +4 -4
  159. package/components/extended/mui/MenuItem/slots/MenuItemSlots.js +17 -18
  160. package/components/extended/mui/MenuItem/types.d.ts +1 -1
  161. package/components/extended/mui/MenuItem/types.d.ts.map +1 -1
  162. package/components/extended/mui/NavLink/slots/NavLinkSlots.d.ts +1 -1
  163. package/components/extended/mui/NavLink/slots/NavLinkSlots.js +4 -4
  164. package/components/extended/mui/NavLink/types.d.ts +1 -1
  165. package/components/extended/mui/NavLink/types.d.ts.map +1 -1
  166. package/components/extended/mui/Popper/slots/PopperStlots.d.ts +1 -1
  167. package/components/extended/mui/Radio/Radio.js +1 -1
  168. package/components/extended/mui/Radio/slots/styled.d.ts +1 -1
  169. package/components/extended/mui/Radio/slots/styled.js +1 -1
  170. package/components/extended/mui/Select/slots/SelectSlots.d.ts +6 -6
  171. package/components/extended/mui/Select/slots/SelectSlots.d.ts.map +1 -1
  172. package/components/extended/mui/Select/slots/SelectSlots.js +21 -22
  173. package/components/extended/mui/Tab/Slots/TabSlots.d.ts +4 -4
  174. package/components/extended/mui/Tab/Slots/TabSlots.d.ts.map +1 -1
  175. package/components/extended/mui/Tab/Slots/TabSlots.js +11 -12
  176. package/components/extended/mui/TextField/slots/TextFieldSlots.d.ts +3 -3
  177. package/components/extended/mui/TextField/slots/TextFieldSlots.js +1 -1
  178. package/components/extended/mui/TimePicker/slots/TimePickerSlots.d.ts +2 -2
  179. package/components/extended/mui/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  180. package/components/extended/mui/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  181. package/components/extended/mui/Tooltip/Tooltip.d.ts +3 -3
  182. package/components/extended/mui/Tooltip/Tooltip.d.ts.map +1 -1
  183. package/components/extended/mui/Tooltip/Tooltip.js +3 -32
  184. package/components/extended/mui/Tooltip/index.d.ts +0 -1
  185. package/components/extended/mui/Tooltip/index.d.ts.map +1 -1
  186. package/components/extended/mui/Typography/Typography.d.ts +3 -19
  187. package/components/extended/mui/Typography/Typography.d.ts.map +1 -1
  188. package/components/extended/mui/Typography/Typography.js +3 -56
  189. package/components/extended/mui/Typography/index.d.ts +2 -1
  190. package/components/extended/mui/Typography/index.d.ts.map +1 -1
  191. package/components/extended/rsuite/DateRangePicker/DateRangePicker.js +1 -1
  192. package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +3 -3
  193. package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +16 -17
  194. package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts +1 -1
  195. package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts.map +1 -1
  196. package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.js +1 -1
  197. package/components/formatters/ConcatenatedFormatter/types.d.ts +1 -1
  198. package/components/formatters/ConcatenatedFormatter/types.d.ts.map +1 -1
  199. package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts +1 -1
  200. package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts.map +1 -1
  201. package/components/formatters/DateFormatter/slots/DateFormatterSlots.js +1 -1
  202. package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
  203. package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.js +1 -1
  204. package/components/formatters/IconsFormatter/slots/IconsFormatterSlots.d.ts +2 -2
  205. package/components/formatters/IconsFormatter/slots/IconsFormatterSlots.js +1 -1
  206. package/components/formatters/IconsFormatter/types.d.ts +1 -1
  207. package/components/formatters/IconsFormatter/types.d.ts.map +1 -1
  208. package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.d.ts +1 -1
  209. package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.js +1 -1
  210. package/components/formatters/NestedFormatter/slots/NestedFormatterSlots.d.ts +1 -1
  211. package/components/formatters/NestedFormatter/slots/NestedFormatterSlots.d.ts.map +1 -1
  212. package/components/formatters/NestedFormatter/slots/NestedFormatterSlots.js +4 -4
  213. package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts +1 -1
  214. package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts.map +1 -1
  215. package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.js +1 -1
  216. package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts +1 -1
  217. package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts.map +1 -1
  218. package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.js +1 -1
  219. package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts +1 -1
  220. package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts.map +1 -1
  221. package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.js +8 -8
  222. package/components/formatters/PriceFormatter/types.d.ts +1 -1
  223. package/components/formatters/PriceFormatter/types.d.ts.map +1 -1
  224. package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts +1 -1
  225. package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts.map +1 -1
  226. package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.js +8 -8
  227. package/components/formatters/UncertaintyFormatter/types.d.ts +1 -1
  228. package/components/formatters/UncertaintyFormatter/types.d.ts.map +1 -1
  229. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
  230. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.d.ts +1 -1
  231. package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +2 -2
  232. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  233. package/components/hook-form/RHFPeriod/subcomponents/Period/Period.js +9 -9
  234. package/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/index.d.ts.map +1 -1
  235. package/components/hook-form/RHFRadioGroup/slots/styled.d.ts +1 -1
  236. package/components/hook-form/RHFRadioGroup/slots/styled.d.ts.map +1 -1
  237. package/components/hook-form/RHFRadioGroup/slots/styled.js +1 -1
  238. package/components/hook-form/RHFRadioGroup/subcomponents/RenderOptionStartAdornment/RenderOptionStartAdornment.js +6 -6
  239. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  240. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  241. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +2 -2
  242. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +3 -3
  243. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.js +1 -1
  244. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +14 -14
  245. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +7 -7
  246. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.js +1 -1
  247. package/components/hook-form/RHFUpload/components/UploadComponents/BlockContent.d.ts.map +1 -1
  248. package/components/hook-form/RHFUpload/components/UploadComponents/RejectionFiles.d.ts.map +1 -1
  249. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +1 -1
  250. package/index.js +484 -476
  251. package/package.json +7 -6
  252. package/utils/getIconColor.d.ts +1 -1
  253. package/utils/getIconColor.d.ts.map +1 -1
  254. package/components/Icon/Icon.styles.d.ts +0 -3
  255. package/components/Icon/Icon.styles.d.ts.map +0 -1
  256. package/components/Icon/Icon.styles.js +0 -92
  257. package/components/Icon/constants.d.ts +0 -4
  258. package/components/Icon/constants.d.ts.map +0 -1
  259. package/components/Icon/constants.js +0 -8
  260. package/components/Icon/slots/IconEnum.d.ts +0 -7
  261. package/components/Icon/slots/IconEnum.d.ts.map +0 -1
  262. package/components/Icon/slots/IconEnum.js +0 -4
  263. package/components/Icon/slots/IconSlots.d.ts +0 -13
  264. package/components/Icon/slots/IconSlots.d.ts.map +0 -1
  265. package/components/Icon/slots/IconSlots.js +0 -25
  266. package/components/Icon/slots/index.d.ts +0 -3
  267. package/components/Icon/slots/index.d.ts.map +0 -1
  268. package/components/Icon/types.d.ts +0 -109
  269. package/components/Icon/types.d.ts.map +0 -1
  270. package/components/extended/mui/Tooltip/Tooltip.styles.d.ts +0 -3
  271. package/components/extended/mui/Tooltip/Tooltip.styles.d.ts.map +0 -1
  272. package/components/extended/mui/Tooltip/Tooltip.styles.js +0 -65
  273. package/components/extended/mui/Tooltip/constants.d.ts +0 -10
  274. package/components/extended/mui/Tooltip/constants.d.ts.map +0 -1
  275. package/components/extended/mui/Tooltip/constants.js +0 -8
  276. package/components/extended/mui/Tooltip/slots/TooltipEnum.d.ts +0 -6
  277. package/components/extended/mui/Tooltip/slots/TooltipEnum.d.ts.map +0 -1
  278. package/components/extended/mui/Tooltip/slots/TooltipEnum.js +0 -4
  279. package/components/extended/mui/Tooltip/slots/TooltipSlots.d.ts +0 -10
  280. package/components/extended/mui/Tooltip/slots/TooltipSlots.d.ts.map +0 -1
  281. package/components/extended/mui/Tooltip/slots/TooltipSlots.js +0 -20
  282. package/components/extended/mui/Tooltip/slots/index.d.ts +0 -3
  283. package/components/extended/mui/Tooltip/slots/index.d.ts.map +0 -1
  284. package/components/extended/mui/Tooltip/types.d.ts +0 -28
  285. package/components/extended/mui/Tooltip/types.d.ts.map +0 -1
  286. package/components/extended/mui/Typography/constants.d.ts +0 -18
  287. package/components/extended/mui/Typography/constants.d.ts.map +0 -1
  288. package/components/extended/mui/Typography/constants.js +0 -8
  289. package/components/extended/mui/Typography/slots/typographyEnum.d.ts +0 -8
  290. package/components/extended/mui/Typography/slots/typographyEnum.d.ts.map +0 -1
  291. package/components/extended/mui/Typography/slots/typographyEnum.js +0 -4
  292. package/components/extended/mui/Typography/slots/typographySlots.d.ts +0 -13
  293. package/components/extended/mui/Typography/slots/typographySlots.d.ts.map +0 -1
  294. package/components/extended/mui/Typography/slots/typographySlots.js +0 -17
  295. package/components/extended/mui/Typography/types.d.ts +0 -79
  296. package/components/extended/mui/Typography/types.d.ts.map +0 -1
  297. package/components/extended/mui/Typography/typography.styles.d.ts +0 -3
  298. package/components/extended/mui/Typography/typography.styles.d.ts.map +0 -1
  299. package/components/extended/mui/Typography/typography.styles.js +0 -59
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.5.3",
3
+ "version": "9.5.4-beta-feature-701-create-extended-library.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,6 +32,7 @@
32
32
  "history": "5.3.0",
33
33
  "eventemitter3": "^4.0.7",
34
34
  "react-router-dom": "6.29.0",
35
+ "@m4l/base": "^1.0.0",
35
36
  "@m4l/icons": "^1.0.0",
36
37
  "@emotion/react": "11.14.0",
37
38
  "react-toastify": "10.0.5",
@@ -51,22 +52,22 @@
51
52
  "nprogress": "^0.2.0",
52
53
  "date-fns": "^2.30.0",
53
54
  "react-transition-group": "^4.4.5",
54
- "react-draggable": "^4.4.5",
55
- "react-dropzone": "^14.2.2",
56
55
  "react-rnd": "^10.5.2",
56
+ "react-dropzone": "^14.2.2",
57
57
  "react-spinners": "^0.13.8",
58
+ "react-draggable": "^4.4.5",
59
+ "simplebar-react": "3.2.6",
60
+ "react-resizable-panels": "^2.1.8",
58
61
  "chart.js": "^4.4.0",
59
62
  "chartjs-chart-error-bars": "^4.3.3",
60
63
  "qrcode.react": "^3.1.0",
61
- "simplebar-react": "3.2.6",
62
64
  "react-color": "^2.19.3",
63
65
  "@mui/x-date-pickers": "6.20.2",
64
- "react-resizable-panels": "^2.1.8",
65
66
  "react-data-grid": "7.0.0-beta.47",
66
67
  "react-dnd": "^16.0.1",
67
68
  "react-dnd-html5-backend": "^16.0.1",
68
- "react-window": "^1.8.11",
69
69
  "react-resizable": "^3.0.4",
70
+ "react-window": "^1.8.11",
70
71
  "@tanstack/react-virtual": "3.13.23"
71
72
  }
72
73
  }
@@ -1,4 +1,4 @@
1
- import { IconProps } from '../components/Icon/types';
1
+ import { IconProps } from '@m4l/base';
2
2
  /**
3
3
  * Define un tipo que representa los posibles colores que se pueden aplicar a un icono.
4
4
  * Este tipo incluye varios valores específicos ('primary.main', 'text.primary', etc.) y también permite cualquier cadena (string).
@@ -1 +1 @@
1
- {"version":3,"file":"getIconColor.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/utils/getIconColor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAGrD;;;GAGG;AACH,MAAM,MAAM,UAAU,GACpB,cAAc,GACd,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,sBAAsB,GACtB,WAAW,GACX,cAAc,GACd,YAAY,GACZ,cAAc,GACd,MAAM,CAAC;AAET;;;GAGG;AACH,eAAO,MAAM,YAAY,GACvB,OAAO,UAAU,KAChB,SAAS,CAAC,OAAO,CA0BnB,CAAC"}
1
+ {"version":3,"file":"getIconColor.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/utils/getIconColor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAGtC;;;GAGG;AACH,MAAM,MAAM,UAAU,GACpB,cAAc,GACd,cAAc,GACd,gBAAgB,GAChB,eAAe,GACf,sBAAsB,GACtB,WAAW,GACX,cAAc,GACd,YAAY,GACZ,cAAc,GACd,MAAM,CAAC;AAET;;;GAGG;AACH,eAAO,MAAM,YAAY,GACvB,OAAO,UAAU,KAChB,SAAS,CAAC,OAAO,CA0BnB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { IconStyles } from '../Icon/types';
2
- export declare const iconStyles: IconStyles;
3
- //# sourceMappingURL=Icon.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Icon.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Icon/Icon.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,eAAO,MAAM,UAAU,EAAE,UAmGxB,CAAC"}
@@ -1,92 +0,0 @@
1
- import { getSizeStyles as s } from "../../utils/getSizeStyles/getSizeStyles.js";
2
- import { getPropertyByString as o } from "@m4l/core";
3
- import { ICON_CLASSES as n } from "./constants.js";
4
- const d = {
5
- /**
6
- * Slot root: Contiene los estilos para el contenedor principal del ícono.
7
- * Este slot es responsable de definir el layout del ícono dentro de su contenedor,
8
- * incluyendo propiedades de flexbox para centrar su contenido, y el tamaño
9
- * dinámico basado en el dispositivo (móvil o desktop) y el tamaño del ícono
10
- * ('small' o 'medium'). También incluye animaciones como la transición
11
- * suave de transformación.
12
- */
13
- root: ({ theme: i, ownerState: e }) => {
14
- const t = e?.disabled ? i.vars.palette.text.disabled : e?.selected && e?.enabledSelected ? `${i.vars.palette.primary.enabled}` : o(i.vars.palette, String(e?.color), "text.primary");
15
- return {
16
- display: e?.isSkeleton ? "none" : "flex",
17
- justifyContent: "center",
18
- alignItems: "center",
19
- width: "fit-content",
20
- transition: "transform 0.5s ease-in-out",
21
- ...s(i, e?.size ?? "medium", "base", (r) => ({
22
- width: r,
23
- height: r
24
- })),
25
- // Solo aplicar estilos de mask si se usa estrategia mask (src es string)
26
- // Si no es mask (src es React element) o no hay src, aplicar estilos para componente SVG
27
- ...e?.isMaskStrategy === !1 && {
28
- "& .MuiSvgIcon-root": {
29
- width: "inherit",
30
- height: "inherit",
31
- display: "flex",
32
- alignItems: "center",
33
- justifyContent: "center",
34
- "& svg, & path, & rect, & circle, & ellipse, & polygon, & polyline, & line, & g, & text, & tspan, & use": {
35
- fill: t
36
- }
37
- }
38
- },
39
- // Solo aplicar estilos de mask si se usa estrategia mask (src es string)
40
- ...e?.isMaskStrategy === !0 && {
41
- [`& .${n.icon}`]: {
42
- maskPosition: "center",
43
- maskRepeat: "no-repeat",
44
- maskSize: "cover",
45
- WebkitMaskRepeat: "no-repeat",
46
- mask: `url(${e?.src})`,
47
- WebkitMask: `url(${e?.src})`,
48
- WebkitMaskSize: "cover",
49
- ...e?.rotationAngle && {
50
- transform: `rotate(${e?.rotationAngle}deg)`
51
- },
52
- backgroundColor: e?.isMaskStrategy ? t : "transparent"
53
- }
54
- }
55
- };
56
- },
57
- /**
58
- * Slot icon: Define los estilos para el ícono que se carga dinámicamente.
59
- * Este slot gestiona cómo se carga y muestra el recurso gráfico en formato de máscara,
60
- * incluyendo su posición, repetición y ajuste de tamaño. También controla la rotación
61
- * del ícono basada en el ángulo de rotación proporcionado, y el color de fondo que
62
- * se ajusta de acuerdo con el estado de deshabilitación o no del ícono.
63
- */
64
- icon: () => ({
65
- width: "inherit",
66
- height: "inherit"
67
- }),
68
- /**
69
- * Slot iconSkeleton: Define los estilos para el esqueleto del ícono.
70
- * Se utiliza cuando el ícono aún no está completamente cargado, proporcionando
71
- * un contorno visible para indicar que la carga está en progreso. Incluye un
72
- * borde redondeado y tamaño del ícono.
73
- */
74
- iconSkeleton: ({ theme: i, ownerState: e }) => ({
75
- "&.M4lclassCssSpecificity": {
76
- borderRadius: i.size.borderRadius.r1,
77
- ...s(i, e?.size ?? "medium", "base", (t) => ({
78
- width: t,
79
- height: t
80
- }))
81
- }
82
- }),
83
- /**
84
- * Slot tooltip: Define los estilos para el tooltip asociado al ícono.
85
- * Este slot permite agregar una descripción emergente cuando el ícono es
86
- * hovereado o enfocado.
87
- */
88
- tooltip: {}
89
- };
90
- export {
91
- d as iconStyles
92
- };
@@ -1,4 +0,0 @@
1
- export declare const ICON_KEY_COMPONENT = "M4LIcon";
2
- export declare const ICON_PREFIX = "Icon";
3
- export declare const ICON_CLASSES: Record<"root" | "tooltip" | "icon" | "iconSkeleton", string>;
4
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Icon/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,YAAY,CAAC;AAE5C,eAAO,MAAM,WAAW,SAAS,CAAC;AAElC,eAAO,MAAM,YAAY,8DAAqD,CAAC"}
@@ -1,8 +0,0 @@
1
- import { getComponentClasses as o } from "../../utils/getComponentSlotRoot.js";
2
- import { IconSlots as t } from "./slots/IconEnum.js";
3
- const n = "M4LIcon", I = "Icon", c = o(n, t);
4
- export {
5
- c as ICON_CLASSES,
6
- n as ICON_KEY_COMPONENT,
7
- I as ICON_PREFIX
8
- };
@@ -1,7 +0,0 @@
1
- export declare enum IconSlots {
2
- root = "root",
3
- tooltip = "tooltip",
4
- icon = "icon",
5
- iconSkeleton = "iconSkeleton"
6
- }
7
- //# sourceMappingURL=IconEnum.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconEnum.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/Icon/slots/IconEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,YAAY,iBAAiB;CAC9B"}
@@ -1,4 +0,0 @@
1
- var t = /* @__PURE__ */ ((o) => (o.root = "root", o.tooltip = "tooltip", o.icon = "icon", o.iconSkeleton = "iconSkeleton", o))(t || {});
2
- export {
3
- t as IconSlots
4
- };
@@ -1,13 +0,0 @@
1
- export declare const RootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').IconOwnerState> & Record<string, unknown> & {
2
- ownerState: Partial<import('..').IconOwnerState> & Record<string, unknown>;
3
- }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
- export declare const TooltipStyled: import('@emotion/styled').StyledComponent<Pick<import('../..').TooltipProps, keyof import('../..').TooltipProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').IconOwnerState> & Record<string, unknown> & {
5
- ownerState: Partial<import('..').IconOwnerState> & Record<string, unknown>;
6
- }, {}, {}>;
7
- export declare const IconStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').IconOwnerState> & Record<string, unknown> & {
8
- ownerState: Partial<import('..').IconOwnerState> & Record<string, unknown>;
9
- }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
10
- export declare const IconSkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../extended/mui/Skeleton/types').SkeletonProps, keyof import('../../extended/mui/Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').IconOwnerState> & Record<string, unknown> & {
11
- ownerState: Partial<import('..').IconOwnerState> & Record<string, unknown>;
12
- }, {}, {}>;
13
- //# sourceMappingURL=IconSlots.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconSlots.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/Icon/slots/IconSlots.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;6NAGH,CAAC;AACrB,eAAO,MAAM,aAAa;;UAGH,CAAC;AACxB,eAAO,MAAM,UAAU;;6NAGH,CAAC;AACrB,eAAO,MAAM,kBAAkB;;UAGH,CAAC"}
@@ -1,25 +0,0 @@
1
- import { styled as o } from "@mui/material/styles";
2
- import { IconSlots as t } from "./IconEnum.js";
3
- import { ICON_KEY_COMPONENT as n } from "../constants.js";
4
- import { iconStyles as e } from "../Icon.styles.js";
5
- import { Tooltip as l } from "../../extended/mui/Tooltip/Tooltip.js";
6
- import { Skeleton as i } from "../../extended/mui/Skeleton/Skeleton.js";
7
- const d = o("div", {
8
- name: n,
9
- slot: t.root
10
- })(e?.root), f = o(l, {
11
- name: n,
12
- slot: t.tooltip
13
- })(e?.tooltip), y = o("div", {
14
- name: n,
15
- slot: t.icon
16
- })(e?.icon), a = o(i, {
17
- name: n,
18
- slot: t.iconSkeleton
19
- })(e?.iconSkeleton);
20
- export {
21
- a as IconSkeletonStyled,
22
- y as IconStyled,
23
- d as RootStyled,
24
- f as TooltipStyled
25
- };
@@ -1,3 +0,0 @@
1
- export * from './IconEnum';
2
- export * from './IconSlots';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/Icon/slots/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC"}
@@ -1,109 +0,0 @@
1
- import { OverridesStyleRules } from '@mui/material/styles/overrides';
2
- import { IconSlots } from './slots';
3
- import { Theme } from '@mui/material';
4
- import { ICON_KEY_COMPONENT } from './constants';
5
- import { Sizes } from '@m4l/styles';
6
- import { ReactElement, ReactNode } from 'react';
7
- import { TooltipProps } from '../extended/mui/Tooltip/types';
8
- import { DeepKeyOf } from '../../utils/types';
9
- /**
10
- * Define la lista de posibles colores que se pueden aplicar al componente icono.
11
- */
12
- export type IconColorDeep = DeepKeyOf<Theme['vars']['palette']> | string;
13
- export interface IconBaseProps extends Pick<TooltipProps, 'placement'> {
14
- /**
15
- * Tamaño del componente, puede ser uno de los valores definidos en 'small' , 'medium' , 'large'.
16
- */
17
- size?: Extract<Sizes, 'small' | 'medium'>;
18
- /**
19
- * Ángulo de rotación de la imagen en grados.
20
- */
21
- rotationAngle?: number;
22
- /**
23
- * Nombre del tooltip que se mostrará al pasar el cursor sobre el componente.
24
- */
25
- tooltipContent?: ReactNode;
26
- /**
27
- * Esquema de color a aplicar al componente de los valores definidos en 'ColorSchemeComponent'.
28
- */
29
- color?: IconColorDeep;
30
- /**
31
- * Clase externa
32
- */
33
- className?: string;
34
- /**
35
- * Propiedad que sirve para complementar el nombre del data-testid, aporta un identificador único del elemento html en toda aplicación.
36
- * Es útil para realizar pruebas unitarias y de integración.
37
- */
38
- instaceDataTestId?: string;
39
- /**
40
- * Valor que en caso de ser verdadero debe de pintar el svg con color text disabled.
41
- */
42
- disabled?: boolean;
43
- /**
44
- * Valor que define si el icono debe de estar seleccionado pero depende de la propiedad enableSelected.
45
- */
46
- selected?: boolean;
47
- /**
48
- * Valor que define si el icono debe de estar seleccionado pero depende de la propiedad selected.
49
- */
50
- enabledSelected?: boolean;
51
- /**
52
- * Funcion que se ejecuta al hacer clic en el icono.
53
- */
54
- onClick?: (event: React.MouseEvent<any, MouseEvent>) => void;
55
- /**
56
- * Aria label for the icon component.
57
- */
58
- ariaLabel?: string;
59
- }
60
- export type IconResourceSrc = IconBaseProps & ({
61
- /**
62
- * URL o ruta de la imagen que se va a mostrar (estrategia src con mask).
63
- */
64
- src: string;
65
- /**
66
- * URL o ruta de la imagen que se va a mostrar (estrategia src con mask). alternativa a src.
67
- */
68
- icon?: never;
69
- } | {
70
- /**
71
- * URL o ruta de la imagen que se va a mostrar (estrategia src con mask).
72
- */
73
- src?: never;
74
- /**
75
- * URL o ruta de la imagen que se va a mostrar (estrategia src con mask). alternativa a src.
76
- */
77
- icon: string;
78
- });
79
- export type IconResourceComponent = IconBaseProps & ({
80
- /**
81
- * Componente m4l/icon que se va a mostrar (tipo element).
82
- */
83
- src: ReactElement;
84
- /**
85
- * Icono que se va a mostrar (tipo element). alternativa a src.
86
- */
87
- icon?: never;
88
- } | {
89
- /**
90
- * Componente m4l/icon que se va a mostrar (tipo element).
91
- */
92
- src?: never;
93
- /**
94
- * Icono que se va a mostrar (tipo element). alternativa a src.
95
- */
96
- icon: ReactElement;
97
- });
98
- export type IconProps = IconResourceSrc | IconResourceComponent;
99
- /**
100
- * Define las las propiedades usadas para estilizar el componente desde el css.
101
- */
102
- export interface IconOwnerState extends Pick<IconBaseProps, 'selected' | 'enabledSelected' | 'size' | 'rotationAngle' | 'color' | 'disabled'> {
103
- src?: string | ReactNode;
104
- isSkeleton: boolean;
105
- isMaskStrategy?: boolean;
106
- }
107
- export type IconSlotsType = keyof typeof IconSlots;
108
- export type IconStyles = Partial<OverridesStyleRules<IconSlotsType, typeof ICON_KEY_COMPONENT, Theme> | undefined> | undefined;
109
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Icon/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C;;GAEG;AAEH,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,MAAM,CAAA;AAcxE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,YAAY,EAAE,WAAW,CAAC;IACpE;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC1C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAC7D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,CAC1C;IACA;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;CACd,GACC;IACA;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CACF,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG,CAChD;IACA;;OAEG;IACH,GAAG,EAAE,YAAY,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;CACd,GACC;IACA;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;CACpB,CACF,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG,qBAAqB,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,iBAAiB,GAAG,MAAM,GAAG,eAAe,GAAG,OAAO,GAAG,UAAU,CAAC;IAC3I,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AACD,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,SAAS,CAAC;AACnD,MAAM,MAAM,UAAU,GAClB,OAAO,CAAC,mBAAmB,CAAC,aAAa,EAAE,OAAO,kBAAkB,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC,GACzF,SAAS,CAAC"}
@@ -1,3 +0,0 @@
1
- import { TooltipStyles } from '../Tooltip/types';
2
- export declare const tooltipStyles: TooltipStyles;
3
- //# sourceMappingURL=Tooltip.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Tooltip/Tooltip.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,eAAO,MAAM,aAAa,EAAE,aAsE3B,CAAC"}
@@ -1,65 +0,0 @@
1
- import { getTypographyStyles as i } from "../../../../utils/getTypographyStyles.js";
2
- const s = {
3
- /**
4
- * Estilos root del componente Tooltip
5
- */
6
- root: {},
7
- /**
8
- * Estilos del texto del componente Tooltip
9
- */
10
- text: ({ theme: o, ownerState: t }) => ({
11
- color: o.vars.palette.text.contrastText,
12
- ...i(
13
- o.generalSettings.isMobile,
14
- t?.size || "medium",
15
- "body"
16
- )
17
- }),
18
- /**
19
- * Estilos del componente Tooltip
20
- */
21
- tooltip: ({ theme: o }) => ({
22
- background: o.vars.palette.background.contrastDefault,
23
- padding: o.vars.size.baseSpacings.sp2,
24
- borderRadius: o.vars.size.borderRadius.r1,
25
- boxShadow: o.vars.customShadows.z3,
26
- minWidth: o.vars.size.baseSpacings.sp6,
27
- minHeight: o.vars.size.baseSpacings.sp3,
28
- "&.MuiTooltip-tooltipPlacementRight .MuiTooltip-arrow": {
29
- left: "-6px"
30
- },
31
- "&.MuiTooltip-tooltipPlacementTop .MuiTooltip-arrow": {
32
- bottom: "-6px"
33
- },
34
- "&.MuiTooltip-tooltipPlacementBottom .MuiTooltip-arrow": {
35
- top: "-6px"
36
- },
37
- "&.MuiTooltip-tooltipPlacementLeft .MuiTooltip-arrow": {
38
- right: "-6px"
39
- },
40
- "&&& .MuiTooltip-arrow": {
41
- transformOrigin: "unset",
42
- overflow: "visible",
43
- zIndex: -1,
44
- width: "16px",
45
- height: "16px",
46
- display: "flex",
47
- alignItems: "center",
48
- justifyContent: "center",
49
- margin: "unset",
50
- "&::before": {
51
- transformOrigin: "unset",
52
- backgroundColor: o.vars.palette.background.contrastDefault,
53
- borderRadius: o.vars.size.borderRadius.r1,
54
- width: o.vars.size.baseSpacings.sp3,
55
- height: o.vars.size.baseSpacings.sp3,
56
- border: "unset",
57
- margin: "unset",
58
- transform: "rotate(45deg)"
59
- }
60
- }
61
- })
62
- };
63
- export {
64
- s as tooltipStyles
65
- };
@@ -1,10 +0,0 @@
1
- export declare const TOOLTIP_KEY_COMPONENT = "M4LTooltip";
2
- /**
3
- * Clases del componente Tooltip
4
- */
5
- export declare const TOOLTIP_CLASSES: Record<"text" | "root" | "tooltip", string>;
6
- /**
7
- * Desplazamiento predeterminado del tooltip (X, Y)
8
- */
9
- export declare const DEFAULT_TOOLTIP_OFFSET: number[];
10
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Tooltip/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,eAAe,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,eAAe,6CAA2D,CAAC;AAExF;;GAEG;AACH,eAAO,MAAM,sBAAsB,UAAU,CAAC"}
@@ -1,8 +0,0 @@
1
- import { getComponentClasses as o } from "../../../../utils/getComponentSlotRoot.js";
2
- import { TooltipSlots as t } from "./slots/TooltipEnum.js";
3
- const T = "M4LTooltip", p = o(T, t), L = [0, 10];
4
- export {
5
- L as DEFAULT_TOOLTIP_OFFSET,
6
- p as TOOLTIP_CLASSES,
7
- T as TOOLTIP_KEY_COMPONENT
8
- };
@@ -1,6 +0,0 @@
1
- export declare enum TooltipSlots {
2
- root = "root",
3
- text = "text",
4
- tooltip = "tooltip"
5
- }
6
- //# sourceMappingURL=TooltipEnum.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TooltipEnum.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Tooltip/slots/TooltipEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,OAAO,YAAY;CACpB"}
@@ -1,4 +0,0 @@
1
- var r = /* @__PURE__ */ ((t) => (t.root = "root", t.text = "text", t.tooltip = "tooltip", t))(r || {});
2
- export {
3
- r as TooltipSlots
4
- };
@@ -1,10 +0,0 @@
1
- export declare const RootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').TooltipProps, keyof import('@mui/material').TooltipProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
- ownerState?: (Partial<import('../types').TooltipOwnerState> & Record<string, unknown>) | undefined;
3
- }, {}, {}>;
4
- export declare const TextStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
5
- ownerState?: (Partial<import('../types').TooltipOwnerState> & Record<string, unknown>) | undefined;
6
- }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
7
- export declare const TooltipStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
8
- ownerState?: (Partial<import('../types').TooltipOwnerState> & Record<string, unknown>) | undefined;
9
- }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
10
- //# sourceMappingURL=TooltipSlots.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TooltipSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Tooltip/slots/TooltipSlots.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;UAGA,CAAC;AAExB,eAAO,MAAM,UAAU;;6NAGA,CAAC;AAExB,eAAO,MAAM,aAAa;;6NAGA,CAAC"}
@@ -1,20 +0,0 @@
1
- import { styled as o } from "@mui/material/styles";
2
- import { Tooltip as m } from "@mui/material";
3
- import { TOOLTIP_KEY_COMPONENT as t } from "../constants.js";
4
- import { tooltipStyles as l } from "../Tooltip.styles.js";
5
- import { TooltipSlots as i } from "./TooltipEnum.js";
6
- const d = o(m, {
7
- name: t,
8
- slot: i.root
9
- })(l?.root), n = o("div", {
10
- name: t,
11
- slot: i.text
12
- })(l?.text), f = o("div", {
13
- name: t,
14
- slot: i.tooltip
15
- })(l?.tooltip);
16
- export {
17
- d as RootStyled,
18
- n as TextStyled,
19
- f as TooltipStyled
20
- };
@@ -1,3 +0,0 @@
1
- export * from './TooltipEnum';
2
- export * from './TooltipSlots';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Tooltip/slots/index.tsx"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
@@ -1,28 +0,0 @@
1
- import { ComponentNameToClassKey, SxProps, Theme, TooltipProps as MUITooltipProps } from '@mui/material';
2
- import { OverridesStyleRules } from '@mui/material/styles/overrides';
3
- import { Sizes } from '@m4l/styles';
4
- import { TooltipSlots } from './slots';
5
- import { TOOLTIP_KEY_COMPONENT } from './constants';
6
- import { M4LOverridesStyleRules } from '../../../../@types/augmentations';
7
- export interface TooltipProps extends Omit<MUITooltipProps, 'sx'> {
8
- sx?: SxProps<Theme> | Partial<OverridesStyleRules<string, ComponentNameToClassKey, Theme>>;
9
- /**
10
- * Tamaño del componente, puede ser uno de los valores definidos en 'small' , 'medium' , 'large'.
11
- */
12
- size?: Extract<Sizes, 'small' | 'medium'>;
13
- /**
14
- * Tipo de flecha que se mostrará en el tooltip.
15
- */
16
- /**
17
- * Define la posición general del tooltip en relación con el elemento de referencia.
18
- */
19
- placement?: MUITooltipProps['placement'];
20
- /**
21
- * Desplazamiento del tooltip en relación con el elemento de referencia (X, Y).
22
- */
23
- offset?: [number, number];
24
- }
25
- export type TooltipSlotsType = keyof typeof TooltipSlots;
26
- export type TooltipOwnerState = Pick<TooltipProps, 'size'>;
27
- export type TooltipStyles = M4LOverridesStyleRules<TooltipSlotsType, typeof TOOLTIP_KEY_COMPONENT, Theme>;
28
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Tooltip/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC;IAC/D,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC,MAAM,EAAE,uBAAuB,EAAE,KAAK,CAAC,CAAC,CAAC;IAC3F;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC1C;;OAEG;IAEH;;OAEG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC3B;AACD,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,YAAY,CAAC;AACzD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAC3D,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,gBAAgB,EAAE,OAAO,qBAAqB,EAAE,KAAK,CAAC,CAAA"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Nombre de clase css usada para asociarse en los slots del componente.
3
- */
4
- export declare const TYPOGRAPHY_KEY_COMPONENT = "M4LTypography";
5
- /**
6
- * Nombre de clase creado para aportar especificidad a los estilos del componente. Es usado para sobreescribir los estilos de MUI sin
7
- * tener la necesidad de agregar valores en !important.
8
- */
9
- export declare const TYPOGRAPHY_CLASS_NAME_SPECIFY = "M4lclassCssSpecificity";
10
- /**
11
- * Inventario de clases CSS para el componente Typography.
12
- */
13
- export declare const TYPOGRAPHY_CLASSES: Record<"skeleton" | "root", string>;
14
- export declare const TYPOGRAPHY_FONTS: {
15
- Inter: string;
16
- Jura: string;
17
- };
18
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Typography/constants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,wBAAwB,kBAAkB,CAAC;AACxD;;;GAGG;AACH,eAAO,MAAM,6BAA6B,2BAA2B,CAAC;AACtE;;GAEG;AACH,eAAO,MAAM,kBAAkB,qCAAiE,CAAC;AAEjG,eAAO,MAAM,gBAAgB;;;CAG5B,CAAC"}
@@ -1,8 +0,0 @@
1
- import { getComponentClasses as o } from "../../../../utils/getComponentSlotRoot.js";
2
- import { TypographySlots as s } from "./slots/typographyEnum.js";
3
- const t = "M4LTypography", S = "M4lclassCssSpecificity", Y = o(t, s);
4
- export {
5
- Y as TYPOGRAPHY_CLASSES,
6
- S as TYPOGRAPHY_CLASS_NAME_SPECIFY,
7
- t as TYPOGRAPHY_KEY_COMPONENT
8
- };
@@ -1,8 +0,0 @@
1
- /**
2
- * Slots del componente Typography
3
- */
4
- export declare enum TypographySlots {
5
- root = "root",
6
- skeleton = "skeleton"
7
- }
8
- //# sourceMappingURL=typographyEnum.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typographyEnum.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Typography/slots/typographyEnum.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,eAAe;IACzB,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB"}
@@ -1,4 +0,0 @@
1
- var o = /* @__PURE__ */ ((e) => (e.root = "root", e.skeleton = "skeleton", e))(o || {});
2
- export {
3
- o as TypographySlots
4
- };