@m4l/components 9.2.56 → 9.2.58

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