@astral/ui 4.105.0 → 4.107.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 (333) hide show
  1. package/components/ActionCellBase/ActionCellBase.js +10 -1
  2. package/components/ActionCellBase/MainAction/MainAction.js +6 -0
  3. package/components/ActionCellBase/MainAction/MainIconButton/MainIconButton.js +7 -4
  4. package/components/ActionCellBase/MainAction/MainIconButton/constants.d.ts +3 -0
  5. package/components/ActionCellBase/MainAction/MainIconButton/constants.js +4 -0
  6. package/components/ActionCellBase/MainAction/MainIconButton/styles.d.ts +11 -0
  7. package/components/ActionCellBase/MainAction/MainIconButton/styles.js +9 -0
  8. package/components/ActionCellBase/MainAction/MobileMainButton/MobileMainButton.d.ts +14 -0
  9. package/components/ActionCellBase/MainAction/MobileMainButton/MobileMainButton.js +17 -0
  10. package/components/ActionCellBase/MainAction/MobileMainButton/index.d.ts +1 -0
  11. package/components/ActionCellBase/MainAction/MobileMainButton/index.js +1 -0
  12. package/components/ActionCellBase/MainAction/MobileMainButton/styles.d.ts +11 -0
  13. package/components/ActionCellBase/MainAction/MobileMainButton/styles.js +7 -0
  14. package/components/ActionCellBase/SecondaryAction/SecondaryAction.js +2 -2
  15. package/components/ActionCellBase/SecondaryAction/styles.d.ts +4 -0
  16. package/components/ActionCellBase/SecondaryAction/styles.js +9 -0
  17. package/components/ActionCellBase/constants.d.ts +4 -0
  18. package/components/ActionCellBase/constants.js +5 -0
  19. package/components/ActionCellBase/styles.js +11 -0
  20. package/components/ActionCellBase/types.d.ts +25 -0
  21. package/components/Autocomplete/Autocomplete.js +2 -3
  22. package/components/InfiniteTreeList/InfiniteTreeList.js +16 -2
  23. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.d.ts +4 -0
  24. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.js +1 -0
  25. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.d.ts +2 -2
  26. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +3 -1
  27. package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/styles.js +8 -0
  28. package/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +7 -4
  29. package/components/InfiniteTreeList/InfiniteTreeListItem/constants.d.ts +2 -0
  30. package/components/InfiniteTreeList/InfiniteTreeListItem/constants.js +2 -0
  31. package/components/InfiniteTreeList/InfiniteTreeListItem/index.d.ts +1 -0
  32. package/components/InfiniteTreeList/InfiniteTreeListItem/index.js +1 -0
  33. package/components/InfiniteTreeList/InfiniteTreeListItem/styles.d.ts +14 -0
  34. package/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +66 -2
  35. package/components/InfiniteTreeList/LevelHeader/LevelHeader.d.ts +5 -0
  36. package/components/InfiniteTreeList/LevelHeader/LevelHeader.js +17 -0
  37. package/components/InfiniteTreeList/LevelHeader/constants.d.ts +3 -0
  38. package/components/InfiniteTreeList/LevelHeader/constants.js +3 -0
  39. package/components/InfiniteTreeList/LevelHeader/index.d.ts +2 -0
  40. package/components/InfiniteTreeList/LevelHeader/index.js +2 -0
  41. package/components/InfiniteTreeList/LevelHeader/styles.d.ts +365 -0
  42. package/components/InfiniteTreeList/LevelHeader/styles.js +51 -0
  43. package/components/InfiniteTreeList/LevelHeader/types.d.ts +14 -0
  44. package/components/InfiniteTreeList/LevelHeader/types.js +1 -0
  45. package/components/InfiniteTreeList/ListFooter/styles.js +8 -0
  46. package/components/InfiniteTreeList/OnTopButton/styles.js +7 -0
  47. package/components/InfiniteTreeList/ParentItems/Item/Item.js +10 -2
  48. package/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.d.ts +1 -0
  49. package/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.js +10 -2
  50. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.js +2 -2
  51. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.d.ts +3 -0
  52. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.js +11 -0
  53. package/components/InfiniteTreeList/TreeItem/TreeItem.js +6 -3
  54. package/components/InfiniteTreeList/TreeItem/styles.js +19 -0
  55. package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.d.ts +2 -1
  56. package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +5 -4
  57. package/components/InfiniteTreeList/constants.d.ts +21 -0
  58. package/components/InfiniteTreeList/constants.js +21 -0
  59. package/components/InfiniteTreeList/hooks/index.d.ts +2 -0
  60. package/components/InfiniteTreeList/hooks/index.js +2 -0
  61. package/components/InfiniteTreeList/hooks/useLevelNavigation/index.d.ts +2 -0
  62. package/components/InfiniteTreeList/hooks/useLevelNavigation/index.js +2 -0
  63. package/components/InfiniteTreeList/hooks/useLevelNavigation/types.d.ts +15 -0
  64. package/components/InfiniteTreeList/hooks/useLevelNavigation/types.js +1 -0
  65. package/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.d.ts +15 -0
  66. package/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.js +48 -0
  67. package/components/InfiniteTreeList/hooks/useListScroll/hooks/index.d.ts +3 -0
  68. package/components/InfiniteTreeList/hooks/useListScroll/hooks/index.js +3 -0
  69. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.d.ts +2 -0
  70. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.js +2 -0
  71. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.d.ts +16 -0
  72. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.js +1 -0
  73. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.d.ts +12 -0
  74. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.js +42 -0
  75. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.d.ts +2 -0
  76. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.js +2 -0
  77. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.d.ts +12 -0
  78. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.js +1 -0
  79. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.d.ts +15 -0
  80. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.js +27 -0
  81. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.d.ts +2 -0
  82. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.js +2 -0
  83. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.d.ts +11 -0
  84. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.js +1 -0
  85. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.d.ts +12 -0
  86. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.js +39 -0
  87. package/components/InfiniteTreeList/hooks/useListScroll/types.d.ts +14 -2
  88. package/components/InfiniteTreeList/hooks/useListScroll/useListScroll.d.ts +9 -6
  89. package/components/InfiniteTreeList/hooks/useListScroll/useListScroll.js +192 -28
  90. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.d.ts +4 -0
  91. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.js +6 -0
  92. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.d.ts +1 -0
  93. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.js +1 -0
  94. package/components/InfiniteTreeList/hooks/useListScroll/utils/index.d.ts +1 -0
  95. package/components/InfiniteTreeList/hooks/useListScroll/utils/index.js +1 -0
  96. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.d.ts +2 -0
  97. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.js +2 -0
  98. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.d.ts +14 -0
  99. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.js +1 -0
  100. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.d.ts +5 -0
  101. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.js +18 -0
  102. package/components/InfiniteTreeList/styles.d.ts +5 -0
  103. package/components/InfiniteTreeList/styles.js +41 -0
  104. package/components/InfiniteTreeList/types.d.ts +4 -0
  105. package/components/InfiniteTreeList/useLogic/useLogic.d.ts +13 -5
  106. package/components/InfiniteTreeList/useLogic/useLogic.js +165 -27
  107. package/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.d.ts +5 -0
  108. package/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.js +4 -0
  109. package/components/InfiniteTreeList/utils/checkHasFooterContent/index.d.ts +1 -0
  110. package/components/InfiniteTreeList/utils/checkHasFooterContent/index.js +1 -0
  111. package/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.d.ts +6 -0
  112. package/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.js +5 -0
  113. package/components/InfiniteTreeList/utils/checkHasNested/index.d.ts +1 -0
  114. package/components/InfiniteTreeList/utils/checkHasNested/index.js +1 -0
  115. package/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.d.ts +8 -3
  116. package/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.js +30 -12
  117. package/components/InfiniteTreeList/utils/flattenTree/flattenTree.js +2 -1
  118. package/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.d.ts +4 -0
  119. package/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.js +5 -0
  120. package/components/InfiniteTreeList/utils/getLevelKey/index.d.ts +1 -0
  121. package/components/InfiniteTreeList/utils/getLevelKey/index.js +1 -0
  122. package/components/InfiniteTreeList/utils/index.d.ts +3 -0
  123. package/components/InfiniteTreeList/utils/index.js +3 -0
  124. package/components/Onboarding/ui/StepStrategy/steps/HighlightStep/styles.d.ts +1 -1
  125. package/components/Select/Select.js +4 -3
  126. package/components/Select/useLogic/useLogic.d.ts +11 -2
  127. package/components/Select/useLogic/useLogic.js +4 -1
  128. package/components/TagsList/PopoverTags/PopoverTags.d.ts +7 -0
  129. package/components/TagsList/PopoverTags/PopoverTags.js +8 -0
  130. package/components/TagsList/PopoverTags/index.d.ts +2 -0
  131. package/components/TagsList/PopoverTags/index.js +2 -0
  132. package/components/TagsList/PopoverTags/styles.d.ts +8 -0
  133. package/components/TagsList/PopoverTags/styles.js +15 -0
  134. package/components/TagsList/PopoverTags/types.d.ts +24 -0
  135. package/components/TagsList/PopoverTags/types.js +1 -0
  136. package/components/TagsList/Tag/Tag.d.ts +9 -1
  137. package/components/TagsList/Tag/Tag.js +4 -3
  138. package/components/TagsList/TagsList.js +11 -5
  139. package/components/TagsList/constants.d.ts +35 -0
  140. package/components/TagsList/constants.js +35 -0
  141. package/components/TagsList/styles.d.ts +9 -1
  142. package/components/TagsList/styles.js +20 -1
  143. package/components/TagsList/types.d.ts +4 -0
  144. package/components/TagsList/useLogic/hooks/index.d.ts +1 -0
  145. package/components/TagsList/useLogic/hooks/index.js +1 -0
  146. package/components/TagsList/useLogic/hooks/useHoverDelay/index.d.ts +1 -0
  147. package/components/TagsList/useLogic/hooks/useHoverDelay/index.js +1 -0
  148. package/components/TagsList/useLogic/hooks/useHoverDelay/types.d.ts +20 -0
  149. package/components/TagsList/useLogic/hooks/useHoverDelay/types.js +1 -0
  150. package/components/TagsList/useLogic/hooks/useHoverDelay/useHoverDelay.d.ts +5 -0
  151. package/components/TagsList/useLogic/hooks/useHoverDelay/useHoverDelay.js +27 -0
  152. package/components/TagsList/useLogic/useLogic.d.ts +14 -2
  153. package/components/TagsList/useLogic/useLogic.js +84 -4
  154. package/components/TagsList/utils/calculatePopoverWidth/calculatePopoverWidth.d.ts +5 -0
  155. package/components/TagsList/utils/calculatePopoverWidth/calculatePopoverWidth.js +22 -0
  156. package/components/TagsList/utils/calculatePopoverWidth/index.d.ts +1 -0
  157. package/components/TagsList/utils/calculatePopoverWidth/index.js +1 -0
  158. package/components/TagsList/utils/index.d.ts +1 -0
  159. package/components/TagsList/utils/index.js +1 -0
  160. package/components/TreeLikeAsyncAutocomplete/Input/Input.js +3 -2
  161. package/components/TreeLikeAsyncAutocomplete/Input/useLogic/useLogic.d.ts +3 -2
  162. package/components/TreeLikeAsyncAutocomplete/Input/useLogic/useLogic.js +3 -1
  163. package/components/TreeLikeAutocomplete/Input/Input.js +2 -2
  164. package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.d.ts +2 -1
  165. package/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +3 -1
  166. package/components/useScrollManagement/useScrollManagement.js +7 -6
  167. package/node/components/ActionCellBase/ActionCellBase.js +10 -1
  168. package/node/components/ActionCellBase/MainAction/MainAction.js +6 -0
  169. package/node/components/ActionCellBase/MainAction/MainIconButton/MainIconButton.js +7 -4
  170. package/node/components/ActionCellBase/MainAction/MainIconButton/constants.d.ts +3 -0
  171. package/node/components/ActionCellBase/MainAction/MainIconButton/constants.js +7 -0
  172. package/node/components/ActionCellBase/MainAction/MainIconButton/styles.d.ts +11 -0
  173. package/node/components/ActionCellBase/MainAction/MainIconButton/styles.js +12 -0
  174. package/node/components/ActionCellBase/MainAction/MobileMainButton/MobileMainButton.d.ts +14 -0
  175. package/node/components/ActionCellBase/MainAction/MobileMainButton/MobileMainButton.js +21 -0
  176. package/node/components/ActionCellBase/MainAction/MobileMainButton/index.d.ts +1 -0
  177. package/node/components/ActionCellBase/MainAction/MobileMainButton/index.js +17 -0
  178. package/node/components/ActionCellBase/MainAction/MobileMainButton/styles.d.ts +11 -0
  179. package/node/components/ActionCellBase/MainAction/MobileMainButton/styles.js +10 -0
  180. package/node/components/ActionCellBase/SecondaryAction/SecondaryAction.js +2 -2
  181. package/node/components/ActionCellBase/SecondaryAction/styles.d.ts +4 -0
  182. package/node/components/ActionCellBase/SecondaryAction/styles.js +12 -0
  183. package/node/components/ActionCellBase/constants.d.ts +4 -0
  184. package/node/components/ActionCellBase/constants.js +8 -0
  185. package/node/components/ActionCellBase/styles.js +11 -0
  186. package/node/components/ActionCellBase/types.d.ts +25 -0
  187. package/node/components/Autocomplete/Autocomplete.js +2 -3
  188. package/node/components/InfiniteTreeList/InfiniteTreeList.js +16 -2
  189. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.d.ts +4 -0
  190. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.js +1 -0
  191. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.d.ts +2 -2
  192. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +3 -1
  193. package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/styles.js +8 -0
  194. package/node/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +6 -3
  195. package/node/components/InfiniteTreeList/InfiniteTreeListItem/constants.d.ts +2 -0
  196. package/node/components/InfiniteTreeList/InfiniteTreeListItem/constants.js +2 -0
  197. package/node/components/InfiniteTreeList/InfiniteTreeListItem/index.d.ts +1 -0
  198. package/node/components/InfiniteTreeList/InfiniteTreeListItem/index.js +3 -0
  199. package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.d.ts +14 -0
  200. package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +67 -3
  201. package/node/components/InfiniteTreeList/LevelHeader/LevelHeader.d.ts +5 -0
  202. package/node/components/InfiniteTreeList/LevelHeader/LevelHeader.js +21 -0
  203. package/node/components/InfiniteTreeList/LevelHeader/constants.d.ts +3 -0
  204. package/node/components/InfiniteTreeList/LevelHeader/constants.js +6 -0
  205. package/node/components/InfiniteTreeList/LevelHeader/index.d.ts +2 -0
  206. package/node/components/InfiniteTreeList/LevelHeader/index.js +18 -0
  207. package/node/components/InfiniteTreeList/LevelHeader/styles.d.ts +365 -0
  208. package/node/components/InfiniteTreeList/LevelHeader/styles.js +54 -0
  209. package/node/components/InfiniteTreeList/LevelHeader/types.d.ts +14 -0
  210. package/node/components/InfiniteTreeList/LevelHeader/types.js +2 -0
  211. package/node/components/InfiniteTreeList/ListFooter/styles.js +8 -0
  212. package/node/components/InfiniteTreeList/OnTopButton/styles.js +7 -0
  213. package/node/components/InfiniteTreeList/ParentItems/Item/Item.js +10 -2
  214. package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.d.ts +1 -0
  215. package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.js +10 -2
  216. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.js +2 -2
  217. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.d.ts +3 -0
  218. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.js +14 -0
  219. package/node/components/InfiniteTreeList/TreeItem/TreeItem.js +6 -3
  220. package/node/components/InfiniteTreeList/TreeItem/styles.js +19 -0
  221. package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.d.ts +2 -1
  222. package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +4 -3
  223. package/node/components/InfiniteTreeList/constants.d.ts +21 -0
  224. package/node/components/InfiniteTreeList/constants.js +22 -1
  225. package/node/components/InfiniteTreeList/hooks/index.d.ts +2 -0
  226. package/node/components/InfiniteTreeList/hooks/index.js +2 -0
  227. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/index.d.ts +2 -0
  228. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/index.js +18 -0
  229. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/types.d.ts +15 -0
  230. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/types.js +2 -0
  231. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.d.ts +15 -0
  232. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.js +52 -0
  233. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/index.d.ts +3 -0
  234. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/index.js +19 -0
  235. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.d.ts +2 -0
  236. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.js +18 -0
  237. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.d.ts +16 -0
  238. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.js +2 -0
  239. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.d.ts +12 -0
  240. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.js +46 -0
  241. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.d.ts +2 -0
  242. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.js +18 -0
  243. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.d.ts +12 -0
  244. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.js +2 -0
  245. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.d.ts +15 -0
  246. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.js +31 -0
  247. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.d.ts +2 -0
  248. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.js +18 -0
  249. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.d.ts +11 -0
  250. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.js +2 -0
  251. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.d.ts +12 -0
  252. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.js +43 -0
  253. package/node/components/InfiniteTreeList/hooks/useListScroll/types.d.ts +14 -2
  254. package/node/components/InfiniteTreeList/hooks/useListScroll/useListScroll.d.ts +9 -6
  255. package/node/components/InfiniteTreeList/hooks/useListScroll/useListScroll.js +190 -26
  256. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.d.ts +4 -0
  257. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.js +10 -0
  258. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.d.ts +1 -0
  259. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.js +17 -0
  260. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/index.d.ts +1 -0
  261. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/index.js +17 -0
  262. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.d.ts +2 -0
  263. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.js +18 -0
  264. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.d.ts +14 -0
  265. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.js +2 -0
  266. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.d.ts +5 -0
  267. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.js +22 -0
  268. package/node/components/InfiniteTreeList/styles.d.ts +5 -0
  269. package/node/components/InfiniteTreeList/styles.js +44 -0
  270. package/node/components/InfiniteTreeList/types.d.ts +4 -0
  271. package/node/components/InfiniteTreeList/useLogic/useLogic.d.ts +13 -5
  272. package/node/components/InfiniteTreeList/useLogic/useLogic.js +162 -24
  273. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.d.ts +5 -0
  274. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.js +8 -0
  275. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/index.d.ts +1 -0
  276. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/index.js +17 -0
  277. package/node/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.d.ts +6 -0
  278. package/node/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.js +9 -0
  279. package/node/components/InfiniteTreeList/utils/checkHasNested/index.d.ts +1 -0
  280. package/node/components/InfiniteTreeList/utils/checkHasNested/index.js +17 -0
  281. package/node/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.d.ts +8 -3
  282. package/node/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.js +30 -12
  283. package/node/components/InfiniteTreeList/utils/flattenTree/flattenTree.js +2 -1
  284. package/node/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.d.ts +4 -0
  285. package/node/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.js +9 -0
  286. package/node/components/InfiniteTreeList/utils/getLevelKey/index.d.ts +1 -0
  287. package/node/components/InfiniteTreeList/utils/getLevelKey/index.js +17 -0
  288. package/node/components/InfiniteTreeList/utils/index.d.ts +3 -0
  289. package/node/components/InfiniteTreeList/utils/index.js +3 -0
  290. package/node/components/Onboarding/ui/StepStrategy/steps/HighlightStep/styles.d.ts +1 -1
  291. package/node/components/Select/Select.js +4 -3
  292. package/node/components/Select/useLogic/useLogic.d.ts +11 -2
  293. package/node/components/Select/useLogic/useLogic.js +4 -1
  294. package/node/components/TagsList/PopoverTags/PopoverTags.d.ts +7 -0
  295. package/node/components/TagsList/PopoverTags/PopoverTags.js +12 -0
  296. package/node/components/TagsList/PopoverTags/index.d.ts +2 -0
  297. package/node/components/TagsList/PopoverTags/index.js +18 -0
  298. package/node/components/TagsList/PopoverTags/styles.d.ts +8 -0
  299. package/node/components/TagsList/PopoverTags/styles.js +18 -0
  300. package/node/components/TagsList/PopoverTags/types.d.ts +24 -0
  301. package/node/components/TagsList/PopoverTags/types.js +2 -0
  302. package/node/components/TagsList/Tag/Tag.d.ts +9 -1
  303. package/node/components/TagsList/Tag/Tag.js +4 -4
  304. package/node/components/TagsList/TagsList.js +10 -4
  305. package/node/components/TagsList/constants.d.ts +35 -0
  306. package/node/components/TagsList/constants.js +36 -1
  307. package/node/components/TagsList/styles.d.ts +9 -1
  308. package/node/components/TagsList/styles.js +20 -1
  309. package/node/components/TagsList/types.d.ts +4 -0
  310. package/node/components/TagsList/useLogic/hooks/index.d.ts +1 -0
  311. package/node/components/TagsList/useLogic/hooks/index.js +17 -0
  312. package/node/components/TagsList/useLogic/hooks/useHoverDelay/index.d.ts +1 -0
  313. package/node/components/TagsList/useLogic/hooks/useHoverDelay/index.js +17 -0
  314. package/node/components/TagsList/useLogic/hooks/useHoverDelay/types.d.ts +20 -0
  315. package/node/components/TagsList/useLogic/hooks/useHoverDelay/types.js +2 -0
  316. package/node/components/TagsList/useLogic/hooks/useHoverDelay/useHoverDelay.d.ts +5 -0
  317. package/node/components/TagsList/useLogic/hooks/useHoverDelay/useHoverDelay.js +31 -0
  318. package/node/components/TagsList/useLogic/useLogic.d.ts +14 -2
  319. package/node/components/TagsList/useLogic/useLogic.js +81 -1
  320. package/node/components/TagsList/utils/calculatePopoverWidth/calculatePopoverWidth.d.ts +5 -0
  321. package/node/components/TagsList/utils/calculatePopoverWidth/calculatePopoverWidth.js +26 -0
  322. package/node/components/TagsList/utils/calculatePopoverWidth/index.d.ts +1 -0
  323. package/node/components/TagsList/utils/calculatePopoverWidth/index.js +17 -0
  324. package/node/components/TagsList/utils/index.d.ts +1 -0
  325. package/node/components/TagsList/utils/index.js +3 -1
  326. package/node/components/TreeLikeAsyncAutocomplete/Input/Input.js +3 -2
  327. package/node/components/TreeLikeAsyncAutocomplete/Input/useLogic/useLogic.d.ts +3 -2
  328. package/node/components/TreeLikeAsyncAutocomplete/Input/useLogic/useLogic.js +3 -1
  329. package/node/components/TreeLikeAutocomplete/Input/Input.js +2 -2
  330. package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.d.ts +2 -1
  331. package/node/components/TreeLikeAutocomplete/Input/useLogic/useLogic.js +3 -1
  332. package/node/components/useScrollManagement/useScrollManagement.js +6 -5
  333. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ export const LEVEL_BACK_TITLE = 'Назад';
2
+ export const LEVEL_BACK_BUTTON_WIDTH = '72px';
3
+ export const LEVEL_BACK_BUTTON_ICON_SIZE = '24px';
@@ -0,0 +1,2 @@
1
+ export * from './LevelHeader';
2
+ export * from './types';
@@ -0,0 +1,2 @@
1
+ export * from './LevelHeader';
2
+ export * from './types';
@@ -0,0 +1,365 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react" />
3
+ export declare const Wrapper: import("../../styled").StyledComponent<{
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
7
+ export declare const BackButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
8
+ variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
9
+ loading?: boolean | undefined;
10
+ color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
11
+ component?: import("react").ElementType | undefined;
12
+ selected?: boolean | undefined;
13
+ size?: "large" | "medium" | undefined;
14
+ } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ }, {}, {}>;
17
+ export declare const Title: import("../../styled").StyledComponent<import("../../OverflowTypography").OverflowedProps & {
18
+ tooltipProps?: (Omit<{
19
+ components?: {
20
+ Popper?: import("react").ElementType<import("@mui/material").PopperProps, keyof import("react").JSX.IntrinsicElements> | undefined;
21
+ Transition?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
22
+ Tooltip?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
23
+ Arrow?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
24
+ } | undefined;
25
+ classes?: Partial<import("@mui/material").TooltipClasses> | undefined;
26
+ defaultChecked?: boolean | undefined;
27
+ defaultValue?: string | number | readonly string[] | undefined;
28
+ suppressContentEditableWarning?: boolean | undefined;
29
+ suppressHydrationWarning?: boolean | undefined;
30
+ accessKey?: string | undefined;
31
+ autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
32
+ autoFocus?: boolean | undefined;
33
+ className?: string | undefined;
34
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
35
+ contextMenu?: string | undefined;
36
+ dir?: string | undefined;
37
+ draggable?: (boolean | "true" | "false") | undefined;
38
+ enterKeyHint?: "enter" | "search" | "done" | "go" | "next" | "previous" | "send" | undefined;
39
+ hidden?: boolean | undefined;
40
+ id?: string | undefined;
41
+ lang?: string | undefined;
42
+ nonce?: string | undefined;
43
+ slot?: string | undefined;
44
+ spellCheck?: (boolean | "true" | "false") | undefined;
45
+ style?: import("react").CSSProperties | undefined;
46
+ tabIndex?: number | undefined;
47
+ title: import("react").ReactNode;
48
+ translate?: "yes" | "no" | undefined;
49
+ radioGroup?: string | undefined;
50
+ role?: import("react").AriaRole | undefined;
51
+ about?: string | undefined;
52
+ content?: string | undefined;
53
+ datatype?: string | undefined;
54
+ inlist?: any;
55
+ prefix?: string | undefined;
56
+ property?: string | undefined;
57
+ rel?: string | undefined;
58
+ resource?: string | undefined;
59
+ rev?: string | undefined;
60
+ typeof?: string | undefined;
61
+ vocab?: string | undefined;
62
+ autoCorrect?: string | undefined;
63
+ autoSave?: string | undefined;
64
+ color?: string | undefined;
65
+ itemProp?: string | undefined;
66
+ itemScope?: boolean | undefined;
67
+ itemType?: string | undefined;
68
+ itemID?: string | undefined;
69
+ itemRef?: string | undefined;
70
+ results?: number | undefined;
71
+ security?: string | undefined;
72
+ unselectable?: "off" | "on" | undefined;
73
+ popover?: "" | "auto" | "manual" | "hint" | undefined;
74
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
75
+ popoverTarget?: string | undefined;
76
+ inert?: boolean | undefined;
77
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
78
+ is?: string | undefined;
79
+ exportparts?: string | undefined;
80
+ part?: string | undefined;
81
+ "aria-activedescendant"?: string | undefined;
82
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
83
+ "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
84
+ "aria-braillelabel"?: string | undefined;
85
+ "aria-brailleroledescription"?: string | undefined;
86
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
87
+ "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
88
+ "aria-colcount"?: number | undefined;
89
+ "aria-colindex"?: number | undefined;
90
+ "aria-colindextext"?: string | undefined;
91
+ "aria-colspan"?: number | undefined;
92
+ "aria-controls"?: string | undefined;
93
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
94
+ "aria-describedby"?: string | undefined;
95
+ "aria-description"?: string | undefined;
96
+ "aria-details"?: string | undefined;
97
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
98
+ "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
99
+ "aria-errormessage"?: string | undefined;
100
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
101
+ "aria-flowto"?: string | undefined;
102
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
103
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
104
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
105
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
106
+ "aria-keyshortcuts"?: string | undefined;
107
+ "aria-label"?: string | undefined;
108
+ "aria-labelledby"?: string | undefined;
109
+ "aria-level"?: number | undefined;
110
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
111
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
112
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
113
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
114
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
115
+ "aria-owns"?: string | undefined;
116
+ "aria-placeholder"?: string | undefined;
117
+ "aria-posinset"?: number | undefined;
118
+ "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
119
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
120
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
121
+ "aria-required"?: (boolean | "true" | "false") | undefined;
122
+ "aria-roledescription"?: string | undefined;
123
+ "aria-rowcount"?: number | undefined;
124
+ "aria-rowindex"?: number | undefined;
125
+ "aria-rowindextext"?: string | undefined;
126
+ "aria-rowspan"?: number | undefined;
127
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
128
+ "aria-setsize"?: number | undefined;
129
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
130
+ "aria-valuemax"?: number | undefined;
131
+ "aria-valuemin"?: number | undefined;
132
+ "aria-valuenow"?: number | undefined;
133
+ "aria-valuetext"?: string | undefined;
134
+ children: import("react").ReactElement<any, any>;
135
+ dangerouslySetInnerHTML?: {
136
+ __html: string | TrustedHTML;
137
+ } | undefined;
138
+ onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
139
+ onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
140
+ onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
141
+ onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
142
+ onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
143
+ onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
144
+ onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
145
+ onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
146
+ onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
147
+ onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
148
+ onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
149
+ onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
150
+ onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
151
+ onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
152
+ onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
153
+ onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
154
+ onChange?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
155
+ onChangeCapture?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
156
+ onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
157
+ onBeforeInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
158
+ onInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
159
+ onInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
160
+ onReset?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
161
+ onResetCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
162
+ onSubmit?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
163
+ onSubmitCapture?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
164
+ onInvalid?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
165
+ onInvalidCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
166
+ onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
167
+ onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
168
+ onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
169
+ onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
170
+ onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
171
+ onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
172
+ onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
173
+ onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
174
+ onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
175
+ onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
176
+ onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
177
+ onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
178
+ onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
179
+ onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
180
+ onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
181
+ onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
182
+ onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
183
+ onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
184
+ onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
185
+ onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
186
+ onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
187
+ onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
188
+ onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
189
+ onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
190
+ onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
191
+ onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
192
+ onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
193
+ onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
194
+ onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
195
+ onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
196
+ onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
197
+ onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
198
+ onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
199
+ onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
200
+ onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
201
+ onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
202
+ onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
203
+ onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
204
+ onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
205
+ onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
206
+ onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
207
+ onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
208
+ onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
209
+ onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
210
+ onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
211
+ onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
212
+ onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
213
+ onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
214
+ onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
215
+ onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
216
+ onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
217
+ onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
218
+ onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
219
+ onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
220
+ onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
221
+ onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
222
+ onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
223
+ onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
224
+ onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
225
+ onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
226
+ onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
227
+ onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
228
+ onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
229
+ onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
230
+ onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
231
+ onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
232
+ onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
233
+ onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
234
+ onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
235
+ onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
236
+ onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
237
+ onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
238
+ onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
239
+ onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
240
+ onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
241
+ onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
242
+ onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
243
+ onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
244
+ onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
245
+ onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
246
+ onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
247
+ onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
248
+ onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
249
+ onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
250
+ onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
251
+ onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
252
+ onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
253
+ onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
254
+ onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
255
+ onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
256
+ onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
257
+ onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
258
+ onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
259
+ onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
260
+ onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
261
+ onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
262
+ onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
263
+ onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
264
+ onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
265
+ onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
266
+ onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
267
+ onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
268
+ onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
269
+ onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
270
+ onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
271
+ onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
272
+ onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
273
+ onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
274
+ onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
275
+ onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
276
+ onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
277
+ onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
278
+ onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
279
+ onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
280
+ onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
281
+ onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
282
+ onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
283
+ onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
284
+ onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
285
+ onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
286
+ onScrollEnd?: import("react").UIEventHandler<HTMLDivElement> | undefined;
287
+ onScrollEndCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
288
+ onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
289
+ onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
290
+ onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
291
+ onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
292
+ onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
293
+ onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
294
+ onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
295
+ onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
296
+ onToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
297
+ onBeforeToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
298
+ onTransitionCancel?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
299
+ onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
300
+ onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
301
+ onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
302
+ onTransitionRun?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
303
+ onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
304
+ onTransitionStart?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
305
+ onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
306
+ open?: boolean | undefined;
307
+ width?: import("csstype").Property.Width<string | number> | undefined;
308
+ size?: import("../..").TooltipSize | undefined;
309
+ componentsProps?: {
310
+ popper?: (Partial<import("@mui/material").PopperProps> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
311
+ transition?: (import("@mui/material/transitions").TransitionProps & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
312
+ tooltip?: (import("react").HTMLProps<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
313
+ arrow?: (import("react").HTMLProps<HTMLSpanElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
314
+ } | undefined;
315
+ onClose?: ((event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
316
+ slots?: {
317
+ popper?: import("react").ElementType<import("@mui/material").PopperProps, keyof import("react").JSX.IntrinsicElements> | undefined;
318
+ transition?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
319
+ tooltip?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
320
+ arrow?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
321
+ } | undefined;
322
+ slotProps?: {
323
+ popper?: (Partial<import("@mui/material").PopperProps> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
324
+ transition?: (import("@mui/material/transitions").TransitionProps & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
325
+ tooltip?: (import("react").HTMLProps<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
326
+ arrow?: (import("react").HTMLProps<HTMLSpanElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
327
+ } | undefined;
328
+ TransitionComponent?: import("react").JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
329
+ children: import("react").ReactElement<any, any>;
330
+ }> | undefined;
331
+ TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
332
+ arrow?: boolean | undefined;
333
+ describeChild?: boolean | undefined;
334
+ disableFocusListener?: boolean | undefined;
335
+ disableHoverListener?: boolean | undefined;
336
+ disableInteractive?: boolean | undefined;
337
+ disableTouchListener?: boolean | undefined;
338
+ enterDelay?: number | undefined;
339
+ enterNextDelay?: number | undefined;
340
+ enterTouchDelay?: number | undefined;
341
+ followCursor?: boolean | undefined;
342
+ leaveDelay?: number | undefined;
343
+ leaveTouchDelay?: number | undefined;
344
+ onOpen?: ((event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
345
+ placement?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
346
+ PopperComponent?: import("react").JSXElementConstructor<import("@mui/material").PopperProps> | undefined;
347
+ PopperProps?: Partial<import("@mui/material").PopperProps> | undefined;
348
+ withoutContainer?: boolean | undefined;
349
+ }, "title" | "children"> & {
350
+ title?: import("react").ReactNode;
351
+ }) | undefined;
352
+ visibleLastSymbolsCount?: number | undefined;
353
+ } & import("../../Typography/types").TypographyPropsBase & {
354
+ color?: import("../..").TypographyColor | undefined;
355
+ variant?: import("../..").TypographyVariant | undefined;
356
+ colorIntensity?: import("../..").Intensity | undefined;
357
+ component?: import("../../Typography/types").ComponentProp | undefined;
358
+ isUpperCase?: boolean | undefined;
359
+ withoutCalt?: boolean | undefined;
360
+ isTabularNums?: boolean | undefined;
361
+ } & import("react").HTMLAttributes<HTMLParagraphElement> & {
362
+ children?: import("react").ReactNode;
363
+ } & import("react").RefAttributes<HTMLElement> & {
364
+ theme?: import("@emotion/react").Theme | undefined;
365
+ }, {}, {}>;
@@ -0,0 +1,51 @@
1
+ import { buttonClasses } from '../../Button';
2
+ import { IconButton } from '../../IconButton';
3
+ import { OverflowTypography } from '../../OverflowTypography';
4
+ import { svgIconClassnames } from '../../SvgIcon';
5
+ import { styled } from '../../styled';
6
+ import { infiniteTreeListClassnames } from '../constants';
7
+ import { LEVEL_BACK_BUTTON_ICON_SIZE, LEVEL_BACK_BUTTON_WIDTH, } from './constants';
8
+ export const Wrapper = styled.header `
9
+ position: relative;
10
+
11
+ display: flex;
12
+ align-items: center;
13
+
14
+ padding: ${({ theme }) => theme.spacing(3, 4)};
15
+
16
+ border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
17
+
18
+ &.${infiniteTreeListClassnames.levelHeaderWithBackButton} {
19
+ padding-left: ${({ theme }) => theme.spacing(11)};
20
+ }
21
+ `;
22
+ export const BackButton = styled(IconButton) `
23
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
24
+ position: absolute;
25
+ top: 0;
26
+ bottom: 0;
27
+ left: 0;
28
+
29
+ width: ${LEVEL_BACK_BUTTON_WIDTH};
30
+ height: auto;
31
+ padding: ${({ theme }) => theme.spacing(0, 8, 0, 4)};
32
+
33
+ color: inherit;
34
+
35
+ border-radius: 0;
36
+
37
+ &.${buttonClasses.root} .${svgIconClassnames.root} {
38
+ width: ${LEVEL_BACK_BUTTON_ICON_SIZE};
39
+ height: ${LEVEL_BACK_BUTTON_ICON_SIZE};
40
+ }
41
+
42
+ &:active {
43
+ background-color: transparent;
44
+ }
45
+ }
46
+ `;
47
+ export const Title = styled(OverflowTypography) `
48
+ flex-grow: 1;
49
+
50
+ min-width: 0;
51
+ `;
@@ -0,0 +1,14 @@
1
+ export type LevelHeaderProps = {
2
+ /**
3
+ * Заголовок отображаемого уровня
4
+ */
5
+ title?: string;
6
+ /**
7
+ * Показывает кнопку возврата
8
+ */
9
+ hasBackButton: boolean;
10
+ /**
11
+ * Обработчик возврата на уровень выше
12
+ */
13
+ onBack: () => void;
14
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -7,7 +7,15 @@ export const Footer = styled.footer `
7
7
 
8
8
  min-height: 64px;
9
9
  margin-top: ${({ theme }) => theme.spacing(1)};
10
+
11
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
12
+ margin-top: unset;
13
+ }
10
14
  `;
11
15
  export const FooterDummy = styled.div `
12
16
  min-height: 20px;
17
+
18
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
19
+ display: none;
20
+ }
13
21
  `;
@@ -7,4 +7,11 @@ export const StyledScrollToTopButton = styled(ScrollToTopButton) `
7
7
  &.${infiniteTreeListClassnames.visibleScrollToTopButton} {
8
8
  display: inline-flex;
9
9
  }
10
+
11
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
12
+ &,
13
+ &.${infiniteTreeListClassnames.visibleScrollToTopButton} {
14
+ display: none;
15
+ }
16
+ }
10
17
  `;
@@ -1,11 +1,19 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { memo } from 'react';
3
3
  import { createPortal } from 'react-dom';
4
+ import { cva } from '../../../utils/cva';
4
5
  import { infiniteTreeListClassnames } from '../../constants';
5
6
  import { TreeListItemContextProvider } from '../../InfiniteTreeListItem';
6
7
  import { Wrapper } from '../../TreeItem/styles';
7
8
  import { CustomParentWrapper } from './CustomParentWrapper';
8
9
  import { useLogic } from './useLogic';
10
+ const parentItemCva = cva(infiniteTreeListClassnames.row, {
11
+ variants: {
12
+ isLastRow: {
13
+ true: infiniteTreeListClassnames.rowLast,
14
+ },
15
+ },
16
+ });
9
17
  /**
10
18
  * Строка одного узла с подгружаемыми дочерними элементами.
11
19
  *
@@ -14,9 +22,9 @@ import { useLogic } from './useLogic';
14
22
  * экране
15
23
  */
16
24
  export const Item = memo((props) => {
17
- const { nodeId, slot, cssVars, parent, renderParent, onToggle } = useLogic(props);
25
+ const { nodeId, slot, cssVars, parent, renderParent, onToggle, isLastRow } = useLogic(props);
18
26
  if (!slot) {
19
27
  return null;
20
28
  }
21
- return createPortal(_jsx(TreeListItemContextProvider, { item: parent, onToggle: onToggle, children: _jsx(Wrapper, { id: nodeId, className: infiniteTreeListClassnames.row, style: cssVars, children: _jsx(CustomParentWrapper, { item: parent, renderParent: renderParent }) }) }), slot);
29
+ return createPortal(_jsx(TreeListItemContextProvider, { item: parent, onToggle: onToggle, children: _jsx(Wrapper, { id: nodeId, className: parentItemCva({ isLastRow }), style: cssVars, children: _jsx(CustomParentWrapper, { item: parent, renderParent: renderParent }) }) }), slot);
22
30
  });
@@ -8,5 +8,6 @@ export declare const useLogic: ({ parent }: UseLogicParams) => {
8
8
  parent: import("../../../types").FlattenTree<import("../../../types").InfiniteTreeListData>;
9
9
  renderParent: (item: import("../../../types").FlattenTree<import("../../../types").InfiniteTreeListData>) => import("react").ReactNode;
10
10
  onToggle: (item: import("../../../types").InfiniteTreeListData) => void;
11
+ isLastRow: boolean;
11
12
  };
12
13
  export {};
@@ -1,12 +1,20 @@
1
1
  import { useContext } from 'react';
2
2
  import { InfiniteTreeListContext } from '../../../InfiniteTreeListContext';
3
3
  export const useLogic = ({ parent }) => {
4
- const { renderParent, onToggle, acquireParentSlot } = useContext(InfiniteTreeListContext);
4
+ const { renderParent, onToggle, acquireParentSlot, lastRowId } = useContext(InfiniteTreeListContext);
5
5
  const slot = acquireParentSlot(parent.id);
6
6
  const { nodeId, level, siblingIndex } = parent.meta;
7
7
  const cssVars = {
8
8
  '--level': level,
9
9
  '--sibling-index': siblingIndex,
10
10
  };
11
- return { slot, nodeId, cssVars, parent, renderParent, onToggle };
11
+ return {
12
+ slot,
13
+ nodeId,
14
+ cssVars,
15
+ parent,
16
+ renderParent,
17
+ onToggle,
18
+ isLastRow: parent.id === lastRowId,
19
+ };
12
20
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Typography } from '../../../../Typography';
3
3
  import { CHILDREN_NO_DATA_MSG } from '../../../constants';
4
- import { InfiniteTreeListItem } from '../../../InfiniteTreeListItem';
5
- export const NoDataRow = () => (_jsx(InfiniteTreeListItem, { children: _jsx(Typography, { color: "grey", colorIntensity: "600", children: CHILDREN_NO_DATA_MSG }) }));
4
+ import { StyledInfiniteTreeListItem } from './styles';
5
+ export const NoDataRow = () => (_jsx(StyledInfiniteTreeListItem, { children: _jsx(Typography, { color: "grey", colorIntensity: "600", children: CHILDREN_NO_DATA_MSG }) }));
@@ -0,0 +1,3 @@
1
+ export declare const StyledInfiniteTreeListItem: import("../../../../styled").StyledComponent<import("../../../InfiniteTreeListItem").InfiniteTreeListItemProps & {
2
+ theme?: import("@emotion/react").Theme | undefined;
3
+ }, {}, {}>;
@@ -0,0 +1,11 @@
1
+ import { styled } from '../../../../styled';
2
+ import { InfiniteTreeListItem, infiniteTreeListItemClassnames, } from '../../../InfiniteTreeListItem';
3
+ export const StyledInfiniteTreeListItem = styled(InfiniteTreeListItem) `
4
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
5
+ & .${infiniteTreeListItemClassnames.content} {
6
+ justify-content: center;
7
+
8
+ padding: ${({ theme }) => theme.microSpacing(1, 0)};
9
+ }
10
+ }
11
+ `;
@@ -15,6 +15,9 @@ const treeItemCva = cva(infiniteTreeListClassnames.row, {
15
15
  hasAddAnimation: {
16
16
  true: infiniteTreeListClassnames.rowAddAnimation,
17
17
  },
18
+ isLastRow: {
19
+ true: infiniteTreeListClassnames.rowLast,
20
+ },
18
21
  },
19
22
  });
20
23
  /**
@@ -22,14 +25,14 @@ const treeItemCva = cva(infiniteTreeListClassnames.row, {
22
25
  * Ставит контекст строки, css-переменные уровня и каскада, classname анимации
23
26
  */
24
27
  export const TreeItem = ({ children, ...props }) => {
25
- const { item, renderItem, onToggle, memoizedItemProps, cssVars, isSpinner, hasAddAnimation, } = useLogic(props);
28
+ const { item, renderItem, onToggle, itemProps, cssVars, isSpinner, hasAddAnimation, isLastRow, } = useLogic(props);
26
29
  const { nodeId, isChildrenAsync } = item.meta;
27
30
  // Строку узла с подгружаемыми дочерними элементами рисует не список,
28
31
  // а постоянный слой: сюда она приезжает готовым DOM-узлом. Иначе store,
29
32
  // заведённый потребителем внутри renderParent, умирал бы на каждом уходе
30
33
  // строки со скролла
31
34
  if (isChildrenAsync && !item.placeholderKind) {
32
- return (_jsx("div", { ...memoizedItemProps, children: _jsx(ParentSlot, { itemId: item.id }) }));
35
+ return (_jsx("div", { ...itemProps, children: _jsx(ParentSlot, { itemId: item.id }) }));
33
36
  }
34
- return (_jsx("div", { ...memoizedItemProps, children: _jsx(TreeListItemContextProvider, { item: item, onToggle: onToggle, children: _jsx(Wrapper, { id: nodeId, className: treeItemCva({ isSpinner, hasAddAnimation }), style: cssVars, children: item.placeholderKind ? (_jsx(ChildrenPlaceholder, { item: item })) : (_jsx(CustomItemWrapper, { item: item, renderItem: renderItem })) }) }) }));
37
+ return (_jsx("div", { ...itemProps, children: _jsx(TreeListItemContextProvider, { item: item, onToggle: onToggle, children: _jsx(Wrapper, { id: nodeId, className: treeItemCva({ isSpinner, hasAddAnimation, isLastRow }), style: cssVars, children: item.placeholderKind ? (_jsx(ChildrenPlaceholder, { item: item })) : (_jsx(CustomItemWrapper, { item: item, renderItem: renderItem })) }) }) }));
35
38
  };
@@ -74,4 +74,23 @@ export const Wrapper = styled.div `
74
74
  & > .${tooltipClassnames.contentWrapper} {
75
75
  width: 100%;
76
76
  }
77
+
78
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
79
+ margin-top: 0;
80
+ margin-left: 0;
81
+
82
+ border: none;
83
+ border-bottom: 1px solid
84
+ ${({ theme }) => theme.palette.components.border.default};
85
+ border-radius: 0;
86
+
87
+ &.${infiniteTreeListClassnames.rowSpinner} {
88
+ border-bottom: none;
89
+ }
90
+
91
+ /* Выключаем border-bottom у последней строки, чтобы избежать накладывания на border списка */
92
+ &.${infiniteTreeListClassnames.rowLast} {
93
+ border-bottom: none;
94
+ }
95
+ }
77
96
  `;