@astral/ui 4.100.0 → 4.102.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (552) hide show
  1. package/components/Alert/styles.js +12 -2
  2. package/components/Autocomplete/styles.js +5 -2
  3. package/components/Breadcrumbs/styles.js +18 -13
  4. package/components/CheckableTag/styles.js +6 -3
  5. package/components/Checkbox/styles.js +10 -7
  6. package/components/Chip/styles.js +11 -6
  7. package/components/CodeField/styles.js +5 -2
  8. package/components/CopyTypography/styles.js +19 -5
  9. package/components/DashboardLayout/Header/styles.js +5 -2
  10. package/components/DashboardSidebarPopover/SidebarPopoverItem/styles.js +5 -2
  11. package/components/DataGrid/Row/styles.js +14 -19
  12. package/components/DataGrid/RowBase/styles.js +10 -17
  13. package/components/DataGridCollapsibleRow/styles.js +5 -2
  14. package/components/Description/Value/styles.js +5 -2
  15. package/components/ExpansionPanel/Summary/styles.js +5 -2
  16. package/components/Fab/styles.js +12 -3
  17. package/components/InfiniteDataList/styles.js +5 -2
  18. package/components/InfiniteTreeList/InfiniteTreeList.d.ts +18 -0
  19. package/components/InfiniteTreeList/InfiniteTreeList.js +26 -19
  20. package/components/InfiniteTreeList/InfiniteTreeListActions/InfiniteTreeListActions.d.ts +9 -0
  21. package/components/InfiniteTreeList/InfiniteTreeListActions/InfiniteTreeListActions.js +9 -0
  22. package/components/InfiniteTreeList/InfiniteTreeListActions/types.d.ts +5 -0
  23. package/components/InfiniteTreeList/InfiniteTreeListActions/useLogic/useLogic.js +5 -6
  24. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.d.ts +81 -0
  25. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.js +21 -0
  26. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.d.ts +3 -2
  27. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +69 -13
  28. package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/ErrorPlaceholder.d.ts +6 -0
  29. package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/ErrorPlaceholder.js +8 -0
  30. package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/constants.d.ts +1 -0
  31. package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/constants.js +1 -0
  32. package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/index.d.ts +1 -0
  33. package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/index.js +1 -0
  34. package/components/InfiniteTreeList/{ErrorMessage → InfiniteTreeListItem/ErrorPlaceholder}/styles.d.ts +1 -1
  35. package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/styles.js +8 -0
  36. package/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +29 -7
  37. package/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContext.d.ts +19 -0
  38. package/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContext.js +4 -0
  39. package/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContextProvider/TreeListItemContextProvider.d.ts +4 -0
  40. package/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContextProvider/TreeListItemContextProvider.js +13 -8
  41. package/components/InfiniteTreeList/InfiniteTreeListItem/constants.d.ts +6 -0
  42. package/components/InfiniteTreeList/InfiniteTreeListItem/constants.js +7 -0
  43. package/components/InfiniteTreeList/InfiniteTreeListItem/styles.d.ts +4 -4
  44. package/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +32 -6
  45. package/components/InfiniteTreeList/InfiniteTreeListItem/types.d.ts +20 -3
  46. package/components/InfiniteTreeList/InfiniteTreeListItem/useLogic/useLogic.d.ts +7 -1
  47. package/components/InfiniteTreeList/InfiniteTreeListItem/useLogic/useLogic.js +57 -5
  48. package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/EndData.js +1 -1
  49. package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/ErrorMessage.js +2 -2
  50. package/components/InfiniteTreeList/ListFooter/ErrorMessage/styles.d.ts +5 -0
  51. package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/styles.js +1 -1
  52. package/components/InfiniteTreeList/ListFooter/ListFooter.d.ts +10 -0
  53. package/components/InfiniteTreeList/ListFooter/ListFooter.js +25 -0
  54. package/components/InfiniteTreeList/ListFooter/index.d.ts +2 -0
  55. package/components/InfiniteTreeList/ListFooter/index.js +1 -0
  56. package/components/InfiniteTreeList/{styles.d.ts → ListFooter/styles.d.ts} +2 -2
  57. package/components/InfiniteTreeList/{styles.js → ListFooter/styles.js} +1 -1
  58. package/components/InfiniteTreeList/ListFooter/types.d.ts +22 -0
  59. package/components/InfiniteTreeList/ListFooter/types.js +1 -0
  60. package/components/InfiniteTreeList/OnTopButton/OnTopButton.d.ts +8 -2
  61. package/components/InfiniteTreeList/OnTopButton/OnTopButton.js +6 -5
  62. package/components/InfiniteTreeList/OnTopButton/styles.d.ts +4 -0
  63. package/components/InfiniteTreeList/OnTopButton/styles.js +10 -0
  64. package/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/CustomParentWrapper.d.ts +23 -0
  65. package/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/CustomParentWrapper.js +12 -0
  66. package/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/index.d.ts +1 -0
  67. package/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/index.js +1 -0
  68. package/components/InfiniteTreeList/ParentItems/Item/Item.d.ts +10 -0
  69. package/components/InfiniteTreeList/ParentItems/Item/Item.js +22 -0
  70. package/components/InfiniteTreeList/ParentItems/Item/index.d.ts +2 -0
  71. package/components/InfiniteTreeList/ParentItems/Item/index.js +2 -0
  72. package/components/InfiniteTreeList/ParentItems/Item/types.d.ts +8 -0
  73. package/components/InfiniteTreeList/ParentItems/Item/types.js +1 -0
  74. package/components/InfiniteTreeList/ParentItems/Item/useLogic/index.d.ts +1 -0
  75. package/components/InfiniteTreeList/ParentItems/Item/useLogic/index.js +1 -0
  76. package/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.d.ts +12 -0
  77. package/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.js +12 -0
  78. package/components/InfiniteTreeList/ParentItems/ParentItems.d.ts +11 -0
  79. package/components/InfiniteTreeList/ParentItems/ParentItems.js +11 -0
  80. package/components/InfiniteTreeList/ParentItems/index.d.ts +3 -0
  81. package/components/InfiniteTreeList/ParentItems/index.js +3 -0
  82. package/components/InfiniteTreeList/ParentItems/types.d.ts +8 -0
  83. package/components/InfiniteTreeList/ParentItems/types.js +1 -0
  84. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/ChildrenPlaceholder.d.ts +9 -0
  85. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/ChildrenPlaceholder.js +22 -0
  86. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.d.ts +1 -0
  87. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.js +5 -0
  88. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/index.d.ts +1 -0
  89. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/index.js +1 -0
  90. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/index.d.ts +1 -0
  91. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/index.js +1 -0
  92. package/components/InfiniteTreeList/TreeItem/CustomItemWrapper/CustomItemWrapper.d.ts +20 -0
  93. package/components/InfiniteTreeList/TreeItem/CustomItemWrapper/CustomItemWrapper.js +10 -0
  94. package/components/InfiniteTreeList/TreeItem/CustomItemWrapper/index.d.ts +1 -0
  95. package/components/InfiniteTreeList/TreeItem/CustomItemWrapper/index.js +1 -0
  96. package/components/InfiniteTreeList/TreeItem/ParentSlot/ParentSlot.d.ts +5 -0
  97. package/components/InfiniteTreeList/TreeItem/ParentSlot/ParentSlot.js +38 -0
  98. package/components/InfiniteTreeList/TreeItem/ParentSlot/index.d.ts +2 -0
  99. package/components/InfiniteTreeList/TreeItem/ParentSlot/index.js +2 -0
  100. package/components/InfiniteTreeList/TreeItem/ParentSlot/styles.d.ts +9 -0
  101. package/components/InfiniteTreeList/TreeItem/ParentSlot/styles.js +8 -0
  102. package/components/InfiniteTreeList/TreeItem/ParentSlot/types.d.ts +6 -0
  103. package/components/InfiniteTreeList/TreeItem/ParentSlot/types.js +1 -0
  104. package/components/InfiniteTreeList/TreeItem/TreeItem.d.ts +5 -2
  105. package/components/InfiniteTreeList/TreeItem/TreeItem.js +31 -4
  106. package/components/InfiniteTreeList/TreeItem/constants.d.ts +3 -0
  107. package/components/InfiniteTreeList/TreeItem/constants.js +3 -1
  108. package/components/InfiniteTreeList/TreeItem/styles.d.ts +0 -3
  109. package/components/InfiniteTreeList/TreeItem/styles.js +23 -8
  110. package/components/InfiniteTreeList/TreeItem/types.d.ts +4 -9
  111. package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.d.ts +29 -9
  112. package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +61 -19
  113. package/components/InfiniteTreeList/constants.d.ts +14 -2
  114. package/components/InfiniteTreeList/constants.js +14 -2
  115. package/components/InfiniteTreeList/hooks/index.d.ts +5 -0
  116. package/components/InfiniteTreeList/hooks/index.js +5 -0
  117. package/components/InfiniteTreeList/hooks/useChildrenState/index.d.ts +2 -0
  118. package/components/InfiniteTreeList/hooks/useChildrenState/index.js +2 -0
  119. package/components/InfiniteTreeList/hooks/useChildrenState/types.d.ts +43 -0
  120. package/components/InfiniteTreeList/hooks/useChildrenState/types.js +1 -0
  121. package/components/InfiniteTreeList/hooks/useChildrenState/useChildrenState.d.ts +20 -0
  122. package/components/InfiniteTreeList/hooks/useChildrenState/useChildrenState.js +115 -0
  123. package/components/InfiniteTreeList/hooks/useEnterAnimation/index.d.ts +2 -0
  124. package/components/InfiniteTreeList/hooks/useEnterAnimation/index.js +2 -0
  125. package/components/InfiniteTreeList/hooks/useEnterAnimation/types.d.ts +29 -0
  126. package/components/InfiniteTreeList/hooks/useEnterAnimation/types.js +1 -0
  127. package/components/InfiniteTreeList/hooks/useEnterAnimation/useEnterAnimation.d.ts +6 -0
  128. package/components/InfiniteTreeList/hooks/useEnterAnimation/useEnterAnimation.js +35 -0
  129. package/components/InfiniteTreeList/hooks/useExpandNotifier/index.d.ts +1 -0
  130. package/components/InfiniteTreeList/hooks/useExpandNotifier/index.js +1 -0
  131. package/components/InfiniteTreeList/hooks/useExpandNotifier/useExpandNotifier.d.ts +8 -0
  132. package/components/InfiniteTreeList/hooks/useExpandNotifier/useExpandNotifier.js +19 -0
  133. package/components/InfiniteTreeList/hooks/useFlatTree/index.d.ts +2 -0
  134. package/components/InfiniteTreeList/hooks/useFlatTree/index.js +2 -0
  135. package/components/InfiniteTreeList/hooks/useFlatTree/types.d.ts +20 -0
  136. package/components/InfiniteTreeList/hooks/useFlatTree/types.js +1 -0
  137. package/components/InfiniteTreeList/hooks/useFlatTree/useFlatTree.d.ts +15 -0
  138. package/components/InfiniteTreeList/hooks/useFlatTree/useFlatTree.js +88 -0
  139. package/components/InfiniteTreeList/hooks/useListScroll/index.d.ts +2 -0
  140. package/components/InfiniteTreeList/hooks/useListScroll/index.js +2 -0
  141. package/components/InfiniteTreeList/hooks/useListScroll/types.d.ts +25 -0
  142. package/components/InfiniteTreeList/hooks/useListScroll/types.js +1 -0
  143. package/components/InfiniteTreeList/hooks/useListScroll/useListScroll.d.ts +29 -0
  144. package/components/InfiniteTreeList/hooks/useListScroll/useListScroll.js +59 -0
  145. package/components/InfiniteTreeList/index.d.ts +1 -1
  146. package/components/InfiniteTreeList/public.d.ts +1 -1
  147. package/components/InfiniteTreeList/types.d.ts +83 -17
  148. package/components/InfiniteTreeList/useLogic/useLogic.d.ts +22 -12
  149. package/components/InfiniteTreeList/useLogic/useLogic.js +66 -71
  150. package/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/checkHasSkeletonPlaceholders.d.ts +5 -0
  151. package/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/checkHasSkeletonPlaceholders.js +6 -0
  152. package/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/index.d.ts +1 -0
  153. package/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/index.js +1 -0
  154. package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/checkIsChildrenPlaceholder.d.ts +5 -0
  155. package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/checkIsChildrenPlaceholder.js +4 -0
  156. package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/index.d.ts +1 -0
  157. package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/index.js +1 -0
  158. package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/checkIsChildrenPlaceholderOf.d.ts +5 -0
  159. package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/checkIsChildrenPlaceholderOf.js +5 -0
  160. package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/index.d.ts +1 -0
  161. package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/index.js +1 -0
  162. package/components/InfiniteTreeList/utils/checkIsDirectChild/checkIsDirectChild.d.ts +6 -0
  163. package/components/InfiniteTreeList/utils/checkIsDirectChild/checkIsDirectChild.js +6 -0
  164. package/components/InfiniteTreeList/utils/checkIsDirectChild/index.d.ts +1 -0
  165. package/components/InfiniteTreeList/utils/checkIsDirectChild/index.js +1 -0
  166. package/components/InfiniteTreeList/utils/checkIsNoDataChildren/checkIsNoDataChildren.d.ts +12 -0
  167. package/components/InfiniteTreeList/utils/checkIsNoDataChildren/checkIsNoDataChildren.js +14 -0
  168. package/components/InfiniteTreeList/utils/checkIsNoDataChildren/index.d.ts +1 -0
  169. package/components/InfiniteTreeList/utils/checkIsNoDataChildren/index.js +1 -0
  170. package/components/InfiniteTreeList/utils/checkIsSameChildren/checkIsSameChildren.d.ts +5 -0
  171. package/components/InfiniteTreeList/utils/checkIsSameChildren/checkIsSameChildren.js +16 -0
  172. package/components/InfiniteTreeList/utils/checkIsSameChildren/index.d.ts +1 -0
  173. package/components/InfiniteTreeList/utils/checkIsSameChildren/index.js +1 -0
  174. package/components/InfiniteTreeList/utils/countDirectChildren/countDirectChildren.d.ts +5 -0
  175. package/components/InfiniteTreeList/utils/countDirectChildren/countDirectChildren.js +5 -0
  176. package/components/InfiniteTreeList/utils/countDirectChildren/index.d.ts +1 -0
  177. package/components/InfiniteTreeList/utils/countDirectChildren/index.js +1 -0
  178. package/components/InfiniteTreeList/utils/createParentSlots/createParentSlots.d.ts +24 -0
  179. package/components/InfiniteTreeList/utils/createParentSlots/createParentSlots.js +35 -0
  180. package/components/InfiniteTreeList/utils/createParentSlots/index.d.ts +1 -0
  181. package/components/InfiniteTreeList/utils/createParentSlots/index.js +1 -0
  182. package/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.d.ts +21 -0
  183. package/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.js +40 -0
  184. package/components/InfiniteTreeList/utils/createTailRegistry/index.d.ts +1 -0
  185. package/components/InfiniteTreeList/utils/createTailRegistry/index.js +1 -0
  186. package/components/InfiniteTreeList/utils/flattenChildren/flattenChildren.d.ts +5 -0
  187. package/components/InfiniteTreeList/utils/flattenChildren/flattenChildren.js +5 -0
  188. package/components/InfiniteTreeList/utils/flattenChildren/index.d.ts +1 -0
  189. package/components/InfiniteTreeList/utils/flattenChildren/index.js +1 -0
  190. package/components/InfiniteTreeList/utils/flattenTree/flattenTree.d.ts +6 -0
  191. package/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/flattenTree.js +9 -4
  192. package/components/InfiniteTreeList/utils/getEnteringChildren/getEnteringChildren.d.ts +17 -0
  193. package/components/InfiniteTreeList/utils/getEnteringChildren/getEnteringChildren.js +14 -0
  194. package/components/InfiniteTreeList/utils/getEnteringChildren/index.d.ts +1 -0
  195. package/components/InfiniteTreeList/utils/getEnteringChildren/index.js +1 -0
  196. package/components/InfiniteTreeList/utils/getIdsToKeep/getIdsToKeep.d.ts +10 -0
  197. package/components/InfiniteTreeList/utils/getIdsToKeep/getIdsToKeep.js +27 -0
  198. package/components/InfiniteTreeList/utils/getIdsToKeep/index.d.ts +1 -0
  199. package/components/InfiniteTreeList/utils/getIdsToKeep/index.js +1 -0
  200. package/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/getInitialExpandedIds.d.ts +4 -2
  201. package/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/getInitialExpandedIds.js +5 -4
  202. package/components/InfiniteTreeList/utils/getNestedItems/getNestedItems.d.ts +6 -0
  203. package/components/InfiniteTreeList/utils/getNestedItems/getNestedItems.js +18 -0
  204. package/components/InfiniteTreeList/utils/getNestedItems/index.d.ts +1 -0
  205. package/components/InfiniteTreeList/utils/getNestedItems/index.js +1 -0
  206. package/components/InfiniteTreeList/utils/index.d.ts +20 -0
  207. package/components/InfiniteTreeList/utils/index.js +20 -0
  208. package/components/InfiniteTreeList/utils/insertChildren/index.d.ts +1 -0
  209. package/components/InfiniteTreeList/utils/insertChildren/index.js +1 -0
  210. package/components/InfiniteTreeList/utils/insertChildren/insertChildren.d.ts +5 -0
  211. package/components/InfiniteTreeList/utils/insertChildren/insertChildren.js +41 -0
  212. package/components/InfiniteTreeList/utils/removeChildren/index.d.ts +1 -0
  213. package/components/InfiniteTreeList/utils/removeChildren/index.js +1 -0
  214. package/components/InfiniteTreeList/utils/removeChildren/removeChildren.d.ts +5 -0
  215. package/components/InfiniteTreeList/utils/removeChildren/removeChildren.js +12 -0
  216. package/components/InfiniteTreeList/utils/sortCollapsed/sortCollapsed.d.ts +5 -0
  217. package/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/sortCollapsed.js +1 -6
  218. package/components/InfiniteTreeList/utils/startRemoveAnimation/index.d.ts +1 -0
  219. package/components/InfiniteTreeList/utils/startRemoveAnimation/index.js +1 -0
  220. package/components/InfiniteTreeList/utils/startRemoveAnimation/startRemoveAnimation.d.ts +1 -0
  221. package/components/InfiniteTreeList/utils/startRemoveAnimation/startRemoveAnimation.js +5 -0
  222. package/components/InfiniteTreeList/utils/syncChildrenPlaceholders/index.d.ts +1 -0
  223. package/components/InfiniteTreeList/utils/syncChildrenPlaceholders/index.js +1 -0
  224. package/components/InfiniteTreeList/utils/syncChildrenPlaceholders/syncChildrenPlaceholders.d.ts +11 -0
  225. package/components/InfiniteTreeList/utils/syncChildrenPlaceholders/syncChildrenPlaceholders.js +99 -0
  226. package/components/InputGroup/styles.js +8 -5
  227. package/components/JsonViewer/JsonNode/styles.js +5 -2
  228. package/components/Link/styles.js +11 -6
  229. package/components/ListItem/styles.js +5 -2
  230. package/components/MenuOrganization/OrganizationButton/styles.js +5 -6
  231. package/components/NavMenu/Item/ItemButton/styles.js +14 -7
  232. package/components/NewStepper/Step/styles.js +18 -15
  233. package/components/Notification/NotificationStackContainer/styles.js +5 -2
  234. package/components/PageAsideNavigation/PageAsideNavigationItem/styles.js +5 -6
  235. package/components/PageHeader/MobilePageActions/styles.js +0 -4
  236. package/components/Radio/styles.js +7 -4
  237. package/components/RadioCard/styles.js +5 -2
  238. package/components/StaticCalendar/StaticCalendarGridButton/styles.js +8 -5
  239. package/components/Tabs/Tab/styles.js +5 -2
  240. package/components/ToggleButton/styles.js +25 -10
  241. package/components/Tree/TreeItem/MobileSlidePanel/MobileSlidePanelContent/styles.js +3 -3
  242. package/components/Tree/TreeItem/styles.js +23 -10
  243. package/components/constants/index.d.ts +1 -0
  244. package/components/constants/index.js +1 -0
  245. package/components/constants/media.d.ts +8 -0
  246. package/components/constants/media.js +8 -0
  247. package/components/theme/components/MuiButton.js +46 -23
  248. package/components/theme/components/MuiListItemButton.js +10 -2
  249. package/components/theme/components/MuiMenuItem.js +5 -2
  250. package/components/theme/components/MuiOutlinedInput.js +15 -12
  251. package/components/theme/components/MuiSwitch.js +14 -9
  252. package/components/theme/components/MuiTableRow.js +11 -3
  253. package/node/components/Alert/styles.js +24 -14
  254. package/node/components/Autocomplete/styles.js +8 -5
  255. package/node/components/Breadcrumbs/styles.js +18 -13
  256. package/node/components/CheckableTag/styles.js +6 -3
  257. package/node/components/Checkbox/styles.js +26 -23
  258. package/node/components/Chip/styles.js +36 -31
  259. package/node/components/CodeField/styles.js +5 -2
  260. package/node/components/CopyTypography/styles.js +22 -8
  261. package/node/components/DashboardLayout/Header/styles.js +35 -32
  262. package/node/components/DashboardSidebarPopover/SidebarPopoverItem/styles.js +7 -4
  263. package/node/components/DataGrid/Row/styles.js +41 -46
  264. package/node/components/DataGrid/RowBase/styles.js +16 -23
  265. package/node/components/DataGridCollapsibleRow/styles.js +11 -8
  266. package/node/components/Description/Value/styles.js +5 -2
  267. package/node/components/ExpansionPanel/Summary/styles.js +5 -2
  268. package/node/components/Fab/styles.js +12 -3
  269. package/node/components/InfiniteDataList/styles.js +7 -4
  270. package/node/components/InfiniteTreeList/InfiniteTreeList.d.ts +18 -0
  271. package/node/components/InfiniteTreeList/InfiniteTreeList.js +24 -17
  272. package/node/components/InfiniteTreeList/InfiniteTreeListActions/InfiniteTreeListActions.d.ts +9 -0
  273. package/node/components/InfiniteTreeList/InfiniteTreeListActions/InfiniteTreeListActions.js +9 -0
  274. package/node/components/InfiniteTreeList/InfiniteTreeListActions/types.d.ts +5 -0
  275. package/node/components/InfiniteTreeList/InfiniteTreeListActions/useLogic/useLogic.js +5 -6
  276. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.d.ts +81 -0
  277. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.js +21 -0
  278. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.d.ts +3 -2
  279. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +69 -13
  280. package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/ErrorPlaceholder.d.ts +6 -0
  281. package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/ErrorPlaceholder.js +12 -0
  282. package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/constants.d.ts +1 -0
  283. package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/constants.js +4 -0
  284. package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/index.d.ts +1 -0
  285. package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/index.js +5 -0
  286. package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/styles.js +11 -0
  287. package/node/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +28 -6
  288. package/node/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContext.d.ts +19 -0
  289. package/node/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContext.js +4 -0
  290. package/node/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContextProvider/TreeListItemContextProvider.d.ts +4 -0
  291. package/node/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContextProvider/TreeListItemContextProvider.js +13 -8
  292. package/node/components/InfiniteTreeList/InfiniteTreeListItem/constants.d.ts +6 -0
  293. package/node/components/InfiniteTreeList/InfiniteTreeListItem/constants.js +10 -0
  294. package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.d.ts +4 -4
  295. package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +33 -7
  296. package/node/components/InfiniteTreeList/InfiniteTreeListItem/types.d.ts +20 -3
  297. package/node/components/InfiniteTreeList/InfiniteTreeListItem/useLogic/useLogic.d.ts +7 -1
  298. package/node/components/InfiniteTreeList/InfiniteTreeListItem/useLogic/useLogic.js +56 -4
  299. package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/EndData.js +1 -1
  300. package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/ErrorMessage.js +2 -2
  301. package/node/components/InfiniteTreeList/ListFooter/ErrorMessage/styles.d.ts +5 -0
  302. package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/styles.js +1 -1
  303. package/node/components/InfiniteTreeList/ListFooter/ListFooter.d.ts +10 -0
  304. package/node/components/InfiniteTreeList/ListFooter/ListFooter.js +29 -0
  305. package/node/components/InfiniteTreeList/ListFooter/index.d.ts +2 -0
  306. package/node/components/InfiniteTreeList/ListFooter/index.js +17 -0
  307. package/node/components/InfiniteTreeList/{styles.js → ListFooter/styles.js} +1 -1
  308. package/node/components/InfiniteTreeList/ListFooter/types.d.ts +22 -0
  309. package/node/components/InfiniteTreeList/ListFooter/types.js +2 -0
  310. package/node/components/InfiniteTreeList/OnTopButton/OnTopButton.d.ts +8 -2
  311. package/node/components/InfiniteTreeList/OnTopButton/OnTopButton.js +6 -5
  312. package/node/components/InfiniteTreeList/OnTopButton/styles.d.ts +4 -0
  313. package/node/components/InfiniteTreeList/OnTopButton/styles.js +13 -0
  314. package/node/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/CustomParentWrapper.d.ts +23 -0
  315. package/node/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/CustomParentWrapper.js +15 -0
  316. package/node/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/index.d.ts +1 -0
  317. package/node/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/index.js +17 -0
  318. package/node/components/InfiniteTreeList/ParentItems/Item/Item.d.ts +10 -0
  319. package/node/components/InfiniteTreeList/ParentItems/Item/Item.js +25 -0
  320. package/node/components/InfiniteTreeList/ParentItems/Item/index.d.ts +2 -0
  321. package/node/components/InfiniteTreeList/ParentItems/Item/index.js +18 -0
  322. package/node/components/InfiniteTreeList/ParentItems/Item/types.d.ts +8 -0
  323. package/node/components/InfiniteTreeList/ParentItems/Item/types.js +2 -0
  324. package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/index.d.ts +1 -0
  325. package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/index.js +17 -0
  326. package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.d.ts +12 -0
  327. package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.js +16 -0
  328. package/node/components/InfiniteTreeList/ParentItems/ParentItems.d.ts +11 -0
  329. package/node/components/InfiniteTreeList/ParentItems/ParentItems.js +15 -0
  330. package/node/components/InfiniteTreeList/ParentItems/index.d.ts +3 -0
  331. package/node/components/InfiniteTreeList/ParentItems/index.js +19 -0
  332. package/node/components/InfiniteTreeList/ParentItems/types.d.ts +8 -0
  333. package/node/components/InfiniteTreeList/ParentItems/types.js +2 -0
  334. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/ChildrenPlaceholder.d.ts +9 -0
  335. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/ChildrenPlaceholder.js +26 -0
  336. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.d.ts +1 -0
  337. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.js +9 -0
  338. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/index.d.ts +1 -0
  339. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/index.js +17 -0
  340. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/index.d.ts +1 -0
  341. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/index.js +17 -0
  342. package/node/components/InfiniteTreeList/TreeItem/CustomItemWrapper/CustomItemWrapper.d.ts +20 -0
  343. package/node/components/InfiniteTreeList/TreeItem/CustomItemWrapper/CustomItemWrapper.js +13 -0
  344. package/node/components/InfiniteTreeList/TreeItem/CustomItemWrapper/index.d.ts +1 -0
  345. package/node/components/InfiniteTreeList/TreeItem/CustomItemWrapper/index.js +17 -0
  346. package/node/components/InfiniteTreeList/TreeItem/ParentSlot/ParentSlot.d.ts +5 -0
  347. package/node/components/InfiniteTreeList/TreeItem/ParentSlot/ParentSlot.js +42 -0
  348. package/node/components/InfiniteTreeList/TreeItem/ParentSlot/index.d.ts +2 -0
  349. package/node/components/InfiniteTreeList/TreeItem/ParentSlot/index.js +18 -0
  350. package/node/components/InfiniteTreeList/TreeItem/ParentSlot/styles.d.ts +9 -0
  351. package/node/components/InfiniteTreeList/TreeItem/ParentSlot/styles.js +11 -0
  352. package/node/components/InfiniteTreeList/TreeItem/ParentSlot/types.d.ts +6 -0
  353. package/node/components/InfiniteTreeList/TreeItem/ParentSlot/types.js +2 -0
  354. package/node/components/InfiniteTreeList/TreeItem/TreeItem.d.ts +5 -2
  355. package/node/components/InfiniteTreeList/TreeItem/TreeItem.js +31 -4
  356. package/node/components/InfiniteTreeList/TreeItem/constants.d.ts +3 -0
  357. package/node/components/InfiniteTreeList/TreeItem/constants.js +3 -1
  358. package/node/components/InfiniteTreeList/TreeItem/styles.d.ts +0 -3
  359. package/node/components/InfiniteTreeList/TreeItem/styles.js +23 -8
  360. package/node/components/InfiniteTreeList/TreeItem/types.d.ts +4 -9
  361. package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.d.ts +29 -9
  362. package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +60 -18
  363. package/node/components/InfiniteTreeList/constants.d.ts +14 -2
  364. package/node/components/InfiniteTreeList/constants.js +15 -3
  365. package/node/components/InfiniteTreeList/hooks/index.d.ts +5 -0
  366. package/node/components/InfiniteTreeList/hooks/index.js +21 -0
  367. package/node/components/InfiniteTreeList/hooks/useChildrenState/index.d.ts +2 -0
  368. package/node/components/InfiniteTreeList/hooks/useChildrenState/index.js +18 -0
  369. package/node/components/InfiniteTreeList/hooks/useChildrenState/types.d.ts +43 -0
  370. package/node/components/InfiniteTreeList/hooks/useChildrenState/types.js +2 -0
  371. package/node/components/InfiniteTreeList/hooks/useChildrenState/useChildrenState.d.ts +20 -0
  372. package/node/components/InfiniteTreeList/hooks/useChildrenState/useChildrenState.js +119 -0
  373. package/node/components/InfiniteTreeList/hooks/useEnterAnimation/index.d.ts +2 -0
  374. package/node/components/InfiniteTreeList/hooks/useEnterAnimation/index.js +18 -0
  375. package/node/components/InfiniteTreeList/hooks/useEnterAnimation/types.d.ts +29 -0
  376. package/node/components/InfiniteTreeList/hooks/useEnterAnimation/types.js +2 -0
  377. package/node/components/InfiniteTreeList/hooks/useEnterAnimation/useEnterAnimation.d.ts +6 -0
  378. package/node/components/InfiniteTreeList/hooks/useEnterAnimation/useEnterAnimation.js +39 -0
  379. package/node/components/InfiniteTreeList/hooks/useExpandNotifier/index.d.ts +1 -0
  380. package/node/components/InfiniteTreeList/hooks/useExpandNotifier/index.js +17 -0
  381. package/node/components/InfiniteTreeList/hooks/useExpandNotifier/useExpandNotifier.d.ts +8 -0
  382. package/node/components/InfiniteTreeList/hooks/useExpandNotifier/useExpandNotifier.js +23 -0
  383. package/node/components/InfiniteTreeList/hooks/useFlatTree/index.d.ts +2 -0
  384. package/node/components/InfiniteTreeList/hooks/useFlatTree/index.js +18 -0
  385. package/node/components/InfiniteTreeList/hooks/useFlatTree/types.d.ts +20 -0
  386. package/node/components/InfiniteTreeList/hooks/useFlatTree/types.js +2 -0
  387. package/node/components/InfiniteTreeList/hooks/useFlatTree/useFlatTree.d.ts +15 -0
  388. package/node/components/InfiniteTreeList/hooks/useFlatTree/useFlatTree.js +92 -0
  389. package/node/components/InfiniteTreeList/hooks/useListScroll/index.d.ts +2 -0
  390. package/node/components/InfiniteTreeList/hooks/useListScroll/index.js +18 -0
  391. package/node/components/InfiniteTreeList/hooks/useListScroll/types.d.ts +25 -0
  392. package/node/components/InfiniteTreeList/hooks/useListScroll/types.js +2 -0
  393. package/node/components/InfiniteTreeList/hooks/useListScroll/useListScroll.d.ts +29 -0
  394. package/node/components/InfiniteTreeList/hooks/useListScroll/useListScroll.js +63 -0
  395. package/node/components/InfiniteTreeList/index.d.ts +1 -1
  396. package/node/components/InfiniteTreeList/public.d.ts +1 -1
  397. package/node/components/InfiniteTreeList/types.d.ts +83 -17
  398. package/node/components/InfiniteTreeList/useLogic/useLogic.d.ts +22 -12
  399. package/node/components/InfiniteTreeList/useLogic/useLogic.js +64 -69
  400. package/node/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/checkHasSkeletonPlaceholders.d.ts +5 -0
  401. package/node/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/checkHasSkeletonPlaceholders.js +10 -0
  402. package/node/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/index.d.ts +1 -0
  403. package/node/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/index.js +17 -0
  404. package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/checkIsChildrenPlaceholder.d.ts +5 -0
  405. package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/checkIsChildrenPlaceholder.js +8 -0
  406. package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/index.d.ts +1 -0
  407. package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/index.js +17 -0
  408. package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/checkIsChildrenPlaceholderOf.d.ts +5 -0
  409. package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/checkIsChildrenPlaceholderOf.js +9 -0
  410. package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/index.d.ts +1 -0
  411. package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/index.js +17 -0
  412. package/node/components/InfiniteTreeList/utils/checkIsDirectChild/checkIsDirectChild.d.ts +6 -0
  413. package/node/components/InfiniteTreeList/utils/checkIsDirectChild/checkIsDirectChild.js +10 -0
  414. package/node/components/InfiniteTreeList/utils/checkIsDirectChild/index.d.ts +1 -0
  415. package/node/components/InfiniteTreeList/utils/checkIsDirectChild/index.js +17 -0
  416. package/node/components/InfiniteTreeList/utils/checkIsNoDataChildren/checkIsNoDataChildren.d.ts +12 -0
  417. package/node/components/InfiniteTreeList/utils/checkIsNoDataChildren/checkIsNoDataChildren.js +18 -0
  418. package/node/components/InfiniteTreeList/utils/checkIsNoDataChildren/index.d.ts +1 -0
  419. package/node/components/InfiniteTreeList/utils/checkIsNoDataChildren/index.js +17 -0
  420. package/node/components/InfiniteTreeList/utils/checkIsSameChildren/checkIsSameChildren.d.ts +5 -0
  421. package/node/components/InfiniteTreeList/utils/checkIsSameChildren/checkIsSameChildren.js +20 -0
  422. package/node/components/InfiniteTreeList/utils/checkIsSameChildren/index.d.ts +1 -0
  423. package/node/components/InfiniteTreeList/utils/checkIsSameChildren/index.js +17 -0
  424. package/node/components/InfiniteTreeList/utils/countDirectChildren/countDirectChildren.d.ts +5 -0
  425. package/node/components/InfiniteTreeList/utils/countDirectChildren/countDirectChildren.js +9 -0
  426. package/node/components/InfiniteTreeList/utils/countDirectChildren/index.d.ts +1 -0
  427. package/node/components/InfiniteTreeList/utils/countDirectChildren/index.js +17 -0
  428. package/node/components/InfiniteTreeList/utils/createParentSlots/createParentSlots.d.ts +24 -0
  429. package/node/components/InfiniteTreeList/utils/createParentSlots/createParentSlots.js +39 -0
  430. package/node/components/InfiniteTreeList/utils/createParentSlots/index.d.ts +1 -0
  431. package/node/components/InfiniteTreeList/utils/createParentSlots/index.js +17 -0
  432. package/node/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.d.ts +21 -0
  433. package/node/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.js +44 -0
  434. package/node/components/InfiniteTreeList/utils/createTailRegistry/index.d.ts +1 -0
  435. package/node/components/InfiniteTreeList/utils/createTailRegistry/index.js +5 -0
  436. package/node/components/InfiniteTreeList/utils/flattenChildren/flattenChildren.d.ts +5 -0
  437. package/node/components/InfiniteTreeList/utils/flattenChildren/flattenChildren.js +9 -0
  438. package/node/components/InfiniteTreeList/utils/flattenChildren/index.d.ts +1 -0
  439. package/node/components/InfiniteTreeList/utils/flattenChildren/index.js +17 -0
  440. package/node/components/InfiniteTreeList/utils/flattenTree/flattenTree.d.ts +6 -0
  441. package/node/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/flattenTree.js +9 -4
  442. package/node/components/InfiniteTreeList/utils/getEnteringChildren/getEnteringChildren.d.ts +17 -0
  443. package/node/components/InfiniteTreeList/utils/getEnteringChildren/getEnteringChildren.js +18 -0
  444. package/node/components/InfiniteTreeList/utils/getEnteringChildren/index.d.ts +1 -0
  445. package/node/components/InfiniteTreeList/utils/getEnteringChildren/index.js +17 -0
  446. package/node/components/InfiniteTreeList/utils/getIdsToKeep/getIdsToKeep.d.ts +10 -0
  447. package/node/components/InfiniteTreeList/utils/getIdsToKeep/getIdsToKeep.js +31 -0
  448. package/node/components/InfiniteTreeList/utils/getIdsToKeep/index.d.ts +1 -0
  449. package/node/components/InfiniteTreeList/utils/getIdsToKeep/index.js +17 -0
  450. package/node/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/getInitialExpandedIds.d.ts +4 -2
  451. package/node/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/getInitialExpandedIds.js +5 -4
  452. package/node/components/InfiniteTreeList/utils/getNestedItems/getNestedItems.d.ts +6 -0
  453. package/node/components/InfiniteTreeList/utils/getNestedItems/getNestedItems.js +22 -0
  454. package/node/components/InfiniteTreeList/utils/getNestedItems/index.d.ts +1 -0
  455. package/node/components/InfiniteTreeList/{useLogic/utils/getDescendants → utils/getNestedItems}/index.js +1 -1
  456. package/node/components/InfiniteTreeList/utils/index.d.ts +20 -0
  457. package/node/components/InfiniteTreeList/utils/index.js +36 -0
  458. package/node/components/InfiniteTreeList/utils/insertChildren/index.d.ts +1 -0
  459. package/node/components/InfiniteTreeList/utils/insertChildren/index.js +17 -0
  460. package/node/components/InfiniteTreeList/utils/insertChildren/insertChildren.d.ts +5 -0
  461. package/node/components/InfiniteTreeList/utils/insertChildren/insertChildren.js +45 -0
  462. package/node/components/InfiniteTreeList/utils/removeChildren/index.d.ts +1 -0
  463. package/node/components/InfiniteTreeList/utils/removeChildren/index.js +17 -0
  464. package/node/components/InfiniteTreeList/utils/removeChildren/removeChildren.d.ts +5 -0
  465. package/node/components/InfiniteTreeList/utils/removeChildren/removeChildren.js +16 -0
  466. package/node/components/InfiniteTreeList/utils/sortCollapsed/sortCollapsed.d.ts +5 -0
  467. package/node/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/sortCollapsed.js +1 -6
  468. package/node/components/InfiniteTreeList/utils/startRemoveAnimation/index.d.ts +1 -0
  469. package/node/components/InfiniteTreeList/utils/startRemoveAnimation/index.js +17 -0
  470. package/node/components/InfiniteTreeList/utils/startRemoveAnimation/startRemoveAnimation.d.ts +1 -0
  471. package/node/components/InfiniteTreeList/utils/startRemoveAnimation/startRemoveAnimation.js +9 -0
  472. package/node/components/InfiniteTreeList/utils/syncChildrenPlaceholders/index.d.ts +1 -0
  473. package/node/components/InfiniteTreeList/utils/syncChildrenPlaceholders/index.js +17 -0
  474. package/node/components/InfiniteTreeList/utils/syncChildrenPlaceholders/syncChildrenPlaceholders.d.ts +11 -0
  475. package/node/components/InfiniteTreeList/utils/syncChildrenPlaceholders/syncChildrenPlaceholders.js +104 -0
  476. package/node/components/InputGroup/styles.js +8 -5
  477. package/node/components/JsonViewer/JsonNode/styles.js +5 -2
  478. package/node/components/Link/styles.js +13 -8
  479. package/node/components/ListItem/styles.js +10 -7
  480. package/node/components/MenuOrganization/OrganizationButton/styles.js +5 -6
  481. package/node/components/NavMenu/Item/ItemButton/styles.js +16 -9
  482. package/node/components/NewStepper/Step/styles.js +68 -65
  483. package/node/components/Notification/NotificationStackContainer/styles.js +57 -54
  484. package/node/components/PageAsideNavigation/PageAsideNavigationItem/styles.js +12 -13
  485. package/node/components/PageHeader/MobilePageActions/styles.js +0 -4
  486. package/node/components/Radio/styles.js +20 -17
  487. package/node/components/RadioCard/styles.js +7 -4
  488. package/node/components/StaticCalendar/StaticCalendarGridButton/styles.js +8 -5
  489. package/node/components/Tabs/Tab/styles.js +5 -2
  490. package/node/components/ToggleButton/styles.js +27 -12
  491. package/node/components/Tree/TreeItem/MobileSlidePanel/MobileSlidePanelContent/styles.js +3 -3
  492. package/node/components/Tree/TreeItem/styles.js +44 -31
  493. package/node/components/constants/index.d.ts +1 -0
  494. package/node/components/constants/index.js +1 -0
  495. package/node/components/constants/media.d.ts +8 -0
  496. package/node/components/constants/media.js +11 -0
  497. package/node/components/theme/components/MuiButton.js +46 -23
  498. package/node/components/theme/components/MuiListItemButton.js +10 -2
  499. package/node/components/theme/components/MuiMenuItem.js +5 -2
  500. package/node/components/theme/components/MuiOutlinedInput.js +15 -12
  501. package/node/components/theme/components/MuiSwitch.js +14 -9
  502. package/node/components/theme/components/MuiTableRow.js +11 -3
  503. package/package.json +1 -1
  504. package/components/InfiniteTreeList/useLogic/utils/flattenTree/flattenTree.d.ts +0 -5
  505. package/components/InfiniteTreeList/useLogic/utils/getDescendants/getDescendants.d.ts +0 -10
  506. package/components/InfiniteTreeList/useLogic/utils/getDescendants/getDescendants.js +0 -22
  507. package/components/InfiniteTreeList/useLogic/utils/getDescendants/index.d.ts +0 -1
  508. package/components/InfiniteTreeList/useLogic/utils/getDescendants/index.js +0 -1
  509. package/components/InfiniteTreeList/useLogic/utils/index.d.ts +0 -4
  510. package/components/InfiniteTreeList/useLogic/utils/index.js +0 -4
  511. package/components/InfiniteTreeList/useLogic/utils/sortCollapsed/sortCollapsed.d.ts +0 -10
  512. package/node/components/InfiniteTreeList/useLogic/utils/flattenTree/flattenTree.d.ts +0 -5
  513. package/node/components/InfiniteTreeList/useLogic/utils/getDescendants/getDescendants.d.ts +0 -10
  514. package/node/components/InfiniteTreeList/useLogic/utils/getDescendants/getDescendants.js +0 -26
  515. package/node/components/InfiniteTreeList/useLogic/utils/getDescendants/index.d.ts +0 -1
  516. package/node/components/InfiniteTreeList/useLogic/utils/index.d.ts +0 -4
  517. package/node/components/InfiniteTreeList/useLogic/utils/index.js +0 -20
  518. package/node/components/InfiniteTreeList/useLogic/utils/sortCollapsed/sortCollapsed.d.ts +0 -10
  519. /package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/EndData.d.ts +0 -0
  520. /package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/constants.d.ts +0 -0
  521. /package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/constants.js +0 -0
  522. /package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/index.d.ts +0 -0
  523. /package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/index.js +0 -0
  524. /package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/ErrorMessage.d.ts +0 -0
  525. /package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/constants.d.ts +0 -0
  526. /package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/constants.js +0 -0
  527. /package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/index.d.ts +0 -0
  528. /package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/index.js +0 -0
  529. /package/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/index.d.ts +0 -0
  530. /package/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/index.js +0 -0
  531. /package/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/index.d.ts +0 -0
  532. /package/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/index.js +0 -0
  533. /package/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/index.d.ts +0 -0
  534. /package/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/index.js +0 -0
  535. /package/node/components/InfiniteTreeList/{ErrorMessage → InfiniteTreeListItem/ErrorPlaceholder}/styles.d.ts +0 -0
  536. /package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/EndData.d.ts +0 -0
  537. /package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/constants.d.ts +0 -0
  538. /package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/constants.js +0 -0
  539. /package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/index.d.ts +0 -0
  540. /package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/index.js +0 -0
  541. /package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/ErrorMessage.d.ts +0 -0
  542. /package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/constants.d.ts +0 -0
  543. /package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/constants.js +0 -0
  544. /package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/index.d.ts +0 -0
  545. /package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/index.js +0 -0
  546. /package/node/components/InfiniteTreeList/{styles.d.ts → ListFooter/styles.d.ts} +0 -0
  547. /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/index.d.ts +0 -0
  548. /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/index.js +0 -0
  549. /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/index.d.ts +0 -0
  550. /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/index.js +0 -0
  551. /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/index.d.ts +0 -0
  552. /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/index.js +0 -0
@@ -37,10 +37,6 @@ export const ShowMoreButton = styled(Button) `
37
37
  height: 40px;
38
38
  min-height: 40px;
39
39
  padding: 0;
40
-
41
- &:hover {
42
- background-color: unset;
43
- }
44
40
  }
45
41
  `;
46
42
  export const StyledCollapse = styled(Collapse) `
@@ -1,3 +1,4 @@
1
+ import { HOVER_MEDIA } from '../constants';
1
2
  import { styled } from '../styled';
2
3
  import { easeOutBackTransition } from '../styled/mixins';
3
4
  import { MOBILE_RADIO_SIZE, RADIO_SIZE, radioClassnames } from './constants';
@@ -58,22 +59,24 @@ export const Wrapper = styled('span', {
58
59
  ${easeOutBackTransition};
59
60
  }
60
61
 
61
- &:hover {
62
- .${radioClassnames.outerCircle} {
63
- fill: ${({ theme, $isDisabled, $isError, $isChecked }) => getFillColor({
62
+ ${HOVER_MEDIA} {
63
+ &:hover {
64
+ .${radioClassnames.outerCircle} {
65
+ fill: ${({ theme, $isDisabled, $isError, $isChecked }) => getFillColor({
64
66
  theme,
65
67
  isHover: true,
66
68
  isDisabled: $isDisabled,
67
69
  isError: $isError,
68
70
  isChecked: $isChecked,
69
71
  })};
70
- stroke: ${({ theme, $isDisabled, $isError, $isChecked }) => getOutlineColor({
72
+ stroke: ${({ theme, $isDisabled, $isError, $isChecked }) => getOutlineColor({
71
73
  theme,
72
74
  isHover: true,
73
75
  isDisabled: $isDisabled,
74
76
  isError: $isError,
75
77
  isChecked: $isChecked,
76
78
  })};
79
+ }
77
80
  }
78
81
  }
79
82
  `;
@@ -1,3 +1,4 @@
1
+ import { HOVER_MEDIA } from '../constants';
1
2
  import { Radio, radioClassnames } from '../Radio';
2
3
  import { styled } from '../styled';
3
4
  import { radioCardClassnames } from './constants';
@@ -63,10 +64,12 @@ export const Wrapper = styled.label `
63
64
  cursor: default;
64
65
  }
65
66
 
66
- &:hover {
67
- background-color: ${({ theme, $isDisabled }) => $isDisabled
67
+ ${HOVER_MEDIA} {
68
+ &:hover {
69
+ background-color: ${({ theme, $isDisabled }) => $isDisabled
68
70
  ? theme.palette.background.element
69
71
  : theme.palette.background.elementHover};
72
+ }
70
73
  }
71
74
  `;
72
75
  export const Content = styled.div `
@@ -1,4 +1,5 @@
1
1
  import { buttonClasses } from '@mui/material/Button';
2
+ import { HOVER_MEDIA } from '../../constants';
2
3
  import { styled } from '../../styled';
3
4
  import { StaticCalendarButton } from '../StaticCalendarButton';
4
5
  import { getBgColor, getLeftBorderRadius, getRightBorderRadius, getTextColor, } from './utils';
@@ -53,11 +54,13 @@ export const StaticCalendarGridButton = styled(StaticCalendarButton, {
53
54
  background-color: currentColor;
54
55
  }
55
56
 
56
- &:hover {
57
- border-radius: ${(props) => getLeftBorderRadius({ isHovered: true, ...props })}
58
- ${(props) => getRightBorderRadius({ isHovered: true, ...props })}
59
- ${(props) => getRightBorderRadius({ isHovered: true, ...props })}
60
- ${(props) => getLeftBorderRadius({ isHovered: true, ...props })};
57
+ ${HOVER_MEDIA} {
58
+ &:hover {
59
+ border-radius: ${(props) => getLeftBorderRadius({ isHovered: true, ...props })}
60
+ ${(props) => getRightBorderRadius({ isHovered: true, ...props })}
61
+ ${(props) => getRightBorderRadius({ isHovered: true, ...props })}
62
+ ${(props) => getLeftBorderRadius({ isHovered: true, ...props })};
63
+ }
61
64
  }
62
65
 
63
66
  &,
@@ -1,4 +1,5 @@
1
1
  import Tab from '@mui/material/Tab';
2
+ import { HOVER_MEDIA } from '../../constants';
2
3
  import { styled } from '../../styled';
3
4
  export const StyledTab = styled(Tab) `
4
5
  min-height: 36px;
@@ -13,8 +14,10 @@ export const StyledTab = styled(Tab) `
13
14
  margin-right: 0;
14
15
  }
15
16
 
16
- &:hover {
17
- color: ${({ theme }) => theme.palette.primary[800]};
17
+ ${HOVER_MEDIA} {
18
+ &:hover {
19
+ color: ${({ theme }) => theme.palette.primary[800]};
20
+ }
18
21
  }
19
22
 
20
23
  &:active {
@@ -2,6 +2,7 @@ import { buttonBaseClasses } from '@mui/material/ButtonBase';
2
2
  import MuiToggleButton, { toggleButtonClasses, } from '@mui/material/ToggleButton';
3
3
  import { toggleButtonGroupClasses } from '@mui/material/ToggleButtonGroup';
4
4
  import { buttonClasses } from '../Button';
5
+ import { HOVER_MEDIA, HOVER_NONE_MEDIA } from '../constants';
5
6
  import { css, styled } from '../styled';
6
7
  import { SIZES } from './constants';
7
8
  const getSize = (size) => {
@@ -64,23 +65,33 @@ export const StyledToggleButton = styled(MuiToggleButton, {
64
65
 
65
66
  ${({ theme, $color, disabled, $variant }) => toggleButtonColorStyle({ theme, color: $color, disabled, variant: $variant })}
66
67
 
67
- &:hover {
68
- ${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, disabled, state: 'hover' })};
68
+ ${HOVER_MEDIA} {
69
+ &:hover {
70
+ ${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, disabled, state: 'hover' })};
71
+ }
69
72
  }
70
-
73
+
71
74
  &:active {
72
75
  z-index: 3;
73
76
 
74
77
  ${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, disabled, state: 'active' })};
75
78
  }
76
-
79
+
77
80
  &.${toggleButtonClasses.selected} {
78
81
  z-index: 2;
79
82
 
80
83
  ${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, disabled, selected: true })}
81
84
 
82
- &:hover {
83
- ${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, selected: true, disabled, state: 'hover' })};
85
+ ${HOVER_MEDIA} {
86
+ &:hover {
87
+ ${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, selected: true, disabled, state: 'hover' })};
88
+ }
89
+ }
90
+
91
+ ${HOVER_NONE_MEDIA} {
92
+ &:hover {
93
+ ${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, selected: true, disabled, state: 'default' })};
94
+ }
84
95
  }
85
96
 
86
97
  &:active {
@@ -97,8 +108,10 @@ export const StyledToggleButton = styled(MuiToggleButton, {
97
108
  &.${buttonBaseClasses.root}.${toggleButtonGroupClasses.grouped}:not(:first-of-type) {
98
109
  border-left-color: ${({ theme, $color }) => getBorderColor({ theme, color: $color })};
99
110
 
100
- &:hover {
101
- border-left-color: ${({ theme, $color }) => getBorderColor({ theme, color: $color, state: 'hover' })};
111
+ ${HOVER_MEDIA} {
112
+ &:hover {
113
+ border-left-color: ${({ theme, $color }) => getBorderColor({ theme, color: $color, state: 'hover' })};
114
+ }
102
115
  }
103
116
 
104
117
  &:active {
@@ -108,13 +121,15 @@ export const StyledToggleButton = styled(MuiToggleButton, {
108
121
  &.${toggleButtonClasses.selected} {
109
122
  border-left-color: ${({ theme, $color }) => getBorderColor({ theme, color: $color, isSelected: true })};
110
123
 
111
- &:hover {
112
- border-left-color: ${({ theme, $color }) => getBorderColor({
124
+ ${HOVER_MEDIA} {
125
+ &:hover {
126
+ border-left-color: ${({ theme, $color }) => getBorderColor({
113
127
  theme,
114
128
  color: $color,
115
129
  isSelected: true,
116
130
  state: 'hover',
117
131
  })};
132
+ }
118
133
  }
119
134
 
120
135
  &:active {
@@ -106,10 +106,10 @@ export const BackButton = styled(IconButton) `
106
106
  width: ${COLLAPSE_BUTTON_WIDTH};
107
107
  height: ${COLLAPSE_BUTTON_WIDTH};
108
108
  }
109
-
110
- &:hover {
109
+
110
+ &:active {
111
111
  background-color: transparent;
112
- }
112
+ }
113
113
  }
114
114
  `;
115
115
  export const ParentContent = styled.div `
@@ -2,6 +2,7 @@ import { typographyClasses } from '@mui/material/Typography';
2
2
  import { ChevronROutlineMd } from '../../../icons/ChevronROutlineMd';
3
3
  import { buttonClasses } from '../../Button';
4
4
  import { Collapse } from '../../Collapse';
5
+ import { HOVER_MEDIA } from '../../constants';
5
6
  import { descriptionClassnames } from '../../Description';
6
7
  import { IconButton } from '../../IconButton';
7
8
  import { OverflowTypography } from '../../OverflowTypography';
@@ -66,14 +67,22 @@ export const ItemContent = styled('div') `
66
67
  duration: theme.transitions.duration.shortest,
67
68
  })};
68
69
 
69
- &:hover {
70
- background-color: ${({ theme }) => theme.palette.background.elementHover};
70
+ ${HOVER_MEDIA} {
71
+ &:hover {
72
+ background-color: ${({ theme }) => theme.palette.background.elementHover};
73
+ }
71
74
  }
72
75
 
73
76
  &.${treeClassnames.selected} {
74
77
  background-color: ${({ theme }) => theme.palette.primary[100]};
75
78
 
76
- &:hover, &:focus {
79
+ ${HOVER_MEDIA} {
80
+ &:hover {
81
+ background-color: ${({ theme }) => theme.palette.primary[100]};
82
+ }
83
+ }
84
+
85
+ &:focus {
77
86
  background-color: ${({ theme }) => theme.palette.primary[100]};
78
87
  }
79
88
  }
@@ -83,7 +92,13 @@ export const ItemContent = styled('div') `
83
92
 
84
93
  color: ${({ theme }) => theme.palette.text.disabled};
85
94
 
86
- &:hover, &:focus {
95
+ ${HOVER_MEDIA} {
96
+ &:hover {
97
+ background-color: transparent;
98
+ }
99
+ }
100
+
101
+ &:focus {
87
102
  background-color: transparent;
88
103
  }
89
104
  }
@@ -137,8 +152,10 @@ export const CollapseButton = styled(IconButton) `
137
152
  height: ${COLLAPSE_BUTTON_WIDTH};
138
153
  }
139
154
 
140
- &:hover {
141
- background-color: ${({ theme }) => theme.palette.grey[300]};
155
+ ${HOVER_MEDIA} {
156
+ &:hover {
157
+ background-color: ${({ theme }) => theme.palette.grey[300]};
158
+ }
142
159
  }
143
160
 
144
161
  &.${treeClassnames.open} .${svgIconClassnames.root} {
@@ -167,10 +184,6 @@ export const CollapseButton = styled(IconButton) `
167
184
  width: ${MOBILE_COLLAPSE_BUTTON_WIDTH};
168
185
  height: auto;
169
186
  }
170
-
171
- &:hover {
172
- background-color: transparent;
173
- }
174
187
  }
175
188
  `;
176
189
  export const ChevronIcon = styled(ChevronROutlineMd) `
@@ -2,3 +2,4 @@ export * from './date';
2
2
  export * from './scrollbar';
3
3
  export * from './footer';
4
4
  export * from './classnames';
5
+ export * from './media';
@@ -2,3 +2,4 @@ export * from './date';
2
2
  export * from './scrollbar';
3
3
  export * from './footer';
4
4
  export * from './classnames';
5
+ export * from './media';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Медиа-выражение проверяющее что устройство поддерживает hover и является точным указателем
3
+ */
4
+ export declare const HOVER_MEDIA = "@media (hover: hover) and (pointer: fine)";
5
+ /**
6
+ * Медиа-выражение проверяющее что устройство не поддерживает hover
7
+ */
8
+ export declare const HOVER_NONE_MEDIA = "@media (hover: none)";
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Медиа-выражение проверяющее что устройство поддерживает hover и является точным указателем
3
+ */
4
+ export const HOVER_MEDIA = '@media (hover: hover) and (pointer: fine)';
5
+ /**
6
+ * Медиа-выражение проверяющее что устройство не поддерживает hover
7
+ */
8
+ export const HOVER_NONE_MEDIA = '@media (hover: none)';
@@ -1,5 +1,6 @@
1
1
  import { buttonClasses } from '@mui/material/Button';
2
2
  import { ButtonSizes, ButtonStates, ButtonVariants, buttonClassnames, } from '../../Button';
3
+ import { HOVER_MEDIA, HOVER_NONE_MEDIA } from '../../constants';
3
4
  import { svgIconClassnames } from '../../SvgIcon';
4
5
  /**
5
6
  * Вспомогательная утилита для получения значения из values
@@ -366,29 +367,51 @@ export const MuiButton = {
366
367
  buttonState: ButtonStates.Default,
367
368
  }),
368
369
  borderRadius: theme.shape.medium,
369
- '&:hover': {
370
- color: getButtonColor({
371
- selected,
372
- theme,
373
- variant,
374
- color,
375
- buttonState: ButtonStates.Hover,
376
- }),
377
- backgroundColor: getButtonBackgroundColor({
378
- selected,
379
- color,
380
- variant,
381
- theme,
382
- buttonState: ButtonStates.Hover,
383
- }),
384
- boxShadow: 'none',
385
- border: getBorder({
386
- theme,
387
- variant,
388
- color,
389
- buttonState: ButtonStates.Hover,
390
- selected,
391
- }),
370
+ // Переопределяем media наследованное от Mui
371
+ [HOVER_NONE_MEDIA]: {
372
+ '&:hover': {
373
+ backgroundColor: getButtonBackgroundColor({
374
+ selected,
375
+ color,
376
+ variant,
377
+ theme,
378
+ buttonState: ButtonStates.Default,
379
+ }),
380
+ boxShadow: 'unset',
381
+ border: getBorder({
382
+ theme,
383
+ variant,
384
+ color,
385
+ buttonState: ButtonStates.Default,
386
+ selected,
387
+ }),
388
+ },
389
+ },
390
+ [HOVER_MEDIA]: {
391
+ '&:hover': {
392
+ color: getButtonColor({
393
+ selected,
394
+ theme,
395
+ variant,
396
+ color,
397
+ buttonState: ButtonStates.Hover,
398
+ }),
399
+ backgroundColor: getButtonBackgroundColor({
400
+ selected,
401
+ color,
402
+ variant,
403
+ theme,
404
+ buttonState: ButtonStates.Hover,
405
+ }),
406
+ boxShadow: 'none',
407
+ border: getBorder({
408
+ theme,
409
+ variant,
410
+ color,
411
+ buttonState: ButtonStates.Hover,
412
+ selected,
413
+ }),
414
+ },
392
415
  },
393
416
  '&:active': {
394
417
  color: getButtonColor({
@@ -1,3 +1,4 @@
1
+ import { HOVER_MEDIA, HOVER_NONE_MEDIA } from '../../constants';
1
2
  export const MuiListItemButton = {
2
3
  styleOverrides: {
3
4
  root({ theme }) {
@@ -6,9 +7,16 @@ export const MuiListItemButton = {
6
7
  '&.Mui-selected': {
7
8
  color: theme.palette.primary[800],
8
9
  backgroundColor: theme.palette.grey[200],
10
+ [HOVER_NONE_MEDIA]: {
11
+ '&:hover': {
12
+ backgroundColor: theme.palette.grey[200],
13
+ },
14
+ },
9
15
  },
10
- '&:hover': {
11
- backgroundColor: theme.palette.background.elementHover,
16
+ [HOVER_MEDIA]: {
17
+ '&:hover': {
18
+ backgroundColor: theme.palette.background.elementHover,
19
+ },
12
20
  },
13
21
  };
14
22
  },
@@ -1,11 +1,14 @@
1
1
  import { menuItemClasses } from '@mui/material/MenuItem';
2
+ import { HOVER_MEDIA } from '../../constants';
2
3
  export const MuiMenuItem = {
3
4
  styleOverrides: {
4
5
  root({ theme }) {
5
6
  return {
6
7
  padding: theme.spacing(2, 2, 2, 3),
7
- '&:hover': {
8
- backgroundColor: theme.palette.background.elementHover,
8
+ [HOVER_MEDIA]: {
9
+ '&:hover': {
10
+ backgroundColor: theme.palette.background.elementHover,
11
+ },
9
12
  },
10
13
  [`&.${menuItemClasses.selected}`]: {
11
14
  background: `linear-gradient(90deg, ${theme.palette.primary.main} 0, ${theme.palette.primary.main} 3px, ${theme.palette.primary['100']} 3px)`,
@@ -1,3 +1,4 @@
1
+ import { HOVER_MEDIA } from '../../constants';
1
2
  export const MuiOutlinedInput = {
2
3
  defaultProps: {
3
4
  notched: false,
@@ -10,28 +11,30 @@ export const MuiOutlinedInput = {
10
11
  color: theme.palette.grey[900],
11
12
  background: theme.palette.background.element,
12
13
  padding: theme.microSpacing(1, 0),
13
- '&:hover': {
14
- background: theme.palette.background.elementHover,
14
+ [HOVER_MEDIA]: {
15
+ '&:hover': {
16
+ background: theme.palette.background.elementHover,
17
+ },
18
+ '&:hover .MuiOutlinedInput-notchedOutline': {
19
+ borderColor: theme.palette.grey[800],
20
+ transition: theme.transitions.create(['border-color'], {
21
+ easing: theme.transitions.easing.easeIn,
22
+ duration: theme.transitions.duration.shortest,
23
+ }),
24
+ },
25
+ '&.Mui-error:hover:not(.Mui-focused) .MuiOutlinedInput-notchedOutline': {
26
+ borderColor: theme.palette.error[900],
27
+ },
15
28
  },
16
29
  '&.Mui-disabled': {
17
30
  backgroundColor: theme.palette.components.disabled,
18
31
  },
19
- '&:hover .MuiOutlinedInput-notchedOutline': {
20
- borderColor: theme.palette.grey[800],
21
- transition: theme.transitions.create(['border-color'], {
22
- easing: theme.transitions.easing.easeIn,
23
- duration: theme.transitions.duration.shortest,
24
- }),
25
- },
26
32
  '&.Mui-disabled .MuiOutlinedInput-notchedOutline': {
27
33
  border: 'none',
28
34
  },
29
35
  '&.Mui-error .MuiOutlinedInput-notchedOutline': {
30
36
  borderColor: theme.palette.error.dark,
31
37
  },
32
- '&.Mui-error:hover:not(.Mui-focused) .MuiOutlinedInput-notchedOutline': {
33
- borderColor: theme.palette.error[900],
34
- },
35
38
  '&.Mui-focused .MuiOutlinedInput-notchedOutline': {
36
39
  borderColor: theme.palette.primary[700],
37
40
  transition: 'none',
@@ -1,3 +1,4 @@
1
+ import { HOVER_MEDIA } from '../../constants';
1
2
  const prepareColorToUrl = (color) => color.replace('#', '%23');
2
3
  const getCheckBackgroundImage = (color) => {
3
4
  const preparedColor = prepareColorToUrl(color);
@@ -30,13 +31,15 @@ export const MuiSwitch = {
30
31
  opacity: 1,
31
32
  },
32
33
  },
33
- // CHECKED HOVER
34
- '& .Mui-checked:hover + .MuiSwitch-track': {
35
- backgroundColor: theme.palette.primary[700],
36
- },
37
- // NOT CHECKED HOVER
38
- '& :not(.Mui-checked):hover + .MuiSwitch-track': {
39
- backgroundColor: theme.palette.grey[600],
34
+ [HOVER_MEDIA]: {
35
+ // CHECKED HOVER
36
+ '& .Mui-checked:hover + .MuiSwitch-track': {
37
+ backgroundColor: theme.palette.primary[700],
38
+ },
39
+ // NOT CHECKED HOVER
40
+ '& :not(.Mui-checked):hover + .MuiSwitch-track': {
41
+ backgroundColor: theme.palette.grey[600],
42
+ },
40
43
  },
41
44
  // DISABLED TRACK
42
45
  '& .MuiButtonBase-root.MuiSwitch-switchBase.Mui-disabled': {
@@ -58,8 +61,10 @@ export const MuiSwitch = {
58
61
  },
59
62
  switchBase: {
60
63
  padding: 0,
61
- '&:hover, &.Mui-checked:hover': {
62
- backgroundColor: 'transparent',
64
+ [HOVER_MEDIA]: {
65
+ '&:hover, &.Mui-checked:hover': {
66
+ backgroundColor: 'transparent',
67
+ },
63
68
  },
64
69
  },
65
70
  track({ theme }) {
@@ -1,10 +1,18 @@
1
+ import { HOVER_MEDIA, HOVER_NONE_MEDIA } from '../../constants';
1
2
  export const MuiTableRow = {
2
3
  styleOverrides: {
3
4
  root({ theme }) {
4
5
  return {
5
- '&.MuiTableRow-hover:hover': {
6
- backgroundColor: theme.palette.background.elementHover,
7
- cursor: 'pointer',
6
+ [HOVER_MEDIA]: {
7
+ '&.MuiTableRow-hover:hover': {
8
+ backgroundColor: theme.palette.background.elementHover,
9
+ cursor: 'pointer',
10
+ },
11
+ },
12
+ [HOVER_NONE_MEDIA]: {
13
+ '&.MuiTableRow-hover:hover': {
14
+ backgroundColor: 'transparent',
15
+ },
8
16
  },
9
17
  '&.Mui-selected': {
10
18
  backgroundColor: theme.palette.primary['100'],
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Title = exports.StyledTypography = exports.BodyWrapper = exports.IconWrapper = exports.Wrapper = exports.StyledIconButton = exports.StyledGrid = void 0;
4
+ const constants_1 = require("../constants");
4
5
  const Grid_1 = require("../Grid");
5
6
  const IconButton_1 = require("../IconButton");
6
7
  const SvgIcon_1 = require("../SvgIcon");
7
8
  const styled_1 = require("../styled");
8
9
  const Typography_1 = require("../Typography");
9
- const constants_1 = require("./constants");
10
+ const constants_2 = require("./constants");
10
11
  exports.StyledGrid = (0, styled_1.styled)(Grid_1.Grid) `
11
12
  grid-auto-flow: column;
12
13
  justify-content: flex-start;
@@ -23,8 +24,17 @@ exports.StyledIconButton = (0, styled_1.styled)(IconButton_1.IconButton) `
23
24
  margin-top: ${({ theme }) => `calc(${theme.microSpacing(3)} + (20px - 40px) / 2)`};
24
25
  }
25
26
 
26
- &:hover {
27
- background-color: rgb(0 0 0 / 4%);
27
+ ${constants_1.HOVER_MEDIA} {
28
+ &:hover {
29
+ background-color: rgb(0 0 0 / 4%);
30
+ }
31
+ }
32
+
33
+ /* Переопределяем active на мобильных устройствах для сохранения исходной стилизации */
34
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
35
+ &:active {
36
+ background-color: rgb(0 0 0 / 4%);
37
+ }
28
38
  }
29
39
  `;
30
40
  exports.Wrapper = styled_1.styled.div `
@@ -36,38 +46,38 @@ exports.Wrapper = styled_1.styled.div `
36
46
  border: 1px solid transparent;
37
47
  border-radius: ${({ theme }) => theme.shape.medium};
38
48
 
39
- &.${constants_1.alertClassnames.severityInfo} {
49
+ &.${constants_2.alertClassnames.severityInfo} {
40
50
  background-color: ${({ theme }) => theme.palette.primary[100]};
41
51
  border-color: ${({ theme }) => theme.palette.primary[300]};
42
52
 
43
- .${constants_1.alertClassnames.iconWrapper} {
53
+ .${constants_2.alertClassnames.iconWrapper} {
44
54
  color: ${({ theme }) => theme.palette.primary[800]};
45
55
  }
46
56
  }
47
57
 
48
- &.${constants_1.alertClassnames.severitySuccess} {
58
+ &.${constants_2.alertClassnames.severitySuccess} {
49
59
  background-color: ${({ theme }) => theme.palette.success[100]};
50
60
  border-color: ${({ theme }) => theme.palette.success[300]};
51
61
 
52
- .${constants_1.alertClassnames.iconWrapper} {
62
+ .${constants_2.alertClassnames.iconWrapper} {
53
63
  color: ${({ theme }) => theme.palette.success[800]};
54
64
  }
55
65
  }
56
66
 
57
- &.${constants_1.alertClassnames.severityError} {
67
+ &.${constants_2.alertClassnames.severityError} {
58
68
  background-color: ${({ theme }) => theme.palette.error[100]};
59
69
  border-color: ${({ theme }) => theme.palette.error[300]};
60
70
 
61
- .${constants_1.alertClassnames.iconWrapper} {
71
+ .${constants_2.alertClassnames.iconWrapper} {
62
72
  color: ${({ theme }) => theme.palette.error[800]};
63
73
  }
64
74
  }
65
75
 
66
- &.${constants_1.alertClassnames.severityWarning} {
76
+ &.${constants_2.alertClassnames.severityWarning} {
67
77
  background-color: ${({ theme }) => theme.palette.warning[100]};
68
78
  border-color: ${({ theme }) => theme.palette.warning[300]};
69
79
 
70
- .${constants_1.alertClassnames.iconWrapper} {
80
+ .${constants_2.alertClassnames.iconWrapper} {
71
81
  color: ${({ theme }) => theme.palette.warning[800]};
72
82
  }
73
83
  }
@@ -102,15 +112,15 @@ exports.BodyWrapper = styled_1.styled.div `
102
112
  min-width: 0;
103
113
  margin-block: ${({ theme }) => theme.microSpacing(3)};
104
114
 
105
- .${constants_1.alertClassnames.hasCloseButton} & {
115
+ .${constants_2.alertClassnames.hasCloseButton} & {
106
116
  margin-right: ${({ theme }) => theme.spacing(1)};
107
117
  }
108
118
 
109
- & > .${constants_1.alertClassnames.title} + .${constants_1.alertClassnames.content} {
119
+ & > .${constants_2.alertClassnames.title} + .${constants_2.alertClassnames.content} {
110
120
  margin-top: ${({ theme }) => theme.spacing(1)};
111
121
  }
112
122
 
113
- & > .${constants_1.alertClassnames.actions} {
123
+ & > .${constants_2.alertClassnames.actions} {
114
124
  margin-top: ${({ theme }) => theme.spacing(2)};
115
125
  }
116
126
  `;