@m4l/components 9.2.54 → 9.2.56-beta.2

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 (376) hide show
  1. package/.storybook/utils/flattenDeep.d.ts +8 -0
  2. package/.storybook/utils/getStylesColorsByMode.d.ts +4 -4
  3. package/@types/augmentations.d.ts +1 -1
  4. package/@types/types.d.ts +10 -9
  5. package/components/AccountPopover/AccountPopover.js +3 -4
  6. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +32 -32
  7. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +13 -14
  8. package/components/AccountPopover/types.d.ts +2 -2
  9. package/components/AppBar/AppBar.js +6 -9
  10. package/components/AppBar/slots/AppBarSlots.d.ts +16 -16
  11. package/components/AppBar/styles.js +2 -1
  12. package/components/AppBar/types.d.ts +2 -2
  13. package/components/Chip/ChipStyles.js +12 -12
  14. package/components/Chip/slots/ChipSlots.d.ts +6 -6
  15. package/components/Color/Color.styles.js +11 -11
  16. package/components/Color/slots/ColorSlots.d.ts +5 -5
  17. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  18. package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
  19. package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +0 -1
  20. package/components/CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.d.ts +2 -2
  21. package/components/CommonActions/components/ActionFormIntro/types.d.ts +2 -2
  22. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  23. package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
  24. package/components/DataGrid/DataGrid.js +29 -7
  25. package/components/DataGrid/Datagrid.styles.js +598 -0
  26. package/components/DataGrid/constants.d.ts +1 -0
  27. package/components/DataGrid/constants.js +2 -0
  28. package/components/DataGrid/contexts/DataGridContext/index.js +23 -5
  29. package/components/DataGrid/contexts/DataGridContext/types.d.ts +4 -0
  30. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +0 -2
  31. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/formatter.js +2 -2
  32. package/components/DataGrid/icons.d.ts +1 -0
  33. package/components/DataGrid/icons.js +4 -3
  34. package/components/DataGrid/slots/DataGridEnum.d.ts +6 -0
  35. package/components/DataGrid/slots/DataGridEnum.js +10 -2
  36. package/components/DataGrid/slots/DataGridSlot.d.ts +9 -0
  37. package/components/DataGrid/slots/DataGridSlot.js +35 -14
  38. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +5 -0
  39. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +30 -0
  40. package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +2 -0
  41. package/components/DataGrid/subcomponents/ControlNavigate/types.d.ts +7 -0
  42. package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +5 -0
  43. package/components/DataGrid/subcomponents/HeaderActions/index.js +39 -0
  44. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.js +4 -3
  45. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.js +3 -2
  46. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.js +4 -4
  47. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.js +5 -2
  48. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +33 -23
  49. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +4 -1
  50. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +7 -0
  51. package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/index.js +12 -7
  52. package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +4 -0
  53. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +5 -5
  54. package/components/DataGrid/subcomponents/Table/index.js +4 -4
  55. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +12 -3
  56. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +28 -13
  57. package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +2 -2
  58. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +4 -2
  59. package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
  60. package/components/DataGrid/types.d.ts +20 -3
  61. package/components/DragResizeWindowRND/DragResizeWindowRND.styles.js +1 -1
  62. package/components/DragResizeWindowRND/slots/DragResizeWindowRNDSlots.d.ts +3 -5
  63. package/components/DynamicFilter/DynamicFilter.styles.js +13 -13
  64. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +19 -19
  65. package/components/DynamicFilter/store/DynamicFilterStore.js +2 -2
  66. package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +2 -2
  67. package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +1 -1
  68. package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +2 -3
  69. package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -2
  70. package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +3 -4
  71. package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
  72. package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
  73. package/components/DynamicSort/DynamicSort.styles.js +13 -13
  74. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +19 -19
  75. package/components/DynamicSort/store/DynamicSortStore.js +2 -2
  76. package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +2 -2
  77. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
  78. package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +4 -5
  79. package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
  80. package/components/DynamicSort/subcomponents/SortActions/SortActions.js +2 -3
  81. package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
  82. package/components/GridLayout/styles.js +4 -82
  83. package/components/HelperError/HelperError.styles.js +4 -4
  84. package/components/Icon/Icon.js +1 -1
  85. package/components/Icon/Icon.styles.js +10 -10
  86. package/components/Image/Image.js +1 -1
  87. package/components/Image/image.styles.js +1 -1
  88. package/components/Image/slots/ImageSlots.d.ts +12 -12
  89. package/components/Image/subcomponents/IntersectComponent/index.js +0 -1
  90. package/components/Image/types.d.ts +2 -2
  91. package/components/Label/Label.styles.js +11 -11
  92. package/components/Label/slots/LabelSlots.d.ts +1 -1
  93. package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
  94. package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
  95. package/components/LoadingError/LoadingError.js +1 -2
  96. package/components/MenuActions/MenuActions.js +4 -4
  97. package/components/MenuActions/MenuActions.styles.js +4 -4
  98. package/components/MenuActions/slots/MenuActionsSlots.d.ts +12 -12
  99. package/components/MenuActions/types.d.ts +3 -3
  100. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
  101. package/components/NoItemSelected/NoItemSelected.js +3 -5
  102. package/components/NoItemSelected/NoItemSelected.styles.js +4 -4
  103. package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +7 -7
  104. package/components/NumberInput/NumberInput.styles.js +20 -20
  105. package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +0 -2
  106. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  107. package/components/ObjectLogs/hooks/useDetailFormatter.js +3 -2
  108. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +20 -20
  109. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +1 -3
  110. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +1 -3
  111. package/components/ObjectLogs/types.d.ts +2 -2
  112. package/components/Pager/Pager.js +2 -3
  113. package/components/Pager/Pager.styles.js +13 -12
  114. package/components/Pager/index.d.ts +2 -0
  115. package/components/Pager/slots/PagerEnum.d.ts +2 -1
  116. package/components/Pager/slots/PagerEnum.js +1 -0
  117. package/components/Pager/slots/PagerSlots.d.ts +1 -0
  118. package/components/Pager/slots/PagerSlots.js +7 -2
  119. package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +16 -18
  120. package/components/Pager/subcomponents/PagerActions/PagerActions.js +4 -2
  121. package/components/Pager/subcomponents/PagerActions/types.d.ts +1 -0
  122. package/components/PaperForm/components/Header.js +2 -2
  123. package/components/PaperForm/slots/PaperFormSlots.d.ts +10 -10
  124. package/components/PaperForm/styles.js +7 -7
  125. package/components/PaperForm/types.d.ts +2 -2
  126. package/components/PrintingSystem/slots/PrintingSystemSlots.d.ts +42 -42
  127. package/components/PrintingSystem/subcomponents/BodyNode/index.js +0 -1
  128. package/components/PrintingSystem/subcomponents/ChartNode/index.js +0 -1
  129. package/components/PrintingSystem/subcomponents/DividerNode/index.js +0 -1
  130. package/components/PrintingSystem/subcomponents/FooterNode/index.js +0 -1
  131. package/components/PrintingSystem/subcomponents/GridNode/index.js +0 -5
  132. package/components/PrintingSystem/subcomponents/HeaderNode/index.js +0 -1
  133. package/components/PrintingSystem/subcomponents/PageNode/index.js +0 -1
  134. package/components/PrintingSystem/subcomponents/PaperNode/index.js +0 -5
  135. package/components/PrintingSystem/subcomponents/PropertyValueNode/index.js +0 -2
  136. package/components/PrintingSystem/subcomponents/SectionNode/index.js +0 -1
  137. package/components/PrintingSystem/types.d.ts +2 -2
  138. package/components/PropertyValue/PropertyValue.js +3 -4
  139. package/components/PropertyValue/PropertyValue.styles.js +3 -3
  140. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
  141. package/components/ScrollBar/ScrollBar.d.ts +3 -3
  142. package/components/ScrollBar/ScrollBar.js +5 -45
  143. package/components/ScrollBar/ScrollBar.styles.js +5 -52
  144. package/components/ScrollBar/constants.d.ts +4 -2
  145. package/components/ScrollBar/constants.js +2 -5
  146. package/components/ScrollBar/index.d.ts +2 -0
  147. package/components/ScrollBar/index.js +1 -0
  148. package/components/ScrollBar/slots/ScrollBarSlots.d.ts +1 -6
  149. package/components/ScrollBar/slots/ScrollBarSlots.js +7 -13
  150. package/components/ScrollBar/slots/ScrollbarEnum.d.ts +3 -0
  151. package/components/ScrollBar/slots/ScrollbarEnum.js +7 -0
  152. package/components/ScrollBar/types.d.ts +12 -42
  153. package/components/SideBar/slots/SideBarSlots.d.ts +34 -34
  154. package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -2
  155. package/components/SideBar/subcomponents/ContentComponent/style.js +4 -4
  156. package/components/SideBar/subcomponents/ContentGroups/index.js +3 -3
  157. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -2
  158. package/components/SideBar/subcomponents/ContentGroups/styles.js +11 -2
  159. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -2
  160. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -10
  161. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +0 -1
  162. package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -2
  163. package/components/SideBar/subcomponents/HeaderSidebar/index.js +2 -2
  164. package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -2
  165. package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -2
  166. package/components/SideBar/subcomponents/SideBarDesktop/styles.js +2 -2
  167. package/components/SideBar/subcomponents/SideBarMobile/index.js +0 -1
  168. package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -2
  169. package/components/SideBar/types.d.ts +9 -2
  170. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  171. package/components/WindowBase/WindowBase.js +8 -6
  172. package/components/WindowBase/WindowBase.styles.js +208 -107
  173. package/components/WindowBase/icons.js +2 -2
  174. package/components/WindowBase/slots/WindowBaseEnum.d.ts +3 -3
  175. package/components/WindowBase/slots/WindowBaseEnum.js +2 -2
  176. package/components/WindowBase/slots/WindowBaseSlots.d.ts +18 -23
  177. package/components/WindowBase/slots/WindowBaseSlots.js +13 -12
  178. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +22 -12
  179. package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
  180. package/components/WindowBase/subcomponents/Header/useButtonActions.js +5 -2
  181. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
  182. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
  183. package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +9 -0
  184. package/components/WindowBase/types.d.ts +10 -0
  185. package/components/WindowConfirm/WindowConfirm.js +2 -3
  186. package/components/WindowConfirm/WindowConfirm.styles.js +4 -4
  187. package/components/areas/components/AreasAdmin/AreasAdmin.js +12 -17
  188. package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +13 -21
  189. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +23 -23
  190. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -4
  191. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +3 -4
  192. package/components/areas/components/AreasAdmin/types.d.ts +1 -1
  193. package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
  194. package/components/areas/components/AreasViewer/AreasViewer.styles.js +2 -2
  195. package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +5 -5
  196. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +1 -1
  197. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +8 -1
  198. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +7 -3
  199. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +0 -1
  200. package/components/areas/contexts/AreasContext/index.js +1 -1
  201. package/components/areas/contexts/AreasContext/store.js +1 -1
  202. package/components/areas/contexts/AreasContext/types.d.ts +1 -1
  203. package/components/areas/icons.d.ts +2 -2
  204. package/components/areas/icons.js +4 -4
  205. package/components/commercial/SectionCommercial/classes/index.d.ts +2 -2
  206. package/components/commercial/SectionCommercial/classes/index.js +3 -3
  207. package/components/commercial/SectionCommercial/types.d.ts +1 -1
  208. package/components/extended/React-Resizable/helpers.d.ts +2 -9
  209. package/components/extended/React-Resizable/helpers.js +15 -13
  210. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +0 -1
  211. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +1 -1
  212. package/components/extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.d.ts +4 -4
  213. package/components/extended/React-Spinners/PropagateLoaderSpinner/types.d.ts +2 -2
  214. package/components/extended/React-Splitter-Layout/slots/SplitLayoutSlots.d.ts +3 -3
  215. package/components/extended/React-resizable-panels/SplitLayout.styles.js +6 -6
  216. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +8 -8
  217. package/components/formatters/ChipStatusFormatter/slots/ChipStatusFormatterSlots.d.ts +2 -2
  218. package/components/formatters/PeriodFormatter/PeriodFormatter.styles.js +1 -1
  219. package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
  220. package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +0 -5
  221. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
  222. package/components/hook-form/RHFDateTime/types.d.ts +1 -1
  223. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
  224. package/components/hook-form/RHFSelect/RHFSelect.js +1 -1
  225. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  226. package/components/hook-form/RHFSelect/slots/RHFSlots.js +1 -1
  227. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  228. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +1 -1
  229. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +2 -2
  230. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +8 -8
  231. package/components/hook-form/RHFTextFieldPassword/types.d.ts +2 -2
  232. package/components/hook-form/RHFTimePicker/types.d.ts +1 -1
  233. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +1 -1
  234. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +3 -3
  235. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +22 -22
  236. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +9 -10
  237. package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +2 -2
  238. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.js +2 -2
  239. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +22 -22
  240. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +2 -7
  241. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +5 -6
  242. package/components/hook-form/RHFormContext/index.d.ts +1 -1
  243. package/components/index.d.ts +2 -0
  244. package/components/mui_extended/Accordion/Accordion.js +31 -21
  245. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
  246. package/components/mui_extended/Accordion/styles.js +56 -33
  247. package/components/mui_extended/Accordion/types.d.ts +39 -6
  248. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +3 -3
  249. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +1 -1
  250. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +17 -17
  251. package/components/mui_extended/Avatar/Avatar.js +1 -1
  252. package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
  253. package/components/mui_extended/Avatar/styles.js +3 -3
  254. package/components/mui_extended/Badge/Badge.js +14 -8
  255. package/components/mui_extended/Badge/Badge.styles.js +23 -33
  256. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
  257. package/components/mui_extended/Badge/slots/BadgeSlots.js +2 -2
  258. package/components/mui_extended/Badge/types.d.ts +4 -3
  259. package/components/mui_extended/Button/ButtonStyles.js +41 -29
  260. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  261. package/components/mui_extended/CheckBox/CheckBox.js +2 -2
  262. package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -12
  263. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +12 -12
  264. package/components/mui_extended/CheckBox/types.d.ts +2 -2
  265. package/components/mui_extended/CircularProgress/CircularProgress.styles.js +5 -5
  266. package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +49 -49
  267. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +12 -12
  268. package/components/mui_extended/Divider/Divider.js +1 -2
  269. package/components/mui_extended/Divider/Divider.styles.js +9 -9
  270. package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
  271. package/components/mui_extended/IconButton/IconButton.js +39 -12
  272. package/components/mui_extended/IconButton/IconButton.styles.js +64 -54
  273. package/components/mui_extended/IconButton/helpers/evalIconColor.d.ts +1 -1
  274. package/components/mui_extended/IconButton/helpers/getIconButtonColors.d.ts +1 -1
  275. package/components/mui_extended/IconButton/helpers/getIconButtonColors.js +4 -4
  276. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +6 -8
  277. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +4 -3
  278. package/components/mui_extended/IconButton/types.d.ts +10 -8
  279. package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
  280. package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  281. package/components/mui_extended/MenuDivider/MenuDivider.js +1 -2
  282. package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
  283. package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
  284. package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
  285. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +7 -7
  286. package/components/mui_extended/MenuItem/types.d.ts +8 -3
  287. package/components/mui_extended/NavLink/NavLink.js +1 -2
  288. package/components/mui_extended/NavLink/NavLink.styles.js +9 -9
  289. package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +4 -4
  290. package/components/mui_extended/Popover/Popover.js +0 -1
  291. package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +2 -2
  292. package/components/mui_extended/Popover/types.d.ts +3 -3
  293. package/components/mui_extended/Popper/PopperStyles.js +1 -1
  294. package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
  295. package/components/mui_extended/Select/Select.js +2 -3
  296. package/components/mui_extended/Select/Select.styles.js +10 -10
  297. package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -12
  298. package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
  299. package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
  300. package/components/mui_extended/Skeleton/skeleton.styles.js +4 -4
  301. package/components/mui_extended/Stack/Stack.js +4 -2
  302. package/components/mui_extended/Stack/Stack.styles.js +7 -4
  303. package/components/mui_extended/Stack/slots/StackSlot.d.ts +2 -2
  304. package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
  305. package/components/mui_extended/Tab/Tab.js +2 -0
  306. package/components/mui_extended/Tab/Tab.styles.js +26 -48
  307. package/components/mui_extended/Tab/types.d.ts +4 -0
  308. package/components/mui_extended/TabContent/TabContent.js +1 -1
  309. package/components/mui_extended/TabContent/TabContent.styles.js +2 -4
  310. package/components/mui_extended/TabContent/slots/TabContentSlots.d.ts +2 -2
  311. package/components/mui_extended/TabContent/types.d.ts +2 -2
  312. package/components/mui_extended/Tabs/Tabs.styles.js +2 -1
  313. package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -1
  314. package/components/mui_extended/TextField/TextField.styles.js +22 -22
  315. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
  316. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +9 -9
  317. package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  318. package/components/mui_extended/ToggleIconButton/ToggleIconButton.js +12 -5
  319. package/components/mui_extended/ToggleIconButton/ToggleIconButton.styles.js +21 -11
  320. package/components/mui_extended/ToggleIconButton/constants.d.ts +7 -0
  321. package/components/mui_extended/ToggleIconButton/constants.js +3 -1
  322. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  323. package/components/mui_extended/ToggleIconButton/types.d.ts +9 -3
  324. package/components/mui_extended/Tooltip/Tooltip.styles.js +1 -1
  325. package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +3 -3
  326. package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
  327. package/components/mui_extended/Typography/typography.styles.js +7 -7
  328. package/components/mui_extended/index.d.ts +0 -2
  329. package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +2 -2
  330. package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +7 -9
  331. package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +2 -0
  332. package/hooks/useComponentSize/useComponentSize.d.ts +3 -3
  333. package/hooks/useComponentSize/useComponentSize.js +5 -2
  334. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -6
  335. package/hooks/useDynamicFilterAndSort/styles.js +7 -13
  336. package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
  337. package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +4 -21
  338. package/index.js +43 -42
  339. package/package.json +3 -3
  340. package/storybook/components/Chip/Chip.stories.d.ts +4 -0
  341. package/storybook/components/DataGrid/DataGrid.stories.d.ts +16 -0
  342. package/storybook/components/Icon/Icon.stories.d.ts +4 -0
  343. package/storybook/components/ObjectLogs/ObjectLogs.stories.d.ts +2 -2
  344. package/storybook/components/WindowBase/windowBase.stories.d.ts +60 -7
  345. package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +72 -20
  346. package/storybook/components/extended/mui/Badge/Badge.stories.d.ts +4 -0
  347. package/storybook/components/extended/mui/Button/Button.stories.d.ts +1 -0
  348. package/storybook/components/extended/mui/Button/ButtonDataGridWithActions.d.ts +5 -0
  349. package/storybook/components/extended/mui/IconButton/IconButton.stories.d.ts +12 -0
  350. package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
  351. package/storybook/components/extended/mui/ToggleIconButton/ToggleIconButton.stories.d.ts +12 -0
  352. package/storybook/tootls/WrapperLineGuide/WrapperLineGuide.d.ts +9 -0
  353. package/storybook/tootls/WrapperLineGuide/styles.d.ts +1 -0
  354. package/storybook/tootls/WrapperLineGuide/types.d.ts +5 -0
  355. package/components/DataGrid/styles.js +0 -484
  356. package/components/DataGrid/subcomponents/Actions/index.d.ts +0 -5
  357. package/components/DataGrid/subcomponents/Actions/index.js +0 -48
  358. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +0 -6
  359. package/components/DataGrid/subcomponents/Actions/types.d.ts +0 -13
  360. package/components/ScrollBar/slots/ScrollBarEnum.d.ts +0 -4
  361. package/components/ScrollBar/slots/ScrollBarEnum.js +0 -8
  362. package/components/ScrollBar/slots/index.d.ts +0 -2
  363. package/storybook/components/extended/scrollBar/ScrollBar.stories.d.ts +0 -7
  364. package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +0 -11
  365. /package/components/DataGrid/{styles.d.ts → Datagrid.styles.d.ts} +0 -0
  366. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.d.ts +0 -0
  367. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/types.d.ts +0 -0
  368. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.d.ts +0 -0
  369. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.js +0 -0
  370. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.d.ts +0 -0
  371. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.d.ts +0 -0
  372. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.d.ts +0 -0
  373. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -0
  374. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/types.d.ts +0 -0
  375. /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/types.d.ts +0 -0
  376. /package/components/{ScrollBar/slots → Pager}/index.js +0 -0
@@ -1,2 +1,2 @@
1
- import { SideBarStyles } from '../../types';
2
- export declare const sideBarDesktopStyles: SideBarStyles;
1
+ import { SideBarDesktopStyles } from '../../types';
2
+ export declare const sideBarDesktopStyles: SideBarDesktopStyles;
@@ -5,7 +5,7 @@ const sideBarDesktopStyles = {
5
5
  * sin que se oculte por el overflow hidden que tiene el contenido del sidebar
6
6
  */
7
7
  containerDesktopContent: ({ theme, ownerState }) => {
8
- const width = ownerState?.anchored ? ownerState.expandedWidth : theme.vars.size.baseSpacings.sp4;
8
+ const width = ownerState?.anchored ? ownerState?.expandedWidth : theme.vars.size.baseSpacings.sp4;
9
9
  return {
10
10
  height: "100%",
11
11
  position: "relative",
@@ -22,7 +22,7 @@ const sideBarDesktopStyles = {
22
22
  width: "fit-content",
23
23
  overflow: "visible",
24
24
  borderRight: `1px solid ${theme.vars.palette.border.default}`,
25
- position: !ownerState.anchored ? "absolute" : "relative",
25
+ position: !ownerState?.anchored ? "absolute" : "relative",
26
26
  inset: 0,
27
27
  //add hover effect
28
28
  zIndex: 999
@@ -23,7 +23,6 @@ const SideBarMobile = () => {
23
23
  children: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
24
24
  ContainerSideBarMobileStyled,
25
25
  {
26
- ownerState: {},
27
26
  ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("contentMobile") } : {},
28
27
  children: /* @__PURE__ */ jsx(ContentComponent, {})
29
28
  }
@@ -1,2 +1,2 @@
1
- import { SideBarStyles } from '../../types';
2
- export declare const sideBarMobileStyles: SideBarStyles;
1
+ import { SideBarMobileStyles } from '../../types';
2
+ export declare const sideBarMobileStyles: SideBarMobileStyles;
@@ -1,8 +1,8 @@
1
1
  import { Sizes } from '@m4l/styles';
2
2
  import { ContainerMenuItemsMainSlots, ContentComponentSlots, ContentGroupsSlots, HeaderSidebarSlots, SideBarDesktopSlots, SideBarFooterSlots, SideBarMobileSlots } from './slots/SideBarEnum';
3
- import { OverridesStyleRules } from '@mui/material/styles/overrides';
4
3
  import { SIDEBAR_KEY_COMPONENT } from './constants';
5
4
  import { Theme } from '@mui/material/styles';
5
+ import { M4LOverridesStyleRules } from '../../@types/augmentations';
6
6
  /**
7
7
  * define la estructura de datos para un elemento de menú en la barra lateral.
8
8
  */
@@ -88,4 +88,11 @@ export type SideBarSlotsType = ContainerMenuItemsMainSlots | SideBarDesktopSlots
88
88
  export type SideBarOwnerState = Pick<IMenuDataWithState, 'active' | 'itemInTreeActive'> & {
89
89
  [key: string]: any;
90
90
  };
91
- export type SideBarStyles = Partial<OverridesStyleRules<SideBarSlotsType, typeof SIDEBAR_KEY_COMPONENT, Theme> | undefined> | undefined;
91
+ export type SideBarStyles = M4LOverridesStyleRules<SideBarSlotsType, typeof SIDEBAR_KEY_COMPONENT, Theme>;
92
+ export type ContainerMenuItemsMainStyles = M4LOverridesStyleRules<ContainerMenuItemsMainSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
93
+ export type SideBarDesktopStyles = M4LOverridesStyleRules<SideBarDesktopSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
94
+ export type ContentGroupsStyles = M4LOverridesStyleRules<ContentGroupsSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
95
+ export type HeaderSidebarStyles = M4LOverridesStyleRules<HeaderSidebarSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
96
+ export type SideBarFooterStyles = M4LOverridesStyleRules<SideBarFooterSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
97
+ export type SideBarMobileStyles = M4LOverridesStyleRules<SideBarMobileSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
98
+ export type ContentComponentStyles = M4LOverridesStyleRules<ContentComponentSlots, typeof SIDEBAR_KEY_COMPONENT, Theme>;
@@ -22,9 +22,9 @@ export declare const MessageDescriptionStyled: import('@emotion/styled').StyledC
22
22
  export declare const MessageIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Icon').IconProps, keyof import('../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
23
23
  ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
24
24
  }, {}, {}>;
25
- export declare const MessageCloseButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "instaceDataTestId" | "rotationAngle" | "placement" | "tooltipContent" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
25
+ export declare const MessageCloseButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
26
26
  ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
27
27
  }, {}, {}>;
28
- export declare const MessagePinButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "instaceDataTestId" | "rotationAngle" | "placement" | "tooltipContent" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeContent" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
28
+ export declare const MessagePinButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown> & {
29
29
  ownerState: Partial<import('../types').ToastContainerOwnerState> & Record<string, unknown>;
30
30
  }, {}, {}>;
@@ -7,9 +7,8 @@ import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
7
7
  import clsx from "clsx";
8
8
  import { H as HeaderWindowBase } from "./subcomponents/Header/HeaderWindowBase.js";
9
9
  import { E as EditionInfo } from "./subcomponents/EditionInfo/EditionInfo.js";
10
- import { W as WindowBaseStyled, C as ContentWindowStyled, L as LinearProgressIndeterminateStyled } from "./slots/WindowBaseSlots.js";
10
+ import { W as WindowBaseStyled, T as ToastContainerStyled, C as ContentWindowStyled, L as LinearProgressIndeterminateStyled } from "./slots/WindowBaseSlots.js";
11
11
  import { W as WindowBaseSlots } from "./slots/WindowBaseEnum.js";
12
- import { T as ToastContainer } from "../ToastContainer/ToastContainer.js";
13
12
  const WindowBase = (props) => {
14
13
  const {
15
14
  children,
@@ -25,14 +24,15 @@ const WindowBase = (props) => {
25
24
  windowId,
26
25
  onMouseDown,
27
26
  editionInfo,
27
+ type = "layout",
28
28
  ...other
29
29
  } = props;
30
30
  const { currentSize } = useComponentSize(size);
31
- const normalizedSize = currentSize === "large" ? "medium" : currentSize;
32
31
  const ownerState = {
33
32
  selected,
34
33
  variant,
35
- size: normalizedSize
34
+ size: currentSize,
35
+ type
36
36
  };
37
37
  return /* @__PURE__ */ jsx(AppearanceComponentProvider, { defaultSize: currentSize, children: /* @__PURE__ */ jsxs(
38
38
  WindowBaseStyled,
@@ -49,12 +49,14 @@ const WindowBase = (props) => {
49
49
  version,
50
50
  buildTime,
51
51
  size,
52
+ variant,
52
53
  selected,
53
54
  onClose,
55
+ type,
54
56
  ...other
55
57
  }
56
58
  ),
57
- /* @__PURE__ */ jsx(ToastContainer, { fixed: false, position: "top-right", containerId: windowId }),
59
+ /* @__PURE__ */ jsx(ToastContainerStyled, { fixed: false, position: "top-right", containerId: windowId }),
58
60
  editionInfo && /* @__PURE__ */ jsx(EditionInfo, { editionInfo }),
59
61
  /* @__PURE__ */ jsx(
60
62
  ContentWindowStyled,
@@ -64,7 +66,7 @@ const WindowBase = (props) => {
64
66
  children
65
67
  }
66
68
  ),
67
- isLoading && /* @__PURE__ */ jsx(LinearProgressIndeterminateStyled, { ownerState: {} })
69
+ isLoading && /* @__PURE__ */ jsx(LinearProgressIndeterminateStyled, {})
68
70
  ]
69
71
  }
70
72
  ) });
@@ -1,3 +1,5 @@
1
+ import { alpha } from "@mui/material";
2
+ import { g as getSizeStyles } from "../../utils/getSizeStyles/getSizeStyles.js";
1
3
  const windowBaseStyles = {
2
4
  /**
3
5
  * Styles for the window base wrapper component.
@@ -8,66 +10,102 @@ const windowBaseStyles = {
8
10
  width: "100%",
9
11
  display: "flex",
10
12
  flexDirection: "column",
11
- borderRadius: theme.vars.size.borderRadius.r1,
13
+ borderRadius: ownerState?.variant === "outlined" ? theme.vars.size.borderRadius.r2 : "unset",
14
+ backgroundColor: theme.vars.palette.background.default,
12
15
  overflow: "hidden",
13
16
  ...ownerState?.variant === "outlined" && {
14
- border: theme.vars.size.borderStroke.container,
15
17
  ...ownerState?.selected ? {
16
- borderColor: theme.vars.palette.border.main
18
+ ...ownerState?.type === "layout" ? {
19
+ background: `linear-gradient(to bottom,
20
+ ${alpha(theme.palette.primary.opacity, 0.25)},
21
+ ${alpha(theme.palette.primary.opacity, 0.1)})`,
22
+ "&::before": {
23
+ content: '""',
24
+ position: "absolute",
25
+ inset: "2px",
26
+ background: theme.vars.palette.background.default,
27
+ borderRadius: "6.7px"
28
+ }
29
+ } : {
30
+ boxShadow: `inset 0px 0px 0 1.6px ${theme.vars.palette?.border.main}`
31
+ }
17
32
  } : {
18
- borderColor: theme.vars.palette.border.default
33
+ boxShadow: ownerState?.type === "popup" || ownerState?.type === "layout" ? `inset 0px 0px 0 1.6px ${theme.vars.palette?.border.default}` : "unset"
19
34
  }
20
- },
21
- backgroundColor: theme.vars.palette.background.default
35
+ }
22
36
  }),
23
37
  //
24
38
  /**
25
39
  * Styles for the content of the window base component.
26
40
  */
27
- contentWindowBase: ({ theme }) => ({
28
- padding: theme.vars.size.baseSpacings.sp3,
41
+ contentWindowBase: ({ theme, ownerState }) => ({
42
+ padding: ownerState?.type === "layout" ? theme.vars.size.baseSpacings.sp5 : theme.vars.size.baseSpacings.sp4,
29
43
  overflow: "auto",
30
44
  width: "100%",
31
- height: "100%"
45
+ height: "100%",
46
+ zIndex: 1
32
47
  }),
33
48
  /**
34
49
  * Styles for the header of the window base component.
35
50
  */
36
- headerWindowComponent: ({ theme, ownerState }) => ({
37
- width: "100%",
38
- display: "flex",
39
- padding: theme.vars.size.baseSpacings.sp1,
40
- alignItems: "center",
41
- justifyContent: "space-between",
42
- flexShrink: 0,
43
- alignSelf: "stretch",
44
- cursor: "all-scroll",
45
- ...theme.generalSettings.isMobile ? {
46
- ...ownerState.size === "small" && {
47
- height: theme.vars.size.mobile.small.container
48
- },
49
- ...ownerState.size === "medium" && {
50
- height: theme.vars.size.mobile.medium.container
51
- }
52
- } : {
53
- ...ownerState.size === "small" && {
54
- height: theme.vars.size.desktop.small.container
55
- },
56
- ...ownerState.size === "medium" && {
57
- height: theme.vars.size.desktop.medium.container
51
+ headerWindowComponent: ({ theme, ownerState }) => {
52
+ return {
53
+ width: "100%",
54
+ display: "flex",
55
+ padding: ownerState?.type === "popup" || ownerState?.type === "modal" ? theme.vars.size.baseSpacings["sp0-5"] : theme.vars.size.baseSpacings.sp1,
56
+ alignItems: "center",
57
+ justifyContent: "space-between",
58
+ flexShrink: 0,
59
+ alignSelf: "stretch",
60
+ cursor: "all-scroll",
61
+ position: "relative",
62
+ ...ownerState?.type === "popup" ? {
63
+ ...getSizeStyles(
64
+ theme,
65
+ ownerState?.size,
66
+ "action",
67
+ (size) => ({
68
+ minHeight: size,
69
+ height: "auto"
70
+ })
71
+ )
72
+ } : ownerState?.type === "modal" ? {
73
+ ...getSizeStyles(
74
+ theme,
75
+ ownerState?.size,
76
+ "action",
77
+ (size) => ({
78
+ minHeight: size,
79
+ height: "auto"
80
+ })
81
+ )
82
+ } : {},
83
+ ...ownerState?.type === "layout" ? getSizeStyles(
84
+ theme,
85
+ ownerState?.size,
86
+ "container",
87
+ (size) => ({
88
+ minHeight: size
89
+ })
90
+ ) : {},
91
+ borderBottom: "1px solid #ffffff00",
92
+ ...ownerState?.selected && ownerState?.type === "layout" && ownerState?.variant === "outlined" ? {
93
+ background: `linear-gradient(to right, ${alpha(theme.palette.primary.opacity, 0.04)}, ${alpha(theme.palette.primary.opacity, 0)});`,
94
+ "&::before": {
95
+ content: '""',
96
+ position: "absolute",
97
+ bottom: 0,
98
+ left: 0,
99
+ width: "100%",
100
+ height: "1px",
101
+ background: `linear-gradient(to left, ${alpha(theme.palette.primary.opacity, 0.06)}, ${alpha(theme.palette.primary.opacity, 0)});`
102
+ }
103
+ } : {
104
+ background: "transparent",
105
+ borderBottom: `1px solid ${theme.vars.palette.border.disabled}`
58
106
  }
59
- },
60
- ...ownerState?.selected ? {
61
- background: theme.vars.palette["primary"].enabledOpacity
62
- } : {
63
- background: theme.vars.palette.background.default
64
- },
65
- ...ownerState?.selected ? {
66
- borderBottom: `1px solid ${theme.vars.palette.border.disabled}`
67
- } : {
68
- borderBottom: `1px solid ${theme.vars.palette.border.default}`
69
- }
70
- }),
107
+ };
108
+ },
71
109
  /**
72
110
  * Styles for the content of the header of the window base component.
73
111
  */
@@ -79,57 +117,40 @@ const windowBaseStyles = {
79
117
  paddingLeft: theme.vars.size.baseSpacings.sp1,
80
118
  paddingRight: theme.vars.size.baseSpacings.sp1,
81
119
  color: theme.vars.palette.text.primary,
82
- gap: theme.vars.size.baseSpacings.sp0
120
+ gap: theme.vars.size.baseSpacings.sp0,
121
+ overflow: "hidden"
83
122
  }),
84
123
  /**
85
124
  * Styles for the title of the header of the window base component.
86
125
  */
87
126
  headerTitleWindowBase: ({ theme, ownerState }) => ({
88
127
  minWidth: "30px",
89
- ...ownerState?.selected ? {
128
+ ...ownerState?.selected && ownerState?.type !== "modal" && ownerState?.variant === "outlined" ? {
90
129
  color: `${theme.vars.palette["primary"].semanticText} !important`
91
130
  } : {
92
131
  color: `${theme.vars.palette.text.secondary} !important`
93
132
  },
94
- fontWeight: `${theme.typography.fontWeightBold} !important`,
95
133
  whiteSpace: "nowrap",
96
134
  overflow: "hidden",
97
135
  textOverflow: "ellipsis",
98
- paddingLeft: theme.vars.size.baseSpacings.sp1
136
+ paddingLeft: theme.vars.size.baseSpacings.sp1,
137
+ userSelect: "none",
138
+ cursor: "all-scroll"
99
139
  }),
100
140
  /**
101
141
  * Styles for the subtitle container of the header of the window base component.
102
142
  */
103
- subtitleContainer: ({ theme }) => ({
143
+ containerTitleSubtitle: ({ theme }) => ({
104
144
  display: "flex",
105
145
  alignItems: "center",
106
- color: theme.vars.palette.text.primary
107
- }),
108
- /**
109
- * Styles for the dot window base component.
110
- * @param theme The theme object.
111
- * @param ownerState The owner state object.
112
- * @returns An object containing the styles for the dot window base component.
113
- */
114
- pointWindowBase: ({ theme, ownerState }) => ({
115
- display: "flex",
116
- alignItems: "center",
117
- color: theme.vars.palette.text.primary,
118
- ...theme.generalSettings.isMobile ? {
119
- ...ownerState.size === "small" && {
120
- height: theme.vars.size.mobile.small.base
121
- },
122
- ...ownerState.size === "medium" && {
123
- height: theme.vars.size.mobile.medium.base
124
- }
125
- } : {
126
- ...ownerState.size === "small" && {
127
- height: theme.vars.size.desktop.small.base
128
- },
129
- ...ownerState.size === "medium" && {
130
- height: theme.vars.size.desktop.medium.base
131
- }
132
- }
146
+ gap: theme.vars.size.baseSpacings["sp0-5"],
147
+ "& .MuiSkeleton-root.M4LIcon-root": {
148
+ width: theme.vars.size.baseSpacings.sp3,
149
+ height: theme.vars.size.baseSpacings.sp3
150
+ },
151
+ overflow: "hidden",
152
+ width: "100%",
153
+ userSelect: "none"
133
154
  }),
134
155
  /**
135
156
  * Styles for the subtitle of the header of the window base component.
@@ -137,22 +158,23 @@ const windowBaseStyles = {
137
158
  headerSubTitleWindowBase: ({ theme, ownerState }) => ({
138
159
  width: "auto !important",
139
160
  height: "auto !important",
140
- ...ownerState?.selected ? {
161
+ ...ownerState?.selected && ownerState?.type !== "modal" && ownerState?.variant === "outlined" ? {
141
162
  color: `${theme.vars.palette["primary"].semanticText} !important`
142
163
  } : {
143
164
  color: `${theme.vars.palette.text.secondary} !important`
144
- }
165
+ },
166
+ whiteSpace: "nowrap",
167
+ overflow: "hidden",
168
+ textOverflow: "ellipsis",
169
+ paddingLeft: theme.vars.size.baseSpacings.sp1,
170
+ cursor: "all-scroll"
145
171
  }),
146
172
  /**
147
173
  * Styles for the icon of the header of the window base component.
148
174
  */
149
175
  headerIconWindowBase: ({ theme, ownerState }) => ({
150
- display: "flex",
151
- alignItems: "center",
152
- justifyContent: "center",
153
- borderRadius: theme.vars.size.borderRadius["r0-5"],
154
176
  "& .M4LIcon-icon": {
155
- ...ownerState?.selected ? {
177
+ ...ownerState?.selected && ownerState?.type !== "modal" && ownerState?.variant === "outlined" ? {
156
178
  backgroundColor: `${theme.vars.palette["primary"].semanticText} !important`
157
179
  } : {
158
180
  backgroundColor: `${theme.vars.palette.text.secondary} !important`
@@ -162,52 +184,122 @@ const windowBaseStyles = {
162
184
  /**
163
185
  * Styles for the icons wrapper of the window base component.
164
186
  */
165
- iconsWrapperWindowBase: () => ({
187
+ iconsWrapperWindowBase: ({ theme, ownerState }) => ({
166
188
  display: "flex",
167
189
  alignItems: "center",
168
190
  justifyContent: "flex-end",
169
191
  flexDirection: "row",
170
192
  flexWrap: "nowrap",
171
- cursor: "pointer"
193
+ cursor: "pointer",
194
+ height: "100%",
195
+ gap: theme.vars.size.baseSpacings["sp0-5"],
196
+ // override the default styles of the icon button
197
+ "& .window-actions.MuiSkeleton-root": {
198
+ ...getSizeStyles(
199
+ theme,
200
+ ownerState?.size || "medium",
201
+ "base",
202
+ (size) => ({
203
+ height: `${size}!important`,
204
+ width: `${size}!important`
205
+ })
206
+ ),
207
+ marginLeft: theme.vars.size.baseSpacings.sp1,
208
+ marginRight: theme.vars.size.baseSpacings.sp1,
209
+ marginBottom: ownerState?.type === "layout" ? "auto" : "unset"
210
+ },
211
+ '& .window-actions[class*="M4LIconButton-styledMUIIconButton"]': {
212
+ ...getSizeStyles(
213
+ theme,
214
+ ownerState?.size || "medium",
215
+ "base",
216
+ (size) => ({
217
+ height: `${size}!important`,
218
+ width: `${size}!important`
219
+ })
220
+ ),
221
+ marginLeft: theme.vars.size.baseSpacings.sp1,
222
+ marginRight: theme.vars.size.baseSpacings.sp1,
223
+ marginBottom: ownerState?.type === "layout" ? "auto!important" : "unset!important",
224
+ "&.collapse-toggle": {
225
+ "&:hover": {
226
+ backgroundColor: `${theme.vars.palette.chips.orange.contained.backgroundColor} !important`,
227
+ "& .M4LIcon-icon": {
228
+ backgroundColor: `${theme.vars.palette.chips.orange.contained.backgroundColorTone} !important`
229
+ }
230
+ },
231
+ "&:active": {
232
+ backgroundColor: `${theme.vars.palette.chips.orange.contained.backgroundHover} !important`,
233
+ "& .M4LIcon-icon": {
234
+ backgroundColor: `${theme.vars.palette.chips.orange.contained.backgroundColorTone} !important`
235
+ }
236
+ }
237
+ },
238
+ "&.expand-toggle": {
239
+ "&:hover": {
240
+ backgroundColor: `${theme.vars.palette.chips.info.contained.backgroundColor} !important`,
241
+ "& .M4LIcon-icon": {
242
+ backgroundColor: `${theme.vars.palette.chips.info.contained.backgroundColorTone} !important`
243
+ }
244
+ },
245
+ "&:active": {
246
+ backgroundColor: `${theme.vars.palette.chips.info.contained.backgroundHover} !important`,
247
+ "& .M4LIcon-icon": {
248
+ backgroundColor: `${theme.vars.palette.chips.info.contained.backgroundColorTone} !important`
249
+ }
250
+ }
251
+ },
252
+ "&.close-button": {
253
+ "&:hover": {
254
+ backgroundColor: `${theme.vars.palette.chips.error.contained.backgroundColor} !important`,
255
+ "& .M4LIcon-icon": {
256
+ backgroundColor: `${theme.vars.palette.chips.error.contained.backgroundColorTone} !important`
257
+ }
258
+ },
259
+ "&:active": {
260
+ backgroundColor: `${theme.vars.palette.chips.error.contained.backgroundHover} !important`,
261
+ "& .M4LIcon-icon": {
262
+ backgroundColor: `${theme.vars.palette.chips.error.contained.backgroundColorTone} !important`
263
+ }
264
+ }
265
+ },
266
+ "&.MuiButtonBase-root:not(:hover, :active, :focus) .M4LIcon-root .M4LIcon-icon": {
267
+ backgroundColor: `${theme.vars.palette.text.disabled} !important`
268
+ }
269
+ },
270
+ "& .window-actions:first-child": {
271
+ marginLeft: `${theme.vars.size.baseSpacings.sp2} !important`
272
+ }
172
273
  }),
173
274
  /**
174
275
  * Styles for the dot icon of the window base component.
175
276
  */
176
277
  pointIcon: ({ theme, ownerState }) => ({
177
278
  "& .M4LIcon-icon": {
178
- ...ownerState?.selected ? {
279
+ ...ownerState?.selected && ownerState?.type !== "modal" && ownerState?.variant === "outlined" ? {
179
280
  backgroundColor: `${theme.vars.palette["primary"].semanticText} !important`
180
281
  } : {
181
282
  backgroundColor: `${theme.vars.palette.text.secondary} !important`
182
283
  }
183
284
  },
184
- ...theme.generalSettings.isMobile ? {
185
- ...ownerState.size === "small" && {
186
- height: theme.vars.size.mobile.small.base
187
- },
188
- ...ownerState.size === "medium" && {
189
- height: theme.vars.size.mobile.medium.base
190
- }
191
- } : {
192
- ...ownerState.size === "small" && {
193
- height: theme.vars.size.desktop.small.base
194
- },
195
- ...ownerState.size === "medium" && {
196
- height: theme.vars.size.desktop.medium.base
197
- }
198
- }
285
+ ...getSizeStyles(
286
+ theme,
287
+ ownerState?.size,
288
+ "base"
289
+ )
199
290
  }),
200
291
  /**
201
292
  * Styles for the menu actions of the window base component.
202
293
  */
203
294
  menuActionsWindowBase: ({ theme, ownerState }) => ({
204
- left: "-50px",
205
- "& .M4LIcon-icon": {
206
- ...ownerState?.selected ? {
207
- backgroundColor: `${theme.vars.palette["primary"].semanticText} !important`
208
- } : {
209
- backgroundColor: `${theme.vars.palette.text.secondary} !important`
210
- }
295
+ ...ownerState?.type === "layout" ? {
296
+ ...getSizeStyles(
297
+ theme,
298
+ ownerState?.size,
299
+ "action"
300
+ )
301
+ } : {
302
+ height: "auto!important"
211
303
  }
212
304
  }),
213
305
  /**
@@ -238,6 +330,15 @@ const windowBaseStyles = {
238
330
  width: "100%",
239
331
  height: "100%",
240
332
  overflow: "auto"
333
+ }),
334
+ /**
335
+ * Styles for the toast container of the window base component.
336
+ */
337
+ toastContainer: () => ({
338
+ "&.Toastify__toast-container": {
339
+ top: "20px !important",
340
+ right: "24px !important"
341
+ }
241
342
  })
242
343
  };
243
344
  export {
@@ -1,7 +1,7 @@
1
1
  const ICONS = {
2
- CLOSE: "close.svg",
2
+ CLOSE: "header_close.svg",
3
3
  VERSION: "branch.svg",
4
- MORE_VERTICAL: "more_vertical.svg",
4
+ MORE_VERTICAL: "header_menu_options.svg",
5
5
  POINT: "point.svg"
6
6
  };
7
7
  export {
@@ -4,14 +4,14 @@ export declare enum WindowBaseSlots {
4
4
  headerContentWindowBase = "headerContentWindowBase",
5
5
  headerTitleWindowBase = "headerTitleWindowBase",
6
6
  headerSubTitleWindowBase = "headerSubTitleWindowBase",
7
- pointWindowBase = "pointWindowBase",
8
7
  pointIcon = "pointIcon",
9
- subtitleContainer = "subtitleContainer",
8
+ containerTitleSubtitle = "containerTitleSubtitle",
10
9
  headerIconWindowBase = "headerIconWindowBase",
11
10
  menuActionsWindowBase = "menuActionsWindowBase",
12
11
  iconsWrapperWindowBase = "iconsWrapperWindowBase",
13
12
  headerWindowComponent = "headerWindowComponent",
14
13
  linearProgressIndeterminate = "linearProgressIndeterminate",
15
14
  contentEditionInfo = "contentEditionInfo",
16
- windowContainerComponent = "windowContainerComponent"
15
+ windowContainerComponent = "windowContainerComponent",
16
+ toastContainer = "toastContainer"
17
17
  }