@m4l/components 9.2.56-beta.2 → 9.2.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (374) hide show
  1. package/.storybook/decorators/WithWindowsToolsContext/WithContextWindowTools.d.ts +5 -0
  2. package/.storybook/utils/getStylesColorsByMode.d.ts +4 -4
  3. package/@types/augmentations.d.ts +1 -1
  4. package/@types/types.d.ts +9 -10
  5. package/components/AccountPopover/AccountPopover.js +4 -3
  6. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +32 -32
  7. package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +14 -13
  8. package/components/AccountPopover/types.d.ts +2 -2
  9. package/components/AppBar/AppBar.js +9 -6
  10. package/components/AppBar/slots/AppBarSlots.d.ts +16 -16
  11. package/components/AppBar/styles.js +1 -2
  12. package/components/AppBar/types.d.ts +2 -2
  13. package/components/Chip/ChipStyles.js +12 -12
  14. package/components/Chip/slots/ChipSlots.d.ts +6 -6
  15. package/components/Color/Color.styles.js +11 -11
  16. package/components/Color/slots/ColorSlots.d.ts +5 -5
  17. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  18. package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
  19. package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +1 -0
  20. package/components/CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.d.ts +2 -2
  21. package/components/CommonActions/components/ActionFormIntro/types.d.ts +2 -2
  22. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  23. package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
  24. package/components/DataGrid/DataGrid.js +8 -29
  25. package/components/DataGrid/constants.d.ts +0 -1
  26. package/components/DataGrid/constants.js +0 -2
  27. package/components/DataGrid/contexts/DataGridContext/index.js +44 -31
  28. package/components/DataGrid/contexts/DataGridContext/types.d.ts +1 -6
  29. package/components/DataGrid/dictionary.d.ts +2 -1
  30. package/components/DataGrid/dictionary.js +22 -21
  31. package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +2 -0
  32. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/formatter.js +2 -2
  33. package/components/DataGrid/icons.d.ts +0 -1
  34. package/components/DataGrid/icons.js +3 -4
  35. package/components/DataGrid/slots/DataGridEnum.d.ts +0 -6
  36. package/components/DataGrid/slots/DataGridEnum.js +2 -10
  37. package/components/DataGrid/slots/DataGridSlot.d.ts +0 -9
  38. package/components/DataGrid/slots/DataGridSlot.js +14 -35
  39. package/components/DataGrid/styles.js +484 -0
  40. package/components/DataGrid/subcomponents/Actions/index.d.ts +5 -0
  41. package/components/DataGrid/subcomponents/Actions/index.js +49 -0
  42. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/index.js +7 -8
  43. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Filter/index.js +2 -2
  44. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +7 -0
  45. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/MobileMenuActions/index.js +4 -4
  46. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/RowsCount/index.js +4 -4
  47. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/index.d.ts +5 -0
  48. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/index.js +4 -6
  49. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +47 -57
  50. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +3 -4
  51. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/types.d.ts +4 -0
  52. package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +7 -0
  53. package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/hooks/useModalSettings/index.js +7 -11
  54. package/components/DataGrid/subcomponents/Actions/types.d.ts +16 -0
  55. package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +5 -5
  56. package/components/DataGrid/subcomponents/Table/index.js +4 -4
  57. package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +3 -12
  58. package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +13 -28
  59. package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +2 -2
  60. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +2 -4
  61. package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
  62. package/components/DataGrid/types.d.ts +3 -20
  63. package/components/DragResizeWindowRND/DragResizeWindowRND.styles.js +1 -1
  64. package/components/DragResizeWindowRND/slots/DragResizeWindowRNDSlots.d.ts +5 -3
  65. package/components/DynamicFilter/DynamicFilter.styles.js +13 -13
  66. package/components/DynamicFilter/dictionary.d.ts +1 -0
  67. package/components/DynamicFilter/dictionary.js +2 -1
  68. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +19 -19
  69. package/components/DynamicFilter/store/DynamicFilterStore.js +2 -2
  70. package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +2 -2
  71. package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +1 -1
  72. package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +3 -2
  73. package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -2
  74. package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +4 -3
  75. package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
  76. package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -0
  77. package/components/DynamicFilter/types.d.ts +1 -1
  78. package/components/DynamicSort/DynamicSort.styles.js +13 -13
  79. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +19 -19
  80. package/components/DynamicSort/store/DynamicSortStore.js +2 -2
  81. package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +2 -2
  82. package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -0
  83. package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +5 -4
  84. package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
  85. package/components/DynamicSort/subcomponents/SortActions/SortActions.js +3 -2
  86. package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
  87. package/components/GridLayout/styles.js +82 -4
  88. package/components/HelperError/HelperError.styles.js +4 -4
  89. package/components/Icon/Icon.js +1 -1
  90. package/components/Icon/Icon.styles.js +10 -10
  91. package/components/Image/Image.js +1 -1
  92. package/components/Image/image.styles.js +1 -1
  93. package/components/Image/slots/ImageSlots.d.ts +12 -12
  94. package/components/Image/subcomponents/IntersectComponent/index.js +1 -0
  95. package/components/Image/types.d.ts +2 -2
  96. package/components/Label/Label.styles.js +11 -11
  97. package/components/Label/slots/LabelSlots.d.ts +1 -1
  98. package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
  99. package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
  100. package/components/LoadingError/LoadingError.js +2 -1
  101. package/components/MenuActions/MenuActions.js +3 -3
  102. package/components/MenuActions/MenuActions.styles.js +4 -4
  103. package/components/MenuActions/slots/MenuActionsSlots.d.ts +12 -12
  104. package/components/MenuActions/types.d.ts +3 -3
  105. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
  106. package/components/NoItemSelected/NoItemSelected.js +5 -3
  107. package/components/NoItemSelected/NoItemSelected.styles.js +4 -4
  108. package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +7 -7
  109. package/components/NumberInput/NumberInput.styles.js +20 -20
  110. package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +2 -0
  111. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  112. package/components/ObjectLogs/hooks/useDetailFormatter.js +2 -3
  113. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +20 -20
  114. package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +3 -1
  115. package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +3 -1
  116. package/components/ObjectLogs/types.d.ts +2 -2
  117. package/components/Pager/Pager.js +3 -2
  118. package/components/Pager/Pager.styles.js +12 -13
  119. package/components/Pager/slots/PagerEnum.d.ts +1 -2
  120. package/components/Pager/slots/PagerEnum.js +0 -1
  121. package/components/Pager/slots/PagerSlots.d.ts +0 -1
  122. package/components/Pager/slots/PagerSlots.js +2 -7
  123. package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +18 -16
  124. package/components/Pager/subcomponents/PagerActions/PagerActions.js +2 -4
  125. package/components/Pager/subcomponents/PagerActions/types.d.ts +0 -1
  126. package/components/PaperForm/components/Header.js +2 -2
  127. package/components/PaperForm/slots/PaperFormSlots.d.ts +10 -10
  128. package/components/PaperForm/styles.js +7 -7
  129. package/components/PaperForm/types.d.ts +2 -2
  130. package/components/PrintingSystem/slots/PrintingSystemSlots.d.ts +42 -42
  131. package/components/PrintingSystem/subcomponents/BodyNode/index.js +1 -0
  132. package/components/PrintingSystem/subcomponents/ChartNode/index.js +1 -0
  133. package/components/PrintingSystem/subcomponents/DividerNode/index.js +1 -0
  134. package/components/PrintingSystem/subcomponents/FooterNode/index.js +1 -0
  135. package/components/PrintingSystem/subcomponents/GridNode/index.js +5 -0
  136. package/components/PrintingSystem/subcomponents/HeaderNode/index.js +1 -0
  137. package/components/PrintingSystem/subcomponents/PageNode/index.js +1 -0
  138. package/components/PrintingSystem/subcomponents/PaperNode/index.js +5 -0
  139. package/components/PrintingSystem/subcomponents/PropertyValueNode/index.js +2 -0
  140. package/components/PrintingSystem/subcomponents/SectionNode/index.js +1 -0
  141. package/components/PrintingSystem/types.d.ts +2 -2
  142. package/components/PropertyValue/PropertyValue.js +4 -3
  143. package/components/PropertyValue/PropertyValue.styles.js +3 -3
  144. package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
  145. package/components/ScrollBar/ScrollBar.d.ts +3 -3
  146. package/components/ScrollBar/ScrollBar.js +45 -5
  147. package/components/ScrollBar/ScrollBar.styles.js +52 -5
  148. package/components/ScrollBar/constants.d.ts +2 -4
  149. package/components/ScrollBar/constants.js +5 -2
  150. package/components/ScrollBar/slots/ScrollBarEnum.d.ts +4 -0
  151. package/components/ScrollBar/slots/ScrollBarEnum.js +8 -0
  152. package/components/ScrollBar/slots/ScrollBarSlots.d.ts +6 -1
  153. package/components/ScrollBar/slots/ScrollBarSlots.js +13 -7
  154. package/components/ScrollBar/slots/index.d.ts +2 -0
  155. package/components/ScrollBar/types.d.ts +42 -12
  156. package/components/SideBar/slots/SideBarSlots.d.ts +34 -34
  157. package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -2
  158. package/components/SideBar/subcomponents/ContentComponent/style.js +4 -4
  159. package/components/SideBar/subcomponents/ContentGroups/index.js +3 -3
  160. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -2
  161. package/components/SideBar/subcomponents/ContentGroups/styles.js +2 -11
  162. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -2
  163. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +10 -1
  164. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +1 -0
  165. package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -2
  166. package/components/SideBar/subcomponents/HeaderSidebar/index.js +2 -2
  167. package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -2
  168. package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -2
  169. package/components/SideBar/subcomponents/SideBarDesktop/styles.js +2 -2
  170. package/components/SideBar/subcomponents/SideBarMobile/index.js +1 -0
  171. package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -2
  172. package/components/SideBar/types.d.ts +2 -9
  173. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  174. package/components/WindowBase/WindowBase.js +6 -8
  175. package/components/WindowBase/WindowBase.styles.js +107 -208
  176. package/components/WindowBase/icons.js +2 -2
  177. package/components/WindowBase/slots/WindowBaseEnum.d.ts +3 -3
  178. package/components/WindowBase/slots/WindowBaseEnum.js +2 -2
  179. package/components/WindowBase/slots/WindowBaseSlots.d.ts +23 -18
  180. package/components/WindowBase/slots/WindowBaseSlots.js +12 -13
  181. package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +12 -22
  182. package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
  183. package/components/WindowBase/subcomponents/Header/useButtonActions.js +2 -5
  184. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
  185. package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
  186. package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +0 -9
  187. package/components/WindowBase/types.d.ts +0 -10
  188. package/components/WindowConfirm/WindowConfirm.js +3 -2
  189. package/components/WindowConfirm/WindowConfirm.styles.js +4 -4
  190. package/components/areas/components/AreasAdmin/AreasAdmin.js +17 -12
  191. package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +21 -13
  192. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +23 -23
  193. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +4 -1
  194. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +4 -3
  195. package/components/areas/components/AreasAdmin/types.d.ts +1 -1
  196. package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
  197. package/components/areas/components/AreasViewer/AreasViewer.styles.js +2 -2
  198. package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +5 -5
  199. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +1 -1
  200. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +1 -8
  201. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +3 -7
  202. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +1 -0
  203. package/components/areas/contexts/AreasContext/index.js +1 -1
  204. package/components/areas/contexts/AreasContext/store.js +1 -1
  205. package/components/areas/contexts/AreasContext/types.d.ts +1 -1
  206. package/components/areas/icons.d.ts +2 -2
  207. package/components/areas/icons.js +4 -4
  208. package/components/commercial/SectionCommercial/classes/index.d.ts +2 -2
  209. package/components/commercial/SectionCommercial/classes/index.js +3 -3
  210. package/components/commercial/SectionCommercial/types.d.ts +1 -1
  211. package/components/extended/React-Resizable/helpers.d.ts +9 -2
  212. package/components/extended/React-Resizable/helpers.js +13 -15
  213. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +1 -0
  214. package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +1 -1
  215. package/components/extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.d.ts +4 -4
  216. package/components/extended/React-Spinners/PropagateLoaderSpinner/types.d.ts +2 -2
  217. package/components/extended/React-Splitter-Layout/slots/SplitLayoutSlots.d.ts +3 -3
  218. package/components/extended/React-resizable-panels/SplitLayout.styles.js +6 -6
  219. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +8 -8
  220. package/components/formatters/ChipStatusFormatter/slots/ChipStatusFormatterSlots.d.ts +2 -2
  221. package/components/formatters/PeriodFormatter/PeriodFormatter.styles.js +1 -1
  222. package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
  223. package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.d.ts +2 -1
  224. package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +7 -1
  225. package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
  226. package/components/hook-form/RHFDateTime/types.d.ts +1 -1
  227. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
  228. package/components/hook-form/RHFSelect/RHFSelect.js +1 -1
  229. package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
  230. package/components/hook-form/RHFSelect/slots/RHFSlots.js +1 -1
  231. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  232. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +1 -1
  233. package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +2 -2
  234. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +8 -8
  235. package/components/hook-form/RHFTextFieldPassword/types.d.ts +2 -2
  236. package/components/hook-form/RHFTimePicker/types.d.ts +1 -1
  237. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +1 -1
  238. package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +3 -3
  239. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +22 -22
  240. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +10 -9
  241. package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +2 -2
  242. package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.js +2 -2
  243. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +22 -22
  244. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +7 -2
  245. package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +6 -5
  246. package/components/hook-form/RHFormContext/index.d.ts +1 -1
  247. package/components/index.d.ts +0 -2
  248. package/components/mui_extended/Accordion/Accordion.js +21 -31
  249. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
  250. package/components/mui_extended/Accordion/styles.js +33 -56
  251. package/components/mui_extended/Accordion/types.d.ts +6 -39
  252. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +3 -3
  253. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +1 -1
  254. package/components/mui_extended/Autocomplete/renderOptions/index.d.ts +3 -1
  255. package/components/mui_extended/Autocomplete/renderOptions/index.js +3 -2
  256. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +17 -17
  257. package/components/mui_extended/Avatar/Avatar.js +1 -1
  258. package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
  259. package/components/mui_extended/Avatar/styles.js +3 -3
  260. package/components/mui_extended/Badge/Badge.js +2 -1
  261. package/components/mui_extended/Badge/Badge.styles.js +9 -9
  262. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
  263. package/components/mui_extended/Badge/types.d.ts +2 -2
  264. package/components/mui_extended/Button/ButtonStyles.js +25 -25
  265. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  266. package/components/mui_extended/CheckBox/CheckBox.js +2 -2
  267. package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -12
  268. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +12 -12
  269. package/components/mui_extended/CheckBox/types.d.ts +2 -2
  270. package/components/mui_extended/CircularProgress/CircularProgress.styles.js +5 -5
  271. package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +49 -49
  272. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +12 -12
  273. package/components/mui_extended/Divider/Divider.js +2 -1
  274. package/components/mui_extended/Divider/Divider.styles.js +9 -9
  275. package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
  276. package/components/mui_extended/IconButton/IconButton.js +2 -3
  277. package/components/mui_extended/IconButton/IconButton.styles.js +21 -21
  278. package/components/mui_extended/IconButton/helpers/getIconButtonColors.d.ts +1 -1
  279. package/components/mui_extended/IconButton/helpers/getIconButtonColors.js +4 -4
  280. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +5 -5
  281. package/components/mui_extended/IconButton/types.d.ts +1 -1
  282. package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
  283. package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  284. package/components/mui_extended/MenuDivider/MenuDivider.js +2 -1
  285. package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
  286. package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
  287. package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
  288. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +7 -7
  289. package/components/mui_extended/MenuItem/types.d.ts +3 -8
  290. package/components/mui_extended/NavLink/NavLink.js +2 -1
  291. package/components/mui_extended/NavLink/NavLink.styles.js +9 -9
  292. package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +4 -4
  293. package/components/mui_extended/Popover/Popover.js +1 -0
  294. package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +2 -2
  295. package/components/mui_extended/Popover/types.d.ts +3 -3
  296. package/components/mui_extended/Popper/PopperStyles.js +1 -1
  297. package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
  298. package/components/mui_extended/Select/Select.js +3 -2
  299. package/components/mui_extended/Select/Select.styles.js +10 -10
  300. package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -12
  301. package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
  302. package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
  303. package/components/mui_extended/Skeleton/skeleton.styles.js +4 -4
  304. package/components/mui_extended/Stack/Stack.styles.js +3 -3
  305. package/components/mui_extended/Stack/slots/StackSlot.d.ts +2 -2
  306. package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
  307. package/components/mui_extended/Tab/Tab.js +0 -2
  308. package/components/mui_extended/Tab/Tab.styles.js +48 -26
  309. package/components/mui_extended/Tab/types.d.ts +0 -4
  310. package/components/mui_extended/TabContent/TabContent.js +1 -1
  311. package/components/mui_extended/TabContent/TabContent.styles.js +4 -2
  312. package/components/mui_extended/TabContent/slots/TabContentSlots.d.ts +2 -2
  313. package/components/mui_extended/TabContent/types.d.ts +2 -2
  314. package/components/mui_extended/Tabs/Tabs.styles.js +1 -2
  315. package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -1
  316. package/components/mui_extended/TextField/TextField.styles.js +22 -22
  317. package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
  318. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +9 -9
  319. package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  320. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  321. package/components/mui_extended/Tooltip/Tooltip.styles.js +1 -1
  322. package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +3 -3
  323. package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
  324. package/components/mui_extended/Typography/typography.styles.js +7 -7
  325. package/components/mui_extended/index.d.ts +2 -0
  326. package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +2 -2
  327. package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +9 -7
  328. package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +0 -2
  329. package/hooks/useComponentSize/useComponentSize.d.ts +3 -3
  330. package/hooks/useComponentSize/useComponentSize.js +2 -5
  331. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -6
  332. package/hooks/useDynamicFilterAndSort/styles.js +7 -8
  333. package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
  334. package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +15 -8
  335. package/index.js +24 -24
  336. package/package.json +3 -3
  337. package/storybook/components/Chip/Chip.stories.d.ts +0 -4
  338. package/storybook/components/DataGrid/DataGrid.stories.d.ts +0 -16
  339. package/storybook/components/Icon/Icon.stories.d.ts +0 -4
  340. package/storybook/components/ObjectLogs/ObjectLogs.stories.d.ts +2 -2
  341. package/storybook/components/WindowBase/windowBase.stories.d.ts +7 -60
  342. package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +20 -72
  343. package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
  344. package/storybook/components/extended/scrollBar/ScrollBar.stories.d.ts +7 -0
  345. package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +11 -0
  346. package/.storybook/utils/flattenDeep.d.ts +0 -8
  347. package/components/DataGrid/Datagrid.styles.js +0 -598
  348. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +0 -5
  349. package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +0 -30
  350. package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +0 -2
  351. package/components/DataGrid/subcomponents/ControlNavigate/types.d.ts +0 -7
  352. package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +0 -5
  353. package/components/DataGrid/subcomponents/HeaderActions/index.js +0 -39
  354. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/MobileMenuActions/index.d.ts +0 -4
  355. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/index.d.ts +0 -4
  356. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +0 -7
  357. package/components/DataGrid/subcomponents/HeaderActions/subcomponents/types.d.ts +0 -2
  358. package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +0 -4
  359. package/components/Pager/index.d.ts +0 -2
  360. package/components/ScrollBar/index.d.ts +0 -2
  361. package/components/ScrollBar/index.js +0 -1
  362. package/components/ScrollBar/slots/ScrollbarEnum.d.ts +0 -3
  363. package/components/ScrollBar/slots/ScrollbarEnum.js +0 -7
  364. package/storybook/tootls/WrapperLineGuide/WrapperLineGuide.d.ts +0 -9
  365. package/storybook/tootls/WrapperLineGuide/styles.d.ts +0 -1
  366. package/storybook/tootls/WrapperLineGuide/types.d.ts +0 -5
  367. /package/components/DataGrid/{Datagrid.styles.d.ts → styles.d.ts} +0 -0
  368. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/index.d.ts +0 -0
  369. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Density/types.d.ts +0 -0
  370. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Filter/index.d.ts +0 -0
  371. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/RowsCount/index.d.ts +0 -0
  372. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -0
  373. /package/components/DataGrid/subcomponents/{HeaderActions → Actions}/subcomponents/hooks/useModalSettings/types.d.ts +0 -0
  374. /package/components/{Pager → ScrollBar/slots}/index.js +0 -0
@@ -7,8 +7,9 @@ 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, T as ToastContainerStyled, C as ContentWindowStyled, L as LinearProgressIndeterminateStyled } from "./slots/WindowBaseSlots.js";
10
+ import { W as WindowBaseStyled, 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";
12
13
  const WindowBase = (props) => {
13
14
  const {
14
15
  children,
@@ -24,15 +25,14 @@ const WindowBase = (props) => {
24
25
  windowId,
25
26
  onMouseDown,
26
27
  editionInfo,
27
- type = "layout",
28
28
  ...other
29
29
  } = props;
30
30
  const { currentSize } = useComponentSize(size);
31
+ const normalizedSize = currentSize === "large" ? "medium" : currentSize;
31
32
  const ownerState = {
32
33
  selected,
33
34
  variant,
34
- size: currentSize,
35
- type
35
+ size: normalizedSize
36
36
  };
37
37
  return /* @__PURE__ */ jsx(AppearanceComponentProvider, { defaultSize: currentSize, children: /* @__PURE__ */ jsxs(
38
38
  WindowBaseStyled,
@@ -49,14 +49,12 @@ const WindowBase = (props) => {
49
49
  version,
50
50
  buildTime,
51
51
  size,
52
- variant,
53
52
  selected,
54
53
  onClose,
55
- type,
56
54
  ...other
57
55
  }
58
56
  ),
59
- /* @__PURE__ */ jsx(ToastContainerStyled, { fixed: false, position: "top-right", containerId: windowId }),
57
+ /* @__PURE__ */ jsx(ToastContainer, { fixed: false, position: "top-right", containerId: windowId }),
60
58
  editionInfo && /* @__PURE__ */ jsx(EditionInfo, { editionInfo }),
61
59
  /* @__PURE__ */ jsx(
62
60
  ContentWindowStyled,
@@ -66,7 +64,7 @@ const WindowBase = (props) => {
66
64
  children
67
65
  }
68
66
  ),
69
- isLoading && /* @__PURE__ */ jsx(LinearProgressIndeterminateStyled, {})
67
+ isLoading && /* @__PURE__ */ jsx(LinearProgressIndeterminateStyled, { ownerState: {} })
70
68
  ]
71
69
  }
72
70
  ) });
@@ -1,5 +1,3 @@
1
- import { alpha } from "@mui/material";
2
- import { g as getSizeStyles } from "../../utils/getSizeStyles/getSizeStyles.js";
3
1
  const windowBaseStyles = {
4
2
  /**
5
3
  * Styles for the window base wrapper component.
@@ -10,102 +8,66 @@ const windowBaseStyles = {
10
8
  width: "100%",
11
9
  display: "flex",
12
10
  flexDirection: "column",
13
- borderRadius: ownerState?.variant === "outlined" ? theme.vars.size.borderRadius.r2 : "unset",
14
- backgroundColor: theme.vars.palette.background.default,
11
+ borderRadius: theme.vars.size.borderRadius.r1,
15
12
  overflow: "hidden",
16
13
  ...ownerState?.variant === "outlined" && {
14
+ border: theme.vars.size.borderStroke.container,
17
15
  ...ownerState?.selected ? {
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
- }
16
+ borderColor: theme.vars.palette.border.main
32
17
  } : {
33
- boxShadow: ownerState?.type === "popup" || ownerState?.type === "layout" ? `inset 0px 0px 0 1.6px ${theme.vars.palette?.border.default}` : "unset"
18
+ borderColor: theme.vars.palette.border.default
34
19
  }
35
- }
20
+ },
21
+ backgroundColor: theme.vars.palette.background.default
36
22
  }),
37
23
  //
38
24
  /**
39
25
  * Styles for the content of the window base component.
40
26
  */
41
- contentWindowBase: ({ theme, ownerState }) => ({
42
- padding: ownerState?.type === "layout" ? theme.vars.size.baseSpacings.sp5 : theme.vars.size.baseSpacings.sp4,
27
+ contentWindowBase: ({ theme }) => ({
28
+ padding: theme.vars.size.baseSpacings.sp3,
43
29
  overflow: "auto",
44
30
  width: "100%",
45
- height: "100%",
46
- zIndex: 1
31
+ height: "100%"
47
32
  }),
48
33
  /**
49
34
  * Styles for the header of the window base component.
50
35
  */
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}`
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
106
51
  }
107
- };
108
- },
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
58
+ }
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
+ }),
109
71
  /**
110
72
  * Styles for the content of the header of the window base component.
111
73
  */
@@ -117,40 +79,57 @@ const windowBaseStyles = {
117
79
  paddingLeft: theme.vars.size.baseSpacings.sp1,
118
80
  paddingRight: theme.vars.size.baseSpacings.sp1,
119
81
  color: theme.vars.palette.text.primary,
120
- gap: theme.vars.size.baseSpacings.sp0,
121
- overflow: "hidden"
82
+ gap: theme.vars.size.baseSpacings.sp0
122
83
  }),
123
84
  /**
124
85
  * Styles for the title of the header of the window base component.
125
86
  */
126
87
  headerTitleWindowBase: ({ theme, ownerState }) => ({
127
88
  minWidth: "30px",
128
- ...ownerState?.selected && ownerState?.type !== "modal" && ownerState?.variant === "outlined" ? {
89
+ ...ownerState?.selected ? {
129
90
  color: `${theme.vars.palette["primary"].semanticText} !important`
130
91
  } : {
131
92
  color: `${theme.vars.palette.text.secondary} !important`
132
93
  },
94
+ fontWeight: `${theme.typography.fontWeightBold} !important`,
133
95
  whiteSpace: "nowrap",
134
96
  overflow: "hidden",
135
97
  textOverflow: "ellipsis",
136
- paddingLeft: theme.vars.size.baseSpacings.sp1,
137
- userSelect: "none",
138
- cursor: "all-scroll"
98
+ paddingLeft: theme.vars.size.baseSpacings.sp1
139
99
  }),
140
100
  /**
141
101
  * Styles for the subtitle container of the header of the window base component.
142
102
  */
143
- containerTitleSubtitle: ({ theme }) => ({
103
+ subtitleContainer: ({ theme }) => ({
144
104
  display: "flex",
145
105
  alignItems: "center",
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"
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
+ }
154
133
  }),
155
134
  /**
156
135
  * Styles for the subtitle of the header of the window base component.
@@ -158,23 +137,22 @@ const windowBaseStyles = {
158
137
  headerSubTitleWindowBase: ({ theme, ownerState }) => ({
159
138
  width: "auto !important",
160
139
  height: "auto !important",
161
- ...ownerState?.selected && ownerState?.type !== "modal" && ownerState?.variant === "outlined" ? {
140
+ ...ownerState?.selected ? {
162
141
  color: `${theme.vars.palette["primary"].semanticText} !important`
163
142
  } : {
164
143
  color: `${theme.vars.palette.text.secondary} !important`
165
- },
166
- whiteSpace: "nowrap",
167
- overflow: "hidden",
168
- textOverflow: "ellipsis",
169
- paddingLeft: theme.vars.size.baseSpacings.sp1,
170
- cursor: "all-scroll"
144
+ }
171
145
  }),
172
146
  /**
173
147
  * Styles for the icon of the header of the window base component.
174
148
  */
175
149
  headerIconWindowBase: ({ theme, ownerState }) => ({
150
+ display: "flex",
151
+ alignItems: "center",
152
+ justifyContent: "center",
153
+ borderRadius: theme.vars.size.borderRadius["r0-5"],
176
154
  "& .M4LIcon-icon": {
177
- ...ownerState?.selected && ownerState?.type !== "modal" && ownerState?.variant === "outlined" ? {
155
+ ...ownerState?.selected ? {
178
156
  backgroundColor: `${theme.vars.palette["primary"].semanticText} !important`
179
157
  } : {
180
158
  backgroundColor: `${theme.vars.palette.text.secondary} !important`
@@ -184,122 +162,52 @@ const windowBaseStyles = {
184
162
  /**
185
163
  * Styles for the icons wrapper of the window base component.
186
164
  */
187
- iconsWrapperWindowBase: ({ theme, ownerState }) => ({
165
+ iconsWrapperWindowBase: () => ({
188
166
  display: "flex",
189
167
  alignItems: "center",
190
168
  justifyContent: "flex-end",
191
169
  flexDirection: "row",
192
170
  flexWrap: "nowrap",
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
- }
171
+ cursor: "pointer"
273
172
  }),
274
173
  /**
275
174
  * Styles for the dot icon of the window base component.
276
175
  */
277
176
  pointIcon: ({ theme, ownerState }) => ({
278
177
  "& .M4LIcon-icon": {
279
- ...ownerState?.selected && ownerState?.type !== "modal" && ownerState?.variant === "outlined" ? {
178
+ ...ownerState?.selected ? {
280
179
  backgroundColor: `${theme.vars.palette["primary"].semanticText} !important`
281
180
  } : {
282
181
  backgroundColor: `${theme.vars.palette.text.secondary} !important`
283
182
  }
284
183
  },
285
- ...getSizeStyles(
286
- theme,
287
- ownerState?.size,
288
- "base"
289
- )
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
+ }
290
199
  }),
291
200
  /**
292
201
  * Styles for the menu actions of the window base component.
293
202
  */
294
203
  menuActionsWindowBase: ({ theme, ownerState }) => ({
295
- ...ownerState?.type === "layout" ? {
296
- ...getSizeStyles(
297
- theme,
298
- ownerState?.size,
299
- "action"
300
- )
301
- } : {
302
- height: "auto!important"
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
+ }
303
211
  }
304
212
  }),
305
213
  /**
@@ -330,15 +238,6 @@ const windowBaseStyles = {
330
238
  width: "100%",
331
239
  height: "100%",
332
240
  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
- }
342
241
  })
343
242
  };
344
243
  export {
@@ -1,7 +1,7 @@
1
1
  const ICONS = {
2
- CLOSE: "header_close.svg",
2
+ CLOSE: "close.svg",
3
3
  VERSION: "branch.svg",
4
- MORE_VERTICAL: "header_menu_options.svg",
4
+ MORE_VERTICAL: "more_vertical.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",
7
8
  pointIcon = "pointIcon",
8
- containerTitleSubtitle = "containerTitleSubtitle",
9
+ subtitleContainer = "subtitleContainer",
9
10
  headerIconWindowBase = "headerIconWindowBase",
10
11
  menuActionsWindowBase = "menuActionsWindowBase",
11
12
  iconsWrapperWindowBase = "iconsWrapperWindowBase",
12
13
  headerWindowComponent = "headerWindowComponent",
13
14
  linearProgressIndeterminate = "linearProgressIndeterminate",
14
15
  contentEditionInfo = "contentEditionInfo",
15
- windowContainerComponent = "windowContainerComponent",
16
- toastContainer = "toastContainer"
16
+ windowContainerComponent = "windowContainerComponent"
17
17
  }
@@ -4,8 +4,9 @@ var WindowBaseSlots = /* @__PURE__ */ ((WindowBaseSlots2) => {
4
4
  WindowBaseSlots2["headerContentWindowBase"] = "headerContentWindowBase";
5
5
  WindowBaseSlots2["headerTitleWindowBase"] = "headerTitleWindowBase";
6
6
  WindowBaseSlots2["headerSubTitleWindowBase"] = "headerSubTitleWindowBase";
7
+ WindowBaseSlots2["pointWindowBase"] = "pointWindowBase";
7
8
  WindowBaseSlots2["pointIcon"] = "pointIcon";
8
- WindowBaseSlots2["containerTitleSubtitle"] = "containerTitleSubtitle";
9
+ WindowBaseSlots2["subtitleContainer"] = "subtitleContainer";
9
10
  WindowBaseSlots2["headerIconWindowBase"] = "headerIconWindowBase";
10
11
  WindowBaseSlots2["menuActionsWindowBase"] = "menuActionsWindowBase";
11
12
  WindowBaseSlots2["iconsWrapperWindowBase"] = "iconsWrapperWindowBase";
@@ -13,7 +14,6 @@ var WindowBaseSlots = /* @__PURE__ */ ((WindowBaseSlots2) => {
13
14
  WindowBaseSlots2["linearProgressIndeterminate"] = "linearProgressIndeterminate";
14
15
  WindowBaseSlots2["contentEditionInfo"] = "contentEditionInfo";
15
16
  WindowBaseSlots2["windowContainerComponent"] = "windowContainerComponent";
16
- WindowBaseSlots2["toastContainer"] = "toastContainer";
17
17
  return WindowBaseSlots2;
18
18
  })(WindowBaseSlots || {});
19
19
  export {
@@ -8,75 +8,80 @@
8
8
  * Root component for the WindowBase container.
9
9
  */
10
10
  export declare const WindowBaseStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
11
- ownerState?: any;
11
+ ownerState: any;
12
12
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
13
13
  /**
14
14
  * Content component for the WindowBase container.
15
15
  */
16
16
  export declare const ContentWindowStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
17
- ownerState?: any;
17
+ ownerState: any;
18
18
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
19
19
  /**
20
20
  * Header container for the component.
21
21
  */
22
22
  export declare const HeaderWindowComponentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
23
- ownerState?: any;
23
+ ownerState: any;
24
24
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
25
25
  /**
26
26
  * Content wrapper for the header.
27
27
  */
28
28
  export declare const HeaderContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
29
- ownerState?: any;
29
+ ownerState: any;
30
30
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
31
31
  /**
32
32
  * Icon component for the header.
33
33
  */
34
34
  export declare const IconWindowStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Icon').IconProps, keyof import('../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
35
- ownerState?: any;
35
+ ownerState: any;
36
36
  }, {}, {}>;
37
37
  /**
38
38
  * Title component for the header.
39
39
  */
40
40
  export declare const TitleWindowStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Typography/types').TypographyProps, keyof import('../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
41
- ownerState?: any;
41
+ ownerState: any;
42
42
  }, {}, {}>;
43
43
  /**
44
44
  * Subtitle component for the header.
45
45
  */
46
46
  export declare const SubtitleWindowStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Typography/types').TypographyProps, keyof import('../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
47
- ownerState?: any;
47
+ ownerState: any;
48
48
  }, {}, {}>;
49
49
  /**
50
50
  * Subtitle container for the header.
51
51
  */
52
- export declare const ContainerTitleSubtitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
53
- ownerState?: any;
52
+ export declare const SubtitleContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
53
+ ownerState: any;
54
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
55
+ /**
56
+ * Point component for the header.
57
+ */
58
+ export declare const PointStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
59
+ ownerState: any;
54
60
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
55
61
  /**
56
62
  * Point icon component for the header.
57
63
  */
58
64
  export declare const PointIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Icon').IconProps, keyof import('../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
59
- ownerState?: any;
65
+ ownerState: any;
60
66
  }, {}, {}>;
61
67
  /**
62
68
  * Wrapper for icons in the header.
63
69
  */
64
70
  export declare const IconsWrapperStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
65
- ownerState?: any;
71
+ ownerState: any;
66
72
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
67
73
  /**
68
74
  * Styled component for menu actions in the header.
69
75
  */
70
76
  export declare const MenuActionsWindowsStyled: import('@emotion/styled').StyledComponent<Pick<import('../../MenuActions/types').MenuActionsProps, keyof import('../../MenuActions/types').MenuActionsProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
71
- ownerState?: any;
77
+ ownerState: any;
78
+ }, {}, {}>;
79
+ export declare const LinearProgressIndeterminateStyled: import('@emotion/styled').StyledComponent<Pick<import('../../LinearProgressIndeterminate/types').LinearProgressIndeterminateProps, keyof import('../../LinearProgressIndeterminate/types').LinearProgressIndeterminateProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
80
+ ownerState: any;
72
81
  }, {}, {}>;
73
- export declare const LinearProgressIndeterminateStyled: import('@emotion/styled').StyledComponent<Pick<import('../../LinearProgressIndeterminate/types').LinearProgressIndeterminateProps, keyof import('../../LinearProgressIndeterminate/types').LinearProgressIndeterminateProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, {}, {}>;
74
82
  export declare const ContentEditionInfoStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
75
- ownerState?: any;
83
+ ownerState: any;
76
84
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
77
85
  export declare const WindowContainerComponentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
78
- ownerState?: any;
86
+ ownerState: any;
79
87
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
80
- export declare const ToastContainerStyled: import('@emotion/styled').StyledComponent<Pick<import('../../ToastContainer/types').ToastContainerProps, keyof import('../../ToastContainer/types').ToastContainerProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
81
- ownerState?: any;
82
- }, {}, {}>;